[Fedora-directory-users] Removing a Smart Referral

Michael Ströder michael at stroeder.com
Wed Apr 16 12:05:46 UTC 2008


Daniel Cristian Cruz wrote:
> 
> Is there any way to do that with PHP or Python?

Yes, with Python.

> Didn't found any -M option in these languages...

If -M is sending the Manage DSA IT control and what is called "Smart 
Referral" are simply referral entries then use this:

http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.LDAPObject.manage_dsa_it

You can do this interactively with web2ldap:
Choose [ConnInfo] -> Set Manage DSA IT to "enabled".
It uses the python-ldap method above.

Ciao, Michael.




More information about the Fedora-directory-users mailing list