<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CIFS Client and Samba DFS Root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050732#M541622</link>
    <description>Thanks Eric&lt;BR /&gt;&lt;BR /&gt;I have reinstalled a new Hp-UX 11i V3 server:&lt;BR /&gt;&lt;BR /&gt;rx6600: / # cifslist -v&lt;BR /&gt;HP CIFS Client A.02.02.01&lt;BR /&gt;rx6600: / # &lt;BR /&gt;&lt;BR /&gt;For windows I can follow the redirection but this unix host, which has the dfsroot share mounted it does not work. &lt;BR /&gt;&lt;BR /&gt;---------- Original Samba directory ----------&lt;BR /&gt;rx6600: / # cd /dfsroot/&lt;BR /&gt;rx6600: /dfsroot # ls -al&lt;BR /&gt;total 16&lt;BR /&gt;drwxrwxr-x   2 root       sys             96 Jun 19 10:12 .&lt;BR /&gt;drwxr-xr-x  25 root       root          8192 Jun 19 14:08 ..&lt;BR /&gt;lrwxrwxr-x   1 root       sys             26 Jun 19 10:11 downloads -&amp;gt; msdfs:itopsadmin\downloads&lt;BR /&gt;lrwxrwxr-x   1 root       sys             15 Jun 19 10:12 it -&amp;gt; msdfs:hofile\it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---------- Mounted Samba Share ---------&lt;BR /&gt;rx6600: /dfsroot # cd /rx6600/dfsroot/&lt;BR /&gt;rx6600: /rx6600/dfsroot # ls -al&lt;BR /&gt;total 6&lt;BR /&gt;drwxrwxr-x   2 root       sys              0 Jun 19 10:12 .&lt;BR /&gt;drwxrwxr-x   3 root       sys             96 Jun 19 14:08 ..&lt;BR /&gt;drwxrwxrwx   2 root       sys         131072 Jun 20 10:09 downloads&lt;BR /&gt;drwxrwxrwx   2 root       sys         131072 Jun 20 10:09 it&lt;BR /&gt;rx6600: /rx6600/dfsroot # cd it&lt;BR /&gt;ksh: it: bad directory&lt;BR /&gt;rx6600: /rx6600/dfsroot # ls it&lt;BR /&gt;it unreadable&lt;BR /&gt;rx6600: /rx6600/dfsroot #      &lt;BR /&gt;&lt;BR /&gt;rx6600: /rx6600/dfsroot # cifslist&lt;BR /&gt;Mounted Object                      Mountpoint                          State &lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;\\HOFILE\IT                         /hofile/it                          M     &lt;BR /&gt;\\RX6600\DFS_ROOT                   /rx6600/dfsroot                     M     &lt;BR /&gt;===============================================================================&lt;BR /&gt;Server            Local User        Remote User       Domain            State &lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;hofile            root              viktor.holmberg                     L     &lt;BR /&gt;itopsadmin        root              viktor.holmberg                     L     &lt;BR /&gt;rx6600            root              viktor.holmberg                     L     &lt;BR /&gt;rx6600: /rx6600/dfsroot # &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The later version of cifsclient can now "see" the link however it will not follow it to the remote server.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Viktor</description>
    <pubDate>Tue, 19 Jun 2007 19:15:45 GMT</pubDate>
    <dc:creator>Viktor Holmberg</dc:creator>
    <dc:date>2007-06-19T19:15:45Z</dc:date>
    <item>
      <title>CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050729#M541619</link>
      <description>Hi there Again,&lt;BR /&gt;&lt;BR /&gt;Here is a problem I have been working on. I would like to Centralise all my windows to unix transfer directories into One DFS root share. If I create a DFS_Root on a Windows servers and have re-directs to other windows servers in that share, the CIFS Client on unix works 100%. Unfortunately I don't want to build a dependence on a Windows DFS share. If the window server is down, then I will not be able to get to any other share, even if they are on other server.&lt;BR /&gt;&lt;BR /&gt;Hence I was thinking about using Samba and the DFS Root option. So I set up Samba with a redirection and I can successfully connect from windows and get redirected but the CIFS client does seem to be able to follow the redirection. See Below:&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     532480  284040  246576   54% /&lt;BR /&gt;/dev/vg00/lvol1     311296  185224  125120   60% /stand&lt;BR /&gt;/dev/vg00/lvol8    8904704 2449944 6404384   28% /var&lt;BR /&gt;/dev/vg00/lvol7    7675904 3048112 4592416   40% /usr&lt;BR /&gt;/dev/vg00/lvol4    1048576   90776  950928    9% /tmp&lt;BR /&gt;HOFILE:/IT         292959224 238511216 54448008   81% /hofile/IT&lt;BR /&gt;DEV-ORA:/DFS_ROOT   532480  285904  246576   54% /dev-ora/dfsroot&lt;BR /&gt;# cd /dev-ora/dfsroot/&lt;BR /&gt;# ls -al&lt;BR /&gt;total 2&lt;BR /&gt;drwxr-xr-x   2 root       sys              0 May 31 13:03 .&lt;BR /&gt;drwxr-xr-x   3 root       sys             96 May 31 10:24 ..&lt;BR /&gt;lrwxr-xr-x   1 root       sys             15 May 31 12:53 it_share -&amp;gt; msdfs:hofile\it&lt;BR /&gt;-rw-r--r--   1 root       sys              0 May 31 13:03 vvv&lt;BR /&gt;# cd it_share &lt;BR /&gt;ksh: it_share:  not found&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;The question is, can the CIFS client follow the msdfs redirection link in Samba? Or I am I doing something wrong?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Viktor&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Jun 2007 23:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050729#M541619</guid>
      <dc:creator>Viktor Holmberg</dc:creator>
      <dc:date>2007-06-03T23:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050730#M541620</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;There are known problems between DFS and anything but the latest samba/cifs/9000 release from &lt;A href="http://software.hp.com" target="_blank"&gt;http://software.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;At the very least update the client on HP-UX, which requires a reboot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 04 Jun 2007 01:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050730#M541620</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-06-04T01:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050731#M541621</link>
      <description>Viktor,&lt;BR /&gt;&lt;BR /&gt;The HP CIFS Client DFS feature was tested in the lab against HP CIFS Server A.02.02.01, so it should work, although it is still possible you could have found a bug.&lt;BR /&gt;&lt;BR /&gt;Without seeing a network trace it is difficult to know where the problem lies.  I suggest first trying to troubleshoot by trying to get a Windows client to follow the DFS link on the Samba server.  If the Windows client works, there may indeed be a problem with the CIFS Client; if the Windows client fails, the problem is likely with your Samba configuration.&lt;BR /&gt;&lt;BR /&gt;-Eric</description>
      <pubDate>Tue, 05 Jun 2007 03:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050731#M541621</guid>
      <dc:creator>Eric Raeburn</dc:creator>
      <dc:date>2007-06-05T03:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050732#M541622</link>
      <description>Thanks Eric&lt;BR /&gt;&lt;BR /&gt;I have reinstalled a new Hp-UX 11i V3 server:&lt;BR /&gt;&lt;BR /&gt;rx6600: / # cifslist -v&lt;BR /&gt;HP CIFS Client A.02.02.01&lt;BR /&gt;rx6600: / # &lt;BR /&gt;&lt;BR /&gt;For windows I can follow the redirection but this unix host, which has the dfsroot share mounted it does not work. &lt;BR /&gt;&lt;BR /&gt;---------- Original Samba directory ----------&lt;BR /&gt;rx6600: / # cd /dfsroot/&lt;BR /&gt;rx6600: /dfsroot # ls -al&lt;BR /&gt;total 16&lt;BR /&gt;drwxrwxr-x   2 root       sys             96 Jun 19 10:12 .&lt;BR /&gt;drwxr-xr-x  25 root       root          8192 Jun 19 14:08 ..&lt;BR /&gt;lrwxrwxr-x   1 root       sys             26 Jun 19 10:11 downloads -&amp;gt; msdfs:itopsadmin\downloads&lt;BR /&gt;lrwxrwxr-x   1 root       sys             15 Jun 19 10:12 it -&amp;gt; msdfs:hofile\it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---------- Mounted Samba Share ---------&lt;BR /&gt;rx6600: /dfsroot # cd /rx6600/dfsroot/&lt;BR /&gt;rx6600: /rx6600/dfsroot # ls -al&lt;BR /&gt;total 6&lt;BR /&gt;drwxrwxr-x   2 root       sys              0 Jun 19 10:12 .&lt;BR /&gt;drwxrwxr-x   3 root       sys             96 Jun 19 14:08 ..&lt;BR /&gt;drwxrwxrwx   2 root       sys         131072 Jun 20 10:09 downloads&lt;BR /&gt;drwxrwxrwx   2 root       sys         131072 Jun 20 10:09 it&lt;BR /&gt;rx6600: /rx6600/dfsroot # cd it&lt;BR /&gt;ksh: it: bad directory&lt;BR /&gt;rx6600: /rx6600/dfsroot # ls it&lt;BR /&gt;it unreadable&lt;BR /&gt;rx6600: /rx6600/dfsroot #      &lt;BR /&gt;&lt;BR /&gt;rx6600: /rx6600/dfsroot # cifslist&lt;BR /&gt;Mounted Object                      Mountpoint                          State &lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;\\HOFILE\IT                         /hofile/it                          M     &lt;BR /&gt;\\RX6600\DFS_ROOT                   /rx6600/dfsroot                     M     &lt;BR /&gt;===============================================================================&lt;BR /&gt;Server            Local User        Remote User       Domain            State &lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;hofile            root              viktor.holmberg                     L     &lt;BR /&gt;itopsadmin        root              viktor.holmberg                     L     &lt;BR /&gt;rx6600            root              viktor.holmberg                     L     &lt;BR /&gt;rx6600: /rx6600/dfsroot # &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The later version of cifsclient can now "see" the link however it will not follow it to the remote server.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Viktor</description>
      <pubDate>Tue, 19 Jun 2007 19:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050732#M541622</guid>
      <dc:creator>Viktor Holmberg</dc:creator>
      <dc:date>2007-06-19T19:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050733#M541623</link>
      <description>Viktor,&lt;BR /&gt;&lt;BR /&gt;The CIFS Client DFS feature has been tested with DFS links on Samba servers, both the HP flavor (HP CIFS Server) and Samba on Linux.&lt;BR /&gt;&lt;BR /&gt;There are subtleties in the server configuration and there may be some domain-membership dependencies for the servers in the DFS tree.&lt;BR /&gt;&lt;BR /&gt;Have a look at these:&lt;BR /&gt;&lt;BR /&gt;docs.hp.com/en/6485/ConfigtroubDFS.pdf&lt;BR /&gt;&lt;A href="http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html" target="_blank"&gt;www.samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If those don't solve it, your best bet is to open a call with HP support.&lt;BR /&gt;&lt;BR /&gt;Please post your results.  Thanks,&lt;BR /&gt;-Eric</description>
      <pubDate>Wed, 20 Jun 2007 00:49:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050733#M541623</guid>
      <dc:creator>Eric Raeburn</dc:creator>
      <dc:date>2007-06-20T00:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050734#M541624</link>
      <description>&lt;!--!*#--&gt;Viktor,&lt;BR /&gt;&lt;BR /&gt;I've been looking into this problem during the last couple of days and found there is indeed a problem between the cifs client and samba with respect to dfs, but I am happy to report there are two solutions.&lt;BR /&gt;&lt;BR /&gt;First solution:&lt;BR /&gt;Set "unixExtensions = no;" in the cifs client configuration file.  For the setting to take effect, the client must completely disconnect from the Samba server whose share contains the dfs links.  This means executing cifslogout and cifsumount, such that the server is not seen anywhere in the output of cifslist.  Or alternatively (and easier), just do "cifsclient restart".&lt;BR /&gt;&lt;BR /&gt;Second solution:&lt;BR /&gt;This is more annoying, but has the benefit of not disabling Unix Extensions.  Assuming you have /mountpoint/dfs_link, and dsf_link points to some other share, then if you do&lt;BR /&gt;&lt;BR /&gt;    ls /mountpoint/dfs_link&lt;BR /&gt;&lt;BR /&gt;before doing&lt;BR /&gt;&lt;BR /&gt;    ls /mountpoint&lt;BR /&gt;&lt;BR /&gt;you will circumvent the problem.  If mountpoint contains multiple dfs links, you must do 'ls' on the absolute path, as in the example above, on each dfs link, before you ever do 'ls' on the mountpoint.  I know this is ugly, but it does avoid the problem.  You could script the whole thing to do the appropriate 'ls' commands immediately after mounting the share and before any users access the mountpoint.&lt;BR /&gt;&lt;BR /&gt;Here are the gory details, if you or anyone else is interested:&lt;BR /&gt;&lt;BR /&gt;Samba implements dfs links as symbolic links, which you already know, having set this up.  For Windows clients, for which the implementation was intended, this is not a problem, since symbolic links are unknown to Windows filesystems.  The implementation in effect fakes out the Windows client.&lt;BR /&gt;&lt;BR /&gt;But for the HP CIFS Client, with Unix Extensions enabled, a symbolic link is a symbolic link and a dfs link is a dfs link.  If the cifs client does 'ls' on just the mountpoint first, the (unix-extensions enabled) Samba server tells the client the dfs link is a symbolic link, which it is on its local filesystem, even though functionally it isn't expected to act like a symbolic link.  Then when the cifs client attempts to follow the dfs link under the mountpoint, it accesses it as a symbolic link (because that's what Samba told it it was).  But this causes the Samba server to return an error, because functionally Samba regards it as a dfs link.  And that is the problem.&lt;BR /&gt;&lt;BR /&gt;It may be possible to enhance the cifs client to work around this implementation.  I would not say the chances are good we could devote resources to this, however.  Another possibility would be to report this to the Samba team (samba.org).  The Unix Extensions are important to them, so they might consider reworking the dfs implementation.&lt;BR /&gt;&lt;BR /&gt;Good luck.  Post your results so I know your setup is working.&lt;BR /&gt;-Eric</description>
      <pubDate>Fri, 22 Jun 2007 15:44:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050734#M541624</guid>
      <dc:creator>Eric Raeburn</dc:creator>
      <dc:date>2007-06-22T15:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050735#M541625</link>
      <description>Viktor,&lt;BR /&gt;&lt;BR /&gt;As you probably realized from my explanation, using a Windows server instead of Samba as the host of the dfs_root share would also avoid the problem.  I guess one could consider this yet a third workaround.&lt;BR /&gt;&lt;BR /&gt;-Eric</description>
      <pubDate>Fri, 22 Jun 2007 15:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050735#M541625</guid>
      <dc:creator>Eric Raeburn</dc:creator>
      <dc:date>2007-06-22T15:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050736#M541626</link>
      <description>Thanks Eric,&lt;BR /&gt;&lt;BR /&gt;I tried both methods and they work as expected. Since I will not be using any Unix attributes on the shares, the unixExtension=no is the best solution for me. Also, it allows you to browes for available shares, which you can not do with the other option. You have to know the full path to the share/file you are looking for.&lt;BR /&gt;&lt;BR /&gt;The HP link below, HP CIFS Client Features, mentions the limitation.&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B8724-90079/ch01s03.html" target="_blank"&gt;http://www.docs.hp.com/en/B8724-90079/ch01s03.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is allows easy to find the documenation once you know what you are looking for :-)&lt;BR /&gt;&lt;BR /&gt;Thanks Again for you help.&lt;BR /&gt;&lt;BR /&gt;Viktor</description>
      <pubDate>Sun, 24 Jun 2007 18:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050736#M541626</guid>
      <dc:creator>Viktor Holmberg</dc:creator>
      <dc:date>2007-06-24T18:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS Client and Samba DFS Root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050737#M541627</link>
      <description>See my last post and Eric's last two posts.&lt;BR /&gt;&lt;BR /&gt;Thanks Again&lt;BR /&gt;&lt;BR /&gt;Viktor</description>
      <pubDate>Sun, 24 Jun 2007 18:38:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-client-and-samba-dfs-root/m-p/5050737#M541627</guid>
      <dc:creator>Viktor Holmberg</dc:creator>
      <dc:date>2007-06-24T18:38:03Z</dc:date>
    </item>
  </channel>
</rss>

