You are not logged in.
Pages: 1
I config my smb.conf like follow
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
server string = Samba Server
security = share
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
#============================ Share Definitions ==============================
[TestTest]
comment = Share Directories
path = /home/zane/Public
public = yes
guest ok = yes
browseable = yes
writable = yes
[TestTest2]
comment = Share Directories
path = /home/zane/Test
public = yes
guest ok = yes
browseable = yes
writable = yes
where Public and Test are 777 permission.
Then I did a test:
smbclient //localhost/TestTest -U %
smb:\> ls
NT_STATUS_ACCESS_DENIED listing \*
I've set a 777 permission, why still get this? Is there any problem with my config?
Offline
Hi pzlvv,
did you added a user using
smbpasswd -a [Username]to the local Samba user repository?
After you did that I guess the following should help:
smbclient \\localhost\TestTest -U [username]%[password]If you dont add %[Password] you will be asked for input.
Greets
Markus
Offline
Thanks a lot, It seems it is "security" option made the trouble. Finally I get my target by follow wiki again( although I can't understand them totally
)
Offline
Pages: 1