i think, the may be some problem if you set sAMAccountName inconsistent with
userPrincipalName.
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
client!
On Dec 6, 2007 12:36 AM, Roland Hedberg <[EMAIL PROTECTED]> 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.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Python-LDAP-dev mailing list
> Python-LDAP-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>
--
Best Regards
Chaos Eternal
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev