Subject: Developers of Sympa
List archive
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible
- From: David Verdin <address@concealed>
- To: Matthias Warkus <address@concealed>
- Cc: address@concealed, address@concealed
- Subject: Re: [sympa-dev] Patch to make LDAP login behaviour more predictible
- Date: Thu, 03 Sep 2009 12:26:44 +0200
Hi Matthias,
You're both right! We applied your patch to both 6.0 branch and the development trunk.
Thanks for submitting it!
Regards,
David
Matthias Warkus a écrit :
Hi,
my boss proposes the following change in order to make logging into
WWSympa with an LDAP account behave in a more consistent fashion:
====BEGIN DIFF====
*** bin/Auth.pm 2009-08-25 09:56:40.000000000 +0200
--- /tmp/Auth.pm 2009-08-31 12:19:18.000000000 +0200
***************
*** 285,292 ****
$ds->disconnect() or &do_log('notice', "unable to unbind");
&do_log('debug3',"canonic: $canonic_email[0]");
! return lc($canonic_email[0]);
! }
--- 285,296 ----
$ds->disconnect() or &do_log('notice', "unable to unbind");
&do_log('debug3',"canonic: $canonic_email[0]");
! ! if( &tools::valid_email($auth)) {
! return ($auth);
! }else{
! return lc($canonic_email[0]);
! } }
=====END DIFF=====
What this does is always log the LDAP user in with the actual address
they entered and not the one in their first LDAP mail attribute.
Any comments?
Sincerely,
M.W.
--
David Verdin
Comité réseau des universités
-
[sympa-dev] Patch to make LDAP login behaviour more predictible,
Matthias Warkus, 09/01/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/03/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
Paul Menzel, 09/03/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/03/2009
- [sympa-dev] Merging and change of svn:mergeinfo property (was:, Paul Menzel, 09/03/2009
-
re[2]: [sympa-dev] Patch to make LDAP login behaviour more predictible,
Flack Maguire, 09/03/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/04/2009
-
[sympa-dev] Using distributed version control systems (Git, Bazaar, Mercurial)(was: Patch to make LDAP login behaviour more predictible),
Paul Menzel, 09/04/2009
- Re: [sympa-dev] Using distributed version control systems (Git, Bazaar,, David Verdin, 09/04/2009
- re[2]: [sympa-dev] Patch to make LDAP login behaviour more predictible, Flack Maguire, 09/05/2009
-
[sympa-dev] Using distributed version control systems (Git, Bazaar, Mercurial)(was: Patch to make LDAP login behaviour more predictible),
Paul Menzel, 09/04/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/04/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/03/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
Paul Menzel, 09/03/2009
-
Re: [sympa-dev] Patch to make LDAP login behaviour more predictible,
David Verdin, 09/03/2009
Archive powered by MHonArc 2.6.19+.