[Zope] zldap connections

Dieter Maurer dieter at handshake.de
Sun Aug 24 00:45:12 EDT 2003


Andrew Altepeter wrote at 2003-8-20 15:00 -0500:
 > I'm working on an alumni directory for the college, which uses openldap
 > as the directory service.  We are using acl's to restrict which
 > attributes user have access to based on their context (staff, student,
 > alumni, guest, etc).
 > 
 > This means that the alumni directory needs to bind to ldap as each user.
 > 
 > We want to use zldap, but the Ldap Connection object creates a
 > connection, bound as one user.  Is it possible to have 'dynamic' ldap
 > connections (and use the rest of the zldap package), ones where you can
 > re-bind as another user?

Probably yes, but I use "LDAPUserFolder" (which works this way).
You can look at it to find out how to it manages its connection.


Dieter



More information about the Zope mailing list