HP UX Common Internet File System (CIFS) Client/Server Software manual Host msdfs = Yes

Page 4

password server = ceres log level = 10

syslog = 0

log file = /var/opt/samba/log.%m max log size = 1000

host msdfs = Yes

read only = No

[dfsroot]

path = /dfsroot

msdfs root = Yes

Note the two red colored parameters above in [global] and [dfsroot], respectively:

‘Host msdfs = yes’: This parameter must be set to yes to enable samba to host MS DFS links in individual shares.

‘msdfs root = yes’: This parameter is set to yes in any share that will contain MS DFS links to other servers. In this case, we have defined a single share with this property, called ‘dfsroot’. It points to the HP-UX directory ‘/dfsroot’.

Creating the MS DFS links:

#cd /dfsroot

#ln -s msdfs:ceres\\shared_stuff linka

#ln -s msdfs:mccall\\shared_stuff linkb

#ll

total 0

 

 

 

 

lrwxrwxrwx

1 root

sys

23 Nov

2 12:35 linka -> msdfs:ceres\shared_stuff

lrwxrwxrwx

1 root

sys

25 Nov

2 12:35 linkb -> msdfs:mccall\shared_stuff

NOTE: Compare the format of the ‘ll’ output to the ‘ln –s’ command – we had to ‘escape’ the ‘\’ in the ‘ln’ command. One of the more commonly made mistakes while setting up DFS links for samba is NOT having the appropriate number of backslashes in the ‘ln –s’ command. A properly formatted MS DFS link will take the form:

msdfs:<servername>\<sharename>

Image 4
Contents Page What is MS DFS? Test environmentConfiguration details Gives us a picture of our test environmentHost msdfs = Yes Page Testing our MS DFS environment Shares and files on Ceres and MccallMS DFS links linka & linkb When we click on the ‘linkb’ folder, we get Contents of linka How it worksPage Redundant MS DFS links Page Troubleshooting MS DFS on HP Cifs Server Problem 1 The network path was not foundPage Page \nbtstat -R Page Problem 2 Logon failure unknown username or password Summary Http//us1.samba.org/samba/docs/man/Samba-HOWTO-Collection XXXX-XXXXEN, 3/2005
Related manuals
Manual 48 pages 18.07 Kb