Operating System - HP-UX
1826507 Members
3044 Online
109694 Solutions
New Discussion

access problem with samba(CIFS server) share on hpux

 
Jeong-Hwan Kim_1
Occasional Advisor

access problem with samba(CIFS server) share on hpux

hi there~
My windows(XP SP2) can't find a samba share on hpux(11.23)
Here is very simple smb.conf & network environment.
--------------------------------------------
<<>>
[global]
encrypt passwords = no
netbios name = primesmb
workgroup = PSAC
security = share

[Data]
path = /samba
read only = yes
guest ok = yes

<<>>
hpux: 192.168.10.62 / netmask: 255.255.0.0
windows: 192.168.91.83 / netmask: 255.255.0.0
--------------------------------------------

I executed 'startsmb' and it looked like very ok. I could see the followings as the result of 'smbclient'
-------------------------------------------
Domain=[PSAC] OS=[Unix] Server=[Samba 2.2.5]

Sharename Type Comment
--------- ---- -------
Data Disk
IPC$ IPC IPC Service (Samba 2.2.5)
ADMIN$ Disk IPC Service (Samba 2.2.5)

Server Comment
--------- -------
PRIMESMB Samba 2.2.5

Workgroup Master
--------- -------
PSAC PRIMESMB
------------------------------------------


I don't know what to do with this problem.
I just want to access samba shares on hpux from my pc windows.

Please help me to figure it out.
Thanks in advance.
4 REPLIES 4
Wouter Jagers
Honored Contributor

Re: access problem with samba(CIFS server) share on hpux

I think you should set "encrypt passwords" to yes for XP. Could you give that a try ?

Cheers
an engineer's aim in a discussion is not to persuade, but to clarify.
Jeong-Hwan Kim_1
Occasional Advisor

Re: access problem with samba(CIFS server) share on hpux

Hi Wouter Jagers,

I tried what you suggested though, couldn't get out of the pitfall. --;;
Wouter Jagers
Honored Contributor

Re: access problem with samba(CIFS server) share on hpux

Are you getting any error(s) ? Check for them in your samba log & on the event viewer of your windows machine.

Also, make sure the user you're authenticating as exists in the passwd file.

How are you tring to connect to the share ? (net use command or another way ?)

an engineer's aim in a discussion is not to persuade, but to clarify.
Jeong-Hwan Kim_1
Occasional Advisor

Re: access problem with samba(CIFS server) share on hpux

Here is my samba logs from it's startup.

[2007/02/03 11:59:54, 0] smbd/server.c:main(709)
smbd version 2.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002


[2007/02/03 11:59:54, 0] nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2007/02/03 11:59:58, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 1596 received with no matching record.
[2007/02/03 11:59:58, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 1597 received with no matching record.
[2007/02/03 12:05:39, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****

Samba name server PRIMESMB is now a local master browser for workgroup PSAC on subnet 172.21.90.48

*****
--------------------------------------------
I found one error message, 'find_response_record: response packet id 1597 received with no matching record'. what does it mean?

I tried to see the share through 'my network places' on my windows explorer's left panel and also executed '\\primesmb\Data' on 'start -> run'.
This time, I tried 'net use' command,
c:\..> net use \\172.21.90.48 which retured 'System Error 53 (network path was not found..)'

Lastly, I just want to access to the share by using guest, i mean 'nobody'. In that case, do I need to add my account to /etc/passwd file? even though the security mode is 'share'.