Ldap Extended Operation python

Michael Ströder michael at stroeder.com
Mon Jan 26 08:25:25 EST 2009


Benny Fallica wrote:
> Hello there,
> 
> what would be the python implementation for this line in Java:
> 
> 
> java.util.Hashtable environment = LdapHelper.getEnvironment(url, true);
> LdapContext ldapContext = new InitialLdapContext(environment, null);
> Response resp = (Response) ldapContext.extendedOperation(new Request())
> how to deal with extended operations in python?

Which LDAP extended operation do you want to use?

In python-ldap the following ext. ops are already implemented:
http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.LDAPObject.whoami_s
http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.LDAPObject.passwd

There's no generic interface for ext. ops. yet. Feel free to contribute
something like this.

Ciao, Michael.



More information about the Python-list mailing list