[Samba] Automounting DFS path published shares under RHEL 5 with Samba?
Daniel Müller
mueller at tropenklinik.de
Wed Jan 12 00:37:14 MST 2011
I am not exactly can see what you want to do.
But with samba you have to make a dfsroot and ln -s msdfs
Thats all.
Ex.: In your [global] host msdfs=yes
Then make a directory
[dfsdir]
Path=/some/where
Msdfs root=yes
/some/where ln -s msdfs:server\\share name
Or high available, /some/where ln -s msdfs:server1\\share1,server2 \\share2
name
Or you use dfs poxy in your smb.conf. You just make a virt. share that is
linked to another servers share
[thevirtshare]
Msdfs root=yes
Msdfs proxy =\anotherserver\hisshare
If you now map the share you are redirected
Good Luck
Daniel
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Nico Kadel-Garcia
Gesendet: Mittwoch, 12. Januar 2011 03:44
An: samba at lists.samba.org
Betreff: [Samba] Automounting DFS path published shares under RHEL 5 with
Samba?
I'm dealing with a Linux environment with extensive automounting, that
also has DFS configurations for the Windows clients of various CIFS
systems. I've got CIFS automounting working for various CIFS servers,
which definitely has its uses, but I'd *love* to be able to mount the
DIFS published paths for the CIFS shares?
Basically, if I have shares called \\example1\share1 and
\\example2\share2, and DFS publishes them as \\domain\share, I'd like
to be able to mount /mnt/cifs/domain/share and have it resemble the
DFS layout, without having to go back and personally figure out what
the DFS shares actually resolve to.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list