[Samba] new-b permissons question...

Mike idoyou2k at yahoo.com
Tue Dec 7 19:22:45 GMT 2004

please bare with me should this question sound
fundamental. i'm really new to linux and samba. but,
thank you for any reply...

i've been runing samba for a few months now and all is
working Great! i'm so happy to have finally dumped our
windoze machine. i'm running samba 2.2.5-SuSE as a
file server, WINS, and as the PDC. all ±50 windows2k
users are happy.

my smb.conf is pretty raw and basic, but now i need to
allow 2 users to have more control to the /home/server
tree than the regular staffusers. basically, these
users need to have full control for file maintainance;
moving, deleting, etc. chores.

in attempting to do this would it be appropriate to
add the users into "admin users =" line?

my smb.conf file is below;
netbios name = pc01
; for backwards compatibility with old //pc16/photos
netbios aliases = pc16
workgroup = mygroup

os level = 64
preferred master = yes
domain master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes

; logon path is for nt/2k
; logon path = \\pc01\server\Staff\%U
logon path = \\pc01\server\sys\logon\profiles\%U
; logon drive is only used by nt
logon drive = Z:
logon script = logon_01.bat

# server string is the equivalent of the NT
Description field
server string = primary fileserver (Samba)

name resolve order=wins
wins support=yes

remote announce=

log level = 2
log file = /var/log/samba/smb.log

# attempt to get around the "access denied/double
delete" problem
nt acl support = no

;socket options = TCP_NODELAY SO_SNDBUF=8192
; this is the virtual ip shared between fs0 and fs1
interfaces =
hosts allow = localhost 192.168.1. 

# for automatic creation of machine accounts
add user script = /usr/sbin/useradd -d /dev/null -g
100 -s /bin/false %u

; necessary share for domain controller.  clients
fetch logon script from here.
   path = /home/server/sys/logon
   read only = yes
   admin users = staffadmin

   comment = Primary File Server (Samba)
   path = /home/server
   valid users = staffuser01, staffuser02,
staffuser03, staffuser04
   public = no
   write list = staffuser01, staffuser02, staffuser03,
   writable = yes
   printable = no
   browsable = yes
   directory mask = 0777
   create mask = 0777

   comment = "Formerly //pc16/photos"
   path = /home/server/photos
   public = no
   printable = no
   browsable = yes
   writable = yes
   directory mask = 0777
   create mask = 0777

Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 

More information about the samba mailing list