← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 411022] Re: LDAP error when synching with ldap_partner

 

Hello Felix,

The "partner_ldap" module is of extra-addons. Our R&D Teams are  focused
on the latest OpenERP version, and this issue does not affect  it. We
stand of course ready to backport the change to stable releases if  it
has an impact on any customer. In this case please report it to our
maintenance team via the OpenERP Publisher's Warranty. They will quickly
help to solve the issue and backport the fix if needed.

Thanks.

** Changed in: openobject-addons
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/411022

Title:
  LDAP error when synching with ldap_partner

Status in OpenObject Addons Modules:
  Won't Fix

Bug description:
  Open ERP 5.0.1
partner_ldap module: Trunk 2009-08-09

When I try to sync my LDAP server with Open ERP through the partner_ldap module I get the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 235, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 582, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 562, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/lib/python2.5/site-packages/openerp-server/wizard/__init__.py", line 74, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/felix/opt/openerp-server-5.0.1-0/bin/addons/partner_ldap.zip/partner_ldap/wizard/synchronize.py", line 110, in _do_sync
    l.add_s(new_dn, ldap.modlist.addModlist(ldap_data))
  File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 185, in add_s
    msgid = self.add(dn,modlist)
  File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 182, in add
    return self.add_ext(dn,modlist,None,None)
  File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 168, in add_ext
    return self._ldap_call(self._l.add_ext,dn,modlist,EncodeControlTuples(serverctrls),EncodeControlTuples(clientctrls))
  File "/usr/lib/python2.5/site-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
TypeError: ('expected a string in the list', u'(+32)2 211 34 83')

This error comes _not_ from partner_ldap. I attach my ldap configuration settings.