1834533 Members
2475 Online
110069 Solutions
New Discussion

CIFS/9000

 
SOLVED
Go to solution
Edgar Arroyo
Regular Advisor

CIFS/9000

I installed both SERVER and CLIENT of CIFS/9000, where do I configure it? And where can I search the network for shared folders?

Thanks.
13 REPLIES 13
Sridhar Bhaskarla
Honored Contributor

Re: CIFS/9000

Hi Edgar,

Look at the following documents for details on working with CIFS

Server:

http://docs.hp.com/hpux/onlinedocs/B8725-90063/B8725-90063.html

Client:

http://docs.hp.com/hpux/onlinedocs/B8724-90044/B8724-90044.html

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Darren Prior
Honored Contributor

Re: CIFS/9000

Hi,

There are 2 choices for configuration of the CIFS server - either by editing the smb.conf file manually, or by using SWAT (a web based admin gui.) For the client, your only choice is to edit the config file.

best regards,

Darren.
Calm down. It's only ones and zeros...
Geoff Wild
Honored Contributor
Solution

Re: CIFS/9000

SWAT can be accessed via:

http://yourserver:901

/etc/opt/samba is directory of config files, and logs go to /var/opt/samba

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Dino_4
Frequent Advisor

Re: CIFS/9000


Question two:

On your Client do a:

$ smbclient -L

or look for yourself

smbclient -h

HTH
Edgar Arroyo
Regular Advisor

Re: CIFS/9000

Ok, downloaded latest CIFS/9000 (Server *AND* Client) I didn't know it was a 2 part deal.

I got everything installed and configured.

From my laptop I can see both Unix1 and Unix2 (B2000 and C3000 hpux machines)

From the Unix1 and Unix2 I can see all 3 machines but here is my question again, how do I browse the network like in Windows? How can I use files from the shares? Is there a mount or something similar?
Dino_4
Frequent Advisor

Re: CIFS/9000


Hi,

I don't quite understand your question.

The CIFS is used to share dirs and files between Unix and Windows.

On the Windows-Pc you should see the Unix-shares made available.

To exchange data (dirs + files) between Unix-Only you can use NFS.
There is no need to use CIFS.

The CIFS-Client is used to connect from a Unix-box to a Windows-Share, but who wants to do that? ;-)
Darren Prior
Honored Contributor

Re: CIFS/9000

Hi,

The CIFS client isn't really designed for network browsing like Windows. You will need to mount the share you require and then cifslogin to authenticate. From that point the share will appear the same as any other mountpoint and you can use the files.

I think you need to consider what you require from CIFS client. I'd also suggest you have a read through of the docs as there are some useful examples. They're available from http://docs.hp.com

regards,

Darren.
Calm down. It's only ones and zeros...
Edgar Arroyo
Regular Advisor

Re: CIFS/9000

10 points to whoever tells me how to mount the share and then authenticate, that's all I'm asking... And yes, there are people out there that use both Unix -> Windows and vice-versa.
Geoff Wild
Honored Contributor

Re: CIFS/9000

Set your smb.conf like:

security = SERVER
encrypt passwords = Yes
password server = NTBDC1, NTBDC2, etc
username map = /etc/opt/samba/username.map


In username.map - you can map NT users to unix ids - even a many to 1 ratio:

myid = myid
genericid = ntid1, ntid2


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Darren Prior
Honored Contributor

Re: CIFS/9000

p30-32 of the Installing, Configuring, and Using the HP CIFS Client manual from http://docs.hp.com

mount -F cifs hostname:/share /your_mountpoint
cifslogin hostname username

regards,

Darren.
Calm down. It's only ones and zeros...
Geoff Wild
Honored Contributor

Re: CIFS/9000

My way was for setting up samba so you can map Windows to Unix - sorry if that was not what you wanted....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Darren Prior
Honored Contributor

Re: CIFS/9000

Geoff - I read it as the opposite, so between us we have it covered ;-)

regards,

Darren.
Calm down. It's only ones and zeros...
Edgar Arroyo
Regular Advisor

Re: CIFS/9000

Thank you! That's what I was looking for. :) I gave both of you 10pts total (5 each reply)