I'm trying to set up an arrangement that requires an application (samba/smbd) to run under chroot. It fails to find users, failing at getpwnam. Also under chroot 'getent passwd user' and a perl script that calls getpwnam return null. All these work as expected when not under chroot.
I have replicated /etc/passwd,shadow,group,nsswitch.conf and the pam.d directory relative to the chroot directory tree, as well as the libraries and loader seen in each with ldd. I've tried a few variations the nsswitch.conf which is currently 'passwd: compat', such as 'passwd: files nis' (this machine is an NIS slave server) with no change. Is this a feature of getpwnam or have I missed some aspect of setup. Thanks. Don Hayward [EMAIL PROTECTED] Mote Marine Laboratory Office: 941.388.4441 Cell: 941.302.4982 1600 Ken Thompson Parkway Fax: 941.388.4312 Sarasota, FL 34236 See: http://www.mote.org Independent, non-profit, marine and estuarine research and education facility. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

