Re: clients can no longer mount.cifs the '/' samba share from current Arch server (long)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01/06/2014 07:21 PM, David C. Rankin wrote:
> The bug reports I've read suggest the cifs/SecurityFlags setting may be
> involved, but from the testing I've done, I don't know if that makes any
> difference. Now I need help from you smarter Archers to help figure out what
> changed that prevents this from working and how to fix it.

I have all but eliminated the cifs/SecurityFlags setting as being related to the
cause of not being able to mount the share. From linux-3.12.6/fs/cifs/cifsglob.h
you have:

CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_NTLMSSP)

checking:

CIFSSEC_MAY_SIGN      0x00001
CIFSSEC_MAY_NTLMV2    0x00004
CIFSSEC_MAY_NTLMSSP   0x00080 /* raw ntlmssp with ntlmv2 */
                      -------
                      0x00085

explains why /proc/fs/cifs/SecurityFlags is 0x85. Testing whether adding ntml in
as a security feature helps:

CIFSSEC_MAY_SIGN      0x00001
CIFSSEC_MAY_NTLM      0x00002
CIFSSEC_MAY_NTLMV2    0x00004
CIFSSEC_MAY_NTLMSSP   0x00080 /* raw ntlmssp with ntlmv2 */
                      -------
                      0x00087

[03:30 phoinix:/home/david/pkg/src/linux] # echo 0x87 >/proc/fs/cifs/SecurityFlags

Then attempting to mount the share from my Arch client (hostname providence)
fails again:

[03:30 providence:/usr/src/linux-3.5.3-1-ARCH] # mount.cifs //phoinix/config
/mnt/phx-cfg -v -o
username=david,domain=RLFPLLC,uid=1000,credentials=/home/david/.dcr/mountcfile,noperm
mount.cifs kernel mount options:
ip=192.168.7.16,unc=\\phoinix\config,noperm,uid=1000,user=david,,domain=RLFPLLC,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

So we are back to step 1. Any ideas welcomed here.

-- 
David C. Rankin, J.D.,P.E.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux