WAR_CH|LD
10-27-2004, 12:45 AM
Basicly I am after a setup that has the following.
A public share, that any member of the network can acces without having to use a login/password and login.
then one private share, in which we need a login/password.
At the moment, I can either get it so everything is open, or everyhthing needs a login and password and can not find a combination of the both.
This following conf is using security = user
# Global parameters
[global]
workgroup = Name
encrypt passwords = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
ldap ssl = no
panic action = /usr/share/samba/panic-action %d
printer admin = @ntadmin
[public]
comment = Open/Public Share
path = /home/public
force user = nobody
force group = staff
read only = No
guest only = Yes
guest ok = Yes
[pirvate]
path = /home/private
username = private
valid users = private
read only = no
so, the private share works fine I have added the user and everything for it. Except with this conf, it needs the login and password for EVERYTHING!! any the shares or even just to browse the machine/what shares are available.. I dont want a login and password for that. how can I remove it? :)
thanks.
A public share, that any member of the network can acces without having to use a login/password and login.
then one private share, in which we need a login/password.
At the moment, I can either get it so everything is open, or everyhthing needs a login and password and can not find a combination of the both.
This following conf is using security = user
# Global parameters
[global]
workgroup = Name
encrypt passwords = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
ldap ssl = no
panic action = /usr/share/samba/panic-action %d
printer admin = @ntadmin
[public]
comment = Open/Public Share
path = /home/public
force user = nobody
force group = staff
read only = No
guest only = Yes
guest ok = Yes
[pirvate]
path = /home/private
username = private
valid users = private
read only = no
so, the private share works fine I have added the user and everything for it. Except with this conf, it needs the login and password for EVERYTHING!! any the shares or even just to browse the machine/what shares are available.. I dont want a login and password for that. how can I remove it? :)
thanks.