Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
while i have been using samba i have noticed that the outrageous ides seem to work.
I have samba all setup and working with all the write permissions for users on the shares, but this is only on windows.
In linux u can access the shares, but when i allow write acces for the user it doesn't want any of it. BUT if im root i have full write privileges. I do have a smb account called root, but i haven't told samba to allow writing on this partition.
Has any one ells come across this??????
Does any one know how to overcome this problem????
My smb.conf
**********************************************
[global]
workgroup = SXPB
server string = Samba Server
log file = /var/log/samba.%m
max log size = 50
security = exio nick paul
encrypt passwords = yes
ssl CA certDir = /etc/ssl/certs
socket options = TCP_NODELAY
smb passwd file = /etc/samba/smbpasswd
[data]
comment = Nick's Service
path = /data/nick
public = no
writable = no
write list = exio nick
[PJ]
comment = Pauls files
path = /data/paul
public = yes
writable = no
write list = paul exio nick
**********************************************
Also, if i want write access at all for any share i have to enter the user after ;
security =
and as root is not after this its makes it even more mind boglin...
I do not have my man pages with me right now and am not sure how the write list parameter works with writeable = no on a share. I do know that paul exio nick is not a valid security setting. If you are setting up unix accounts with password validation it should be securtiy = user. I do not know if those are hosts or users? The easiest way to deny writing to directories is to set up unix level group permissions on you share directories. Set paul exio nick as members of a group and make PJ writeable only by them (ie chmod 770 /data/paul).
Distribution: Mainly Debian, some Fedora for the bleeding edge fix
Posts: 92
Rep:
Hi Exio
You misunderstand the setting "security = user" This setting is a global setting that can be either : "security = share" "security = user" "security = server" "security = domain" or "security = ads" (only on samba 3.0 or newer). You are not meant to put usernames here!! Just set it exacyly like this : "security = user" then samba will check the credentials and permissions of the user trying to connect.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.