Jarrod, did Samba every get working for you?

This is a copy of my smb.conf file.  Hopefully it'll help you.

a few warnings in advance.
#1, Most importantly, forceuser=root is a stupid idea.  Don't use it.  I can
justify why I did it, but it shouldn't EVER be neccesary.  So don't do it.
#2, SMB Printing isn't used here.  I'm not sure if it works or not as
currently configured, I was playing with it a while ago, but more out of
curiosity.
#3, I AM using VFS modules.  You'll need a very new version of Samba or they
will not be supported.  If you have a new version, you may still need to
compile them seperately.  If you aren't using the VFS stuff, just delete the
lines that start with vfs object and vfs options.
#4, This works as a PDC.  And all clients are running Windows 2000, SP2.
YMMV with other OSes.
#5, Don't use forceuser=root.  It's just asking for problems.
#6, I stripped out all the documentation long ago, Sorry.  I had just
started with a generic RH smb.conf, and edited it.  Documentation is now all
hard copies or other documentation files targeted specifically at this
installation. Feel free to ask about anything you see, I'm (finally) quite
comfortable with Samba, including groups and other stuff...

Hope it helps,
Kev.


# Global parameters
[global]
workgroup = TIDAL
netbios name = LINUX1
server string = Samba PDC running %v
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
unix password sync = Yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts host bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
total print jobs = 500
add user script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
logon drive = U:
logon script = logon.bat
logon path = \\linux1\Profiles\%U
domain logons = Yes
os level = 64
lm announce = False
preferred master = True
domain master = True
wins support = Yes
printer admin = @LG_TIDAL
show add printer wizard = yes
add printer command = /home/printers/addprinter
printcap name = /etc/printcap
load printers = yes
printing = lprng

[homes]
comment = Home Directories
read only = No
browseable = No
forceuser = root
vfs object = /etc/samba/VFS/recycle/recycle.so
vfs options = /etc/samba/VFS/recycle/recycle.conf

[netlogon]
comment = Network Logon Service
path = /home/netlogon
browseable = No

[Shared]
comment = Tidal Public Folder
path = /home/shared
force group = LG_TIDAL
read only = No
create mask = 0770
directory mask = 0770
vfs object = /etc/samba/VFS/recycle/recycle.so
vfs options = /etc/samba/VFS/recycle/recycle.conf

[Software]
comment = Tidal Software Folder
path = /home/software
read only = Yes
create mask = 0770
directory mask = 0770
write list = @LG_Software_Admins, root

[Pwsql]
comment = PW SQL
path = /mnt/pwsql
read only = no
write list = 0444
vfs object = /etc/samba/VFS/recycle/recycle.so
vfs options = /etc/samba/VFS/recycle/recycle.conf

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
browseable = yes
write list = @LG_TIDAL,root
printable = yes

[print$]
path = /home/printers
guest ok = yes
browseable = yes
write list = @LG_TIDAL,root

[Profiles]
path = /home/profiles
create mask = 0600
directory mask = 0700
writable = yes
browseable = no

Reply via email to