c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19673
[Bug 738721] [NEW] base_crypt and users_ldap don't work together
Public bug reported:
I installed and configured users_ldap so that all of my users can login using their credentials stored in OpenLDAP, which worked fine. Then I installed base_crypt (with the intention of all other passwords in the db, for non-ldap-users like 'admin') being encrypted. However, this prevents all LDAP users from logging in.
I suppose that base_crypt tries to authenticate the user and if this fails, login fails, without users_ldap trying to authenticate. I think this behaviour should be changed towards:
1. Check whether user can login using the (possibly encrypted) password in the database.
2. If not, check whether user can login using the LDAP password.
3. If now, refuse access.
Right now, the second step seems to be omitted when base_crypt is used.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/738721
Title:
base_crypt and users_ldap don't work together
Status in OpenERP Modules (addons):
New
Bug description:
I installed and configured users_ldap so that all of my users can login using their credentials stored in OpenLDAP, which worked fine. Then I installed base_crypt (with the intention of all other passwords in the db, for non-ldap-users like 'admin') being encrypted. However, this prevents all LDAP users from logging in.
I suppose that base_crypt tries to authenticate the user and if this fails, login fails, without users_ldap trying to authenticate. I think this behaviour should be changed towards:
1. Check whether user can login using the (possibly encrypted) password in the database.
2. If not, check whether user can login using the LDAP password.
3. If now, refuse access.
Right now, the second step seems to be omitted when base_crypt is used.
Follow ups
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Alexis de Lattre, 2011-05-20
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Cristian Salamea (Gnuthink), 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Tobias G. Pfeiffer, 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Martin Collins, 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Carlos @ smile.fr, 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Simone Orsi - Domsense, 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Nhomar Hernández - http : //openerp . com . ve, 2011-05-19
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Olivier Dony (OpenERP), 2011-05-18
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Nhomar Hernández - http : //openerp . com . ve, 2011-05-18
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Martin Collins, 2011-05-18
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Russell Briggs, 2011-05-18
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Amit Parik (OpenERP), 2011-03-29
-
[Bug 738721] Re: base_crypt and users_ldap don't work together
From: Amit Parik (OpenERP), 2011-03-29
-
[Bug 738721] [NEW] base_crypt and users_ldap don't work together
From: Tobias G. Pfeiffer, 2011-03-20
References