Hi,
I installed the module c2c_contacts_to_ldap and I configured like :
Base dn : dc=mydomain,dc=fr
Contact dn : cn=admin,dc=mydomain,dc=fr
Server address : ldap://mydomain.fr:389
ldap passwd : MyPassword
And I activated ldap link for this company.
If I try to add a contact, I have got this message :
connecting to server ldap ldap://mydomain.fr:389
Tue, 11 Mar 2008 16:11:15 ERROR:web-services:Exception in call:
Traceback (most recent call last):
File "/home/alnslang/TinyERP/4.2/server/bin/netsvc.py", line 200,
in _dispatch
r=m(*params)
File "/home/alnslang/TinyERP/4.2/server/bin/service/
web_services.py", line 366, in execute
res = service.execute(db, uid, object, method, *args)
File "/home/alnslang/TinyERP/4.2/server/bin/osv/osv.py", line 111,
in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/alnslang/TinyERP/4.2/server/bin/osv/osv.py", line 92,
in execute_cr
res = getattr(object,method)(cr, uid, *args, **kw)
File "/home/alnslang/TinyERP/4.2/server/bin/osv/orm.py", line 1109,
in write
self._columns[field].set(cr, self, id, field, vals[field], user,
context=context)
File "/home/alnslang/TinyERP/4.2/server/bin/osv/fields.py", line
372, in set
obj.create(cr, user, act[2], context=context)
File "/opt/tinyerp_test/server/bin/addons/c2c_contact_to_ldap/
partner.py", line 73, in create
File "/opt/tinyerp_test/server/bin/addons/c2c_contact_to_ldap/
partner.py", line 240, in saveLdapContact
File "/opt/tinyerp_test/server/bin/addons/c2c_contact_to_ldap/
partner.py", line 296, in connectToLdap
File "/opt/tinyerp_test/server/bin/addons/c2c_contact_to_ldap/
partner.py", line 61, in get_connexion
LDAPError: (0, 'Error')
I tried with ldapadd command and it's ok :
$ ldapadd -f /tmp/newentry -H ldap://mydomain.fr:389 -D
"cn=admin,dc=mydomain,dc=fr" -w MyPassword -x
Do you have an idea for my problem ?
Best regards,
--
Sebastien
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users