http://cr.opensolaris.org/action/browse/caiman/wmsch/7065379/webrev/

Doug Leavitt has provided a Python method, ns1_convert, to access the LDAP 
encryption function.

The code changes check for the existence of the ns1_convert attribute prior to calling it. If ns1_convert is not integrated, the user is prompted for the encrypted form. It is expected that ns1_convert will be integrated in a week or two at most, so no further guidance is provided to the user.

Python usage is as follows:

>>> import nss
>>> e = nss.nssscf.ns1_convert("foo")
>>> print e
{NS1}38eb23
>>> d = nss.nssscf.ns1_convert(e)
>>> print d
foo

Thank you,
William
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to