[Samba] Samba 4 RPC hangs after a while

Holger Martiker holger at martiker.de
Mon Jan 13 02:23:04 MST 2014


Here is the debug Log from Samba 4 when I request userinfo of user 300000 or (it seems to be) any other use who is member of the Administrator Group:

" ldb: ldb_trace_next_request: (acl)->search" is the last line where Samba hangs...

Received winbind TCP packet of length 2096 from unix:
Got winbind samba3 request 1
wbsrv_samba3_getpwnam called
wb_cmd_getpwnam_send called
wb_name2domain_send called
wb_sid2domain_send called
wb_sid2domain_send called
rpc request data:
[0000] 00 00 00 00 CF 04 89 4D   41 CB 4E 48 B9 F2 93 67   .......M A.NH...g
[0010] 48 61 15 19 01 00 00 00   01 00 00 00 20 00 20 00   Ha...... .... . .
[0020] 00 00 02 00 10 00 00 00   00 00 00 00 10 00 00 00   ........ ........
[0030] 46 00 57 00 4D 00 54 00   4C 00 5C 00 68 00 2E 00   F.W.M.T. L.\.h...
[0040] 6D 00 61 00 72 00 74 00   69 00 6B 00 65 00 72 00   m.a.r.t. i.k.e.r.
[0050] 00 00 00 00 00 00 00 00   01 00 00 00 00 00 00 00   ........ ........
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 0
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
     lsa_LookupNames: struct lsa_LookupNames
        in: struct lsa_LookupNames
            handle                   : *
                handle: struct policy_handle
                    handle_type              : 0x00000000 (0)
                    uuid                     : 4d8904cf-cb41-484e-b9f2-936748611519
            num_names                : 0x00000001 (1)
            names: ARRAY(1)
                names: struct lsa_String
                    length                   : 0x0020 (32)
                    size                     : 0x0020 (32)
                    string                   : *
                        string                   : 'FWMTL\h.martiker'
            sids                     : *
                sids: struct lsa_TransSidArray
                    count                    : 0x00000000 (0)
                    sids                     : NULL
            level                    : LSA_LOOKUP_NAMES_ALL (1)
            count                    : *
                count                    : 0x00000000 (0)
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: DC=fwmtl,DC=local
objectSid: S-1-5-21-3477057243-790338134-802528447



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: sub
 expr: (&(sAMAccountName=h.martiker)(objectSid=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local
objectSid: S-1-5-21-3477057243-790338134-802528447-1174
sAMAccountType: 805306368



ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/CN=Configuration,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=DomainDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=ForestDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local (&(sAMAccountName=h.martiker)(objectSid=*)) -> 1
     lsa_LookupNames: struct lsa_LookupNames
        out: struct lsa_LookupNames
            domains                  : *
                domains                  : *
                    domains: struct lsa_RefDomainList
                        count                    : 0x00000001 (1)
                        domains                  : *
                            domains: ARRAY(1)
                                domains: struct lsa_DomainInfo
                                    name: struct lsa_StringLarge
                                        length                   : 0x000a (10)
                                        size                     : 0x000c (12)
                                        string                   : *
                                            string                   : 'FWMTL'
                                    sid                      : *
                                        sid                      : S-1-5-21-3477057243-790338134-802528447
                        max_size                 : 0x00000020 (32)
            sids                     : *
                sids: struct lsa_TransSidArray
                    count                    : 0x00000001 (1)
                    sids                     : *
                        sids: ARRAY(1)
                            sids: struct lsa_TranslatedSid
                                sid_type                 : SID_NAME_USER (1)
                                rid                      : 0x00000496 (1174)
                                sid_index                : 0x00000000 (0)
            count                    : *
                count                    : 0x00000001 (1)
            result                   : NT_STATUS_OK
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 12
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
rpc reply data:
[0000] 04 00 02 00 01 00 00 00   08 00 02 00 20 00 00 00   ........ .... ...
[0010] 01 00 00 00 0A 00 0C 00   0C 00 02 00 10 00 02 00   ........ ........
[0020] 06 00 00 00 00 00 00 00   05 00 00 00 46 00 57 00   ........ ....F.W.
[0030] 4D 00 54 00 4C 00 00 00   04 00 00 00 01 04 00 00   M.T.L... ........
[0040] 00 00 00 05 15 00 00 00   DB AE 3F CF 56 9A 1B 2F   ........ ..?.V../
[0050] BF 9C D5 2F 01 00 00 00   14 00 02 00 01 00 00 00   .../.... ........
[0060] 01 00 00 00 96 04 00 00   00 00 00 00 01 00 00 00   ........ ........
[0070] 00 00 00 00                                       .... 
name2domain_recv_sid called
wb_sid2domain_send called
wb_sid2domain_send called
name2domain_recv_domain called
wb_name2domain_recv called
rpc request data:
[0000] 00 00 00 00 CF 04 89 4D   41 CB 4E 48 B9 F2 93 67   .......M A.NH...g
[0010] 48 61 15 19 01 00 00 00   01 00 00 00 14 00 14 00   Ha...... ........
[0020] 00 00 02 00 0A 00 00 00   00 00 00 00 0A 00 00 00   ........ ........
[0030] 68 00 2E 00 6D 00 61 00   72 00 74 00 69 00 6B 00   h...m.a. r.t.i.k.
[0040] 65 00 72 00 00 00 00 00   00 00 00 00 01 00 00 00   e.r..... ........
[0050] 00 00 00 00                                       .... 
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 12
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
     lsa_LookupNames: struct lsa_LookupNames
        in: struct lsa_LookupNames
            handle                   : *
                handle: struct policy_handle
                    handle_type              : 0x00000000 (0)
                    uuid                     : 4d8904cf-cb41-484e-b9f2-936748611519
            num_names                : 0x00000001 (1)
            names: ARRAY(1)
                names: struct lsa_String
                    length                   : 0x0014 (20)
                    size                     : 0x0014 (20)
                    string                   : *
                        string                   : 'h.martiker'
            sids                     : *
                sids: struct lsa_TransSidArray
                    count                    : 0x00000000 (0)
                    sids                     : NULL
            level                    : LSA_LOOKUP_NAMES_ALL (1)
            count                    : *
                count                    : 0x00000000 (0)
ldb: ldb_trace_request: SEARCH
 dn: CN=Builtin,DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=Builtin,DC=fwmtl,DC=local
objectSid: S-1-5-32



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: CN=Builtin,DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: CN=Builtin,DC=fwmtl,DC=local
 scope: sub
 expr: (&(sAMAccountName=h.martiker)(objectSid=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: CN=Builtin,DC=fwmtl,DC=local (&(sAMAccountName=h.martiker)(objectSid=*)) -> 0
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: DC=fwmtl,DC=local
objectSid: S-1-5-21-3477057243-790338134-802528447



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: sub
 expr: (&(sAMAccountName=h.martiker)(objectSid=*))
 attr: objectSid
 attr: sAMAccountType
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local
objectSid: S-1-5-21-3477057243-790338134-802528447-1174
sAMAccountType: 805306368



ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/CN=Configuration,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=DomainDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=ForestDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local (&(sAMAccountName=h.martiker)(objectSid=*)) -> 1
     lsa_LookupNames: struct lsa_LookupNames
        out: struct lsa_LookupNames
            domains                  : *
                domains                  : *
                    domains: struct lsa_RefDomainList
                        count                    : 0x00000001 (1)
                        domains                  : *
                            domains: ARRAY(1)
                                domains: struct lsa_DomainInfo
                                    name: struct lsa_StringLarge
                                        length                   : 0x000a (10)
                                        size                     : 0x000c (12)
                                        string                   : *
                                            string                   : 'FWMTL'
                                    sid                      : *
                                        sid                      : S-1-5-21-3477057243-790338134-802528447
                        max_size                 : 0x00000020 (32)
            sids                     : *
                sids: struct lsa_TransSidArray
                    count                    : 0x00000001 (1)
                    sids                     : *
                        sids: ARRAY(1)
                            sids: struct lsa_TranslatedSid
                                sid_type                 : SID_NAME_USER (1)
                                rid                      : 0x00000496 (1174)
                                sid_index                : 0x00000000 (0)
            count                    : *
                count                    : 0x00000001 (1)
            result                   : NT_STATUS_OK
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 12
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
rpc reply data:
[0000] 04 00 02 00 01 00 00 00   08 00 02 00 20 00 00 00   ........ .... ...
[0010] 01 00 00 00 0A 00 0C 00   0C 00 02 00 10 00 02 00   ........ ........
[0020] 06 00 00 00 00 00 00 00   05 00 00 00 46 00 57 00   ........ ....F.W.
[0030] 4D 00 54 00 4C 00 00 00   04 00 00 00 01 04 00 00   M.T.L... ........
[0040] 00 00 00 05 15 00 00 00   DB AE 3F CF 56 9A 1B 2F   ........ ..?.V../
[0050] BF 9C D5 2F 01 00 00 00   14 00 02 00 01 00 00 00   .../.... ........
[0060] 01 00 00 00 96 04 00 00   00 00 00 00 01 00 00 00   ........ ........
[0070] 00 00 00 00                                       .... 
rpc request data:
[0000] 01 00 00 00 D2 EE 76 4E   E5 FF DD 49 AD F7 E6 7F   ......vN ...I....
[0010] 0D C7 38 FF 00 00 00 02   96 04 00 00              ..8..... ....
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 4
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
     samr_OpenUser: struct samr_OpenUser
        in: struct samr_OpenUser
            domain_handle            : *
                domain_handle: struct policy_handle
                    handle_type              : 0x00000001 (1)
                    uuid                     : 4e76eed2-ffe5-49dd-adf7-e67f0dc738ff
            access_mask              : 0x02000000 (33554432)
                   0: SAMR_USER_ACCESS_GET_NAME_ETC
                   0: SAMR_USER_ACCESS_GET_LOCALE
                   0: SAMR_USER_ACCESS_SET_LOC_COM
                   0: SAMR_USER_ACCESS_GET_LOGONINFO
                   0: SAMR_USER_ACCESS_GET_ATTRIBUTES
                   0: SAMR_USER_ACCESS_SET_ATTRIBUTES
                   0: SAMR_USER_ACCESS_CHANGE_PASSWORD
                   0: SAMR_USER_ACCESS_SET_PASSWORD
                   0: SAMR_USER_ACCESS_GET_GROUPS
                   0: SAMR_USER_ACCESS_GET_GROUP_MEMBERSHIP
                   0: SAMR_USER_ACCESS_CHANGE_GROUP_MEMBERSHIP
            rid                      : 0x00000496 (1174)
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: sub
 expr: (&(objectSid=\01\05\00\00\00\00\00\05\15\00\00\00\DB\AE?\CFV\9A\1B/\BF\9C\D5/\96\04\00\00)(objectclass=user))
 attr: sAMAccountName
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local
sAMAccountName: h.martiker



ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/CN=Configuration,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=DomainDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: REFERRAL
ref: ldap://fwmtl.local/DC=ForestDnsZones,DC=fwmtl,DC=local

ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local (&(objectSid=\01\05\00\00\00\00\00\05\15\00\00\00\DB\AE?\CFV\9A\1B/\BF\9C\D5/\96\04\00\00)(objectclass=user)) -> 1
     samr_OpenUser: struct samr_OpenUser
        out: struct samr_OpenUser
            user_handle              : *
                user_handle: struct policy_handle
                    handle_type              : 0x00000002 (2)
                    uuid                     : 3d0d0c1d-0975-483e-9aeb-94eb4f54704d
            result                   : NT_STATUS_OK
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 8
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
rpc reply data:
[0000] 02 00 00 00 1D 0C 0D 3D   75 09 3E 48 9A EB 94 EB   .......= u.>H....
[0010] 4F 54 70 4D 00 00 00 00                            OTpM.... 
rpc request data:
[0000] 02 00 00 00 1D 0C 0D 3D   75 09 3E 48 9A EB 94 EB   .......= u.>H....
[0010] 4F 54 70 4D 15 00                                 OTpM.. 
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 10
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
     samr_QueryUserInfo: struct samr_QueryUserInfo
        in: struct samr_QueryUserInfo
            user_handle              : *
                user_handle: struct policy_handle
                    handle_type              : 0x00000002 (2)
                    uuid                     : 3d0d0c1d-0975-483e-9aeb-94eb4f54704d
            level                    : UserAllInformation (21)
ldb: ldb_trace_request: SEARCH
 dn: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: lastLogon
 attr: lastLogoff
 attr: pwdLastSet
 attr: accountExpires
 attr: sAMAccountName
 attr: displayName
 attr: homeDirectory
 attr: homeDrive
 attr: scriptPath
 attr: profilePath
 attr: description
 attr: userWorkstations
 attr: comment
 attr: userParameters
 attr: objectSid
 attr: primaryGroupID
 attr: userAccountControl
 attr: logonHours
 attr: badPwdCount
 attr: logonCount
 attr: countryCode
 attr: codePage
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local
description:: SXVLLCBXZWJtYXN0ZXIsIFdlZsO8IEJpc2NoLiwgVEVM
displayName: Martiker, Holger
userAccountControl: 512
codePage: 0
countryCode: 0
homeDirectory: \\srv02\home\h.martiker
homeDrive: H:
pwdLastSet: 129636107013430830
primaryGroupID: 513
userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
 CAgUAIaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiGAgBQ3R4Q2ZnRmxhZ3Mx44Cw44Gm44Cy44
 C5
profilePath: \\%logonserver%\profiles\h.martiker
objectSid: S-1-5-21-3477057243-790338134-802528447-1174
accountExpires: 9223372036854775807
sAMAccountName: h.martiker



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: CN=Holger Martiker,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: minPwdAge
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: DC=fwmtl,DC=local
minPwdAge: -1728000000000



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: maxPwdAge
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: DC=fwmtl,DC=local
maxPwdAge: -9223372036854775808



ldb: ldb_trace_response: DONE
error: 0
msg: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117

gendb_search_v: DC=fwmtl,DC=local NULL -> 1
ldb: ldb_trace_request: SEARCH
 dn: DC=fwmtl,DC=local
 scope: base
 expr: (|(objectClass=*)(distinguishedName=*))
 attr: maxPwdAge
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (schema_load)->search
ldb: ldb_asprintf/set_errstring: schema: metadata tdb not initialized at ../source4/dsdb/samdb/ldb_modules/schema_load.c:117
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search


More information about the samba mailing list