Login in a NT-Dom over PAM/Winbindd
Hello!
i have a little problem with my linux box:
i want to login with user-accounts from an NT-Dom.
I use winbindd from samba3.0beta3. "wbinfo -u" and "wbinfo -g"
works fine, also "getent passwd" works fine.
When i want to login with a domain-user the login cames again (local users can login).
At the syslog you can see this:
Aug 11 11:25:47 seb-test pam_winbind[17766]: user 'seb1' granted acces
Aug 11 11:25:47 seb-test login[17766]: Permission denied
Now the confs:
#######smb.conf#########
[global]
workgroup = DOM1
os level = 2
time server = no
unix extensions = Yes
encrypt passwords = Yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
SECURITY = DOMAIN
password server = pdc
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
##### smb.conf - Ende ######
##### /etc/pam.d/login ######
#%PAM-1.0
auth required pam_securetty.so
auth sufficient pam_winbind.so
auth sufficient pam_unix.so use_first_pass
auth required pam_nologin.so
account sufficient pam_winbind.so
account sufficient pam_unix2.so
##### /etc/pam.d/login - Ende ######
HELP!!!
|