Hello NG, my network consists of AD/2003 as LDAP Server, SuSE 10.0 and xp clients and SuSE 9.3 Samba/NFS-Fileserver for the homes of SuSE clients and Samba shares for the Xp clients. My problem is the cd-rom samba share. All other samba shares except the cd-rom share are working for me. If I open the network environment in the windows explorer of a succeded logon xp client, I can access all shares except the cd-rom share. At accessing the cd-rom share in the windows explorer, I am getting no errormessage, but the directories and files of the shared cd do not appeare in the right side side of the win explorer. The right part of the windows exlorer is empty. The cd-rom section in the smb.conf is: [cdrom] path = /media/cdrom read only = yes browseable = yes locking = no Best regards and many thanks Andreas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
On Tuesday 27 December 2005 08:38, Andreas Bauer wrote:> Hello NG, > > my network consists of AD/2003 as LDAP Server, SuSE 10.0 and xp > clients and SuSE 9.3 Samba/NFS-Fileserver for the homes of SuSE clients and > Samba > shares for the Xp clients. > My problem is the cd-rom samba share. All other samba shares except the > cd-rom share are working for me. > If I open the network environment in the windows explorer of a succeded > logon xp client, I can access all shares except the cd-rom share. > At accessing the cd-rom share in the windows explorer, I am getting no > errormessage, but the directories and files of the shared cd do > not appeare in the right side side of the win explorer. The right part of > the > windows exlorer is empty. > > The cd-rom section in the smb.conf is: > [cdrom] > path = /media/cdrom > read only = yes > browseable = yes > locking = noAdd: root prexec = /bin/mount /dev/cdrom /media/cdrom root postexec = /bin/umount /media/cdrom That should solve the problem. - John T.
Perhaps a stupid question: you are sure you DID mount the cdrom on the linux console? If I do not mount it (or umount it) a can confirm the symptom you are describing. ------------------------- Felix Andreas Bauer wrote: AB> Hello NG, AB> my network consists of AD/2003 as LDAP Server, SuSE 10.0 and xp AB> clients and SuSE 9.3 Samba/NFS-Fileserver for the homes of SuSE clients and AB> Samba AB> shares for the Xp clients. AB> My problem is the cd-rom samba share. All other samba shares except the AB> cd-rom share are working for me. AB> If I open the network environment in the windows explorer of a succeded AB> logon xp client, I can access all shares except the cd-rom share. AB> At accessing the cd-rom share in the windows explorer, I am getting no AB> errormessage, but the directories and files of the shared cd do AB> not appeare in the right side side of the win explorer. The right part of AB> the AB> windows exlorer is empty. AB> The cd-rom section in the smb.conf is: AB> [cdrom] AB> path = /media/cdrom AB> read only = yes AB> browseable = yes AB> locking = no AB> Best regards and many thanks AB> Andreas AB> -- AB> To unsubscribe from this list go to the following URL and read the AB> instructions: https://lists.samba.org/mailman/listinfo/samba
If you have more than one CDROM on your machine, the correct share path might be something like path = /media/cdrom1 Eric Hines At 12/27/05 09:38, Andreas Bauer wrote:>Hello NG, > >my network consists of AD/2003 as LDAP Server, SuSE 10.0 and xp >clients and SuSE 9.3 Samba/NFS-Fileserver for the homes of SuSE clients and >Samba >shares for the Xp clients. >My problem is the cd-rom samba share. All other samba shares except the >cd-rom share are working for me. >If I open the network environment in the windows explorer of a succeded >logon xp client, I can access all shares except the cd-rom share. >At accessing the cd-rom share in the windows explorer, I am getting no >errormessage, but the directories and files of the shared cd do >not appeare in the right side side of the win explorer. The right part of >the >windows exlorer is empty. > >The cd-rom section in the smb.conf is: >[cdrom] > path = /media/cdrom > read only = yes > browseable = yes > locking = no > >Best regards and many thanks >AndreasThere is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. --Bertrand Russell
Not a fix but a suggestion: rip the CD to an ISO file and mount it as a loopback device. Share the loopback mount point and you will have much improved performance over sharing the CD directly. Chris
>> [cdrom] >> path = /media/cdrom >> read only = yes >> browseable = yes >> locking = noJohn H Terpstra wrote:> Add: > root preexec = /bin/mount /dev/cdrom /media/cdrom > root postexec = /bin/umount /media/cdrom >Thanks a lot, these two lines solved the problem. The content of the cdrom share is displayed now. Andreas