[Samba] automounting a usb-harddrive/cdrom that can be mapped
from the login script.
Gémes Géza
geza at kzsdabas.sulinet.hu
Sun Jan 11 16:43:18 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
In the past I've had such a setup, if I remember correctly I was sharing
a supermount-ed cdrom drive, I remember when clients wanted to access
the cdrom even the tray got inserted. I think if you want to do it with
autofs the bes solution would be to create a symlink pointing to your
autofs created mount point and share that symlink. I'm not sure if it
will work.
Good Luck!
Geza
| Hi,
|
| I am installing a Samba 3.0.1 on RH90 for a little school, and they want
| to have access to a mobile usb-harddrive.
| The harddrive shoud be mapped via the login script, and here is were my
| troubles begin....
|
| I have been experimenting with the autofs service, which works great if
| the harddrive is present at login time.
| If one login at a time where the harddrive isn't present the login
| script fails and the drive mapping isn't made.
| Yes i know why... at login time the autofs generated directory doesn,t
| exist.
|
| Then i made a directory (which get mapped) where autofs will generate a
| sub-directory for the connected device.
| Now the problem is that autofs is not mounting the harddrive until a
| request is made to the non-existent directory (defined in the autofs
| conf. files).
|
| Hopefully you get the picture. ;-)
|
|
| Any one who have something like this working, or some hints.
| I guess one would have the same problems when using the servers cdrom
| drive.
|
|
|
| Best regards
| Erik Holst Trans
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAAX0m/PxuIn+i1pIRAhkdAKCalG7M6Y1R7EwMWLMmzCTjKcKdPACfWnhl
dmM7MNTjp8CtTFRSQAWCMRc=
=g1AL
-----END PGP SIGNATURE-----
More information about the samba
mailing list