Mounting a DFS share fails with Error 22 (invalid argument)

Solution Verified - Updated -

Issue

  • Unable to mount a DFS share.
  • Unable to mount a CIFS DFS share. See a sample:
[root@server01 ~]# mount //dfsserver.example.com/example/share /mnt/example -o username=testuser,workgroup=EXAMPLE,uid=testuser,rw,gid=testuser,dir_mode=0775
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Environment

  • Red Hat Enterprise Linux
  • Windows Server 2012

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content