Bug#389494: [Pkg-samba-maint] Bug#389494: Still problems

Tommi Vainikainen thv at iki.fi
Wed Feb 28 09:38:37 CET 2007


On 2007-02-14T21:24:08+0200, bubulle at debian.org wrote:
> Quoting Tommi Vainikainen (thv at iki.fi):
>> Found: 3.0.24-2
>> thanks
>>
>> Just to make sure nobody forgets this bug, I can still reproduce this
>> same bug. (Stack trace has those
>> create_token_from_username/add_sid_to_array.)
>>
>> Here is full system information.
>
> The bug log here is pretty confusing. Do you have a very small
> smb.conf that will show the problem in all cases?

The smb.conf is quite similar to sent here earlier by others, there is
nothing special in that, I think.

However I got a workaround: (I didn't change anything in smb.conf)
I stopped Samba
Then I moved all files in /var/log/samba to backup dir, except
passwd.tdb which I kept.
Then I started Samba and segfault/stack trace is gone, and it works
with 3.0.24-2.


Here is a situation (/var/log/samba) before

-rw------- 1 root root  8192 Sep  5  2005 account_policy.tdb
-rw------- 1 root root  8192 Sep  5  2005 group_mapping.tdb
drwxr-xr-x 3 root root  4096 Sep  5  2005 netlogon
-rw------- 1 root root  8192 Sep  5  2005 ntdrivers.tdb
-rw------- 1 root root   696 Sep  5  2005 ntforms.tdb
-rw------- 1 root root  8192 Sep  5  2005 ntprinters.tdb
drwxr-xr-x 2 root root  4096 Feb  6  2006 perfmon
drwxr-xr-x 4 root root  4096 Sep  5  2005 printers
drwxr-xr-x 3 root root  4096 Sep  5  2005 profiles
-rw------- 1 root root 16384 Jan 11  2006 registry.tdb
-rw------- 1 root root  8192 Sep  5  2005 secrets.tdb
-rw------- 1 root root  8192 Sep  5  2005 share_info.tdb
-rw-r--r-- 1 root root  8192 Sep  5  2005 winbindd_idmap.tdb
-rw-r--r-- 1 root root   260 Feb 14 10:59 wins.dat

And here is relevant(?) ls -alR for subdirs in the backup copy:

./netlogon/scripts:
total 8
drwxr-xr-x 2 root root 4096 Sep  5  2005 .
drwxr-xr-x 3 root root 4096 Sep  5  2005 ..

./perfmon:
total 8
drwxr-xr-x 2 root root 4096 Feb  6  2006 .
drwxr-xr-x 6 root root 4096 Feb 28 10:29 ..

./printers:
total 16
drwxr-xr-x 4 root root 4096 Sep  5  2005 .
drwxr-xr-x 6 root root 4096 Feb 28 10:29 ..
drwxr-xr-x 2 root root 4096 May 27  2005 W32X86
drwxr-xr-x 2 root root 4096 May 27  2005 WIN40

./printers/W32X86:
total 8
drwxr-xr-x 2 root root 4096 May 27  2005 .
drwxr-xr-x 4 root root 4096 Sep  5  2005 ..

./printers/WIN40:
total 8
drwxr-xr-x 2 root root 4096 May 27  2005 .
drwxr-xr-x 4 root root 4096 Sep  5  2005 ..

./profiles:
total 12
drwxr-xr-x 3 root root 4096 Sep  5  2005 .
drwxr-xr-x 6 root root 4096 Feb 28 10:29 ..
drwxr-xr-x 2 root root 4096 Sep  5  2005 tvainika

./profiles/tvainika:
total 8
drwxr-xr-x 2 root root 4096 Sep  5  2005 .
drwxr-xr-x 3 root root 4096 Sep  5  2005 ..



And here it is after startings Samba (Samba created these files).

-rw-------  1 root root  8192 Feb 28 10:29 account_policy.tdb
-rw-------  1 root root  8192 Feb 28 10:29 group_mapping.tdb
-rw-------  1 root root  8192 Feb 28 10:29 ntdrivers.tdb
-rw-------  1 root root   696 Feb 28 10:29 ntforms.tdb
-rw-------  1 root root  8192 Feb 28 10:29 ntprinters.tdb
-rw-------  1 root root  8192 Feb 28 10:31 passdb.tdb
-rw-------  1 root root  8192 Feb  5 11:54 passdb.tdb_bak
drwxr-xr-x  2 root root  4096 Feb 28 10:29 perfmon
-rw-------  1 root root 16384 Feb 28 10:29 registry.tdb
-rw-------  1 root root  8192 Feb 28 10:29 secrets.tdb

(perfmon is empty directory).

-- 
Tommi Vainikainen




More information about the Pkg-samba-maint mailing list