Re: Ldap Extended Operation python

2009-01-26 Thread Michael Ströder
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.
--
http://mail.python.org/mailman/listinfo/python-list


Ldap Extended Operation python

2009-01-26 Thread Benny Fallica
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?

thanks for your help!


  
--
http://mail.python.org/mailman/listinfo/python-list