Subject: Developers of Sympa
List archive
[sympa-dev] Patch to make LDAP login behaviour more predictible
- From: Matthias Warkus <address@concealed>
- To: address@concealed, address@concealed
- Subject: [sympa-dev] Patch to make LDAP login behaviour more predictible
- Date: Tue, 01 Sep 2009 15:46:46 +0200
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.
--
Philipps-Universität Marburg // Hochschulrechenzentrum (HRZ)
Matthias Warkus, M.A.
Hans-Meerwein-Straße // MZG, 06A02 // 35032 Marburg
+49 6421 28 23549
-
[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+.