[olug] multiple names for a samba share

Ryan Stille ryan at cfwebtools.com
Wed Nov 14 17:39:55 UTC 2007


Is there a way to have more than 1 name for a samba share, without 
duplicating the configuration for each?

I'd like a directory to be accessible by 'foo' and 'bar'.  I could do:

[foo]
    path = /tmp/sharedir

[bar]
    path = /tmp/sharedir

But rather than duplicate all the configuration (and have them 
eventually get out of sync), I'd rather do something like:

[foo,bar]
    path = /tmp/sharedir

But that doesn't work, I end up with a share named "foo,bar".  Any ideas?

-Ryan




More information about the OLUG mailing list