[Samba] What in samba 4.1 prevents a '/' share?

Andrew Bartlett abartlet at samba.org
Fri Dec 6 11:26:10 MST 2013


On Fri, 2013-12-06 at 04:49 -0600, David C. Rankin wrote:
> On 12/06/2013 01:41 AM, Andrew Bartlett wrote:
> >>   Was there a change in 4.x that prevents doing this? If so, what?
> > Very interesting.  Nothing deliberately prevents this.  Is there
> > anything in the server-side logs?
> 
> Andrew,
> 
>   There is nothing on the server side log (damn systemd/journalctl -f). Client
> side, I get the immediate error:
> 
> 04:38 providence:~/scr/mnt> sudo mount.cifs //phoinix/config /mnt/phx-cfg/ -o
> username=david,uid=1000,credentials=/home/david/.dcr/mountcfile,noperm
> mount error(13): Permission denied
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> 
>   and then in the client log I get:
> 
> Dec  6 04:38:46 providence kernel: [49327.535820] CIFS VFS: cifs_mount failed
> w/return code = -13
> 
>   The client has:
> 
> cifs-utils 5.6-2
> pmount 0.9.23-4
> samba 3.6.7-2
> 
>   I'm not sure what parts of those packages play into the mount.cifs attempt,
> but they are included for completeness. I'm not doing anything different in my
> smb.conf or in the way I mount or designate things. It has been the same since
> the 2.0 days.
> 
>   What else do you want me to send you?  The 4.1.2 package is from:
> 
> https://www.archlinux.org/packages/extra/x86_64/samba/

What makes you think it's about /?

Can you connect to other shares?  If so, then turn up the Samba log
level until you see a difference in the log.smbd or log.$CLIENT between
the success and failure case, and send me that log (presumably in
private). 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba mailing list