[Samba] What in samba 4.1 prevents a '/' share?
L.P.H. van Belle
belle at bazuin.nl
Thu Jan 2 02:11:18 MST 2014
ow and what i just found. ( yes your on arch linux, but )
here is some good info you can try also.
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1113395
read #12 and #13
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org]
>Namens L.P.H. van Belle
>Verzonden: donderdag 2 januari 2014 10:06
>Aan: David C. Rankin
>CC: samba at lists.samba.org
>Onderwerp: Re: [Samba] What in samba 4.1 prevents a '/' share?
>
>Hai,
>
>I dont see where this is going wrong.
>
>The only thing i see whats a bit odd:
>
>Password for david@//phoinix/config:
> ^^^
>
>Can you try the authenticate with this line.
>sudo mount -t cifs //phoinix/config /mnt/phx-cfg -o
>username="david",sec=ntlmv2
>
>and you can try to change the share to this:
>
> read list = david
> write list = david
> valid users = david
> force user = root
> force group = root
>
>if that doesnt work, then im out of options.
>i cant reproduce the error your having.
>
>and just a small question.
>
>You did create the user david on that server and did smbpasswd
>-a and smbpasswd -e ??
> -a add user
> -e enable user
>
>;-) just a question..
>
>
>Louis
>
>
>
>
>>-----Oorspronkelijk bericht-----
>>Van: drankinatty at suddenlinkmail.com
>>[mailto:samba-bounces at lists.samba.org] Namens David C. Rankin
>>Verzonden: dinsdag 31 december 2013 23:57
>>Aan: samba
>>Onderwerp: Re: [Samba] What in samba 4.1 prevents a '/' share?
>>
>>On 12/30/2013 05:02 AM, L.P.H. van Belle wrote:
>>> Hai David,
>>>
>>> This is what im having, and no problems with the / share on
>>sernet samba 4.1.3
>>>
>>>
>>> tested mount from :
>>> smbd -V : Version 3.5.6
>>> debian kernel : 2.6.32-bpo.5-amd64
>>> OS Debian Lenny
>>>
>>> to: debian wheezy, latest kernal sernet samba 4.1.3
>>> smb.conf
>>> [global]
>>> workgroup = MYDOMAIN
>>> realm = subdomain.domain.tld
>>> netbios name = MYNETBIOSNAME
>>> server role = active directory domain controller
>>> server services = s3fs, rpc, nbt, wrepl, ldap,
>>cldap, kdc, drepl, winbind, ntp_signd, kcc, dnsupdate
>>>
>>> # ---- disable printing completely
>>> load printers = no
>>> printing = bsd
>>> printcap name = /dev/null
>>> disable spoolss = yes
>>>
>>> [netlogon]
>>> path = /home/samba/sysvol/rotterdam.bazuin.nl/scripts
>>> read only = No
>>>
>>> [sysvol]
>>> path = /home/samba/sysvol
>>> read only = No
>>>
>>>
>>> [myroot]
>>> path = /
>>> read only = No
>>>
>>> used line:
>>> mount -t cifs //192.168.249.212/myroot /mnt -o
>>username=Administrator,sec=ntlmv2
>>>
>>> Works perfectly.
>>>
>>> for you,
>>>> mount error(13): Permission denied
>>> try the following, shorten the lines first and try to locate
>>where te probleem is.
>>> your line:
>>> sudo mount.cifs //phoinix/config /mnt/phx-cfg -o
>>username=david,uid=1000,credentials=/home/david/.dcr/mountcfile,noperm
>>> try :
>>> sudo mount -t cifs //phoinix/config /mnt/phx-cfg -o
>>username=david,sec=ntlmv2
>>> if it works add a parameter.
>>> as username you can also try username="DOMAINNAME\david"
>>>
>>> test it and let it know.
>>>
>>>
>>> Greetz,
>>>
>>> Louis
>>>
>>>
>>
>>Louis,
>>
>> Thank your for your help. I'm really scratching my head on this one:
>>
>>16:33 providence:/mnt/pv/home/david/tde13/tde> sudo mount -t cifs
>>//phoinix/config /mnt/phx-cfg -o username=david,sec=ntlmv2
>>Password for david@//phoinix/config:
>>mount error(13): Permission denied
>>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>
>>16:45 providence:/mnt/pv/home/david/tde13/tde> sudo mount -t cifs
>>//phoinix/config /mnt/phx-cfg -o username="RLFPLLC\david",sec=ntlmv2
>>Password for david@//phoinix/config:
>>mount error(13): Permission denied
>>Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>
>> Here is my config -- note: I am not running a domain, I have
>>a STANDALONE
>>setup. (I have a small office - always less than 12
>>workstations - SSO is not an
>>issue for me:
>>
>>Server role: ROLE_STANDALONE
>>Press enter to see a dump of your service definitions
>>
>>[global]
>> workgroup = RLFPLLC
>> server string = Phoinix Samba %v
>> map to guest = Bad User
>> smb passwd file = /etc/samba/smbpasswd
>> log file = /var/log/samba/%m.log
>> max log size = 50
>> time server = Yes
>> printcap name = /etc/printcap
>> show add printer wizard = No
>> os level = 66
>> preferred master = Yes
>> domain master = Yes
>> dns proxy = No
>> wins support = Yes
>> idmap config * : backend = tdb
>> admin users = david
>> hosts allow = 192.168.6., 192.168.7., 127.
>> use sendfile = Yes
>>
>>[homes]
>> comment = Home Directories
>> read only = No
>> browseable = No
>>
>>[config]
>> comment = Phoinix Config (Archlinux)
>> path = /
>> valid users = david
>> force user = root
>> force group = root
>> read only = No
>> browseable = No
>>
>> I can't see anything that could be causing a problem. I have
>>used this setup
>>for at least a decade and it has always worked. Now this box
>>is giving me fits.
>>Did something change for standalone servers that would prevent
>>this from working
>>any longer?
>>
>>--
>>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
>>
>>
>
>--
>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