hi guys 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 . _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080223/1607c1d4/attachment.html>
> 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
scaglietti amore wrote:> hi guys > > i have CentOS-5.1 with samba-3.0.25b-0.el5.4 > and i took this workin well smb.conf from slackware12was slackware 12 also using samba 3.0.25 (or at least close +/- a few 3.0.xx subrevs)? i don't think samba configuration files are compatible across different versions as features are constantly being added and/or changed.
On Saturday 23 February 2008 17:07, scaglietti amore wrote:> ?i have CentOS-5.1 with samba-3.0.25b-0.el5.4 > ?and i took this workin well smb.conf from slackware12What not just use SWAT to configure your samba settings? -- Regards Robert Smile... it increases your face value! Linux User #296285 http://counter.li.org