On Jan 31, 2010, at 10:58 PM, Michael Ströder wrote:
> Zhang Huangbin wrote:
>> How can i add a booleanMatch type attribute with py-ldap?
>
> Simply like any other attribute provided your attribute value is TRUE or
> FALSE.
Successed with modlist:
('amavisLocal', ['TRUE']),
Thanks :)
--
Be
Adam Tauno Williams wrote:
> I noticed that python-ldap contains some DSML support; only the XML
> produced is invalid [I believe this is caused by its attempt to create
> 'pretty' output].
Could you please point me to the details which parts of the XML produced are
invalid.
Ciao, Michael.
Zhang Huangbin wrote:
> How can i add a booleanMatch type attribute with py-ldap?
Simply like any other attribute provided your attribute value is TRUE or FALSE.
> Refer to python-ldap-2.3.10/Demo/ldapcontrols.py, i use below code to add new
> attribute:
>
>
> l = ldap.initialize('ldap://l