From: Wido D. <wi...@us...> - 2004-12-12 21:23:35
|
Update of /cvsroot/luma/luma/lib/luma/base/backend In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17283/lib/luma/base/backend Modified Files: LumaConnection.py Log Message: Added alias support. Index: LumaConnection.py =================================================================== RCS file: /cvsroot/luma/luma/lib/luma/base/backend/LumaConnection.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** LumaConnection.py 1 Dec 2004 20:27:01 -0000 1.18 --- LumaConnection.py 12 Dec 2004 21:23:26 -0000 1.19 *************** *** 171,174 **** --- 171,178 ---- self.ldapServerObject.protocol_version = 3 + # Enable Alias support + if self.serverMeta.followAliases: + self.ldapServerObject.set_option(ldap.OPT_DEREF, ldap.DEREF_ALWAYS) + if self.serverMeta.bindAnon: self.ldapServerObject.simple_bind() |