Skip to contentSkip to conversation

cifs issue with Domain Based DFS share on Windows Server 2008 R2

DISCUSSION Casey 2 participants 2 messages Dec 14, 2011 – Dec 15, 2011 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Casey

author
#0 lore raw

Hello,

I have been working on this for weeks and have exhausted all my resources. I am hoping to get some help. We are having an issue connecting to domain based DFS shares on Windows 2008 R2 servers. It used to work when one of the DCs were Windows 2003, but that DC has been decommissioned. I can get a browse these shares using smbclient, but cifs is our preferred method of mounting windows shares. We can mount directly to the backend dfs servers, just not through the Domain namespace.

Here is some background information:

Kernel = 2.6.32-131.12.1.el6.i686
Samba version = 3.5.10-114.el6.i686
mount.cifs version: 4.8.1
cifs-utils and keyutils is installed with request-key.conf configured correctly. Doing a Wireshark trace of the failed mount shows we are not getting referrals. CIFS debug shows “Status code returned 0xc00000cc NT_STATUS_BAD_NETWORK_NAME” I have tried with all different sec protocols to no avail.

Mount command we are using in fstab:

                //<domain name>/<DFS root> /opt/test cifs

rw,username=*****,password=*****,domain=NDGOV,dir_mode=0755,file_mode=0644 0 0

Thank you very much for your time!

Casey

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 20 lines · On Wed, 14 Dec 2011 21:38:09 +0000 (UTC) Casey <[email protected]> wrote:

Hello,

I have been working on this for weeks and have exhausted all my resources. I am hoping to get some help. We are having an issue connecting to domain based DFS shares on Windows 2008 R2 servers. It used to work when one of the DCs were Windows 2003, but that DC has been decommissioned. I can get a browse these shares using smbclient, but cifs is our preferred method of mounting windows shares. We can mount directly to the backend dfs servers, just not through the Domain namespace.

Here is some background information:

Kernel = 2.6.32-131.12.1.el6.i686
Samba version = 3.5.10-114.el6.i686
mount.cifs version: 4.8.1
cifs-utils and keyutils is installed with request-key.conf configured correctly. Doing a Wireshark trace of the failed mount shows we are not getting referrals. CIFS debug shows “Status code returned 0xc00000cc NT_STATUS_BAD_NETWORK_NAME” I have tried with all different sec protocols to no avail.

Quoted 6 lines

Mount command we are using in fstab:

                //<domain name>/<DFS root> /opt/test cifs

rw,username=*****,password=*****,domain=NDGOV,dir_mode=0755,file_mode=0644 0 0

Thank you very much for your time!

Sounds similar to the problem that Sean Finney fixed earlier this year. You probably need patches the patches that start with commit dd613945. If you're using RHEL, then you're welcome to open a support case and ask for those to be backported.

- --
Jeff Layton <[email protected]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iQIcBAEBAgAGBQJO6VQ3AAoJEAAOaEEZVoIVfqkP/3AWoJE6bRgdUbi7k9h9cI6/ zLaiTrN0OqEIXeC1QJopuM2zyhJNqSL42993SPguzaV16v+JjcBFMVkBkUgmaZbS 5KMa4iS4EJwR5BVgEux3BkkDorpqrXylh1pmxBqSv6gF+rQEJc+1SPxjm85OdRT3 EF3PIoZDJdHjl6/it3oWL+ycKE7dbroZ5vAY8pLco9O8QlyAY/TUsF5drLPt850e rloHnGeO3EjKHK8vU4n/efNJFfvWIAdqtwkwko6gMmuypz40FjHgbSHcd0iimVua cyptwclbIoxSd/bi1YkZQwCrKCvu9Mtc24uaH7Fzf3KNXaDN+LqGO4P68msZVhxQ M1DXKwGm12Jlx4yCz66lPwSKkFQqyRx16HXLpMSwbw0oGTuctGz4m79oAXdwiLEt Q08JIhxHAexkQlvF2vFrALTyppojY1qoZDSrNus1Jhr9nDdv184YFeulr6svFgj8 +QDjfzSIoFWNhXVOrVc/NXCAjIXexFdT5LyDNSUFfzH+A3nlzT/0ta3/KqnX21ex ck/NZ7iwpmVV/BZMxlCe9nKqIQxWdvzJOjn0Uy7BRzU3btApcHnDlbYXZW4uw2xs gUvOVAgSquyKhbqGElXSU1gE1KOTo4UScFqZeiK05PZjYmdplv0xqOmwBLAmieLv P9B5GcJBpaySxOm4vZRM
=xFRx
-----END PGP SIGNATURE-----