[brlug-general] Samba winbind not working correctly with Active Directory

John Hebert johnahebert at yahoo.com
Wed Nov 8 23:59:23 CST 2006


Howdy,

I successfully added a Linux server I am administrating to an Active Directory domain where I work. Samba works, I can see the shares, etc.

I know winbind and /etc/nsswitch.conf are configured correctly, because I can get a list of users ('wbinfo -u') and groups ('wbinfo -g') from Active Directory without a problem.

Here's my /etc/nsswitch.conf file:
passwd:       compat winbind
group:     compat winbind
shadow:     compat
hosts:     files dns wins
networks:     files dns
protocols:     db files
services:     db files
ethers:     db files
rpc:     db files

However, if I try to get info on a specific user ('getent passwd testuser') in the AD domain, I get nothing. If I run 'getent passwd', I basically get my /etc/passwd file.

Can somebody point me to some good info on how /etc/nsswitch.conf should be configured for a domain member if I want to do authentication against Active Directory?

I've been reading through The Official Samba-3 HOWTO and Reference Guide, but it is a lot to wade through. :P

Thanks!
John Hebert






 
__________________________________________________________________________________________
Sponsored Link

Talk more and pay less. Vonage can save you up to $300 a year on your phone bill. 
Sign up now. http://www.vonage.com/startsavingnow/



More information about the General mailing list