Hi dudes. Im kind of new to ldap, and im totally stuck here.

Im making a little script (in python) for adding entries to an ldap repo. It seems like....erm...better i just put the logs.

[using ldapadd -x -f .....]
conn=7 fd=12 ACCEPT from IP=127.0.0.1:42025 (IP=0.0.0.0:389)
conn=7 op=0 BIND dn="cn=Manager,dc=ldap-test,dc=fmed,dc=uba,dc=ar" method=128 conn=7 op=0 BIND dn="cn=Manager,dc=ldap-test,dc=fmed,dc=uba,dc=ar" mech=SIMPLE ssf=0
conn=7 op=0 RESULT tag=97 err=0 text=
conn=7 op=1 ADD dn="cn=1010,ou=Alumnos,dc=ldap-test,dc=fmed,dc=uba,dc=ar"
conn=7 op=1 RESULT tag=105 err=68 text=
conn=7 op=2 UNBIND
conn=7 fd=12 closed

** Its ok, it is a duplicated entry, i know. I populated the ldap repo with this file and its OK.

But, when i execute the python script, from other machine, the log turns into this
conn=8 fd=12 ACCEPT from IP=xxx.xx.xxx.xx:2044 (IP=0.0.0.0:389)
conn=8 op=0 BIND dn="cn=Manager,dc=ldap-test,dc=fmed,dc=uba,dc=ar" method=128 conn=8 op=0 BIND dn="cn=Manager,dc=ldap-test,dc=fmed,dc=uba,dc=ar" mech=SIMPLE ssf=0
conn=8 op=0 RESULT tag=97 err=0 text=
conn=8 op=1 ADD dn="cn=1010,ou=Alumnos,dc=ldap-test,dc=fmed,dc=uba,dc=ar"
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.

Thanks for your help, dudes!

Gerardo



---
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