[Nelug] Sharing CD-ROM over Samba on Fedora 9

Tim tim at monkeyx.net
Sat May 24 08:36:28 UTC 2008


The valid users = %S option is what is causing for a password to be asked for.

Are you using this option on the file shares as well?

On some system you may also need statement similar to below. I do not use Fedora so not sure what vliad mount path would be.

root prexec = /bin/mount /dev/cdrom /media/cdrom

root postexec = /bin/umount /media/cdrom

May help if you posted full config file, if still issues

----------------------------------------
From: Daniel Tweedy <daniel.tweedy at gmail.com>
Sent: 24 May 2008 08:00
To: nelug at mailman.lug.org.uk
Subject: [Nelug] Sharing CD-ROM over Samba on Fedora 9 

Hi All,

I was just wondering if any of you have any experience of sharing a 
cd-rom over samba, i'm not having very much luck in getting it working 
you see, have googled and search a lot and I think I am very close to 
getting it working, but am kinda stuck as to what else I could do from 
where I am, so I am really looking for a few pointers/tips/ideas.

[cdrom]
comment = CD-ROM
path = /cdrom
writable = no
locking = no
public = yes
read only = yes
valid users = %S

This is what i'm using at the moment and it shows up on the windows pc 
but it asks for a password when I try to connect, but none of the users 
set up on the box or in the smbpasswd file work and root doesn't work 
either, it just keeps poping up asking for the password again no matter 
what I try.

Thanks,
Daniel.

_______________________________________________
Nelug mailing list   -   Nelug at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/nelug
http://www.nelug.org.uk/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/durham/attachments/20080524/cd504226/attachment.htm 


More information about the Nelug mailing list