Re: Anyone packaged python-ldap as part of a bigger package ?

2009-04-06 Thread Roland Hedberg
On Apr 6, 2009, at 9:37, Michael Ströder wrote: > Roland Hedberg wrote: >> One problem I've already found is that there doesn't seem to exist a >> simple stable FTP/HTTP URL that points to the latest distribution. > > Do you need a URL which is always the same bu

Anyone packaged python-ldap as part of a bigger package ?

2009-04-06 Thread Roland Hedberg
Hi! My goal: to 'bundle' pyton-ldap as part of a service distribution. The necessary software for this distribution is a among other a set of Python packages like python-ldap, Twisted and rdflib and a a couple of packages I've developed in python myself, but to get the full service function

Re: sAMAccountName

2007-12-06 Thread Roland Hedberg
Michael Ströder wrote: > Also a reason why one should not bother with retrieving a recent AD > schema at all. I vaguely remember even more mess with e.g. inetOrgPerson > class when installing Exchange before W2K3R2 schema etc. > > Conclusion: Make your AD-specific scripts simply work even if it lo

Re: sAMAccountName

2007-12-06 Thread Roland Hedberg
Michael Ströder wrote: > > Roland Hedberg wrote: >> But when I try to add the samAccountName attribute and thereby the >> object class SecurityPrincipal the server complains. > > Could you please post a small test script? > > Are you sure the value of the samAcc

sAMAccountName

2007-12-05 Thread Roland Hedberg
Hi! A short while ago there was a discussion about how to add users to an AD using python-ldap. I benefited a lot from that discussion, so you have my thanks too. On the topic python-ldap <-> AD: My problem is that I can add an entry using the User object class and attributes contained in that

Re: subtree move

2007-06-26 Thread Roland Hedberg
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

Re: subtree move

2007-06-26 Thread Roland Hedberg
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 o

subtree move

2007-06-25 Thread Roland Hedberg
Hi! 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. 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