Implementing SAMBA w/ Automounter

Geza Makay makayg at
Tue Sep 23 12:28:13 GMT 1997

>I checked the archives and automounter is only mentioned for home dirs.
>Our organization would like to implement SAMBA but we have over 150
>mount points.  Is there a way we can use automounter maps with
>Having to edit smb.conf each time we add/remove a mount point would be quite
>annoying and time consuming.

How about default service? Here we have a default service called [cdroms]
(smb.conf [global] section option: default service = cdroms), if the user
uses an unknown service name (other that his/her home directory), then the
[cdroms] share is used. If you use the service name in the path (e.g. path
= /mnt/cdroms/%S) and automount everything under /mnt/cdroms, then it would
work like you wanted: you do not have to edit smb.conf, and it works
together with automounter in the sense that it mounts the appropriate
directories when they are accessed (i.e. when they are connected).

I hope this helps.


*           Name: Geza Makay                                            *
*      Institute: Jozsef Attila University of Szeged                    *
*           Mail: Bolyai Institute, Aradi vertanuk tere 1.              *
*                 H-6720, Szeged, Hungary                               *
*            Tel: (62) 454-091 (Hungary's code: 36)                     *
*    Fax/Message: (62) 326-246 (Hungary's code: 36)                     *
*         E-mail: makayg at                               *
* World Wide Web:                          *
* "To err is human, but to really mess things up you need a computer."  *

More information about the samba mailing list