On Mon, Feb 28, 2011 at 12:05:32AM -0300, J. L. Cabral wrote: > Marco, I followed your instructions and I couldn't connect, my config is: > > [global] > workgroup = CASA > netbios name = bangkok > security = user > passdb backend = tdbsam > map to guest = bad password > username map = /etc/samba/smbusers > > [grabar] > comment = file sharing > path = /var/share
^^^^^^^^^^^^^^^ why not: path = /home/pepe ??? is it a problem? > browseable = yes > public = yes > writeable = yes > create mode = 0644 > force user = pepe > force group = pepe > > I have: > > drwxrwxrwx root nobody /var/share > > and I add user pepe: > > # useradd -s /sbin/nologin pepe > > After that I restart samba: > > # /etc/init.d/smb restart > > and fro Windows XP machine I do: > > net use X: \\10.4.133.109\grabar > > and after that I see the resource in my Explorer OK! > but when I want to > enter into it with double click I get: > > ACCESS DENIED so it seems a problem of local permissions, not SAMBA ... > > The smb.log is: > > [2011/02/27 23:52:25, 0] lib/util_sock.c:get_peer_addr(1224) > getpeername failed. Error was the connection peer is not connected > [2011/02/27 23:52:25, 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 remote machine > [2011/02/27 23:52:25, 1] smbd/service.c:make_connection_snum(1077) > kari (10.4.132.61) connect to service grabar initially as user pepe > (uid=500, gid=500) (pid 31657) > [2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116) > open_fake_file_shared: access_denied to service[grabar] > file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe] > [2011/02/27 23:52:29, 1] smbd/fake_file.c:open_fake_file(116) > open_fake_file_shared: access_denied to service[grabar] > file[$Extend/$Quota:$Q:$INDEX_ALLOCATION] user[pepe] > > Can you help me again ??? > > THANKS A LOT > > JeLo > if you do from root: #su -s /bin/bash pepe user pepe is able to write to /var/share ???? -- Marco Ciampa +--------------------+ | Linux User #78271 | | FSFE fellow #364 | +--------------------+ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba