[arch-general] clients can no longer mount.cifs the '/' samba share from current Arch server (long)

David C. Rankin drankinatty at suddenlinkmail.com
Tue Jan 7 04:39:25 EST 2014


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.


More information about the arch-general mailing list