Operating System - HP-UX
1838653 Members
3632 Online
110128 Solutions
New Discussion

Re: smbd messages in syslog.log

 
SOLVED
Go to solution
Simone Benzi_1
Frequent Advisor

smbd messages in syslog.log

Hello!
I'm asking for help again on a problem with CIFS (release A.01.09.05).

Often syslog.log of my cifs server (HP-UX 11i on an rp7410) shows:

smbd[11886]: [2003/07/16 11:05:27, 0] smbd/password.c:(1054)
smbd[11886]: password server not available

Is there any configuration issue?
Consider that users (apparently) can mount the unix fs shared with cifs without any problem.
If there's no problem related to such messages how can I eliminate them?
All replies to my last messages about this issue suggested the CIFS upgrade, but it did not resolve!

Thanks a lot for your help,

Simone
6 REPLIES 6
Darren Prior
Honored Contributor
Solution

Re: smbd messages in syslog.log

Hi Simone,

I couldn't find your previous CIFS message, perhaps it was posted under a different profile name? - it might be useful if you post the link to it.

There could be a number of reasons why you are seeing this error message:

1) You may have multiple password servers listed and the first one is not responding, but the next one is - hence the user gets logged in.

2) You may have "map to guest" set so that users are mapped to the guest user if their password cannot be checked - ie the password server is not available.

Can you post your smb.conf to help me see your configuration, so that a more accurate answer can be given.

By the way, if you don't want CIFS logging to go into the syslog then edit the smb.conf so that syslog=0. This means that CIFS will only log to it's own files rather than the syslog.

regards,

Darren
Calm down. It's only ones and zeros...
Simone Benzi_1
Frequent Advisor

Re: smbd messages in syslog.log

Hi,

Attached you can have a look to my smb.conf file. I can not find my previous message, sorry, anyway everybody suggested to upgrade CIFS...

Cheers,

Simone
Darren Prior
Honored Contributor

Re: smbd messages in syslog.log

Hi Simone,

I found your previous thread - it's here: http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb67b3f9a15add711abdc0090277a778c,00.html

The problem is your smb.conf file. There are duplicate lines, sections in the wrong place and missing lines. For server level security you need to define a password server to use - which you haven't.

It's likely that the only people connecting to your CIFS server are connecting to the [bpci] share - and then it's only because they are failing authentication and becoming guest users.

Please run testparm on your smb.conf - when I ran it, it gave more errors than I've ever seen before!! Having the [bpci] share at the top means that everything lower down the file is no longer part of the [global] section so that needs fixing immediately. Check and remove duplicated lines too.

regards,

Darren
Calm down. It's only ones and zeros...
Simone Benzi_1
Frequent Advisor

Re: smbd messages in syslog.log

Hello,

I will check the configuration with the guy that create shares. Anyway I already moved [bpci] section at the bottom of the file and I stop/start samba again.

Let me see if messages still appear...

Thanks a lot!!!

Simone
Steven E. Protter
Exalted Contributor

Re: smbd messages in syslog.log

In your conf file

WORKGROUP is blank.

To know what server to authenticate passwords on Samba probably needs to know what workgroup its a part of.

I think your CIFS release is up to date enough. I'm on the previous revision and yoru prior thread is what caused me to back off on an upgrade.

This could be a bug.

More likely a configuration problem.

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
Steven E. Protter
Exalted Contributor

Re: smbd messages in syslog.log

Here is a working smb.conf file to use as a templete.

Attached.

Good Luck.

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