Date: Thu, 24 Apr 2003 14:46:23 -0700 From: Gordon Tetlow <gordont@gnf.org> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> Cc: current@FreeBSD.org Subject: Re: compat mode with nss_ldap Message-ID: <20030424214623.GV9682@roark.gnf.org> In-Reply-To: <20030424212540.GC92456@madman.celabo.org> References: <20030424202413.GT9682@roark.gnf.org> <20030424212540.GC92456@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--HBXo5IaYAxUG7vuS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 24, 2003 at 04:25:40PM -0500, Jacques A. Vidrine wrote: > On Thu, Apr 24, 2003 at 01:24:13PM -0700, Gordon Tetlow wrote: > > I'm not sure if this is supposed to work, but if I try the following in > > my nsswitch.conf: > >=20 > > hosts: files dns > > passwd: compat > > passwd_compat: ldap > > group: compat > > group_compat: ldap > >=20 > > I get the following when running id <username>: > >=20 > > gtetlow@roark:~$ id <username> > > id: <username>: no such user >=20 > Ah yes, I need to define NSDB_PASSWD_COMPAT and NSDB_GROUP_COMPAT > databases in the nss_ldap module for this to work. It is an oversight > on my part. Try this patch and let me know how it works for you. It doesn't like that. With the compat I get a segfault. unfortunately, the corefile is not to helpful as I don't have a debug libc around. Here's the bt anyway: (gdb) bt #0 0x280fd970 in nsdispatch () from /usr/lib/libc.so.5 #1 0x0804c80b in ?? () #2 0x00780073 in ?? () Kinda special. With the passwd: files ldap, it works fine. -gordon --HBXo5IaYAxUG7vuS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+qFsvRu2t9DV9ZfsRAnvPAKCbtSVjQm1m4YmbfLpYBBubEQQ4WACZAbUc iH79lfJuNypYxUWs7N9w9Ak= =syYd -----END PGP SIGNATURE----- --HBXo5IaYAxUG7vuS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030424214623.GV9682>