[KLUG Members] samba malfunctions

Peter Buxton members@kalamazoolinux.org
Mon, 17 Mar 2003 22:45:30 -0500


> [2003/03/17 20:43:08, 1] smbd/service.c:make_connection_snum(681)
>   192.168.1.48 (192.168.1.48) connect to service support initially as user test
>  (uid=1010, gid=104) (pid 15606)
> [2003/03/17 20:43:26, 0] smbd/connection.c:register_message_flags(212)
>   register_message_flags: tdb_fetch failed
> [2003/03/17 20:43:46, 0] smbd/connection.c:register_message_flags(212)
>   register_message_flags: tdb_fetch failed
 
Okay, this has something to do with the files in /var/lib/samba, but I
don't know what. How do I check and possibly regenerate those files:

account_policy.tdb   ntdrivers.tdb   registry.tdb    wins.tdb
group_mapping.tdb    ntforms.tdb     secrets.tdb
netlogon_unigrp.tdb  ntprinters.tdb  share_info.tdb

I think this is the source of my problems:

> [2003/03/17 20:43:46, 0] rpc_server/srv_util.c:get_domain_user_groups(342)
>   get_domain_user_groups: primary gid of user [pete] is not a Domain group !
>   get_domain_user_groups: You should fix it, NT doesn't like that

Okay, it was complaining about this when it still worked.

> [2003/03/17 20:35:12, 1] rpc_server/srv_netlog_nt.c:_net_sam_logon(687)
>   _net_sam_logon: user FIRST\pete has user sid S-1-5-21-2506568838-2457616256-2741851390-3000
>    but group sid S-1-5-32-547.
>   The conflicting domain portions are not supported for NETLOGON calls

Here I tried to use smbgroupedit again, trying to get my GID to be an NT
domain group.

Now, that was interesting. Does my workgroup/domain, FIRST, have a SID?
And how do I check it?

-- 
-186
AIX is Unix from the universe where Spock has a beard.