Chaos Eternal chaoseternal at
Fri Dec 7 02:49:29 CET 2007

i think, the may be some problem if you set sAMAccountName inconsistent with

BTW, If one Directory Server tells you that it UNWILLING TO PERFORM some
operations then you can not complete the same operations using ANY ldap

On Dec 6, 2007 12:36 AM, Roland Hedberg <roland.hedberg at> wrote:

> 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 class without any problems.
> But when I try to add the samAccountName attribute and thereby the
> object class SecurityPrincipal the server complains.
> The error message I get is 'Server is unwilling to perform' which
> doesn't really tell me a lot :-)
> Anyone got a clue ?
> The AD isn't 'mine', but if there is something you need to know about it
> in order to answer my question I can ask the person in charge.
> -- Roland
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> _______________________________________________
> Python-LDAP-dev mailing list
> Python-LDAP-dev at

Best Regards
Chaos Eternal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the python-ldap mailing list