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

L.P.H. van Belle belle at bazuin.nl
Mon Dec 9 02:15:51 MST 2013


Hai David, 

I re-tested this for your, this works ok for me.


on the server ( samba 4.1.2 sernet samba) 
[root]
        path = /
        read only = No

on client 3.6.6 Debian 
mount -t cifs -o username=Administrator,domain=DOMAIN,sec=ntlmv2 //SERVERNAME1/root /mnt 

df -h gives. 
//SERVERNAME1/root  9.1G  645M  8.0G   8% /mnt


ls -al /mnt/
total 4
drwxr-xr-x  25 root root    0 2013-12-04 10:42 .
drwxr-xr-x  24 root root 4096 2012-09-06 09:24 ..
drwxr-xr-x   2 root root    0 2013-11-07 16:57 bin
drwxr-xr-x   4 root root    0 2013-12-04 10:42 boot
drwxr-xr-x   3 root root    0 2013-10-25 12:49 build
drwxr-xr-x  15 root root    0 2013-12-09 09:43 dev
drwxr-xr-x 120 root root    0 2013-12-09 09:43 etc
drwxr-xr-x  11 root root    0 2013-12-04 12:17 home
lrwxrwxrwx   1 root root   33 2013-12-04 10:42 initrd.img -> /boot/initrd.img-3.8.0-34-generic
lrwxrwxrwx   1 root root   33 2013-11-18 11:24 initrd.img.old -> /boot/initrd.img-3.8.0-33-generic


Time issues in your setup maybe? 

my samba client uses  : ( Debian Lenny ) 
smbd -V  gives :  Version 3.5.6   ( 3.5.6~dfsg-3~bpo50+1 ) 
cifs-utils   2:4.1-1~bpo50+1    Common Internet File System utilities
kernel :  2.6.32-bpo.5-amd64 


Best regards, 

Louis


>-----Oorspronkelijk bericht-----
>Van: drankinatty at suddenlinkmail.com 
>[mailto:samba-bounces at lists.samba.org] Namens David C. Rankin
>Verzonden: vrijdag 6 december 2013 22:57
>Aan: samba
>Onderwerp: Re: [Samba] What in samba 4.1 prevents a '/' share?
>
>On 12/06/2013 12:26 PM, Andrew Bartlett wrote:
>> 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
>
>  I still don't know what is going on with my posts to 
>lists.samba.org. I
>replied here hours ago that it is definitely '/' because every 
>other share
>mounts normally. (hopefully I didn't direct-reply to you, if 
>so, I apologize)
>list.gremlins....
>
>  Regardless, I have a level 10 debug for you as well as a 
>complete testparm. I
>attempted to read through the logs (contained in the tar.bz2), 
>but I cannot
>decipher whet it is telling me. The links are:
>
>http://www.rlfpllc.com/dl/srv/smb/192.168.7.124.tar.bz2
>http://www.rlfpllc.com/dl/srv/smb/testparm.txt
>
>  Contained in the tar.bz2 are the log files showing client 
>access from host
>'providence' (192.168.7.124):
>
>192.168.7.124.log
>192.168.7.124.log.old
>
>
>  I believe the .log is for the time after the level 10 
>restart and the .log.old
>is for the session immediately prior. Let me know if they 
>identify the issue and
>don't hesitate to ask for anything else you need. I'm a 
>reliable monkey behind
>the keyboard on this end. And... yes... I gave up drinking in 
>a tty long ago ;-)
>
>-- 
>David C. Rankin, J.D.,P.E.
>-- 
>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