Hello,
today I tried to auth users against winnt-pdc. I set up
winbind and can login via DOMAIN+USER locally (debian), BUT
login always promts:
"No directory, logging in with HOME=/"
Can't fix this. Here's my configuration:
--- smb.conf ---
workgroup = <WORKGROUP>
winbind separator = +
winbind cache time = 10
template shell = /bin/bash
template homedir = /home/%D/%U
idmap uid = 10000-50000
idmap gid = 10000-50000
winbind enum users = yes
winbind enum groups = yes
security = domain
password server = <PDC>
encrypt passwords = yes
invalid users = root
--- /etc/pam.d/login ---
auth requisite pam_securetty.so
auth requisite pam_nologin.so
auth required pam_env.so
auth sufficient pam_winbind.so
auth required pam_unix.so nullok use_first_pass
# Standard Un*x account and session
account sufficient pam_winbind.so
account required pam_unix.so
session sufficient pam_winbind.so
session required pam_unix.so
session required pam_mkhomedir.so
session optional pam_motd.so
session optional pam_mail.so standard noenv
password required pam_unix.so nullok obscure min=4
max=8 md5
--- /etc/nsswitch.conf
passwd: winbind compat
group: winbind compat
shadow: compat
Where did I go wrong? Any Ideas would be appreciated!
Best regards,
Torsten
--
Edel sei der Mensch, Milchreis ist gut.