1834605 Members
4753 Online
110069 Solutions
New Discussion

CIFS for 10.20

 
Vikas_2
Advisor

CIFS for 10.20

Hi,

I want to share a filesystem from HPUX 10.20 box to windows machines. I believe that CIFS is not available for 10.20. Is there any other way to implement it?

Thanks in advance

Vikas
10 REPLIES 10
Darren Prior
Honored Contributor

Re: CIFS for 10.20

Hi Vikas,

You are right in thinking that CIFS is not available for 10.20. You could consider installing an open source version of Samba (which is what CIFS is based on.) Try http://www.samba.org as a starting point.

There are NFS clients available for PCs, and of course NFS supplied with 10.20.

It's also worth remembering that 10.20 is an old OS, there are many good reasons to upgrade to 11.x.

regards,

Darren.
Calm down. It's only ones and zeros...
T G Manikandan
Honored Contributor

Re: CIFS for 10.20

Robert-Jan Goossens
Honored Contributor

Re: CIFS for 10.20

Hi Vikas,

You can not use cifs on 10.20, but you can use Samba. Here is a page for the precompiled software.

http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/samba-2.2.3a/

http://www.jt.iki.fi/files/samba.htm

Regards,

Robert-Jan
Vikas_2
Advisor

Re: CIFS for 10.20

Thanks guys. I have got the samba for 10.20...going to install now...will look for your help again to configure if required.

-Vikas
Vikas_2
Advisor

Re: CIFS for 10.20

okay now I have installed samba 2.2.3a and it has created a directory /opt/samba also. But I don't find any smb.conf file. Moreover it has not created the startup/shutdown scripts also.

Is there any other manual configuration I need to do?

-Vikas
T G Manikandan
Honored Contributor

Re: CIFS for 10.20

Even I did not have the default smb.conf file or the file from the example dir.
Just copied the file from another machine.

Just attached the sample file.
Umapathy S
Honored Contributor

Re: CIFS for 10.20

Vikas,
CIFS is a superset of Samba. You can refer this document
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=B8725-90016&service=hpux&path=00/00/36&title=Installing%20and%20Administering%20the%20CIFS/9000%20Server,%20September%202001

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
T G Manikandan
Honored Contributor

Re: CIFS for 10.20

Just create a startup script as S200samba at /sbin/rc3.d


# Samba daemon startup script

/usr/local/samba/bin/smbd -D

/usr/local/samba/bin/nmbd -D

echo "Starting samba"

Revert
Vikas_2
Advisor

Re: CIFS for 10.20

tried to start smbd with the command
smbd -D -l "log file" -s "smb.conf file path"

I got this error in the log file

[2003/10/09 13:12:44, 0] smbd/server.c:main(698)
smbd version 2.2.3a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/10/09 13:12:44, 0] tdb/tdbutil.c:tdb_log(475)
tdb((NULL)): tdb_open_ex: could not open file /opt/samba/private/secrets.tdb: No such file or directory
[2003/10/09 13:12:44, 0] passdb/secrets.c:secrets_init(43)
Failed to open /opt/samba/private/secrets.tdb

In my /opt/samba directory, I have only following directories
bin,doc,lib,man and swat.

Any suggestions?

-Vikas
T G Manikandan
Honored Contributor

Re: CIFS for 10.20

place the smb.conf file under /lib dir.

you can run testparm to check the configuration file syntax..

you can just use (without options)
#smbd
to start the process.

logs are available by default under /usr/local/samba/var

Also do not forget to start

#nmbd

Revert