← Back to team overview

openerp-india team mailing list archive

[Bug 389033] Re: adding SSL support to users_ldap

 

There is another setup to the LDAP authentication that isn't using the
option to use TLS.

In the Administration Dashboard there is an option to "Setup your LDAP
Server".  Checking this box takes you to a screen that seems to allow
you to configure the LDAP  connections.

Entering the details into that screen (View#195) I get an error..
=====
Integrity Error

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: company - company]
=====

In the logs, I get (after substituting internal information) ..
=====
[2011-11-22 20:05:09,437][?] ERROR:db.cursor:bad query: insert into "res_company_ldap" (id,"ldap_tls","sequence","ldap_password","ldap_base","ldap_binddn","ldap_server","create_user","ldap_server_port","user","ldap_filter",create_uid,create_date) values (4,E'False',10,NULL,E'ldapbase',NULL,E'127.0.0.1',E'True',389,NULL,E'ldapfilter',1,now())
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "company" violates not-null constraint
=====

Unless there is an option to choose a company and configure TLS this
"Administration Dashboard" >> "Setup your LDAP Server setup should be
removed.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/389033

Title:
  adding SSL support to users_ldap

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Hi!

  I use the users_ldap module. It works with normal connexion. But, it
  don't work with sasl connexion (ldaps).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/389033/+subscriptions