Commit Graph

38 Commits

Author SHA1 Message Date
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Ian Beardslee c3ee23dac9 Set login date as UTC
lp bug: https://launchpad.net/bugs/967829 fixed

bzr revid: ian@catalyst.net.nz-20120330011407-ungh1s3vde38ptv2
2012-03-30 14:14:07 +13:00
Olivier Dony 08ee7f63cf [MERGE] users_ldap: support for STARTTLS added, courtesy of Ian Beardslee
bzr revid: odo@openerp.com-20111109150536-ll84q6qskmes0nqb
2011-11-09 16:05:36 +01:00
Olivier Dony cb12bf5b67 [MERGE] users_ldap: Refactoring/Cleanup towards more modularity, courtesy of Stefan Rijnhart (Therp)
bzr revid: odo@openerp.com-20111108172356-1sp85chucpykkn1u
2011-11-08 18:23:56 +01:00
Antony Lesuisse bda2a1916e [FIX] users_ldap to use new exceptions
bzr revid: al@openerp.com-20111022151535-44c124ymzs7kd1wx
2011-10-22 17:15:35 +02:00
Ian Beardslee 22582a40d5 Improved code for STARTTLS support to users_ldap
lp bug: https://launchpad.net/bugs/389033 fixed

bzr revid: ian@catalyst.net.nz-20110814210916-3tbvkxgb4x9lvvhs
2011-08-15 09:09:16 +12:00
Ian Beardslee 949fa9cdd8 Adding STARTTLS support to users_ldap
lp bug: https://launchpad.net/bugs/389033 fixed

bzr revid: ian@catalyst.net.nz-20110811001429-j62yn9uz1g2o9j9c
2011-08-11 12:14:29 +12:00
Stefan Rijnhart 6adef2a895 [REF] Moved to RST docstrings, leave out well known parameters
[FIX] Unauthorized login with empty password introduced in previous commit
[REF] Further refactored out duplicate code around authorization
[FIX] Filter length is too short (64)

lp bug: https://launchpad.net/bugs/806914 fixed

bzr revid: stefan@therp.nl-20110727220338-n1u19efzubngu0qt
2011-07-28 00:03:38 +02:00
Jigar Amin - OpenERP 0a25bfc2ed [FIX/BUG] Increased the Ldap Filter Size
bzr revid: jam@tinyerp.com-20110727115309-awso1wew48qtisdt
2011-07-27 17:23:09 +05:30
Stefan Rijnhart 6437267e23 [IMP] leave it to res.users' defaults to select menu item for new users
bzr revid: stefan@therp.nl-20110622115533-q9aryag887u245uc
2011-06-22 13:55:33 +02:00
Stefan Rijnhart b6e9a293b6 [REM] reverted the populate functionality, moving to extra addon
[REF] split up LDAP authentication in atomic methods
[REF] remove unnecessary lambdas from defaults
[REF] improve pep8 compatibility
[REF] remove unnecessary conditionals when an exception is raised anyway
[IMP] do not log redundant exception ldap.INVALID_CREDENTIALS
[IMP] replaced generic exceptions by ldap subclass
[FIX] update timestamp when LDAP user logs in
[FIX] prevent inactive LDAP users from logging in
[FIX] select first menu item for new users by id, not by name
[FIX] use ldap.search_st() which actually does take the timeout argument

lp bug: https://launchpad.net/bugs/784501 fixed

bzr revid: stefan@therp.nl-20110622102118-syfszkpb0mwme4q5
2011-06-22 12:21:18 +02:00
Stefan Rijnhart 4e7e41f51d [MRG] merged main branch
bzr revid: stefan@therp.nl-20110622095400-sn4025tjk2fvfnol
2011-06-22 11:54:00 +02:00
Olivier Dony 20c49ad274 [FIX] users_ldap: consistent handling of login() vs check()
Explicit check for blank passwords was introduced recently
in check() for bug 760301, but login() did not behave the same
so the resulting error message would be inconsistent.

lp bug: https://launchpad.net/bugs/760301 fixed

bzr revid: odo@openerp.com-20110616160219-m0y066q914s4y7ev
2011-06-16 18:02:19 +02:00
Stefan Rijnhart 85ad1beebc [MERGE] users_ldap: support for anonymous binding at company level
Anonymous binding is enabled by having empty names and password
in company LDAP setup. This does NOT permit anonymous binding
for user authentication, which is still forbidden. The anonymous
access will only be used to query the directory for the existence
of the users.
Thanks to Stefan Rijnhart for the idea and implementation!

bzr revid: odo@openerp.com-20110615173006-4wvzpecqx4doyb4l
2011-06-15 19:30:06 +02:00
Stefan Rijnhart 1960be5281 [IMP] Anonymous bind now triggered by empty bind dn instead of redundant 'anonymous' checkbox
bzr revid: stefan@therp.nl-20110611151853-brr3nnp427wq40i7
2011-06-11 17:18:53 +02:00
Stefan Rijnhart 6278811551 [FIX] Field label implied anonymous bind instead of anonymous connection
bzr revid: stefan@therp.nl-20110610214223-jg9qf6uhiirl1154
2011-06-10 23:42:23 +02:00
Stefan Rijnhart eeb257661c [IMP] adds a function to populate the OpenERP user base from an LDAP server
lp bug: https://launchpad.net/bugs/794584 fixed

