I need to configure SAMBA and Winbind on Ubuntu 10.04.1 clients to get their UID, GID, and home directory from Windows Active Directory.
I have Windows Services for Unix installed with the relevant information entered in there (i.e. the UID, GID, shell, etc.).
The problem is that no matter what I try, I cannot get winbind to properly get that information and use it. I know the problem lies in my
/etc/samba/smb.conf file. Unfortunately I just can't find any decent documentation whatsoever on how to properly set this up.
Below is my
[global] security = ads realm = DOMAINSERVER.COM password server = <<IP.of.domain.server>> workgroup = DOMAINSERVER winbind refresh tickets = yes idmap backend = ad ## Important winbind enum users = yes winbind enum groups = yes template homedir = /home/%U ## I tried commenting this out, and it didn't work template shell = /bin/bash ## I tried commenting this out, and it didn't work client use spnego = yes client ntlmv2 auth = yes encrypt passwords = yes winbind nss info = sfu ## Important winbind use default domain = yes restrict anonymous = 2
I REALLY appreciate the help on this one!
EDIT: The only other thing I can think of that is causing an issue is the fact that I haven't yet cleared the old winbind mapping stored in the
/var/lib/samba/ directory. If I clear that out, will that resolve the issue? BTW, I have begun examining this document, however, its age may be of a problem: http://www.ccs.neu.edu/home/battista/articles/winbindenterprise/winbindenterprise.pdf