1826225 Members
4833 Online
109692 Solutions
New Discussion

Re: SMB on HP_UX 11.11

 
Etienne Holm
Frequent Advisor

SMB on HP_UX 11.11

I have a system running samba and i get the following errors in my syslog

Sep 29 12:35:21 pagoda02 smbd[174]: [2003/09/29 12:35:21, 0] smbd/service.c:(248)
Sep 29 12:35:21 pagoda02 smbd[174]: bbcns2002 (10.176.8.216) couldn't find service c$
Sep 29 12:40:55 pagoda02 smbd[155]: [2003/09/29 12:40:55, 0] lib/util_sock.c:(500)
Sep 29 12:40:55 pagoda02 smbd[155]: write_socket_data: write failure. Error = Broken pipe
Sep 29 12:53:44 pagoda02 smbd[882]: [2003/09/29 12:53:44, 0] lib/util_sock.c:(500)
Sep 29 12:53:44 pagoda02 smbd[882]: write_socket_data: write failure. Error = Broken pipe
Sep 29 13:51:21 pagoda02 smbd[6162]: [2003/09/29 13:51:21, 0] lib/util_sock.c:(500)
Sep 29 13:51:21 pagoda02 smbd[6162]: write_socket_data: write failure. Error = Broken pipe
Sep 29 14:01:48 pagoda02 smbd[6907]: [2003/09/29 14:01:48, 0] lib/util_sock.c:(500)
Sep 29 14:01:48 pagoda02 smbd[6907]: write_socket_data: write failure. Error = Broken pipe
Sep 29 14:14:40 pagoda02 smbd[8334]: [2003/09/29 14:14:40, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:14:40 pagoda02 smbd[8334]: unable to open passdb database.
Sep 29 14:14:52 pagoda02 smbd[8338]: [2003/09/29 14:14:52, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:14:52 pagoda02 smbd[8338]: unable to open passdb database.
Sep 29 14:14:40 pagoda02 smbd[8334]: [2003/09/29 14:14:40, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:15:35 pagoda02 smbd[8350]: [2003/09/29 14:15:35, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:14:40 pagoda02 smbd[8334]: unable to open passdb database.
Sep 29 14:15:35 pagoda02 smbd[8350]: unable to open passdb database.
Sep 29 14:14:52 pagoda02 smbd[8338]: [2003/09/29 14:14:52, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:15:45 pagoda02 smbd[8351]: [2003/09/29 14:15:45, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:14:52 pagoda02 smbd[8338]: unable to open passdb database.
Sep 29 14:15:45 pagoda02 smbd[8351]: unable to open passdb database.
Sep 29 14:15:35 pagoda02 smbd[8350]: [2003/09/29 14:15:35, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:15:35 pagoda02 smbd[8350]: unable to open passdb database.
Sep 29 14:15:45 pagoda02 smbd[8351]: [2003/09/29 14:15:45, 0] passdb/pdb_smbpasswd.c:(1367)
Sep 29 14:15:45 pagoda02 smbd[8351]: unable to open passdb database.
Sep 29 14:20:23 pagoda02 smbd[8016]: [2003/09/29 14:20:23, 0] lib/util_sock.c:(500)
Sep 29 14:20:23 pagoda02 smbd[8016]: write_socket_data: write failure. Error = Broken pipe


Can someone give an hint on what is wrong
9 REPLIES 9
RolandH
Honored Contributor

Re: SMB on HP_UX 11.11

Perhaps your secrets.tdb file in the private folder is corrupt or gone. Check this.
Have you restarted samba?


Roland
Sometimes you lose and sometimes the others win
Darren Prior
Honored Contributor

Re: SMB on HP_UX 11.11

Hi Etienne,

The "unable to open passdb database" suggests that you haven't created the smbpassword file. Is this a old installation that has stopped working, or one that has only just been set up and never worked previously?

It would also be useful to see the smb.conf and the version of Samba you are running.

regards,

Darren.
Calm down. It's only ones and zeros...
Steven E. Protter
Exalted Contributor

Re: SMB on HP_UX 11.11

Seems like you may need to run smbpasswd for your users.

smbpasswd -a

This would not apply if smb.conf is set up to let some other server authenticate users.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Etienne Holm
Frequent Advisor

Re: SMB on HP_UX 11.11

samba is set-up to use another server to authenicate the logins (logins are not controlled via this server)
Etienne Holm
Frequent Advisor

Re: SMB on HP_UX 11.11

My version of samba is 2.2.3a
RolandH
Honored Contributor

Re: SMB on HP_UX 11.11

Hi Etienne,

can you give us the [GLOBAL] section configuration from your samba server.

Was it running before or is it a new config.

HTH
Roland
Sometimes you lose and sometimes the others win
Etienne Holm
Frequent Advisor

Re: SMB on HP_UX 11.11

Hi
here is the Global section (I have changed names and IP addresses for security reasons)

[global]
workgroup = NATIONAL2
netbios name = PANDA02
server string = PANDA02
security = SERVER
encrypt passwords = Yes
password server = DDCDC1017
lm announce = False
local master = No
wins server = 134.182.17.21

That is it
RolandH
Honored Contributor

Re: SMB on HP_UX 11.11

Hi Etienne,

as I can see at your Global File you use the server security.

The Name you use in the parameter "password server" must be the netbios name of your PDC or BDC and the name must be resolveable by IP Address. Try a nslookup at the name DDCDC1017. Do you get a IP Address? If no add this entry to the /etc/hosts file.

See also this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=224068

Specially my explanation to the "password level" and "password level"

HTH
Roland

Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: SMB on HP_UX 11.11

Small correction:

"password level" & "username level"

Do not assign points to that

Roland
Sometimes you lose and sometimes the others win