Operating System - HP-UX
1751883 Members
5613 Online
108783 Solutions
New Discussion юеВ

Re: HP-UX and Samba install issue

 
SOLVED
Go to solution
Sridhar C
Occasional Visitor

HP-UX and Samba install issue

Hello all,
We are trying to get CIFS working on HP-UX so developers can start using Eclipse IDE (on WinXP laptops) to connect to the Unix box.

We have installed CIFS server, details are as follows
HP-UX B.11.31 U ia64
CIFS-CLIENT A.02.02.02 HP CIFS Client
CIFS-SERVER A.02.04 HP CIFS Server

When trying to map a drive to the UNIX box from Windows Explorer, we are getting a authentication box but neither the LAN or UNIX userid/password are getting past the authentication box.

I tried mapping \\unixhostname\userid , \\unixhostname\tmpsort , \\unixhostname\homes but can't get past the authentication box.

smbd is running on the UNIX box under root
ps -aef|grep smbd
/opt/samba/bin/smbd -D -s /etc/opt/samba/smb.conf

Attached is the SAMBA config file (after removing the comments).

The following command gives this error
smbclient ├в L hostname123
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

The logfile posts the following errors
read_data: read failure for 4 bytes to client xxx.xxx.xxx.xxx. Error = Connection reset by peer

The nmbd logfile shows the following
[2011/01/03 16:45:29, 0] nmbd/nmbd_namequery.c:query_name_response(109)
query_name_response: Multiple (2) responses received for a query on subnet xxx.xxx.xxx.xxx for name someworkgroup<1d>.
This response was from IP xxx.xxx.xxx.xxx, reporting an IP address of xxx.xxx.xxx.xxx.

winbindd is not running on the UNIX box.

Ideally, we would want the users to be authenticated using the unix id/password while establishing the connection to the UNIX shares.

IPs and domain names have been scrubbed above.

Please advise...

Thanks
Sridhar


5 REPLIES 5
Shibin_2
Honored Contributor
Solution

Re: HP-UX and Samba install issue

Have you joined this to Windows Domain ?
Regards
Shibin
Shibin_2
Honored Contributor

Re: HP-UX and Samba install issue

You configuration is incorrect.

There are no details such as netbios name, security, password server etc defined.

Also, please enable the section

username map = /etc/opt/samba/smbusers.map

if you want to map windows user to UNIX.
Regards
Shibin
mrmo07
Regular Advisor

Re: HP-UX and Samba install issue

Hi,

plz find the attached configuration file.
hope it will help u.

Regards/Morshed.
Sridhar C
Occasional Visitor

Re: HP-UX and Samba install issue

Thanks for the quick responses.

The following changes have been made but still not able to connect from windows explorer

netbios name = unixboxname
password server = *
username map = /etc/opt/samba/smbusers.map

Created smbusers.map file with the following info, added both the lines as wasn't sure if it'll use LAN_ID or WIN_MACHINE_NAME.

unixname = LAN_ID
unixname = win_machine_name

With respect to security parameter, this is a stand alone UNIX box with WinXP users connecting. So, should I be using security=user ?

Thank You
Sridhar
Sridhar C
Occasional Visitor

Re: HP-UX and Samba install issue

Please advise...