[Samba] Access to a share resource without password
J. L. Cabral
jelocabral at gmail.com
Sun Feb 27 20:21:32 MST 2011
Chris, after following Marco guideline and fail I followed the
tutorial you recommend to me, please see below:
[global]
workgroup = CASA
netbios name = bangkok
security = user
passdb backend = tdbsam
Map to guest = Bad User
username map = /etc/samba/smbusers
[grabar]
comment = File sharing
path = /var/alejandro
read only = No
create mask = 0700
directory mask = 0700
guest ok = Yes
The content of smbusers is:
root = administrator admin
nobody = guest pcguest smbguest
and the path:
drwxrwxrwx root nobody /var/share
I restart smb and after tghat I do from Windows:
net use X: \\10.4.133.109\grabar
I see the resource but when I made double click on it I get:
ACCESS DENIED
The smb.log is:
[2011/02/28 00:16:14, 0] lib/util_sock.c:get_peer_addr(1224)
getpeername failed. Error was the other connection peer is not connected
[2011/02/28 00:16:14, 0] lib/util_sock.c:get_peer_addr(1224)
getpeername failed. Error was the other connection peer is not connected
[2011/02/28 00:16:14, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 0.0.0.0. Error =
connectio reinitialized by the remote machine
[2011/02/28 00:16:14, 1] smbd/service.c:make_connection_snum(1077)
kari (10.4.132.61) connect to service grabar initially as user
nobody (uid=99, gid=99) (pid 31950)
THANKS AGAIN and please can you continue helping me ???
JeLo
On Fri, Feb 25, 2011 at 5:38 PM, Chris Smith <smb_77 at chrissmith.org> wrote:
> On Fri, Feb 25, 2011 at 3:17 PM, Helmut Hullen <Hullen at t-online.de> wrote:
>> Have I to add "nobody" to the samba password file?
>
> No.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list