[Samba] nss_winbind problem

Sandu Mihai mihai.sandu at epicrose.ro
Tue Sep 27 03:34:37 MDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erm,

Voodo stuff. getent passwd does not work. BUT, id 'user' works. Same for
group.

id X\\gicu.scularie -- works wonders

getent passwd nope :)

I do have wins enum users and wins enum groups set to yes, so getent
should work.

Well then, crisis is somehow over, since I only need nss_winbind to work
for some local rights on files.

Best regards,

Sandu Mihai


On 09/27/2011 12:25 PM, Sandu Mihai wrote:
> Can anyone that delt with this kind of problems shed some light on steps
> to do to debug?
> 
> wbinfo -u - got list of users
> wbinfo -g - got list of groups
> 
> getent passwd - only local users + local domain users, no user list from
> trusted domain
> getent group - same
> 
> strace shows that  I am connecting to the winbindd named pipe when going
> 'getent ...' so, the nss_winbind module works (or so).
> 
> One one machine (PDC) I have 3.3.8-0.52.el5_5.2, on BDC (I am using it
> for backup of data from PDC, and upgrade experiments) 3.5.4-0.83.el5_7.2.
> 
> 3.3.8-0.52.el5_5.2 works wonders (wbinfo -u, -g, getent, etc)
> 3.5.4-0.83.el5_7.2 does not work
> 
> I am using the same config on both machines, the only diffrence is in
> PDC/BDC config options.
> 
> ldconfig issued after upgrade on BDC, so I don't suspect any lib
> problems for nss_winbind.
> 
> Distro is CentOS 5
> 
> Best regards,
> 
> Sandu Mihai
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOgZitAAoJELXw04oLkAtVKj4H/jvZzSOGl24QVIoCLSYHI7U9
wicILrE+ETyTGTwfeBkG2iYR/+1v0ZSkj3QjR24XUT2fkjQ6Q+oKWbYvL0/hz9QQ
d2N/hvIxXMqOgowYthwmaeD5p3EhfPcaBiDNuEgGuynw3e9DuINouEmG2o4aSrM5
hYH+JHNnWclgoax0BArkP2LnsaBcstdjcrOMyRnpEuwqLqP0byGjrnCsr/cujTj5
Vrbx1NfagddQpB9dnyBKm60lF0Fx6Sl3Ym17xmk+BOEFkQHkQvVVl7N6S6cIi2GF
apWapy0mmnZoq3txjJxo3mrcgKAnuyZj/sFN7L57sweXYxjqV1txH5q58hC8DP0=
=Jqqv
-----END PGP SIGNATURE-----


More information about the samba mailing list