I was having the same problem with the "null" string appearing and helix84's fix <https://raw.github.com/helix84/DSpace/88b9d8fe78bb990d777c315abb31dcd823a5a208/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java> worked in 3.2.
However, I wanted to let you know that the way the conditionals are set up in the fixed LDAPAuthentication.java <https://raw.github.com/helix84/DSpace/88b9d8fe78bb990d777c315abb31dcd823a5a208/dspace-api/src/main/java/org/dspace/authenticate/LDAPAuthentication.java> file makes it so that LDAP authentication never uses the email_field specified in authentication-ldap.cfg if it's available. I simply replaced this (~line 255): with this: And that fixed the problem. Now when new users are auto-registered via LDAP, if the email string isn't empty it will correctly use it instead of replacing it with only the netid. -- View this message in context: http://dspace.2283337.n4.nabble.com/DSpace-LDAP-authentication-problem-tp4665853p4668861.html Sent from the DSpace - Tech mailing list archive at Nabble.com. ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ 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

