All pastes #543743 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-06-06 05:04 UTC
rendered paste body
## smb.conf

;netbios name = server
;workgroup = unix
;domain logons = Yes
;domain master = Yes
;security = User
[global]
; name our machine and workgroup
netbios name = server
workgroup = unix
encrypt passwords = yes
; tell samba we are a PDC
domain master = yes
local master = yes
preferred master = yes
os level = 65
; we'll probably come back to these settings,; but they'll do for now
security = user
domain logons = yes
; logon path tells Samba where to put Windows NT/2000/XP;
;roaming profiles
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon drive = O:
; logon home is used to specify home directory and
; Windows 95/98/Me roaming profile location;
logon home = \\%L\%u\.win_profile\%m
time server = yes
; Use the names of all users in
;the Windows NT/2000/XP; Administrators group who log on to the
;domain
domain admin group = root admin zimmy
; this works on Centos Linux --
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
; share a directory for everyone
[public]
path = /usr/samba/share
public = yes
only guest = yes
writable = yes
printable = no
; make one private to tcs
[tcs]
 comment = ZimmYs's stuff
path = /usr/home/zimmy
valid users = zimmy
public = no
writable = yes
printable = no
create mask = 0765