Package: python-ldap Version: 2.0.4-1 Severity: wishlist python-ldap requires some strings for LDAPObject passwd() and/or passwd_s(). I try to pass None, but it was rejected. For example, Demo/passwd_ext_op.py actually failed to modify passwd. It doesn't raise any error, but if you change passwd to passwd_s, then you can get error response from server side.
However, slapd will reject passwd mofity request if oldpasswd is set. (at least back-bdb and back-ldbm). And slapd will generate new passwd for passwd modify request if newpasswd is NULL. So, if oldpw and/or newpw for passwd() and/or passwd_s() are used, NULL should be used as argument for ldap_passwd(). Regards, Fumitoshi UKAI -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]