[Wylug-help] Sharing DVD drive under Samba
Dave Roberts
dave.roberts at unisonfree.net
Mon Aug 14 16:14:06 BST 2006
I have a linux server running Ubuntu 6.06 with a DVD writer. I have two
windows workstations connected to the server via samba and I access all
my data files on the linux box which is also a print server. However, I
can't access the DVD drive from the workstations. smb.conf is set up as
follows:
[cdrom]
comment = Samba server's CD-ROM
writable = yes
locking = no
path = /media/cdrom0
public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount media/cdrom0
; postexec = /bin/umount media/cdrom0
available = yes
browseable = no
...and my fstab file is as follows:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults,noatime 0 0
/dev/hda2 / ext2
defaults,noatime,errors=remount-ro 0 1
/dev/hda1 /boot ext2 defaults,noatime 0 2
/dev/hda6 /home ext2 defaults,noatime 0 2
/dev/hda5 /usr ext2 defaults,noatime 0 2
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/sda /media/usb0 auto rw,user,noauto 0 0
Any ideas?
Dave Roberts
---
avast! Antivirus: Outbound message was clean.
Virus Database (VPS): 0633-0, 14/08/2006
Tested on: 14/08/2006 16:06:05
avast! - copyright (c) 1988-2006 ALWIL Software.
http://www.avast.com
More information about the Wylug-help
mailing list