Hello, I've posted earlier here, about the autofs managed network maps.
I'm using the new autofs version. With this version it's possible to use "multi mount maps". The script here uses the name of the network as key, here only the "Windows Network" is supported. copy the auto.network script to /etc/autofs make it executable if not already mkdir -p /mnt/network Add this to the auto.master file: /mnt/network /etc/autofs/auto.network -browse So when I want to enter the "Windows Network", I type: ls -A "/mnt/network/Windows Network" You'll get the complete windows environment and you can access the shares. It acts as guest, but when a credential file is provided, it will use that one for authentification. It takes some time to complete, it uses lookups by nmblookup. If your network is bigger, it takes more time. It uses CIFS, and will check it is supported. You can make it use SMBFS, change the parameter FILESYSTEM Futher this script only creates a map for the Windows Network. On my system the script can also handle FTP and SSH (with the help of Fuse) See for more info: http://linux.bononline.nl/linux/automountsmbshares/automountsmbshares-page01a.php The it's possible to do: ls "/mnt/network/FTP hosts" and ls "/mnt/network/SSH" Greetings, Stef Bon the Netherlands
auto.network
Description: application/shellscript
_______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
