[Samba] Can not connect to share for a particular user.
David Kuntadi
d.kuntadi at gmail.com
Mon Jul 21 12:32:44 GMT 2008
On Thu, Jun 5, 2008 at 11:46 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> Hello
>
> I currently run a few samba servers one being used as a PDC.
>
> Today I added a user to the domain and for some reason I can not get
> it to connect to any of the shares but "home" on the file server.
>
> % smbclient -U gregi //server3/public
> Password:
> Domain=[HYDRIX-MALVERN] OS=[Unix] Server=[Samba 3.0.28]
> tree connect failed: NT_STATUS_ACCESS_DENIED
>
> However I can connect with :
> $ smbclient -U gregi //server3/gregi
> Password:
> Domain=[HYDRIX-MALVERN] OS=[Unix] Server=[Samba 3.0.28]
> smb: \>
>
> In the smb log file, I would see
> make_connection: connection to public denied due to security descriptor.
>
> when it successfully connects I see:
> aragorn (192.168.0.94) connect to service gregi initially as user
> gregi (uid=1084, gid=1084) (pid 88931)
>
> The share entry in smb.conf is:
> [public]
> comment = "Public folder"
> path = /data/home/public
> browseable = Yes
> writable = Yes
> force create mode = 0777
> force directory mode = 0777
> force group = public
Try to remove:
force group = public
in smb.conf and then restart samba (/etc/init.d/samba restart). After
that try to access again using gregi username, see wehter or not this
help.
DK
More information about the samba
mailing list