|
From: David L. <dav...@cs...> - 2001-03-05 05:44:48
|
On Mon, 5 Mar 2001, oop...@ne... typed thusly:
> hi
> please some one help i am new to python
> i want to perform a modify operation on the cn attribute of th dn
> "mai...@nd...,dc=ndd,dc=com"
> for that my script is
>
>
> l.modify_s(dn,_ldap.MOD_REPLACE,[('cn',["fgs"])])
>
> TypeError: function requires exactly 2 arguments; 3 given
>
> pl tell me the correct syntax of how i should do ir
On the line immediately before your modify_s() call, put this line:
print l.modify_s.__doc__
--
David Leonard Dav...@ds...
CRC For Distributed Systems Technology Room:78-632 Ph:+61 7 336 58358
The University of Queensland http://www.dstc.edu.au/
QLD 4072 AUSTRALIA B73CD65FBEF4C089B79A8EBADF1A932F13EA0FC8
EERROR - Erroneous error. Nothing wrong.
|