Solved

How to share cd-rom

Posted on 1998-09-07
1
263 Views
Last Modified: 2010-03-18
How to share cd-rom using samba I can share printer files fax ,but I don't know how to setup cd-rom as shared.
Also I have problem witb being unable to login to my server after is left for few houres after I put root and password I don't get anythink and I have to reboot to be able to login (redhat 5.0 )
0
Comment
Question by:JBURGHARDT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
marcelofr earned 50 total points
ID: 1586693
It works for me with the following configuration:

in /etc/fstab

/dev/hdd      /mnt/cdrom      iso9660      ro,noauto      0      0

in /etc/smb.conf

[cdrom]
      comment = interesting info on cdrom
      path = /mnt/cdrom
      public = yes
      writable = no
      printable = no
      force user = ftp

I think some of this entries are not mandatory to make it work... Anyway, maybe you need to update your samba and mount versions...

About the other problem, have you inspected carefully /var/log/messages and other logs in the same directory?

Good luck
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux CentOs 6.7 : i can't start service 8 103
Setting up two Raspberry Pi gateways/routers 3 133
VPS for routing recomendations 3 118
Remote desktop Ubuntu from Windows 10 5 160
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question