-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0M12
-
None
-
None
-
snapshot
I get this error in the logs
Caused by: java.lang.IllegalArgumentException: Missing login id attribute : "sAMAccountName"
at org.ametys.plugins.core.impl.group.directory.ldap.UserDrivenLdapGroupDirectory._getUserInfos(UserDrivenLdapGroupDirectory.java:339)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
Actually on the entry object we egt no attributes.
org.ametys.plugins.core.impl.group.directory.ldap.UserDrivenLdapGroupDirectory
protected UserInfos _getUserInfos(SearchResult entry) { UserInfos infos = null; // Retrieve the entry attributes Attributes attrs = entry.getAttributes(); try { // Retrieve the identifier of a group Attribute loginAttr = attrs.get(_usersLoginAttribute); if (loginAttr == null) { throw new IllegalArgumentException("Missing login id attribute : \"" + _usersLoginAttribute + "\""); }