HP Rp7410 Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S
HP Rp7410 - Server - 0 MB RAM Manual
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Rp7410 manual content summary:
- HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 1
: ...4 New to SAMBA 3.x:...5 Testing our MS DFS environment...6 How it works ...9 Redundant MS DFS links ...11 Troubleshooting MS DFS on HP CIFS Server 13 Problem 1: The network path was not found 13 Problem 2: Logon failure: unknown username or password 18 Summary ...19 For more information...19 - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 2
these versions of Samba running on Linux. We will use a Windows/XP client for testing. Configuring MS DFS on HP CIFS Server Test environment We will be using a combination of HP CIFS Server, Win2k and Win2k3 servers, and a Windows/XP client for the examples in this paper. Table 1: Test Environment - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 3
1 gives us a picture of our test environment. Figure 1: MS DFS Test Environment Server:rkm-nt Server:ceres Dfsroot linka linkb Client:mccallevo Shared_stuff Server:mccall Shared_stuff Configuration details There are three steps to configuring MS DFS on an HP CIFS Server. Two modifications to - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 4
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 - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 5
links must be in lowercase. New to SAMBA 3.x: A new version of HP CIFS Server, A.02.01.01, was released in February 2005. The information in , he will get an MS DFS referral to the share named 'shared_stuff' on the server 'ceres.alf.cpqcorp.net'. This is in contrast to having a share that points to - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 6
Testing our MS DFS environment Now that we have configured the HP CIFS Server to offer a couple of MS DFS links, let 's see it in action. For this purpose, we have created a single file on each of the linked - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 7
Let's use our Windows/XP client 'mccallevo' to connect to these shares THROUGH the MS DFS links we have set up on the share \\rkm-nt\dfsroot. Figure 3: MS DFS links 'linka' & 'linkb' Notice from Figure 3 that these links show up as standard folders. - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 8
directory DOES show up. So the redirection through the MS DFS link was successful. We clicked on a 'directory' in our \\rkm-nt\dfsroot share, and ended up on the 'shared_stuff' share on the 'ceres - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 9
point on the client works directly with the referred server. The following two screen snapshots from an Ethereal4 trace of the client 'mccallevo'. Clicking on the 'linkb' directory in the 'dfsroot' share on the HP CIFS Server 'rkm-nt' illustrates the network traffic which supports this transaction. - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 10
Figure 6: Highlighted line shows client request for info on linka, the MS DFS link. Note the response immediately after, with the Error: STATUS_PATH_NOT_COVERED - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 11
This is the actual referral to the 'shared_stuff' share on the server 'ceres'. Redundant MS DFS links You can build some redundancy into your MS DFS links by referencing two or more server\share referrals with the same link. If the FIRST link is - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 12
\\ceres\shared_stuff was transparent to the user. NOTE: Both the client AND the server hosting the MS DFS root do some form of caching in regards to links that of 'The Official Samba-3 HOWTO and Reference Guide ' recommend creating a NEW share when introducing a MS DFS root, rather - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 13
MS DFS on HP CIFS Server So, now that we know what it looks like when it WORKS, let's step through troubleshooting a couple of common problems you might run into. Problem 1: The network path was not found. I have followed the above configuration steps, and my users can connect to the SHARE - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 14
it to, but is unsuccessful. From the trace, it clearly cannot find the server named 'ceres'. Why? First, let's check to make sure that the server and share we are setting the link up to is correct. On the HP CIFS Server 'rkm-nt' we will do this using the 'smbclient' utility. # /opt/samba - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 15
. We'll use the HP-UX utility 'nslookup'. # nslookup ceres Name Server: fwd2.cca.mycompany.net Address: 55.155.155.55 Trying DNS Non-authoritative answer: Name: ceres.alf.mycompany.net Address: 16.113.9.139 Ok! Now that we have an address for ceres, we can address this problem in several ways. We - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 16
We could add the 'ceres' server and its ip address to the local lmhosts file on the client. Choice # 3 is the simplest from a testing standpoint. So we add the following line - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 17
simple method is very useful for troubleshooting. NOTE: Since it is the client's responsibility to directly connect to the node (server) and share name that the is entirely possible to create MS DFS links on your HP CIFS Server share that the server itself is unable to resolve or connect to so long - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 18
Problem 2: Logon failure: unknown username or password. I have followed the result of a bad username or password on the referred server To begin troubleshooting this, we must first remember that the user having access to the HP CIFS Server HOSTING the MS DFS root doesn't guarantee that that same - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 19
a multi-referral MS DFS link was followed. Finally, in versions of HP CIFS Server based on Samba 3.x (A.02.01 and above) new MS DFS functionality a share on another CIFS server. For more information The Official Samba-3 HOWTO and Reference Guide, by Terpstra and Vernooij (Prentice Hall) also available - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 20
Microsoft on MS DFS. While these are not specifically applicable to MS DFS on Samba, they do give useful background and implementation information. Some useful articles in this category: Distributed File System (DFS): Best Practices and Troubleshooting Guide 812487 - Overview of DFS in Windows 2000 - HP Rp7410 | Configuring and Troubleshooting MS DFS links in an HP CIFS Server (S - Page 21
to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors
Configuring and Troubleshooting MS DFS links in an HP
CIFS Server (Samba) Environment
Executive summary
...............................................................................................................................
2
What IS MS DFS?
............................................................................................................................
2
Configuring MS DFS on HP CIFS Server
.................................................................................................
2
Test environment
..............................................................................................................................
2
Configuration details
........................................................................................................................
3
Modifying the smb.conf file:
..........................................................................................................
3
Creating the MS DFS links:
............................................................................................................
4
New to SAMBA 3.x:
.....................................................................................................................
5
Testing our MS DFS environment
........................................................................................................
6
How it works
...................................................................................................................................
9
Redundant MS DFS links
.................................................................................................................
11
Troubleshooting MS DFS on HP CIFS Server
..........................................................................................
13
Problem 1: The network path was not found
......................................................................................
13
Problem 2: Logon failure: unknown username or password
. ................................................................
18
Summary
..........................................................................................................................................
19
For more information
..........................................................................................................................
19