This is an old revision of the document!
gate# cat smb.conf
[global] workgroup = CORPX security = DOMAIN winbind use default domain = Yes idmap uid = 20000-40000 idmap gid = 20000-40000 template homedir = /home/%U template shell = /bin/sh winbind enum users = yes winbind enum groups = yes winbind cache time = 36
[gate:~] # /usr/local/etc/rc.d/samba restart
root@gate:~# /etc/init.d/bind9 restart root@gate:~# /etc/init.d/winbind restart
gate# ntlm_auth --username=user password: NT_STATUS_OK: Success (0x0) gate# wbinfo -u ... gate# wbinfo -g ...
gate# cat /etc/nsswitch.conf … group: files winbind passwd: files winbind shadow: files winbind # for linux only … gate# wbinfo -n user gate# wbinfo -S … gate# id user gate# chown -R user:'domain users' /home/user/ gate# chown user:'domain users' /var/mail/user