Pierangelo Masarati wrote:
>> conn=8 op=1 RESULT tag=105 err=17 text=dn: attribute type undefined
>> conn=8 op=2 UNBIND
>> conn=8 fd=12 closed
>>
>> ** Oops. It says that dn is undefined?? How can that be??
>>
>> May be you guys understand what could be wrong, im not sending the
>> script nor the ldapadd file entry (which is OK, after all)
>> for shortness, but if it is needed, i dont have much problem in sending
>> it.
> 
> My guess is that the essential difference between what ldapadd and your
> script do is that the script tries to set an attribute, called "dn", which
> is not defined in the schema.

If this answer does not help seeing a small relevant excerpt of the
script would be helpful either.

Note that python-ldap has built-in support for tracing API calls with
which you can observe what your script is passing to python-ldap. See
arguments trace* of function ldap.initialize() or method
LDAPObject.__init__().

Ciao, Michael.

---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to