Any help?!?!? El miércoles, 9 de mayo de 2018, 12:51:56 (UTC-3), Diego Spano escribió: > > Hi. I have my Dspace instance connected with my LDAP server (Active > directory). I need to assign a dspace group based on LDAP group where the > user belongs. I think this is possible with the feature > "ldap.login.groupmap.attribute". In other words, I want that users taht > belong to LDAP group named "students" be part of DSpace group named > "GroupA". I created "GroupA" in DSpace, the user can login with no problem > but the groups is not assigned!. > > > This is my authentication-ldap.cfg configuration: > > > #---------------------------------------------------------------# > #------------LDAP AUTHENTICATION CONFIGURATIONS-----------------# > #---------------------------------------------------------------# > authentication-ldap.enable = true > authentication-ldap.autoregister = true > authentication-ldap.provider_url = ldap://prod.local:389/ > authentication-ldap.id_field = sAMAccountName > authentication-ldap.object_context = OU=TEST\,DC=prod\,DC=local > authentication-ldap.search_context = OU=TEST\,DC=prod\,DC=local > authentication-ldap.email_field = mail > > ##### LDAP users group ##### > #authentication-ldap.login.specialgroup = GrupoLDAP > authentication-ldap.search_scope = 2 > authentication-ldap.search.anonymous = false > authentication-ldap.search.user = [email protected] > authentication-ldap.search.password = xxxxxxx > authentication-ldap.netid_email_domain = @prod.org > > # If this property is uncommented, it changes the meaning of the left part > of > # the groupmap value (before the ":") as follows. > # The value of login.groupmap.attribute specifies the name of an LDAP > attribute. > # If user has this attribute, look up the value of this attribute in the > left > # part of the groupmap value (before the ":"). If it's found, assign user > to > # the DSpace group specified by the right part of the groupmap value (after > # the ":"). > > authentication-ldap.login.groupmap.attribute = memberof > authentication-ldap.login.groupmap.1 = students:GroupA > > > I also tried with "authentication-ldap.login.groupmap.attribute = group" > but the problem still remains. Any help!? > > Thanks in advance. > > Diego > >
-- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
