[Samba] Winbind trouble. Wbinfo see's users, "getent passwd" doesn't

Colin Davis ColinD at traininghott.com
Thu Jul 25 05:53:01 GMT 2002


> | /etc/nsswitch.conf contains
> |
> | passwd:     files windbind
> ~                       ^
> It should be:
> passwd:     files winbind
> 
> | shadow:     files  nisplus
> | group:      files winbind
> ~                    ^^^^^^^
> That's why your groups work, but users don't.

Ok. I am a complete and total moron! ;)

> If you need login to work also, you have a tough choice 
> between using + and \ as winbind seperator ...

I'm taking your advice and going with \. Easier is better. I can manually
create login accounts.

> And finally, if your /etc/pam.d/samba file uses pam_mkhomedir 
> (either directly or via pam_stack), you will probably want to 
> have "obey pam restrictions = yes" in your smb.conf, so that 
> samba can create home directories when users connect the 
> first time (just remember to make the parent directory of the 
> homes specified in your template). This will give you instant 
> personal shares like you mentioned above.

Thank you, I'll work on this next ;)

Thank you very much for your time and patience,
Colin Davis


> 
> Buchan
> 
> - --
> |----------------Registered Linux User #182071-----------------|
> Buchan Milne                Mechanical Engineer, Network Manager
> Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
> Stellenbosch Automotive Engineering         http://www.cae.co.za
> GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
> 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 
> 04A7 -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE9P95jrJK6UGDSBKcRAuI8AJ9FCNWTOot8EPnctecl1yIlm4DkGwCaAz/i
> bvXz54HNbqGicV9salFzB8o=
> =AeA8
> -----END PGP SIGNATURE-----
> 




More information about the samba mailing list