[Samba] multiple shares names
aye
aye at gentoo.pl
Fri Apr 1 23:04:00 GMT 2005
On Fri, Apr 01, 2005 at 10:57:56PM +0200, Tony Earnshaw wrote:
>
> There! You said it yourself - kludge symlink longdirectoryname to
> shortname and put shortname into smb.conf as a share? Make sure you
> have Samba configured to follow links (Default: follow symlinks =
> yes).
>
well - that wasn't exactly what i wanted. that way either:
1. computers with windows xp would see both - short and long names (if
long names would be shared too)
2. users would lost their symlinks (if longnames would not be shared)
anyway: i've managed to do it. i've made:
include = /etc/samba/smb.conf.%a
in smb.conf and i've created additiona file /etc/samba/smb.conf.Win95
(%a is substitute into Win95 in case when client has win9x) with
definitions of shares with shorter names.
so if client got win xp that file isn't included and he sees his old
longnames. if client got win9x file is included and additional shares
with short names are created (he doesn't see long names anyway, so he
doesn't see share twice)
well - i hope that work - i've made that remotly and i can't test it
until i'm outside company;>
PS: Sorry Tony - i've mailed this to you instead of ML by mistake
--
~ ~~ ~ ~~~ ~~~~ ~~~~~~~~~~~~~~~~~,
Marcin 'aye' Kryczek ,.,.,.,., mail: aye%gentoo.pl .,.,. RLU: #316599 .,. /
,.,.,.,.,.,.,.,.,.,.,.,.,.,., jid: aye%gentoo.pl ,., PGP: 0xD6CFCCF1 .,. /
Key fingerprint = EE8F E832 54E4 2456 C582 5B32 E10F EEDC D6CF CCF1 .,. /
~ ~~ ~ ~~~ ~~~~~.,_/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20050402/eefc0234/attachment.bin
More information about the samba
mailing list