Operating System - HP-UX
1830340 Members
2603 Online
110001 Solutions
New Discussion

help on access hpux CIFS server from windows server

 
kenken_3
Regular Advisor

help on access hpux CIFS server from windows server

Hi,

I need some help on this. My objective is very simple and I just want my hpux file system to be accessed by 2 Windows server.

I have tried Workgroup level and user level secuirty and created a local unix user as the admin for that filesystem. However, when I try to "net use" that filesystem from the windows server with the unix username and password. It always fails.

Could anyone suggest what I have missed out?

thanks a lot
wang & wang
6 REPLIES 6
Luk Vandenbussche
Honored Contributor

Re: help on access hpux CIFS server from windows server

Define a user on the hpux host with the command smbpasswd
kenken_3
Regular Advisor

Re: help on access hpux CIFS server from windows server

Acutally, I am able to coneect it locally by using: smbclient //servername/directory -Uusername%password.

However, when I access it from the windows by: net use \\servername\directory, then it prompt me username and password. However, when I input same username and password, it told me unknown username or password.

in the smb.conf file, I put forced user to the directory.

anyone know it why?
wang & wang
Juan M Leon
Trusted Contributor

Re: help on access hpux CIFS server from windows server

Can you post your smb.conf file.
Also try run smbpasswd -n User-Id
The -n option will set no password in the samba password file.

Hope it helps
kenken_3
Regular Advisor

Re: help on access hpux CIFS server from windows server

here it is.
wang & wang
Geoff Wild
Honored Contributor

Re: help on access hpux CIFS server from windows server

What are you running on your Windows servers?

Domains?

ADS?

If ADS, see my thread here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

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.
eric roseme
Respected Contributor

Re: help on access hpux CIFS server from windows server

use "security = user". The combo of "security = share" and "encrypt passwords = yes" is bad. Use "smbpasswd -a" and add the username/pass of the Windows client that you are logging in from - I doubt that is sbadmin. Delete "force user" and "force group". If you still have problems, then try \\ip_address\export and see what happens. This will set you up with a standalone server - very simple.