Poil
2006-Aug-22 17:51 UTC
[Samba] Cannot create builtin/administrator group and getpeername failed
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
Poil
2006-Aug-22 18:18 UTC
[Samba] Cannot create builtin/administrator group and getpeername failed
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
Gerald (Jerry) Carter
2006-Aug-22 20:35 UTC
[Samba] Cannot create builtin/administrator group and getpeername failed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Poil wrote:> 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 are using idmap_rid or idmap_ad, this is normal. I've bumped the debug level for the upcoming 3.0.23c. cheers, jerry ====================================================================Samba ------- samba.org Centeris ----------- centeris.com "What man is a man who does not make the world better?" --Balian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - enigmail.mozdev.org iD8DBQFE62n2IR7qMdg1EfYRAuJMAJ0fj/o/0alYDWRIngxYpLrojkX32wCfQ1fO k+EyElhWDk+BxAudsleEqQ8=hUib -----END PGP SIGNATURE-----