<?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 CIFS/Samba warning! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308648#M567809</link>
    <description>This is to warn everybody if using CIFS/Samba that links will redirect locally, they will not redirect to the shared folder on the shared machine.</description>
    <pubDate>Thu, 17 Jun 2004 21:42:50 GMT</pubDate>
    <dc:creator>Edgar Arroyo</dc:creator>
    <dc:date>2004-06-17T21:42:50Z</dc:date>
    <item>
      <title>CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308648#M567809</link>
      <description>This is to warn everybody if using CIFS/Samba that links will redirect locally, they will not redirect to the shared folder on the shared machine.</description>
      <pubDate>Thu, 17 Jun 2004 21:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308648#M567809</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-17T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308649#M567810</link>
      <description>Is there perhaps a follow/ignore links mount option in your Samba configuration files?&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jun 2004 16:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308649#M567810</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2004-06-20T16:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308650#M567811</link>
      <description>I haven't checked, but it sure would be wise to set it as default.  I will look for it.</description>
      <pubDate>Mon, 21 Jun 2004 01:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308650#M567811</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-21T01:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308651#M567812</link>
      <description>Hi Edgar,&lt;BR /&gt;&lt;BR /&gt;There are a number of options within smb.conf regarding links.  These are documented within the man page for smb.conf.  However are you referring to HP-UX links or shortcuts within Windows?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Mon, 21 Jun 2004 04:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308651#M567812</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-06-21T04:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308652#M567813</link>
      <description>No, just in general, I have 2 HP-UX boxes and when I copied from the 1st machine's /share to the 2nd machine's /share it asked me to replace???  That's how I noticed it was linking locally instead of remotely.</description>
      <pubDate>Mon, 21 Jun 2004 16:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308652#M567813</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-21T16:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308653#M567814</link>
      <description>Hi Edgar,&lt;BR /&gt;&lt;BR /&gt;I'm not sure I follow...  Could you explain in a little more detail?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Tue, 22 Jun 2004 04:16:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308653#M567814</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-06-22T04:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308654#M567815</link>
      <description>i think i understand.&lt;BR /&gt;&lt;BR /&gt;you have a samba share with a softlink on it.&lt;BR /&gt;when you mount this share from another system, the link is dereferenced to a file on the client rather then to a file on the server sharing the samba mount. &lt;BR /&gt;&lt;BR /&gt;this is the expected behevior. softlinks reference a path, i.e. /etc/resolv.conf, which is interpereted by the shell (i think) when it's accessed. if your accessing serverA:/etc/resolv.link from clientB, and serverA:/etc/resolv.link references /etc/resolv.conf, the shell on clientB will interperate this as clientB:/etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;somebody check my math?</description>
      <pubDate>Tue, 22 Jun 2004 11:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308654#M567815</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-06-22T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308655#M567816</link>
      <description>Well, you get it, but your example is off.&lt;BR /&gt;&lt;BR /&gt;When ServerB access ServerA:/etc/resolv.conf it will go to ServerB's /etc/resolv.conf, not ServerA's /etc/resolv.conf which *SHOULD* be the correct behavior when you're dealing with a shared network path, stay in the same Server.</description>
      <pubDate>Fri, 25 Jun 2004 07:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308655#M567816</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-25T07:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308656#M567817</link>
      <description>We're on the same page as far as the problem is concerned. &lt;BR /&gt;&lt;BR /&gt;However, I think this is the expected behaviour. I'll quote from the ln info-page&lt;BR /&gt;&lt;BR /&gt;   "Symbolic links" ("symlinks" for short), on the other hand, are a&lt;BR /&gt;special file type (which not all kernels support: System V release 3&lt;BR /&gt;(and older) systems lack symlinks) in which the link file actually&lt;BR /&gt;refers to a different file, by name.  When most operations (opening,&lt;BR /&gt;reading, writing, and so on) are passed the symbolic link file, the&lt;BR /&gt;kernel automatically "dereferences" the link and operates on the target&lt;BR /&gt;of the link.  But some operations (e.g., removing) work on the link&lt;BR /&gt;file itself, rather than on its target.&lt;BR /&gt;&lt;BR /&gt;This implies that the link contains a path, but not a server name. &lt;BR /&gt;&lt;BR /&gt;If this is the expected behaviour, /etc/resolv.link will return /etc/resolv.conf and be directed to /etc/resolv.conf. On ClientB the same operation will result in ClientB being directed to /etc/resolv.conf (same as the local operation) but because of the different context, you get a different result. &lt;BR /&gt;&lt;BR /&gt;Let's assume your behevior is correct, just for compairison; you have a file /exporteddir/resolv.conf that links to /etc/resolv.conf. If /etc is not exported, and links are being dereferenced locally, how would you access it from another server? &lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2004 07:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308656#M567817</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-06-28T07:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308657#M567818</link>
      <description>The correct behavior (I think) is the server (samba) follow that link and return either the file content or if a directory and access is allowed, the content of that directory.</description>
      <pubDate>Mon, 28 Jun 2004 09:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308657#M567818</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-28T09:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308658#M567819</link>
      <description>But the info page states that the kernel is dereferencing the file, not samba or NFS. &lt;BR /&gt;&lt;BR /&gt;Perhaps a hard link is what you're looking for. A hard link is essentially a second file entry pointing to the same inodes on the file system. Since there is nothing to dereference, there is no ambiguity.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2004 10:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308658#M567819</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-06-28T10:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308659#M567820</link>
      <description>Isn't hard link only possible on the same partition?  HP-UX has many partitions by default, usr, var, tmp, etc etc&lt;BR /&gt;&lt;BR /&gt;I do links from partitions to other partitions mostly</description>
      <pubDate>Mon, 16 Sep 2024 09:26:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308659#M567820</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2024-09-16T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308660#M567821</link>
      <description>Isn't hard link only possible on the same partition?  HP-UX has many partitions by default, usr, var, tmp, etc etc&lt;BR /&gt;&lt;BR /&gt;I do links from partitions to other partitions mostly because one of the partitions is about to run out of space</description>
      <pubDate>Mon, 28 Jun 2004 10:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308660#M567821</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-28T10:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308661#M567822</link>
      <description>Yes, hard links can only link files on the same file system. Because they are simple file entries, they cannot reference other file systems in the same way you have a file /etc/resolv.conf with inodes on /var (assuming /etc and /var are on different file systems.)&lt;BR /&gt;&lt;BR /&gt;Paths in Unix are relative to the file system, if you have a symlink to a specific file, then umount that file system, your link (on a different file system) fails even if you've mounted it to a separate mount point. &lt;BR /&gt;&lt;BR /&gt;Hard links, being themselves constrained to the file system, prevent the above relativity issue, but by design cannot reference anything off the file system. &lt;BR /&gt;&lt;BR /&gt;I think you're looking for an absolute reference, but that doesn't exist. Note this is the same behaviour as windows. If you have a link on a shared drive that points to c:\winnt\system32\cmd.exe you'll get the cmd.exe on the client, not on the server.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2004 11:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308661#M567822</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-06-28T11:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: CIFS/Samba warning!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308662#M567823</link>
      <description>I agree with you.  But what I'm trying to say is that the *default* should be not to allow links, to hide them unless they give full support and link to correct file/path and return it's content.</description>
      <pubDate>Mon, 28 Jun 2004 15:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cifs-samba-warning/m-p/3308662#M567823</guid>
      <dc:creator>Edgar Arroyo</dc:creator>
      <dc:date>2004-06-28T15:07:57Z</dc:date>
    </item>
  </channel>
</rss>

