[Samba] Cannot create builtin/administrator group and getpeername failed

Poil poil at own-you.com
Tue Aug 22 18:15:15 GMT 2006


Here are some debug info I miss :
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2006/08/22 19:52:53, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-2-65534]
[2006/08/22 19:52:53, 3] passdb/lookup_sid.c:fetch_gid_from_cache(999)
  fetch gid from cache 65533 -> S-1-22-2-65533
[2006/08/22 19:52:53, 5] lib/smbldap.c:smbldap_search_ext(1179)
  smbldap_search_ext: base => [ou=Groups,dc=arzur,dc=local], filter => 
[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-1-0))], scope => [2]
[2006/08/22 19:52:53, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2213)
  ldapsam_getgroup: Did not find group
[2006/08/22 19:52:53, 10] auth/auth_util.c:create_local_token(997)
  Could not convert SID S-1-1-0 to gid, ignoring it
[2006/08/22 19:52:53, 5] lib/smbldap.c:smbldap_search_ext(1179)
  smbldap_search_ext: base => [ou=Groups,dc=arzur,dc=local], filter => 
[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-2))], scope => [2]
[2006/08/22 19:52:53, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2213)
  ldapsam_getgroup: Did not find group
[2006/08/22 19:52:53, 10] auth/auth_util.c:create_local_token(997)
  Could not convert SID S-1-5-2 to gid, ignoring it
[2006/08/22 19:52:53, 5] lib/smbldap.c:smbldap_search_ext(1179)
  smbldap_search_ext: base => [ou=Groups,dc=arzur,dc=local], filter => 
[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-32-546))], scope => [2
]
[2006/08/22 19:52:53, 4] passdb/pdb_ldap.c:ldapsam_getgroup(2213)
  ldapsam_getgroup: Did not find group
[2006/08/22 19:52:53, 10] auth/auth_util.c:create_local_token(997)
                                                                                                                             
279,1         55%
[2006/08/22 19:52:53, 3] smbd/uid.c:push_conn_ctx(345)
[2006/08/22 19:52:53, 5] auth/auth_util.c:debug_nt_user_token(449)
  Primary group is 0 and contains 0 supplementary groups[2006/08/22 
19:52:53, 10] groupdb/mapping.c:pdb_create_builtin_alias(1328)
  Trying to create builtin alias 545
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/08/22 19:52:53, 3] smbd/uid.c:push_conn_ctx(345)
[2006/08/22 19:52:53, 5] auth/auth_util.c:debug_nt_user_token(449)
  NT user token: (NULL)
[2006/08/22 19:52:53, 5] auth/auth_util.c:debug_unix_user_token(475)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups[2006/08/22 
19:52:53, 10] groupdb/mapping.c:pdb_create_builtin_alias(1328)
  Trying to create builtin alias 545
[2006/08/22 19:52:53, 10] passdb/lookup_sid.c:check_dom_sid_to_level(602)
  Accepting SID S-1-5-32 in level 1
[2006/08/22 19:52:53, 10] passdb/lookup_sid.c:lookup_sid(856)
  Sid S-1-5-32-545 -> BUILTIN\Users(4)
[2006/08/22 19:52:53, 3] groupdb/mapping.c:pdb_create_builtin_alias(1349)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2006/08/22 19:52:53, 0] auth/auth_util.c:create_builtin_users(729)
  create_builtin_users: Failed to create Users
[2006/08/22 19:52:53, 0] auth/auth_util.c:create_local_nt_token(899)
  create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2006/08/22 19:52:53, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/22 19:52:53, 5] lib/smbldap.c:smbldap_search_ext(1179)
  smbldap_search_ext: base => [ou=Groups,dc=arzur,dc=local], filter => 
[(&(|(objectclass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=S-1-5-21-48441270-57029814-2507678693-501)(sambaSIDList=S-1-22-2-65533)(sambaSIDList=S-1-1-0)(sambaSIDList=S-1-5-2)(sambaSIDList=S-1-5-32-546)(sambaSIDList=S-1-22-2-65534)))], 
scope => [2]
[2006/08/22 19:52:53, 5] lib/smbldap.c:smbldap_search_ext(1179)
  smbldap_search_ext: base => [ou=Groups,dc=arzur,dc=local], filter => 
[(&(|(objectclass=sambaGroupMapping)(sambaGroupType=4))(|(sambaSIDList=S-1-5-21-48441270-57029814-2507678693-501)(sambaSIDList=S-1-22-2-65533)(sambaSIDList=S-1-1-0)(sambaSIDList=S-1-5-2)(sambaSIDList=S-1-5-32-546)(sambaSIDList=S-1-22-2-65534)))], 
scope => [2]
[2006/08/22 19:52:53, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-48441270-57029814-2507678693-501]
[2006/08/22 19:52:53, 3] lib/privileges.c:get_privileges(261)



Poil a écrit :
> Hello,
> My PDC is working but I have some errors on my log, I'm searching 
> since some days but I cannot find why.
>
> In log.smbd I have
> [2006/08/22 16:30:22, 0] lib/util_sock.c:get_peer_addr(1229)
>  getpeername failed. Error was Noeud final de transport n'est pas 
> connecté
>
> And In log.MachineName I have
> [2006/08/22 19:17:33, 0] auth/auth_util.c:create_local_nt_token(899)
>  create_local_nt_token: Failed to create BUILTIN\Administrators group!
> [2006/08/22 19:18:13, 0] auth/auth_util.c:create_builtin_users(729)
>  create_builtin_users: Failed to create Users
> [2006/08/22 19:18:13, 0] auth/auth_util.c:create_local_nt_token(899)
>  create_local_nt_token: Failed to create BUILTIN\Administrators group!
>
> If you have an idea,
>
> Thanks



More information about the samba mailing list