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

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



--nextPart3351957.GKiLJhh4As
Content-Type: text/plain;
  charset="iso-8859-6"
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=
ch=20
is currently at 2.2.27 and only retained for compatibility reasons) to see =
if=20
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
(http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/SPECS/openldap/openldap-2.2.19-=
ntlm.patch).=20
Guillaume rebuilt the 2.2 packages on the same system, and also built 2.3.1=
1=20
(from the cooker tree), which would seem to rule out any compiler-related=20
issues.

And note that this issue seems to only affect 64bit platforms (or at least=
=20
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=
ing=20
the pdb_ldap backend on x86_64 (whereas I use it personally on x86 with no=
=20
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 =
my=20
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=
en=20
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.

Regards,
Buchan

=2D-=20
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

--nextPart3351957.GKiLJhh4As
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDdDZErJK6UGDSBKcRAhbDAKCe6qi6s1N5kDXsw6oOKFg4VlWxNQCeOKxc
GHqK/EUc88LueQzpuixEw7c=
=I4x9
-----END PGP SIGNATURE-----

--nextPart3351957.GKiLJhh4As--