Operating System - HP-UX
1831357 Members
3070 Online
110024 Solutions
New Discussion

Running Samba from Intel clients

 
SOLVED
Go to solution
David Owens_1
Advisor

Running Samba from Intel clients


Pardon my ignorance but I am new to Samba. Currently I have NT 4.0 and Win2000 clients sharing files on my D330 server via the Hummingbird Maestro NFS client software. This is not real fast (at least not as fast as the Unix clients).

I have loaded CIFS/9000 on a HP-UX workstation and started the service. Now I am trying to map my exported Unix file systems from the Intel clients with no success. Is there a component for Samba that must be loaded on the Microsoft clients to get this to work?


David Owens
Ingersoll-Rand
10 REPLIES 10
John Bolene
Honored Contributor

Re: Running Samba from Intel clients

Depending on the number of files shared, you will probably find the NFS to be faster than Samba.

You map the files in Windows the same way as you would map shared Windows files.

There can be a time lag of when they become available on the network depending on how fast the WINS servers propagate the new shares.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Craig Rants
Honored Contributor
Solution

Re: Running Samba from Intel clients

Have you done the following step?

vi /opt/samba/lib/smb.conf
Change the [xxx] section to look like the [rsb] section. Add the appropriate path to the new users home directory and add the users id to the valid user.

The user should be able to map from there

\\servername

Good Luck,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Craig Rants
Honored Contributor

Re: Running Samba from Intel clients

Oops, [rsb] section is a local example, you won't have that in your file.

The same question still exists, have you modified your smb.conf file?

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
T G Manikandan
Honored Contributor

Re: Running Samba from Intel clients

Hello,
you have to install the windows*.reg file on the PC.
The registry file is located in the docs directory of your samba installation.
Install the respective file on the PC and do a reboot.Register the .reg file using the administrator.
Make sure that smbd and nmbd daemons are running on the server.

Thanks
Stefan Schulz
Honored Contributor

Re: Running Samba from Intel clients

HI,

connecting to a samba share is the same as connecting to a Windows share. Alternatively you can use "net use ..." with the ip-adress of your samba server.

To check if your samba shares work try to use the following in a DOS box (cmd):

net view \\ip-adress-of-the-samba-server

This should return a list of available shares. If not then there is a mistake in your configuration.

Have a look at this book http://www.oreilly.com/catalog/samba/chapter/book/indexpdf.html

This is a good and complete guide to samba which you can download as PDF for free.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
David Owens_1
Advisor

Re: Running Samba from Intel clients

There is not a smb.conf file in the /opt/samba/lib directory. There is not even a lib directory in /opt/samba. The file, "smb.conf", does exist in the /etc/opt/samba directory. I have attached a copy. Could anyone please tell me what's missing?

Thanks in advance,

David Owens
Ingersoll-Rand
Mark Fenton
Esteemed Contributor

Re: Running Samba from Intel clients

>Is there a component for Samba that must be
>loaded on the Microsoft clients to get this
> to work?

No. If your Samba Server is correctly set up, then the Windoze clients should be able to map any shares you have defined.

Read the Samba book from O'Reilly, it's got a really good explanation of troubleshooting in the Appendix, with an entire suite of steps to check configuration.

Best regards...
Stefan Schulz
Honored Contributor

Re: Running Samba from Intel clients

if you set security = DOMAIN you have to set your PDC or BDC as the password server.

Also EDD has to be the name of your domain, or you have to set workgroup =

Stop and restart the samba server /sbin/init.d/samba stop/start.

Make shure there are the necessary processes running ps -ef | grep mbd should list at least a smbd running.

Try to list the available shares with net view \\WS029.

If you can see your share try to connect to it with net use t: \\WS029\tmp.

If this fails check the book i mentioned above and go for the troubleshooting section. This is agood step by step procedure to get samba to work.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
T G Manikandan
Honored Contributor

Re: Running Samba from Intel clients

Hello,
Just check your /usr/local/samba/lib for the smb.conf file.
by default the samba is installed in the /usr/local filesystem.

Thanks.
David Owens_1
Advisor

Re: Running Samba from Intel clients

Thanks everyone for your help. I don't know what I was doing wrong but after following some of your guidelines and reading the book, I removed CIFS/9000 server and re-installed it and it worked. I still have more configuration to do so I will probably be asking more questions.

At least now it's running and based on some preliminary benchmarks it's about 10X faster than my current NFS client.


David Owens
Ingersoll-Rand