[Samba] is this bug or what - samba 3.0.2 - workaround

boka boka at sto-procent.art.pl
Sat Feb 14 22:50:05 GMT 2004


Hi !

I made some workaround to this problem. I have moved all databases from 
/var/lib/samba to /var/lib/samba_lock folder, add:

lock directory = /var/lib/samba_lock

to smb.conf and it is working now - i can log into domain, i can browse 
machine list etc. but in logs i have many errors like that:

lut 14 23:46:31 codo smbd[13803]: [2004/02/14 23:46:31, 0, pid=13803, 
effective(1002, 221), real(1002, 0)] 
groupdb/mapping.c:get_group_from_gid(655)
lut 14 23:46:31 codo smbd[13803]:   failed to initialize group 
mappingget_alias_user_groups: gid of user boka doesn't exist. Check your 
/etc/passwd and /etc/group files

Perms in /var/lib/samba_lock are:

[root at codo samba_lock]# ls -l
razem 248
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 account_policy.tdb
-rwxr-xr-x    1 root     root          696 lut 14 23:20 brlock.tdb
-rw-r--r--    1 root     root         3490 lut 14 23:53 browse.dat
-rwxr-xr-x    1 root     root        24576 lut 14 23:38 connections.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 gencache.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:34 group_mapping.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:21 locking.tdb
-rwxr-xr-x    1 root     root          696 lut 14 23:20 messages.tdb
-rwxr-xr-x    1 root     root        60794 lut 14 23:10 namelist.debug
-rwxr-xr-x    1 root     root         8192 lut 14 23:10 
netsamlogon_cache.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 ntdrivers.tdb
-rwxr-xr-x    1 root     root          696 lut 14 23:20 ntforms.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 ntprinters.tdb
drwxr-xr-x    2 root     root         4096 lut 14 23:10 printing
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 registry.tdb
-rwxr-xr-x    1 root     root        24576 lut 14 23:30 sessionid.tdb
-rwxr-xr-x    1 root     root         8192 lut 14 23:20 share_info.tdb
-rwxr-xr-x    1 root     root            0 lut 14 23:10 sync.4466
-rwxr-xr-x    1 root     root        16384 lut 14 23:20 unexpected.tdb
-rw-r--r--    1 root     root        26672 lut 14 23:54 wins.dat

greetz
boka


More information about the samba mailing list