- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CIFS/Samba warning!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 02:42 PM
06-17-2004 02:42 PM
CIFS/Samba warning!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:35 AM
06-20-2004 09:35 AM
Re: CIFS/Samba warning!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 06:58 PM
06-20-2004 06:58 PM
Re: CIFS/Samba warning!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 09:07 PM
06-20-2004 09:07 PM
Re: CIFS/Samba warning!
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?
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:44 AM
06-21-2004 09:44 AM
Re: CIFS/Samba warning!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:16 PM
06-21-2004 09:16 PM
Re: CIFS/Samba warning!
I'm not sure I follow... Could you explain in a little more detail?
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:37 AM
06-22-2004 04:37 AM
Re: CIFS/Samba warning!
you have a samba share with a softlink on it.
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.
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
somebody check my math?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2004 12:43 AM
06-25-2004 12:43 AM
Re: CIFS/Samba warning!
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 12:38 AM
06-28-2004 12:38 AM
Re: CIFS/Samba warning!
However, I think this is the expected behaviour. I'll quote from the ln info-page
"Symbolic links" ("symlinks" for short), on the other hand, are a
special file type (which not all kernels support: System V release 3
(and older) systems lack symlinks) in which the link file actually
refers to a different file, by name. When most operations (opening,
reading, writing, and so on) are passed the symbolic link file, the
kernel automatically "dereferences" the link and operates on the target
of the link. But some operations (e.g., removing) work on the link
file itself, rather than on its target.
This implies that the link contains a path, but not a server name.
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.
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 02:48 AM
06-28-2004 02:48 AM
Re: CIFS/Samba warning!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 03:01 AM
06-28-2004 03:01 AM
Re: CIFS/Samba warning!
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 03:22 AM - last edited on 09-16-2024 02:26 AM by support_s
06-28-2004 03:22 AM - last edited on 09-16-2024 02:26 AM by support_s
Re: CIFS/Samba warning!
I do links from partitions to other partitions mostly
- Tags:
- Plane_Board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 03:23 AM
06-28-2004 03:23 AM
Re: CIFS/Samba warning!
I do links from partitions to other partitions mostly because one of the partitions is about to run out of space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 04:25 AM
06-28-2004 04:25 AM
Re: CIFS/Samba warning!
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.
Hard links, being themselves constrained to the file system, prevent the above relativity issue, but by design cannot reference anything off the file system.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2004 08:07 AM
06-28-2004 08:07 AM