[Samba] Can't mount samba share, Access denied
Necos Secon
secon_kun at hotmail.com
Sat Apr 9 22:16:21 GMT 2005
I'm curious to see the output of: 'ls -ld /export/myshare'. The directory
should have at least r-xr-x--- to be able to access it properly. If you want
to write, you'll need rwxr-x---.
Theodore Charles III
Network Administrator
Los Angeles High School
>From: Mike Mercier <mmercier at gmail.com>
>Reply-To: Mike Mercier <mmercier at gmail.com>
>To: samba at lists.samba.org
>Subject: [Samba] Can't mount samba share, Access denied
>Date: Tue, 5 Apr 2005 11:36:59 -0700
>
>Hello,
>
>I have samba configured with the following smb.conf file:
>
>[global]
>workgroup = mydomain
>netbios name = servername
>security = domain
>printcap name = cups
>disable spoolss = yes
>show add printer wizard = no
>idmap uid = 15000-20000
>idmap gid = 15000-20000
>winbind use default domain = yes
>use sendfile = yes
>printing = cups
>
>[myshare]
>comment = My new share
>path = /export/myshare
>valid users = myusername
>read only = no
>
>
>If I try to:
>mount -t smbfs -o username=myusername,workgroup=mydomain
>//servername/myshare /mnt/samba
>After typing in my password I see:
>25744: tree connect failed: ERRDOS - ERRnoaccess (Access denied)
>SMB connection failed
>
>I also get an access denied error when trying to "net use" the
share from a
>windows machine
>
>but, I can:
>smbclient -L servername -U myusername
>After typing password I see:
>
>Domain=[MYDOMAIN] OS=[UNIX] Server=[Samba 3.0.7-1.3E.1]
>
>Sharename Type Comment
>----------- ------ ----------
>myshare disk my new share
>IPC$ IPC IPC Service (Samba
3.0.7-1.3E.1)
>ADMIN$ IPC IPC Service (Samba 3.0.7-1.3E.1)
>Domain=[MYDOMAIN] OS=[UNIX] Server=[Samba 3.0.7-1.3E.1]
>Server Comment
>-------- -----------
>mypdc PDC
>servername samba 3.0.7-1.E3.1
>
>Workgroup Master
>----------- ----------
>mydomain mypdc
>
>I can also run the following commands successfully
>wbinfo -u
>wbinfo -g
>getent passwd myusername
>getent groups
>
>Anyone have any idea what is going on here?
>
>Thanks,
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list