Ldap / Python help
michael at stroeder.com
Thu Mar 8 20:34:20 CET 2001
Pablo Pernot wrote:
> Where can I find documentation about ldap/python
Hmm, David sent a new PDF to the mailing list, 28 Jan 2001. Hmm, it
does not seem to be on the web page...
> my modify instruction won't work => modify_s is waiting for a string (dn)
> and a list (mylist) formed by tuple (mytuple) and this tuple is formed for 3 strings.
> So I can't understand the error message about integer.
Should be mytuple=(ldap.MOD_REPLACE,"sn",["test"]). ldap.MOD_REPLACE
is an integer constant hence the...
> >>> l.modify_s(dn,mylist)
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> TypeError: an integer is required
More information about the Python-list