Operating System - HP-UX
1844837 Members
3147 Online
110233 Solutions
New Discussion

mounting cdrom on a Samba

 
donne007
Regular Advisor

mounting cdrom on a Samba

I have a samba server through which i access the files from windows m/c's,I want the cdrom in the HP wks to mount on samba and access the same from win9x m/c's.
Pls help me out how todo this process

Thanx in advance
Asif
5 REPLIES 5
Steven Sim Kok Leong
Honored Contributor

Re: mounting cdrom on a Samba

Hi,

This document may help:

http://www.samba.org/samba/ftp/docs/textdocs/HINTS.txt

Remember to set conv=binary or equivalent.

Hope this helps. Regards.

Steven Sim Kok Leong
T G Manikandan
Honored Contributor

Re: mounting cdrom on a Samba

Hello,

1.export your file system /cdrom.
add the entry in the /etc/exports file and start the nfs.server in the hpux machine.The the cdrom is readable place the read only option in your /etc/exports file.
/cdrom -ro
2.exportfs -a
to share all the exported file systems.
3.place an entry in your smb.conf file (samba configuration file for the cd mounted file system i.e /cdrom)
-----global settings-------
[global]
printing = bsd
server string = Server
printcap name = /etc/printcap
server string = Server
load printers = yes
coding system=hex
client code page = 932
workgroup=
security=SERVER
encrypt passwords = no
create mask=0774
directory mask = 0775
lock directory = /usr/local/samba/var/locks
share modes = yes
[cdrom]
comment = cd File System
path = /cdrom
valid users = root
public = no
writable = yes
printable = no
create mask = 0765

4.then start the smbd and nmbd daemons from the /usr/local/samba/bin directory.
smbd
nmbd
5.Now check whether your hpux machine is found in the
Network Neighbourhood of your unix machine.
6.Register the appropriate registry file on your windows machine.For example
for NT NTPlainPassword.reg
for 2000 2000Plainpassword.reg
These files are located in the /var/samba..../docs directory.
register the file using administrator and reboot the windows machine.
Now you can access the cdrom file system.
Bill Hassell
Honored Contributor

Re: mounting cdrom on a Samba

HP-UX has very limited CDROM capability. If the CDROM is in Joliet format or has mixed data (video, audio,etc), it will not be fully functional. Before you start, make sure the CDROM is mounted on HP-UX correctly, most likely by using the helper programs from PFS.


Bill Hassell, sysadmin
donne007
Regular Advisor

Re: mounting cdrom on a Samba

Hi
I could update the /etc/exports file and also export the cdrom file system .
I have problem in editimg he amb.conf file ..
>> the server entries mention.. arethey of the domain server.. coz i dont have a NFs server in my network .. and many of the entries youhad mentioned are not in the file should i append they and star tthe samba services .. Also i could not find the samb in /usr/local
how do i start the samba services .

Thanks
T G Manikandan
Honored Contributor

Re: mounting cdrom on a Samba

Hello,
On my system I have the executables on /usr/bin.
you can do a find for the smbd and nmbd files.
Just check where you have installed samba on your machine.
What I have listed above is a cut and paste of smb.conf file.
The server-name I have mentioned is the hostname of your samba server where you have your cd.
There is a file called smb.conf.default in the examples section of samba installation directory which should help you for the configuration.