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: > > > > hosts: files dns > > passwd: compat > > passwd_compat: ldap > > group: compat > > group_compat: ldap > > > > I get the following when running id <username>: > > > > gtetlow_at_roark:~$ id <username> > > id: <username>: no such user > > 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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC