LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2017, 05:37 PM   #1
brian0975
LQ Newbie
 
Registered: Nov 2017
Posts: 1

Rep: Reputation: Disabled
Unable to follow symbolic links in a Windows share


  • Ubuntu Desktop 16.04.3 LTS
  • Kernel - 4.10.0-40-generic
  • cifs-utils - 2:6.4-1ubuntu1.1
  • samba & smbclient - 2:4.3.11+dfsg-0ubuntu0.16.04.12


We are a large company with a Windows Server backend and a mix of Windows, MacOS, CentOS and Ubuntu clients. We use DFS heavily for file share management.

Recently, we've begin disabling SMB v1 on the Windows servers to mitigate that protocol's associated vulnerabilities. This has not been any trouble for the Windows or Mac clients, however, the Ubuntu and CentOS clients are having a lot of trouble.

Specifically, mounting a DFS share fails once the client tries to see past the symbolic link that points to the absolute path.

//namespaceserver/share/directory/symboliclink points to //realserver/sharename

This is the command I'm using:

sudo mount.cifs //namespaceserver/share /mnt/share -o vers=2.1,user='user@domain.com

The mount is successful and I can navigate within the DFS namespace but, once I try to go past the symbolic link, I get:

ls: cannot access '/mnt/share/directory/symboliclink': Function not supported.

I've added follow symlinks=yes and unix extensions=no to the smb.conf file but that didn't help.

This issue does not happen if SMB v1 remains enabled on the Windows server.

Any advice would be appreciated as I've spent about ten hours on this issue so far.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to get dokuwiki to follow symbolic links ickyfeet Linux - Software 7 01-11-2015 06:12 PM
[SOLVED] Problem with symbolic link on using Windows 2008 share in RedHat amitkush Linux - Server 7 12-19-2013 01:53 AM
unable to modify created and modification time of symbolic links avanigadhai Programming 4 03-03-2008 12:19 AM
Copy Symbolic links from linux to windows Mini Singh Linux - General 2 08-30-2007 01:55 AM
lighttpd follow symbolic links kpachopoulos Linux - Server 1 03-25-2007 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration