From owner-freebsd-current@FreeBSD.ORG Fri Oct 14 10:12:14 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B91E216A41F for ; Fri, 14 Oct 2005 10:12:14 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4E9A543D45 for ; Fri, 14 Oct 2005 10:12:12 +0000 (GMT) (envelope-from Emanuel.strobl@gmx.net) Received: (qmail invoked by alias); 14 Oct 2005 10:10:42 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) [62.245.232.135] by mail.gmx.net (mp005) with SMTP; 14 Oct 2005 12:10:42 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-current@freebsd.org Date: Fri, 14 Oct 2005 12:10:31 +0200 User-Agent: KMail/1.8.1 References: <200510111932.50224@harrymail> <200510141141.33231@harrymail> In-Reply-To: <200510141141.33231@harrymail> X-Birthday: Oct. 6th 1972 X-CelPhone: +49 (0) 173 9967781 X-Tel: +49 (0) 89 18947781 X-Country: Germany X-Address: Munich, 80686 X-OS: FreeBSD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2236984.0dSMALvLf2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510141210.41313@harrymail> X-Y-GMX-Trusted: 0 Cc: nectar@freebsd.org Subject: Re: nss_ldap segmentation fault with RC1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 10:12:14 -0000 --nextPart2236984.0dSMALvLf2 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 14. Oktober 2005 11:41 CEST schrieb Emanuel Strobl: > Am Dienstag, 11. Oktober 2005 19:32 CEST schrieb Emanuel Strobl: > > Hello, > > > > I set up ldap authentication against (MS)AD-Server and see > > segmentation faults of `id user-xy` for example. > > The strange thing is that if I fire id for the first time it works, > > but then it segfaults. The cause is the following line in > > /etc/nsswitch.conf: "group: file ldap". As soon as I add ldap I can't > > su anymore because nss_ldap.so seems to crash. If I remove the group > > ldap directive (and leave shells and passwd with ldap) everything is > > working fine again. How can I provide useful info to get this fixed? While desperate tinkering I found that --enable-rfc2307bis is the culprit. If I comment it out in the ports Makefile everything is working fine! I hope this helps to get the port in a working-by-default state, even=20 better was if FreeBSD could handle ldap user databases from the base,=20 IMHO. Thanks, =2DHarry --nextPart2236984.0dSMALvLf2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDT4QhBylq0S4AzzwRAvDDAJ9igzf5r06TFEhubnT0rRthXHLD8gCdFc95 ajU2Xb/fkLw56VARckGBdus= =Unfu -----END PGP SIGNATURE----- --nextPart2236984.0dSMALvLf2--