Ldap / Python help

Pablo Pernot ppe at albert.com
Thu Mar 8 11:02:47 EST 2001


Hello all,

I'm new in python

I found an ldap module.

Where can I find documentation about ldap/python

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.

mytuple=("MOD_REPLACE","sn","test")
mylist=[mytuple]

>>> l.modify_s(dn,mylist)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: an integer is required


l is my ldap bind & connection which works.

Thanks for the help

Pablo

-- 
Pablo Pernot --Albert-Inc-- [http://www.albert.com] 
email : ppe at albert.com   | phone  : +33 499 130 900            
fax   : +33 499 130 901  | mobile : +33 620 805 810     




More information about the Python-list mailing list