You shouldn't need to escape the values at all. Commas are fine, and quite normal in LDAP configurations.
Check using a tool such as http://jxplorer.org/ that you can log in to the LDAP server with those credentials. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 3/09/2010, at 5:42 AM, Flavio Botelho wrote: > Please post any errors in the log that are appearing? > > But I will take a wild guess that there might be problems with > escaping, you might need to use 2 backslashes instead of just 1 for > each comma... > > On Thu, Sep 2, 2010 at 9:18 AM, Webshet, Sisay (ILRI) > <s.webs...@cgiar.org> wrote: >> >> >> Hi, >> >> >> >> Support >> >> >> >> I login to our local LDAP server using the following settings, but cannot >> login. I can search users name >> >> account using sAMAccountName attribute. >> >> >> >> >> >> Host ILRI.CGIARAD.ORG >> >> >> >> >> >> base DN DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> Bind DN(entry DN) CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia >> Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> >> >> >> >> What will be the setting in dspace.cfg ( dspace 1.5.2 on debian ) >> >> if something is wrong please correct me.i can't login to dspace using LADP. >> >> >> >> ldap.provider_url = ldap://ILRI.CGIARAD.ORG/ >> >> >> >> ldap.id_field = sAMAccountName >> >> >> >> ldap.object_context = OU=ILRI Ethiopia Employees,OU=ILRI >> Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> ldap.search_context = OU=ILRI Ethiopia Employees,OU=ILRI >> Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> >> >> ldap.email_field = mail >> >> >> >> ldap.surname_field = sn >> >> >> >> ldap.givenname_field = givenName >> >> >> >> ldap.phone_field = telephoneNumber >> >> >> >> >> >> #### Hierarchical LDAP Settings ##### >> >> >> >> # If your users are spread out across a hierarchical tree on your >> >> # LDAP server, you will need to use the following stackable authentication >> >> class: >> >> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ >> >> org.dspace.authenticate.LDAPHierarchicalAuthentication >> >> >> >> # object scope : 0 >> >> # one level scope : 1 >> >> # subtree scope : 2 >> >> ldap.search_scope = 2 >> >> >> >> >> >> #ldap.search.user = cn=admin,ou=people,o=myu.edu >> >> ldap.search.user = CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia >> Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG >> >> ldap.search.password = ********* >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech