workgroup = homeip.net
passdb backend = smbpasswd
-keep alive = 30
os level = 33
-fstype = NTFS
-kernel oplocks = false
map to guest = bad user
-smb ports = 445 139
-unix charset = CP850
security = user
guest account = samba
bind interfaces only = true
interfaces = green0 127.0.0.1
-socket options = TCP_NODELAY SO_KEEPALIVE
-username level = 1
-wins support = true
-
-log file = /var/log/samba/samba-log.%m
-lock directory = /var/lock/samba
-pid directory = /var/run/
+log file = /var/log/samba/samba-log.%m
log level = 3 passdb:5 auth:5 winbind:2
-
-preferred master = false
-domain master = false
-local master = false
}
print FILE <<END
-keep alive = 30
os level = $sambasettings{'OSLEVEL'}
-fstype = NTFS
-kernel oplocks = false
map to guest = $sambasettings{'MAPTOGUEST'}
-smb ports = 445 139
dos charset = $sambasettings{'DOSCHARSET'}
unix charset = $sambasettings{'UNIXCHARSET'}
remote announce = $sambasettings{'REMOTEANNOUNCE'}
remote browse sync = $sambasettings{'REMOTESYNC'}
-username level = 1
wins support = $sambasettings{'WINSSUPPORT'}
wins server = $sambasettings{'WINSSRV'}
winbind gid = 10000-20000
winbind use default domain = yes
-log file = /var/log/samba/samba-log.%m
-pid directory = /var/run/
+log file = /var/log/samba/samba-log.%m
log level = $sambasettings{'LOGLEVEL'}
preferred master = $sambasettings{'PREFERREDMASTER'}