Orphaned Symlink

marion.haines@countygovt.brevard.fl.us
Fri, 11 Jan 2002 13:54:11 -0000

If I'm in the wrong list for this question, I apologize.

Running RedHat 7.1, Samba 2.2.1a.

I'm trying to set up a symbolic link between two Samba shares.  When I issue
the "ln" command (see below) it appears to run, but if I
"ls" the directory, I get white, flashing text on a red background.
This is supposed to mean the symlink is orphaned.

Attempting a symlink to a server who's NetBIOS name is "SMB2" and
share on it called "Public" to server SMB1 (see pertinenct smb.conf
parts below).  I issue the "ln" command as directed in the HowTo on
"Hosting a Microsoft Distributed File System Tree On Samba" (see
below).  When I issue the command I'm in /usr/local/UDrive/Public on SMB1.

          ln -s msdfs:smb2\\Public others

All I get is the blinking link when I list the directory

Any help is much appreciated.
Marion D. Haines
Network Administrator
Board of County Commissioners
Brevard County, Florida
==================================
EMail:  marion.haines@countygovt.brevard.fl.us
Phone: 321-617-7398
==================================

# Samba config file created using SWAT
   # Date: 2002/01/11 16:08:46

   # Global parameters
   [global]
           workgroup = STGROUP
           netbios name = SMB1
           server string = Server Samba1, Version %v
           interfaces = 192.168.204.40/255.255.255.0
           encrypt passwords = Yes
           smb passwd file = /usr/local/samba/private/smbpasswd
           passwd program = /usr/bin/passwd %u
           passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password*
%n\n *passwd*all*authentication*tokens*updated*successfully*
           unix password sync = Yes
           log file = /var/log/samba/%m.log
           max log size = 0
           name resolve order = wins lmhosts host bcast
           time server = Yes
           deadtime = 15
           socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
           domain admin group = root @sadmin
           logon script = scripts\sstartup.bat
           logon path =
           logon home =
           domain logons = Yes
           os level = 64
           preferred master = True
           domain master = True
           dns proxy = No
           wins support = Yes
           host msdfs = Yes
           write list = @sadmin
           printer admin = @sadmin
           create mask = 0755
           printing = lprng
           dos filetimes = Yes

   [UDrive]
           comment = SAMBA folder for user data storage.
           path = /usr/local/UDrive
           read only = No
           create mask = 0766

   [Public]
           comment = For file transfer between offices using MSDFS.
           path = /usr/local/UDrive/Public
           admin users = @sadmin
           read only = No
           create mask = 0744
           guest ok = Yes
           dos filemode = Yes
           msdfs root = Yes