[CentOS] SAMBA is driving me crazy

Barry Brimer lists at brimer.org
Sat Feb 23 22:22:00 UTC 2008


> i have CentOS-5.1 with samba-3.0.25b-0.el5.4
> and i took this workin well smb.conf from slackware12
> ( commands to be done befor this ):
> # useradd  wbc -c /home/wbc -g users# smbpasswd -a wbc# mkdir /export# chmod u+rwx,g+rx,o+rx /export# chown wbc.users /export
> the conf file:[global]workgroup = WORKGROUPnetbios name = sanshirosecurity = share
> [share]comment = Datapath = /exportforce user = wbcforce group =  usersread only = noguest ok = Yes
> _______
> and it never worked
> and i tried to edit the original smb.conf like this:
> [global]
> workgroup = WORKGROUPserver string = storagenetbios name = sanshirointerfaces = lo eth2hosts allow = 127. 10.0.0.
> # logs split per machine       log file = /var/log/samba/%m.log# max 50KB per log file, then rotate       max log size = 50
> security = share
> # A publicly accessible directory, but read only, except for people in# the "users" group       [public]       comment = Data       path = /samba/Data/    #owened by wbc.users       public = yes       writable = yes       read only = no       printable = no       write list = users_________
> NOW my issue that whenever i try to copy something to the share folder i get "access denied" make sure
> OR sometimes when i modifie it a little  i get things copied but with 0kB sized.
> i'v been trying for 2 weeks . i couldnt know whats missing.
> THANX for any help .


This is very difficult to read.  The only thing that looks strange to me 
is that you are using "write list = users" and not "write list = @users". 
Have you tried that?

Barry



More information about the CentOS mailing list