Hi I would talk to the LDAP admins and try to make this happen in the tree.
ou=Staff, dc=uvic,dc =es (staff) ou=Students, dc=uvic,dc=es (students) ou=Visitors, dc=uvic,dc =es (visitors) Then you could specifiy an LDAP filter on "ou". It is difficult to filter on "cn". This also eliminates duplication of info in the LDAP DB's. For example what happens when a student becomes a staff member? Another LDAP record needs to be created with dup info, not very elegant. This uneeded split of info is usually the result of applying Microsoft AD. Cheers hg On 1 February 2013 09:48, "M. Àngels Pulido" <[email protected]>wrote: > Hello, > I'm working with DSpace 1.7.2 and interfacing XMLUI. > I have the following problem: > This is the LDAP tree of my institution (look attached image) > > That is, I have two paths to the users who want to be identified in the > repository: > > ou=People, dc=uvic,dc =es (staff and faculty) > ou=People, dc=alumnes, dc=uvic,dc=es (students) > > The settings I have now in dspace.cfg file are: > > plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ > org.dspace.authenticate.LDAPHierarchicalAuthentication, > \ > org.dspace.authenticate.PasswordAuthentication > > ldap.enable = true > ldap.provider_url = ldap :/ / 193.147.208.22:389 / > ldap.id_field = cn > UVic ldap.object_context = DC =uvic,DC = es > UVic ldap.search_context = DC =uvic,DC = es > ldap.email_field = mail > ldap.surname_field = sn > ldap.givenname_field = cn > ldap.search_scope = 2 > webui.ldap.autoregister = true > # ldap.search.user = cn = admin, ou = people, o = myu.edu > # ldap.search.password = password > # ldap.netid_email_domain = @ example.com > > With this configuration only staff and faculty can be identified but not > students. > > Can anyone tell me how I have to configure for the two groups can be > identified? > > [image: ldap] > -- > > *M. Àngels Pulido Medina* > Biblioteca - Servei de Recursos Informàtics > [image: Logo UVic] > *Universitat de Vic* > C. Sagrada Família, 7 > 08500 Vic > Tel. 938 816 170 (8333) > [email protected] > *www.uvic.cat* > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za http://ar1.sun.ac.za http://aj1.sun.ac.za
<<ldap.png>>
<<uvic1-100-30_0.gif>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

