All of lore.kernel.org
 help / color / mirror / Atom feed
* DFS root namespace mounting problem...
@ 2014-08-05 13:11 McCall, Andy (IT.PFMS)
       [not found] ` <44E091A70C02494A806AD35E6F93AB1A32B89B-44HqyMtr/CW7efwRAOVE6/PBkhW9OzgPksZubNBzXmQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: McCall, Andy (IT.PFMS) @ 2014-08-05 13:11 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

Hi Folks,

I've been following some guides for mounting a DFS root namespace that
is known to work on Windows boxes on a fresh updated RHEL6.5 install.

I can mount the shares directly from each node within the DFS cluster
with no issues:

  [root@myserver ~]# mount -t cifs -v //node1.my.domain.com/myroot/
/share -o username=mydomainaccount
  Password:
  mount.cifs kernel mount options:
ip=192.168.10.1,unc=\\node1.my.domain.com\share,,ver=1,user=mydomainacco
unt,pass=********

  [root@myserver ~]# mount | grep share //node1.my.domain.com/share/ on
/share type cifs (rw)

But if I try and mount against the DFS root namespace it fails:

  mount -t cifs -v //my.domain.com/myroot /share -o username=
mydomainaccount,domain=my.domain.com
  Password:
  mount.cifs kernel mount options:
ip=192.168.1.1,unc=\\my.domain.com\myroot,,ver=1,user=mydomainaccount,do
main=my.domain.com,pass=********
  mount.cifs kernel mount options: ip=192.168.1.2,unc=\\my.domain.com
\myroot,,ver=1,user=mydomainaccount,domain=my.domain.com,pass=********
  Unable to find suitable address.

The IP addresses 192.168.1.1, 192.168.1.1 are the DNS / domain servers,
not the DFS node servers, leading me to believe I'm not getting
referrals to the underlying nodes.  A tcpdump host against my nodes
while trying to mount the share confirms this, indicating its trying to
mount /share from the domain servers - which is why it fails.

I've followed all the guides and as far as I can tell, this should be
fairly easy by configuring request-key.d files:

  [root@myserver request-key.d]# cat
/etc/request-key.d/dns_resolver.conf
  create dns_resolver * * /usr/sbin/cifs.upcall %k

  [root@myserver request-key.d]# cat /etc/request-key.d/cifs.spnego.conf
  create cifs.spnego * * /usr/sbin/cifs.upcall -t %k

Can someone give me some pointers as to where things could be going
wrong?  I'm no expert at DFS, but I'd like to know I'm at least looking
in the correct place.

Thanks,

AM
DISCLAIMER. The contents of this email and its attachments are intended solely for the original recipients and express the views of the authors and not necessarily the Company. If you are not the intended recipient please delete without copying or forwarding and inform the sender that you received it in error. 
Provident Financial Management Services Ltd, Registered in England, Company Number 328933. Interim Permissions Reference Number: 119219
Provident Personal Credit Ltd, Registered in England, Company Number 146091. Interim Permissions Reference Number: 002529
Both Provident Financial Management Services Ltd and Provident Personal Credit Ltd are authorised and regulated by the Financial Conduct Authority, see Interim Permissions numbers above. Registered Office: No.1 Godwin Street, Bradford, West Yorkshire BD1 2SU, United Kingdom.
 
Please save paper - don't print this email unless necessary

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-08-06  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 13:11 DFS root namespace mounting problem McCall, Andy (IT.PFMS)
     [not found] ` <44E091A70C02494A806AD35E6F93AB1A32B89B-44HqyMtr/CW7efwRAOVE6/PBkhW9OzgPksZubNBzXmQ@public.gmane.org>
2014-08-05 14:14   ` steve
     [not found]     ` <1407248098.1426.7.camel-HkULYb+WTT7YCGPCin2YbQ@public.gmane.org>
2014-08-05 14:26       ` McCall, Andy (IT.PFMS)
     [not found]         ` <44E091A70C02494A806AD35E6F93AB1A32B89C-44HqyMtr/CW7efwRAOVE6/PBkhW9OzgPksZubNBzXmQ@public.gmane.org>
2014-08-05 15:12           ` steve
     [not found]             ` <1407251579.2941.8.camel-HkULYb+WTT7YCGPCin2YbQ@public.gmane.org>
2014-08-05 15:22               ` McCall, Andy (IT.PFMS)
     [not found]                 ` <44E091A70C02494A806AD35E6F93AB1A32B89D-44HqyMtr/CW7efwRAOVE6/PBkhW9OzgPksZubNBzXmQ@public.gmane.org>
2014-08-05 16:16                   ` steve
     [not found]                     ` <1407255360.4226.1.camel-HkULYb+WTT7YCGPCin2YbQ@public.gmane.org>
2014-08-06  9:09                       ` McCall, Andy (IT.PFMS)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.