Michael Ströder wrote:
> Hmm, glancing over the code I'd suggest to implement it separately. I'd
> try to rename the whole sub-tree first and then handle
> ldap.NOT_ALLOWED_ON_NONLEAF smoothly.
That was my intention.
-- Roland
Roland Hedberg wrote:
>> I have something slightly more efficient based on evaluating
>> hasSubordinates or similar attributes for sub-tree deletion in web2ldap.
>
> If you are willing to share I'd love to have it :-)
Hmm, look into web2ldap's source (GPL): function DelTree() in
pylib/w2lapp/dele
Michael Ströder wrote:
> Roland Hedberg wrote:
>> So, has anyone implemented modifyDN on top of python-ldap ?
>
> Or are you talking about moving sub-trees in case the LDAP server does
> not support sub-tree renaming?
Yes, I can make no assumptions as to what the server can or can't.
> I have s