[Samba] guest account
Aboe Bakr
aboebakr at yahoo.com
Tue Jun 15 16:00:15 GMT 2004
Hello,
it seems that 'guest account' can't be defined in a
service anymore. As far as i can tell the manual
states it should work though. Am i doing something
wrong here? (i upgraded from samba 2 to 3).
I would like to be able to get access to certain
shares using a particular user, so all rights are o.k.
(and i need 2 different users for different services,
so 1 global definition isn't really _the_ solution)
I'm running:
smbd: Version 3.0.2a-Debian
Thnx in advance,
grtz,
Pascal.
-------------
SMB.CONF
-------------
[global]
netbios name = COMPUTER
workgroup = WORKGROUP
server string = HI
name resolve order = lmhosts bcast
hosts allow = x.y.z.
security = user
map to guest = bad password
map to guest = bad user
password level = 0
encrypt passwords = yes
invalid users = root admin
max connections = 20
debug level = 1
syslog = 0
max log size = 50
interfaces = eth1 eth0 eth2
lm announce = no
lm interval = 0
local master = no
os level = 0
preferred master = no
domain master = no
wins server = w.x.y.z
wins support = no
wins proxy = no
dns proxy = no
socket options = TCP_NODELAY SO_SNDBUF=32768
SO_RCVBUF=32768
deadtime = 5
oplocks = yes
getwd cache = yes
read raw = yes
write raw = yes
preserve case = yes
short preserve case = yes
load printers = no
include = /etc/samba/smb.limieten.inc.conf
[private]
comment = prive
path = /shares
public = yes
guest ok = yes
guest only = yes
guest account = USER
writable = True
hosts allow = x.y.
browsable = no
[www]
comment = prive
path = /var/www
public = yes
guest ok = yes
guest only = yes
guest account = WWW_USER
writable = True
hosts allow = x.y.
browsable = no
--------------------
included file
--------------------
[pub]
comment = Welkom %m
path = /shares/pub_samba/alles_open
public = yes
guest ok = True
guest account = nobody
guest only = yes
writable = False
level2 oplocks = yes
-------------------
OUTPUT of testparm
-------------------
Load smb config files from /etc/samba/smb.conf
Processing section "[pub]"
Global parameter guest account found in service
section!
Processing section "[private]"
Global parameter guest account found in service
section!
Processing section "[www]"
Global parameter guest account found in service
section!
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = XYZ
server string = Aboe Bakr on da net
interfaces = eth1, eth0, eth2
map to guest = Bad User
log level = 1
syslog = 0
max log size = 50
name resolve order = lmhosts bcast
deadtime = 5
socket options = TCP_NODELAY SO_SNDBUF=32768
SO_RCVBUF=32768
load printers = No
os level = 0
lm announce = No
lm interval = 0
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = w.x.y.z
invalid users = root, admin
hosts allow = x.y.
max connections = 20
include = /etc/samba/smb.limieten.inc.conf
[pub]
comment = Welkom %m
path = /shares/pub_samba/alles_open
guest only = Yes
guest ok = Yes
[private]
comment = prive
path = /shares
read only = No
guest only = Yes
guest ok = Yes
hosts allow = x.y.
browseable = No
[www]
comment = prive
path = /var/www
read only = No
guest only = Yes
guest ok = Yes
hosts allow = x.y.
browseable = No
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
More information about the samba
mailing list