[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4168) autofs with ldap triggers segfault in kernel

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 11 November 2005 01:42, ando@sys-net.it wrote:
> On Thu, 2005-11-10 at 19:12 +0000, Guillaume.Rousse@inria.fr wrote:
> > As noted in bugzilla report, using autofs without ldap-defined
> > configurarion does not trigger any segfault, and rebuilding autofs
> > against an older version of openafs lib (2.2 vs 2.3) make it works
> > correctly.
> does the 2.2/2.3 above refer to those "openafs lib" or to OpenLDAP
> client libraries?

OpenLDAP only. AFAIK no openafs libs are involved, this was a typo.

I recommended that Guillaume rebuild autofs against libldap2.2_7-devel (whi=
is currently at 2.2.27 and only retained for compatibility reasons) to see =
libldap was involved.

> The description of the problem seems to indicate that=20
> the issue arises when passing from Mandriva's build of OpenLDAP
> libraries 2.2 to 2.3

We have only one patches on the libraries in both 2.2 and 2.3=20
Guillaume rebuilt the 2.2 packages on the same system, and also built 2.3.1=
(from the cooker tree), which would seem to rule out any compiler-related=20

And note that this issue seems to only affect 64bit platforms (or at least=
only x86_64 so far).

> ; this may or may not disveal a problem in OpenLDAP=20
> libraries, or their misuse in the client software, or some other
> interaction with components of the system.

I have had reports by personal email of similar problems with samba when us=
the pdb_ldap backend on x86_64 (whereas I use it personally on x86 with no=
problems). Unfortunately these reporters did not post bugs or provide any=20
further information.

I haven't been able to setup a system to reproduce this on yet (as none of =
x86 systems can reproduce it and I only have one x86_64 system available).

> However, without further details, it is very unlikely we can progress
> any further.  Can you reveal any useful info, e.g. server logs of the
> operations (if any) that end up in the client problem?  The best would
> be a stack backtrace of the offending OpenLDAP code, assuming that the
> crash occurs in OpenLDAP's software.

Since this issue affects samba only when using pdb_ldap, and autofs only wh=
using maps in LDAP, it would appear to be the case.

I'll try and get a system up that I can debug this on.


Buchan Milne
ISP Systems Specialist

Content-Type: application/pgp-signature

Version: GnuPG v1.4.2 (GNU/Linux)