On Sun, 28 Jul 2002, Yura Pismerov wrote:
>
>
> I'm not sure if this is normal or not. I run Samba 2.2.5 with LDAP on
> RH Linux 7.2.
> The thing is, it only works correctly when nscd is running. Otherwise it
> can't getpwnam
> and fails with no uid error. Interesting thing, there is no such effect
> on Debian Linux. Weird...
>
>
> pdb_ldap.c:
>
> sys_user = sys_getpwnam(username);
> if (sys_user == NULL) {
> DEBUG (2,("init_sam_from_ldap: User [%s] does not ave
a
> uid!\n", username))
Sounds like and iss between your nss_xxx.so libraries and nscd.
Are you using nss_ldap? If so, are you using the latest version from
PADL?
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN
0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--