i think, the may be some problem if you set sAMAccountName inconsistent with userPrincipalName.<br><br>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!
<br><br><div class="gmail_quote">On Dec 6, 2007 12:36 AM, Roland Hedberg &lt;<a href="mailto:roland.hedberg@adm.umu.se">roland.hedberg@adm.umu.se</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br><br>A short while ago there was a discussion about how to add users to an AD<br>using python-ldap.<br><br>I benefited a lot from that discussion, so you have my thanks too.<br><br>On the topic python-ldap &lt;-&gt; AD:
<br><br>My problem is that I can add an entry using the User object class and<br>attributes contained in that class without any problems.<br><br>But when I try to add the samAccountName attribute and thereby the<br>object class SecurityPrincipal the server complains.
<br><br>The error message I get is &#39;Server is unwilling to perform&#39; which<br>doesn&#39;t really tell me a lot :-)<br><br>Anyone got a clue ?<br><br>The AD isn&#39;t &#39;mine&#39;, but if there is something you need to know about it
<br>in order to answer my question I can ask the person in charge.<br><br>-- Roland<br><br>-------------------------------------------------------------------------<br>SF.Net email is sponsored by: The Future of Linux Business White Paper
<br>from Novell. &nbsp;From the desktop to the data center, Linux is going<br>mainstream. &nbsp;Let it simplify your IT future.<br><a href="http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4" target="_blank">http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
</a><br>_______________________________________________<br>Python-LDAP-dev mailing list<br><a href="mailto:Python-LDAP-dev@lists.sourceforge.net">Python-LDAP-dev@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/python-ldap-dev" target="_blank">
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Chaos Eternal