bzr revid: stefan@therp.nl-20110608140638-2l721ot37v6fll38
2011-06-08 16:06:38 +02:00
Stefan Rijnhart d55cf59d40 [IMP] allows anonymous bind to LDAP
lp bug: https://launchpad.net/bugs/794450 fixed

bzr revid: stefan@therp.nl-20110608093506-c035lvr168jruz9f
2011-06-08 11:35:06 +02:00
Jay Vora (OpenERP) 075c1f563e [Merge] Merged Main branch
bzr revid: jvo@tinyerp.com-20110429112251-3c18xnzu5x69fhs6
2011-04-29 16:52:51 +05:30
Jay Vora (OpenERP) 22ecb0f62e [FIX] Users_ldap : Corrected YAML Warnings,Thanks to Buildbot
bzr revid: jvo@tinyerp.com-20110429111850-hisffd5wrbp19bxi
2011-04-29 16:48:50 +05:30
Olivier Dony 00c65ea9a7 [FIX] users_ldap: double-check to prevent blank passwords
The server should have done the check in the call to super.check(),
but just in case, we double-check for blank passwords, as this is an
issue for LDAP servers that allow anonymous bindings.
See http://www.openldap.org/lists/openldap-software/200112/msg00178.html

lp bug: https://launchpad.net/bugs/760301 fixed

bzr revid: odo@openerp.com-20110428153543-vfhx9rhbspoc84b6
2011-04-28 17:35:43 +02:00
P. Christeas bb8533edc6 users_ldap: trivial fix in referenced exception.
bzr revid: p_christ@hol.gr-20101214153348-2s3zpv7v710z5h13
2010-12-14 17:33:48 +02:00
P. Christeas 7736b371d0 users_ldap: replace tools.debug() with logging.debug()
bzr revid: p_christ@hol.gr-20101214153320-5cz87zmxpfb6rntv
2010-12-14 17:33:20 +02:00
Christophe Simonis d5087fd973 [IMP] users_ldap: clean code + add some debug logging
bzr revid: chs@tinyerp.com-20100129161608-awmum09g0bzzn8f1
2010-01-29 17:16:08 +01:00
Fabien Pinckaers 19fb25cd3f [IMP] type
bzr revid: fp@tinyerp.com-20100129080035-o3tmadogl1evxru0
2010-01-29 09:00:35 +01:00
Harry (Open ERP) 70fcb3da8d [ADD] users_ldap: support authentication by ldap server
bzr revid: hmo@tinyerp.com-20100129065234-058rl4od3j4s6red
2010-01-29 12:22:34 +05:30
ced 968a2cb4eb Move less used modules to extra_addons repo
bzr revid: ced-67ee0e1f0bad58fd390763b2b5a6c7d233c48223
2007-08-10 07:50:08 +00:00
ced 73685cfd44 Revert "Modifs for LDAP Tiny ERP"
This reverts commit e5c3828aeed61a6210eaef7d43062067cca6a47d.

bzr revid: ced-a06d0abef258d22c7c2f249d267b7c638f196868
2007-07-11 07:33:16 +00:00
statsvn 7413ea7c01 Modifs for LDAP Tiny ERP
bzr revid: statsvn-dae6d56fdf22454ca5dc5ea637cb21d9b01d64a5
2007-07-09 04:46:09 +00:00
ced 40a2bf0762 USERS_LDAP: change error to warning
bzr revid: ced-f06c899b73b487b45475f4811dfc0d4e425df2bb
2007-06-28 10:41:38 +00:00
Mantavya Gajjar d0cd8dada1 USERS_LDAP: use synchro connection to bind
bzr revid: mga@tinyerp.com-35153e550eab34cc99962f2ec9d0445ddcfbe066
2007-04-11 07:37:51 +00:00
ced b5bf3f6ead USERS_LDAP: add ldap unbind
bzr revid: ced-15fe19fbe0c070da5a32b5f742788266add14ab5
2007-03-26 15:14:24 +00:00
ced 8263fe39c5 USERS_LDAP: use first cn
bzr revid: ced-c72da0f168d2d681d48ecf8f4c93a086eb518376
2007-03-26 14:50:44 +00:00
ced d853087121 USERS_LDAP: don't use sync fnct
bzr revid: ced-1ad45aaf703eb418010d973c70e15a67ac18ffe1
2007-03-19 16:10:52 +00:00
ced ecf679f5ed USERS_LDAP: use ldap sync function
bzr revid: ced-38b18eb3c304d9e9f63d208cd5345e2d19bf49f9
2007-03-12 09:53:42 +00:00
ced eddc2b7189 KERNEL; USERS_LDAP: fix for compatibility with python2.3
bzr revid: ced-d1076edf24721bac637137c02eadfbe37f9961f8
2007-03-08 20:10:05 +00:00
ced cb3ecb3b1a USERS_LDAP: fix when module not installed
bzr revid: ced-4293a339237c7b8fa33f8000e79b1f1651fc1f57
2007-03-07 20:00:04 +00:00
ced 7cb887d4da USERS_LDAP,KERNEL: small fix for login and add new module for users ldap
bzr revid: ced-f970bba067f81d4065e317a395dada8ae399774b
2007-03-07 15:53:14 +00:00