Your message dated Tue, 28 Feb 2023 15:13:40 +0000
with message-id <[email protected]>
and subject line Bug#1032123: Removed package(s) from unstable
has caused the Debian Bug report #356187,
regarding libpam-ldap: pam_ldap.so is not stackable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
356187: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356187
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpam-ldap
Version: 178-1sarge1
Severity: normal

Hello

I muß query two ldap serves for a new mail server. 

I set this for /etc/pam.d/pop:
  auth    sufficient    pam_ldap.so config=/etc/pam_ldap_1.conf
  auth    required      pam_ldap.so config=/etc/pam_ldap_2.conf try_first_pass

  account sufficient    pam_ldap.so config=/etc/pam_ldap_1.conf
  account required      pam_ldap.so config=/etc/pam_ldap_2.conf try_first_pass

and this don't work. 

If I use only one ldap-server, it works. With both servers, only the first
server work.

I debug pam_ldap and found the Problem. 

In pam_ldap.c the funktion _pam_ldap_get_session (l:2630) check if the cache
has old cached informations. If the name of the config-name is changed
(l:2662), the user_info is released. This work fine, but after this, the
funktion go back without rereading the config (l:2672).

with this hacky-patch, i resolve the problem:
  |--- pam_ldap.c.old      2006-03-10 09:15:21.000000000 +0100
  |+++ pam_ldap.c  2006-03-10 09:15:41.000000000 +0100
  |@@ -2669,7 +2669,7 @@
  | #if LDAP_SET_REBIND_PROC_ARGS < 3
  |       global_session = *psession;
  | #endif
  |-      return PAM_SUCCESS;
  |+      // return PAM_SUCCESS;
  |     }
  |
  |   *psession = NULL;

But this is not a real solution. With this the cached data are never used und
maybe we have now some pointer problems or so.

Can you reproduce the bug? Can you make a real fix?

Thanks for your work

Gruss Grisu
-- 
Michael Bramer  -- http://www.feuerwehr.kreuzau.de/wiki/
PGP: finger [email protected]  -- Linux Sysadmin   -- Use Debian Linux
Jaja. Die Heisenbergsche Unschaerferelation soll nur die Rechenfehler
der Simulationshardware verdecken.
  -- [email protected] (Lutz Donnerhacke) ueber simulierte Realitaet


--- End Message ---
--- Begin Message ---
Version: 186-4.1+rm

Dear submitter,

as the package libpam-ldap has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1032123

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to