Roland Hedberg wrote:
> 
> It seems like Python-ldap does not support modifyDN. That is moving a
> subtree from one place on a server to another place on the same server.

See methods rename() and rename_s() with argument newsuperior. You can
rename a sub-tree with e.g. with OpenLDAP/back-hdb.

> So, has anyone implemented modifyDN on top of python-ldap ?
> 
> I realize it will not be very efficient, but then the subtree I might
> have to move is only one level deep and with a limited set of entries.

Or are you talking about moving sub-trees in case the LDAP server does
not support sub-tree renaming?

I have something slightly more efficient based on evaluating
hasSubordinates or similar attributes for sub-tree deletion in web2ldap.

Ciao, Michael.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to