[Samba] SAGE Line 50
Fredrik vK, X3m Networks
fredrik at x3m.net
Fri Dec 1 14:24:31 GMT 2006
Hi everybody, I know this has been up on the list before since I've
searched the archives. However I've been unsuccessful in trying to
migrate from Win2k to Debian with SAGE.
Can somebody who has a working setup please post the relevant parts of
their smb.conf, these are from mine:
netbios name = Spike
workgroup = eh
server string =
hosts allow = 192.168.0.0/16
security = user
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0
bind interfaces only = yes
local master = yes
os level = 65
domain master = yes
preferred master = yes
null passwords = no
hide unreadable = yes
hide dot files = yes
domain logons = yes
logon script = scripts\%U.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U\.9xprofile
wins support = yes
name resolve order = wins lmhosts host bcast
dns proxy = no
time server = yes
log file = /var/log/samba/log.%m
max log size = 50
smb passwd file = /etc/samba/private/smbpasswd
add user script = /usr/sbin/useradd -m %u
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/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
passwd program = /usr/bin/passwd %u
passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \
"*Password changed*"
unix charset = ISO8859-1
admin users = Administrator,kantzow
public = yes
[netlogon]
path = /var/lib/samba/netlogon
guest ok = no
read only = yes
browseable = no
[profiles]
path = /var/lib/samba/profiles
browseable = no
writeable = yes
default case = lower
preserve case = no
short preserve case = no
case sensitive = no
hide files = /desktop.ini/ntuser.ini/NTUSER.*/
write list = @users @ntadmins
create mask = 0600
directory mask = 0700
[homes]
path = /home/%U
browseable = no
valid users = %S
read only = no
guest ok = no
inherit permissions = yes
hide files = /.bash_profile/.bashrc/
[Sage]
comment = Sage Accounts share
path = /home/shares/sagedata
writeable = yes
browseable = no
valid users = @accdept @ntadmins
write list = @accdept @ntadmins
create mask = 0771
directory mask = 0771
veto oplock files = /*.mdb/*.MDB/*.ldb/*.LDB
locking = yes
share modes = yes
--
Best regards
Fredrik von Kantzow
X3m Networks
#84 Sheraton Park
Christ Church
Barbados W.I.
Main: +1 246 435 7076
Cell: +1 246 257 5463
WWW : http://x3m.net
Mail: fredrik at x3m.net
More information about the samba
mailing list