[global] workgroup = HOME.LAN netbios name = USERVER server string = Home PDC (Samba, Ubuntu) admin users = @ntadmins wins support = yes name resolve order = host wins bcast //host lookup is via DNS, not local hosts file interfaces = lo eth0 security = user encrypt passwords = yes passdb backend = tdbsam obey pam restrictions = yes invalid users = root unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* . passwd chat debug = yes domain logons = yes logon path = logon drive = U: logon home = \\%N\%U ;logon script = scripts/logon.bat add user script = /usr/sbin/useradd -m '%u' -g users -G users delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usernod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false/ -d /nonexistent %u load printers = no printing = bsd printcap name = /dev/null show add printer wizard = no disable spoolss = yes socket options = TCP_NODELAY domain master = yes preferred master = yes os level = 255 idmap uid = 15000-20000 idmap gid = 15000-20000 template shell = /bin/bash log level = 3 [homes] comment = Home Directories browsable = no valid users = %U writable = yes [netlogon] comment = Network Logon Service path = /home/samba/netlogon valid users = %U guest ok = yes writable = no share modes = no ;[profile] ; comment = User profiles ; path = /home/samba/profiles ; valid users = %U ; create mode = 0600 ; directory mode = 0700 ; writable = yes ; browsable = no ; guest ok = no