You are not logged in.

#1 2007-07-14 19:49:44

n8schicht
Member
From: Südbaden
Registered: 2006-12-27
Posts: 138
Website

Strange Samba error

I can't remeber that there was a recent update for samba or smbclient, was there? I like to use the winpopup-function in Kopete, but since today it always asks me if the samba-server is active.
I then had a look in /var/log/samba at the latest files, and since yesterday I get strange messages there:

[2007/07/13 18:25:51, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
[2007/07/13 18:26:17, 0] smbd/server.c:main(944)
  smbd version 3.0.25b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/07/13 18:26:23, 0] smbd/server.c:main(944)
  smbd version 3.0.25b started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/07/14 13:54:38, 0] lib/interface.c:load_interfaces(229)
  WARNING: no network interfaces found
[2007/07/14 13:54:39, 0] /home/eric/arch/build/daemons/samba/src/samba-3.0.25b/source/lib/pidfile.c:pidfile_create(118)
  ERROR: can't open /usr/var/run/smbd.pid: Error was No such file or directory

Nothing has changed in my machine, interfaces are up und running. The last error confuses me the most, though: there is no /home/eric/... directory, this is not my username! And it only seems to show up since yesterday, the other logs don't have any error messages in them.

All other samba-functions seem to work, my shared folders are accessible in the network.

What can be wrong here?

Offline

#2 2007-07-14 20:41:54

n8schicht
Member
From: Südbaden
Registered: 2006-12-27
Posts: 138
Website

Re: Strange Samba error

I saw that there was no directory /usr/var/run so I just created it. Now winpopup in kopete is working again. smile
But I still get the account_policy_get-errors.

[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
[2007/07/14 22:35:27, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0

This is strange. Hm, never mind...

Offline

#3 2007-07-15 00:01:11

pkmorrison
Member
Registered: 2005-02-23
Posts: 15

Re: Strange Samba error

me too - saw that samba was recently updated. after reboot today, have the same problem.
also created /usr/var/run/samba as a work around

Offline

#4 2007-07-15 00:40:21

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Strange Samba error

Please report it as a bug, it is supposed to be /var/run, not /usr/var/run.

Offline

Board footer

Powered by FluxBB