Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
i have a samba server, serving both UNIX/Linux and windows machines, and i have a couple of problems. Heres my smb.conf:
# Global parameters
[global]
server string = Aries Fileserver
socket options = TCP_NODELAY
workgroup = GBNET
os level = 20
interfaces = 192.168.0.104/255.255.255.192
null passwords = yes
encrypt passwords = yes
security = user
[web]
comment = Web
path = /home/www/
valid users = joel,root
read only = No
create mask = 0777
directory mask = 0777
[Music]
comment = Music
path = /data/music
guest ok = Yes
read only = Yes
[Unsorted]
comment = Unsorted Music
path = /data/music-unsorted
writable = yes
public = yes
only guest = yes
[gallery]
comment = Gallery
path = /home/www/sites/Gallery/picKLE-albums
writable = yes
public = yes
only guest = Yes
my problem is this, i want to protect access to the web share, to certain users, but i dont want the other users to have to log in in order to access the rest of the shares. is there any way i can make them only have to log into the web share.
second problem is that on linux, my users cannot write to gallery/unsorted/music. they keep getting permisiion denied. i have chowned and chgrped the mount points on the local systems, but they cannot create folders and then write to them, they need to be chmodded on the server before they can be written to. they cannot delete files either, they get permission denied writing to their respective trash folders on the network shares.
been messing with swat for a while now, and i dont seem to be getting anywhere. got to this so far
# Global parameters
[global]
workgroup = GBNET
server string = Aries Fileserver
interfaces = 192.168.0.104/255.255.255.192
null passwords = Yes
domain master = No
[web]
comment = Web
path = /home/www/
valid users = joel
admin users = joel
write list = joel
read only = No
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777
inherit permissions = Yes
[Music]
comment = Music
path = /data/music
inherit permissions = Yes
guest only = Yes
guest ok = Yes
[Unsorted]
comment = Unsorted Music
path = /data/music-unsorted
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
guest only = Yes
guest ok = Yes
[gallery]
comment = Gallery
path = /home/www/sites/Gallery/picKLE-albums
read only = No
create mask = 0777
directory mask = 0777
inherit permissions = Yes
guest only = Yes
guest ok = Yes
[homes]
comment = Home Dir
i think the web one works, but the rest it always asks for a pass, and if i login with blank password i cant do anything, and the homes section doesnt seem to work properly.
to your smb.conf. Cant remember anything else at this moment but I m going to install samba in similar configuration on my computer on sunday so I ll let u know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.