Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
My goal is to get a simple file server for windows xp/2000 clients. I need 1 share that's public, and anyone who plugs into the network can get to via \\server1\public. I also need 1 share that's only available to the people in the office via a name and password, so they can go to \\server1\office and be prompted for name and pass.
I'm using Centos 5, which has a broken system-config-samba gui, so I'm trying to do this by editing smb.conf and having no luck.
The best I've been able to accomplish is when I try to hit \\server1 it always prompts for a password; or I can set "security = share" and it will allow people into the public share no problem, but if I tried to access the password protected share, it would assume the user "guest" for username, and not allow me to change it.
Below is the output of testparm. Can someone tell me what I've got wrong?
[global]
netbios name = SERVER1
server string = Samba Server Version %v
passdb backend = tdbsam
guest account = public
username map = /etc/samba/smbusers
client NTLMv2 auth = Yes
client lanman auth = No
client plaintext auth = No
valid users = vic, liz, office, public
guest ok = Yes
printable = Yes
[public]
comment = Public
path = /data/public
write list = +public, +office, +vic, +liz
read only = No
printable = No
[office]
comment = Office
path = /data/office
valid users = +office, +vic, +liz
write list = +office, +vic, +liz
read only = No
guest ok = No
printable = No
[software]
path = /data/software
write list = public
read only = No
printable = No
browseable = No
I don't understand why you need all this. Just install vsftpd and have your Windoze clients access the file server using Filezilla or some other crappy windows software.
I don't understand why you need all this. Just install vsftpd and have your Windoze clients access the file server using Filezilla or some other crappy windows software.
If you can't say something nice.... why say anything at all? These kind of responses are kind unnecessary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.