On Thu, Jan 16, 2014 at 03:54:32PM -0500, Greg Hudson via RT wrote: > I don't see how start_seq_get or next_cred could be called prior to > resolve. In my tests, krb5_krcc_resolve is called prior to the > krb5_gettimeofday call in kg_new_connection(), as I would expect. It didn't make a lot of sense to me, either. I took another look, and setting breakpoints on those four functions, I hit them in this order (sorry, this is going to be a bit long): #0 krb5_krcc_start_seq_get (context=0x555555778040, id=0x55555577bef0, cursor=0x7fffffff98c8) at cc_keyring.c:1211 #1 0x00007ffff371537e in krb5_cc_start_seq_get (context=0x555555778040, cache=0x55555577bef0, cursor=0x7fffffff98c8) at ccfns.c:152 #2 0x00007ffff3708606 in krb5_cccol_have_content (context=0x555555778040) at cccursor.c:236 #3 0x00007ffff39f059f in acquire_init_cred (context=0x555555778040, minor_status=0x7fffffff9d94, req_ccache=0x0, password=0x0, client_keytab=0x0, cred=0x555555779b50) at acquire_cred.c:690 #4 0x00007ffff39f07b5 in acquire_cred_context (context=0x555555778040, minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, client_keytab=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:781 #5 0x00007ffff39f0a32 in acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:858 #6 0x00007ffff39f0e6d in krb5_gss_acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, time_req=4294967295, desired_mechs=0x0, cred_usage=1, output_cred_handle=0x7fffffff9b80, actual_mechs=0x0, time_rec=0x0) at acquire_cred.c:1017 #7 0x00007ffff39f3dbf in kg_get_defcred (minor_status=0x7fffffff9d94, cred=0x7fffffff9b80) at gssapi_krb5.c:187 #8 0x00007ffff39fb191 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:951 #9 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #10 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #11 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #12 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bef0 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940872, serverinlen@entry=0, prompt_need=0x555555778040, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #13 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #14 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #15 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #16 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #17 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #18 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778040, id=0x55555577bef0, cursor=0x7fffffff98c8, creds=0x7fffffff9840) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778040, cache=0x55555577bef0, cursor=0x7fffffff98c8, creds=0x7fffffff9840) at ccfns.c:159 #2 0x00007ffff3708672 in krb5_cccol_have_content (context=0x555555778040) at cccursor.c:239 #3 0x00007ffff39f059f in acquire_init_cred (context=0x555555778040, minor_status=0x7fffffff9d94, req_ccache=0x0, password=0x0, client_keytab=0x0, cred=0x555555779b50) at acquire_cred.c:690 #4 0x00007ffff39f07b5 in acquire_cred_context (context=0x555555778040, minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, client_keytab=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:781 #5 0x00007ffff39f0a32 in acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:858 #6 0x00007ffff39f0e6d in krb5_gss_acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, time_req=4294967295, desired_mechs=0x0, cred_usage=1, output_cred_handle=0x7fffffff9b80, actual_mechs=0x0, time_rec=0x0) at acquire_cred.c:1017 #7 0x00007ffff39f3dbf in kg_get_defcred (minor_status=0x7fffffff9d94, cred=0x7fffffff9b80) at gssapi_krb5.c:187 #8 0x00007ffff39fb191 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:951 #9 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #10 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #11 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #12 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bef0 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940872, serverinlen@entry=0, prompt_need=0x7fffffff9840, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #13 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #14 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #15 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #16 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #17 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #18 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778040, id=0x55555577bef0, cursor=0x7fffffff98c8, creds=0x7fffffff9840) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778040, cache=0x55555577bef0, cursor=0x7fffffff98c8, creds=0x7fffffff9840) at ccfns.c:159 #2 0x00007ffff3708672 in krb5_cccol_have_content (context=0x555555778040) at cccursor.c:239 #3 0x00007ffff39f059f in acquire_init_cred (context=0x555555778040, minor_status=0x7fffffff9d94, req_ccache=0x0, password=0x0, client_keytab=0x0, cred=0x555555779b50) at acquire_cred.c:690 #4 0x00007ffff39f07b5 in acquire_cred_context (context=0x555555778040, minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, client_keytab=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:781 #5 0x00007ffff39f0a32 in acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, password=0x0, time_req=4294967295, cred_usage=1, ccache=0x0, keytab=0x0, iakerb=0, output_cred_handle=0x7fffffff9b80, time_rec=0x0) at acquire_cred.c:858 #6 0x00007ffff39f0e6d in krb5_gss_acquire_cred (minor_status=0x7fffffff9d94, desired_name=0x0, time_req=4294967295, desired_mechs=0x0, cred_usage=1, output_cred_handle=0x7fffffff9b80, actual_mechs=0x0, time_rec=0x0) at acquire_cred.c:1017 #7 0x00007ffff39f3dbf in kg_get_defcred (minor_status=0x7fffffff9d94, cred=0x7fffffff9b80) at gssapi_krb5.c:187 #8 0x00007ffff39fb191 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:951 #9 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #10 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #11 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #12 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bef0 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940872, serverinlen@entry=0, prompt_need=0x7fffffff9840, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #13 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #14 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #15 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #16 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #17 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #18 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_start_seq_get (context=0x555555778700, id=0x55555577bfe0, cursor=0x7fffffff9a38) at cc_keyring.c:1211 #1 0x00007ffff371537e in krb5_cc_start_seq_get (context=0x555555778700, cache=0x55555577bfe0, cursor=0x7fffffff9a38) at ccfns.c:152 #2 0x00007ffff39efad9 in scan_ccache (context=0x555555778700, cred=0x555555779b50) at acquire_cred.c:394 #3 0x00007ffff39f0bb2 in kg_cred_resolve (minor_status=0x7fffffff9d94, context=0x555555778700, cred_handle=0x555555779b50, target_name=0x555555777c80) at acquire_cred.c:910 #4 0x00007ffff39fb1e5 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:960 #5 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #6 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #7 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #8 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bfe0 ",\247\016\227UU", serverin@entry=0x0, serverinlen=4294941240, serverinlen@entry=0, prompt_need=0x555555778700, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #9 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #10 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #11 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #12 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #13 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #14 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at ccfns.c:159 #2 0x00007ffff39efc05 in scan_ccache (context=0x555555778700, cred=0x555555779b50) at acquire_cred.c:399 #3 0x00007ffff39f0bb2 in kg_cred_resolve (minor_status=0x7fffffff9d94, context=0x555555778700, cred_handle=0x555555779b50, target_name=0x555555777c80) at acquire_cred.c:910 #4 0x00007ffff39fb1e5 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:960 #5 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #6 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #7 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #8 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bfe0 ",\247\016\227UU", serverin@entry=0x0, serverinlen=4294941240, serverinlen@entry=0, prompt_need=0x7fffffff99c0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #9 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #10 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #11 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #12 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #13 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #14 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at ccfns.c:159 #2 0x00007ffff39efc05 in scan_ccache (context=0x555555778700, cred=0x555555779b50) at acquire_cred.c:399 #3 0x00007ffff39f0bb2 in kg_cred_resolve (minor_status=0x7fffffff9d94, context=0x555555778700, cred_handle=0x555555779b50, target_name=0x555555777c80) at acquire_cred.c:910 #4 0x00007ffff39fb1e5 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:960 #5 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #6 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #7 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #8 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bfe0 ",\247\016\227UU", serverin@entry=0x0, serverinlen=4294941240, serverinlen@entry=0, prompt_need=0x7fffffff99c0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #9 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #10 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #11 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #12 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #13 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #14 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577bfe0, cursor=0x7fffffff9a38, creds=0x7fffffff99c0) at ccfns.c:159 #2 0x00007ffff39efc05 in scan_ccache (context=0x555555778700, cred=0x555555779b50) at acquire_cred.c:399 #3 0x00007ffff39f0bb2 in kg_cred_resolve (minor_status=0x7fffffff9d94, context=0x555555778700, cred_handle=0x555555779b50, target_name=0x555555777c80) at acquire_cred.c:910 #4 0x00007ffff39fb1e5 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:960 #5 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #6 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #7 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #8 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577bfe0 ",\247\016\227UU", serverin@entry=0x0, serverinlen=4294941240, serverinlen@entry=0, prompt_need=0x7fffffff99c0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #9 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #10 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #11 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #12 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #13 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #14 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:503 #1 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #2 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #3 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #4 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #5 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x555555779b50 "\001", serverin@entry=0x0, serverinlen=1433894360, serverinlen@entry=0, prompt_need=0x555555777c80, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #6 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #7 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #8 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #9 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #10 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #11 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_resolve (context=0x555555778700, id=0x55555577c4f8, residual=0x55555577c020 "persistent:0:0") at cc_keyring.c:1137 #1 0x00007ffff370764b in krb5_cc_dup (context=0x555555778700, in=0x55555577bfe0, out=0x55555577c4f8) at ccbase.c:240 #2 0x00007ffff372abed in krb5_tkt_creds_init (context=0x555555778700, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, options=0, pctx=0x7fffffff9858) at get_creds.c:1125 #3 0x00007ffff372b1c1 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1276 #4 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #5 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #6 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #7 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #8 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #9 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #10 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c4f8 "", serverin@entry=0x0, serverinlen=1433911328, serverinlen@entry=0, prompt_need=0x55555577c4f8, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #11 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #12 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #13 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #14 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #15 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #16 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_start_seq_get (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9518) at cc_keyring.c:1211 #1 0x00007ffff371537e in krb5_cc_start_seq_get (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff9518) at ccfns.c:152 #2 0x00007ffff370b2e5 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0, nktypes=6, ktypes=0x5555557780d0) at cc_retr.c:222 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=545, in_creds=0x7fffffff96a0, out_creds=0x55555577c600) at get_creds.c:242 #7 0x00007ffff372a8e6 in check_cache (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1042 #8 0x00007ffff372a95a in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1065 #9 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #10 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #11 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #12 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #13 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #14 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #15 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #16 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #17 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #18 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939928, serverinlen@entry=0, prompt_need=0x555555778700, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #19 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #20 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #21 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #22 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #23 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #24 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0, nktypes=6, ktypes=0x5555557780d0) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=545, in_creds=0x7fffffff96a0, out_creds=0x55555577c600) at get_creds.c:242 #7 0x00007ffff372a8e6 in check_cache (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1042 #8 0x00007ffff372a95a in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1065 #9 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #10 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #11 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #12 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #13 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #14 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #15 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #16 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #17 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #18 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939928, serverinlen@entry=0, prompt_need=0x7fffffff9490, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #19 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #20 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #21 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #22 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #23 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #24 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0, nktypes=6, ktypes=0x5555557780d0) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=545, in_creds=0x7fffffff96a0, out_creds=0x55555577c600) at get_creds.c:242 #7 0x00007ffff372a8e6 in check_cache (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1042 #8 0x00007ffff372a95a in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1065 #9 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #10 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #11 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #12 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #13 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #14 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #15 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #16 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #17 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #18 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939928, serverinlen@entry=0, prompt_need=0x7fffffff9490, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #19 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #20 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #21 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #22 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #23 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #24 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff9518, creds=0x7fffffff9490) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0, nktypes=6, ktypes=0x5555557780d0) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=545, mcreds=0x7fffffff96a0, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=545, in_creds=0x7fffffff96a0, out_creds=0x55555577c600) at get_creds.c:242 #7 0x00007ffff372a8e6 in check_cache (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1042 #8 0x00007ffff372a95a in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1065 #9 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #10 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #11 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #12 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #13 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #14 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #15 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #16 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #17 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #18 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939928, serverinlen@entry=0, prompt_need=0x7fffffff9490, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #19 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #20 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #21 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #22 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #23 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #24 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_start_seq_get (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff94c8) at cc_keyring.c:1211 #1 0x00007ffff371537e in krb5_cc_start_seq_get (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff94c8) at ccfns.c:152 #2 0x00007ffff370b2e5 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0, nktypes=6, ktypes=0x55555577ca60) at cc_retr.c:222 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=512, in_creds=0x7fffffff9670, out_creds=0x7fffffff9658) at get_creds.c:242 #7 0x00007ffff372a026 in get_cached_local_tgt (context=0x555555778700, ctx=0x55555577c4d0, tgt_out=0x55555577c510) at get_creds.c:812 #8 0x00007ffff372a76d in begin_get_tgt (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:996 #9 0x00007ffff372aa30 in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1081 #10 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #11 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #12 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #13 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #14 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #15 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #16 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #17 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #18 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #19 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939848, serverinlen@entry=0, prompt_need=0x555555778700, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #20 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #21 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #22 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #23 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #24 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #25 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0, nktypes=6, ktypes=0x55555577ca60) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=512, in_creds=0x7fffffff9670, out_creds=0x7fffffff9658) at get_creds.c:242 #7 0x00007ffff372a026 in get_cached_local_tgt (context=0x555555778700, ctx=0x55555577c4d0, tgt_out=0x55555577c510) at get_creds.c:812 #8 0x00007ffff372a76d in begin_get_tgt (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:996 #9 0x00007ffff372aa30 in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1081 #10 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #11 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #12 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #13 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #14 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #15 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #16 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #17 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #18 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #19 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939848, serverinlen@entry=0, prompt_need=0x7fffffff9440, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #20 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #21 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #22 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #23 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #24 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #25 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0, nktypes=6, ktypes=0x55555577ca60) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=512, in_creds=0x7fffffff9670, out_creds=0x7fffffff9658) at get_creds.c:242 #7 0x00007ffff372a026 in get_cached_local_tgt (context=0x555555778700, ctx=0x55555577c4d0, tgt_out=0x55555577c510) at get_creds.c:812 #8 0x00007ffff372a76d in begin_get_tgt (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:996 #9 0x00007ffff372aa30 in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1081 #10 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #11 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #12 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #13 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #14 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #15 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #16 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #17 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #18 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #19 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939848, serverinlen@entry=0, prompt_need=0x7fffffff9440, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #20 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #21 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #22 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #23 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #24 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #25 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at cc_keyring.c:1271 #1 0x00007ffff37153b6 in krb5_cc_next_cred (context=0x555555778700, cache=0x55555577c730, cursor=0x7fffffff94c8, creds=0x7fffffff9440) at ccfns.c:159 #2 0x00007ffff370b5a3 in krb5_cc_retrieve_cred_seq (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0, nktypes=6, ktypes=0x55555577ca60) at cc_retr.c:229 #3 0x00007ffff370b73b in k5_cc_retrieve_cred_default (context=0x555555778700, id=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_retr.c:284 #4 0x00007ffff3712501 in krb5_krcc_retrieve (context=0x555555778700, id=0x55555577c730, whichfields=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at cc_keyring.c:1511 #5 0x00007ffff3715208 in krb5_cc_retrieve_cred (context=0x555555778700, cache=0x55555577c730, flags=512, mcreds=0x7fffffff9670, creds=0x55555577c7f0) at ccfns.c:123 #6 0x00007ffff3728c65 in cache_get (context=0x555555778700, ccache=0x55555577c730, flags=512, in_creds=0x7fffffff9670, out_creds=0x7fffffff9658) at get_creds.c:242 #7 0x00007ffff372a026 in get_cached_local_tgt (context=0x555555778700, ctx=0x55555577c4d0, tgt_out=0x55555577c510) at get_creds.c:812 #8 0x00007ffff372a76d in begin_get_tgt (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:996 #9 0x00007ffff372aa30 in begin (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1081 #10 0x00007ffff372b0c3 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1246 #11 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #12 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #13 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #14 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #15 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #16 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #17 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #18 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #19 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294939848, serverinlen@entry=0, prompt_need=0x7fffffff9440, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #20 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #21 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #22 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #23 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #24 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #25 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_start_seq_get (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9630) at cc_keyring.c:1211 #1 0x00007ffff3711761 in update_keyring_expiration (context=0x555555778700, id=0x55555577c730) at cc_keyring.c:882 #2 0x00007ffff37126b5 in krb5_krcc_store (context=0x555555778700, id=0x55555577c730, creds=0x555555772830) at cc_keyring.c:1609 #3 0x00007ffff37150c2 in krb5_cc_store_cred (context=0x555555778700, cache=0x55555577c730, creds=0x555555772830) at ccfns.c:91 #4 0x00007ffff3729441 in complete (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:443 #5 0x00007ffff37297d0 in step_referrals (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:560 #6 0x00007ffff372b126 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1252 #7 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #8 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #9 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #10 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #11 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #12 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #13 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #14 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #15 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940208, serverinlen@entry=0, prompt_need=0x55555577c730, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #16 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #17 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #18 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #19 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #20 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #21 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9630, creds=0x7fffffff95b0) at cc_keyring.c:1271 #1 0x00007ffff371178b in update_keyring_expiration (context=0x555555778700, id=0x55555577c730) at cc_keyring.c:885 #2 0x00007ffff37126b5 in krb5_krcc_store (context=0x555555778700, id=0x55555577c730, creds=0x555555772830) at cc_keyring.c:1609 #3 0x00007ffff37150c2 in krb5_cc_store_cred (context=0x555555778700, cache=0x55555577c730, creds=0x555555772830) at ccfns.c:91 #4 0x00007ffff3729441 in complete (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:443 #5 0x00007ffff37297d0 in step_referrals (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:560 #6 0x00007ffff372b126 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1252 #7 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #8 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #9 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #10 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #11 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #12 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #13 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #14 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #15 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940208, serverinlen@entry=0, prompt_need=0x7fffffff95b0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #16 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #17 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #18 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #19 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #20 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #21 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9630, creds=0x7fffffff95b0) at cc_keyring.c:1271 #1 0x00007ffff371178b in update_keyring_expiration (context=0x555555778700, id=0x55555577c730) at cc_keyring.c:885 #2 0x00007ffff37126b5 in krb5_krcc_store (context=0x555555778700, id=0x55555577c730, creds=0x555555772830) at cc_keyring.c:1609 #3 0x00007ffff37150c2 in krb5_cc_store_cred (context=0x555555778700, cache=0x55555577c730, creds=0x555555772830) at ccfns.c:91 #4 0x00007ffff3729441 in complete (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:443 #5 0x00007ffff37297d0 in step_referrals (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:560 #6 0x00007ffff372b126 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1252 #7 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #8 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #9 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #10 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #11 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #12 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #13 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #14 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #15 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940208, serverinlen@entry=0, prompt_need=0x7fffffff95b0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #16 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #17 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #18 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #19 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #20 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #21 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9630, creds=0x7fffffff95b0) at cc_keyring.c:1271 #1 0x00007ffff371178b in update_keyring_expiration (context=0x555555778700, id=0x55555577c730) at cc_keyring.c:885 #2 0x00007ffff37126b5 in krb5_krcc_store (context=0x555555778700, id=0x55555577c730, creds=0x555555772830) at cc_keyring.c:1609 #3 0x00007ffff37150c2 in krb5_cc_store_cred (context=0x555555778700, cache=0x55555577c730, creds=0x555555772830) at ccfns.c:91 #4 0x00007ffff3729441 in complete (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:443 #5 0x00007ffff37297d0 in step_referrals (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:560 #6 0x00007ffff372b126 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1252 #7 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #8 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #9 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #10 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #11 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #12 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #13 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #14 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #15 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940208, serverinlen@entry=0, prompt_need=0x7fffffff95b0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #16 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #17 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #18 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #19 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #20 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #21 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 #0 krb5_krcc_next_cred (context=0x555555778700, id=0x55555577c730, cursor=0x7fffffff9630, creds=0x7fffffff95b0) at cc_keyring.c:1271 #1 0x00007ffff371178b in update_keyring_expiration (context=0x555555778700, id=0x55555577c730) at cc_keyring.c:885 #2 0x00007ffff37126b5 in krb5_krcc_store (context=0x555555778700, id=0x55555577c730, creds=0x555555772830) at cc_keyring.c:1609 #3 0x00007ffff37150c2 in krb5_cc_store_cred (context=0x555555778700, cache=0x55555577c730, creds=0x555555772830) at ccfns.c:91 #4 0x00007ffff3729441 in complete (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:443 #5 0x00007ffff37297d0 in step_referrals (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:560 #6 0x00007ffff372b126 in krb5_tkt_creds_step (context=0x555555778700, ctx=0x55555577c4d0, in=0x7fffffff97e0, out=0x7fffffff97f0, realm=0x7fffffff97d0, flags=0x7fffffff97cc) at get_creds.c:1252 #7 0x00007ffff372aea3 in krb5_tkt_creds_get (context=0x555555778700, ctx=0x55555577c4d0) at get_creds.c:1190 #8 0x00007ffff372b1e0 in krb5_get_credentials (context=0x555555778700, options=0, ccache=0x55555577bfe0, in_creds=0x7fffffff99b0, out_creds=0x7fffffff9928) at get_creds.c:1279 #9 0x00007ffff39f9a4d in get_credentials (context=0x555555778700, cred=0x555555779b50, server=0x555555778040, now=1389996085, endtime=0, out_creds=0x7fffffff9ac0) at init_sec_context.c:195 #10 0x00007ffff39fa574 in kg_new_connection (minor_status=0x7fffffff9d94, cred=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, context=0x555555778700, exts=0x7fffffff9c20) at init_sec_context.c:583 #11 0x00007ffff39fb2b3 in krb5_gss_init_sec_context_ext (minor_status=0x7fffffff9d94, claimant_cred_handle=0x555555779b50, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x7ffff3c1e740 , req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0, exts=0x7fffffff9c20) at init_sec_context.c:971 #12 0x00007ffff39fb4e4 in krb5_gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x555555777dd8, target_name=0x555555777c80, mech_type=0x5555557768a0, req_flags=58, time_req=0, input_chan_bindings=0x0, input_token=0x0, actual_mech_type=0x0, output_token=0x7fffffff9db0, ret_flags=0x7fffffff9d9c, time_rec=0x0) at init_sec_context.c:1073 #13 0x00007ffff39e1773 in gss_init_sec_context (minor_status=0x7fffffff9d94, claimant_cred_handle=0x0, context_handle=0x5555557767d8, target_name=0x555555778d60, req_mech_type=0x0, req_flags=58, time_req=time_req@entry=0, input_chan_bindings=input_chan_bindings@entry=0x0, input_token=input_token@entry=0x0, actual_mech_type=actual_mech_type@entry=0x0, output_token=output_token@entry=0x7fffffff9db0, ret_flags=ret_flags@entry=0x7fffffff9d9c, time_rec=time_rec@entry=0x0) at g_init_sec_context.c:210 #14 0x00007ffff3c23c44 in gssapi_client_mech_step (conn_context=0x5555557767c0, params=0x555555775100, serverin=, serverinlen=, prompt_need=, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60, oparams=0x555555775af0) at gssapi.c:1613 #15 0x00007ffff77677f2 in sasl_client_step (conn=0x555555775280, serverin=0x55555577c730 ",\247\016\227\377\177", serverin@entry=0x0, serverinlen=4294940208, serverinlen@entry=0, prompt_need=0x7fffffff95b0, prompt_need@entry=0x7fffffff9f70, clientout=0x7fffffff9f88, clientoutlen=0x7fffffff9f60) at client.c:973 #16 0x00007ffff7767b76 in sasl_client_start (conn=conn@entry=0x555555775280, mechlist=mechlist@entry=0x555555769030 "GSSAPI", prompt_need=prompt_need@entry=0x7fffffff9f70, clientout=clientout@entry=0x7fffffff9f88, clientoutlen=clientoutlen@entry=0x7fffffff9f60, mech=mech@entry=0x7fffffff9f68) at client.c:919 #17 0x00007ffff7ba1003 in ldap_int_sasl_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", sctrls=sctrls@entry=0x0, cctrls=cctrls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=result@entry=0x0, rmech=0x7fffffffa198, msgid=0x7fffffffa194) at cyrus.c:527 #18 0x00007ffff7ba4422 in ldap_sasl_interactive_bind (ld=ld@entry=0x555555769330, dn=dn@entry=0x0, mechs=mechs@entry=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=flags@entry=0, interact=interact@entry=0x555555560b50 , defaults=defaults@entry=0x555555772780, result=0x0, rmech=rmech@entry=0x7fffffffa198, msgid=msgid@entry=0x7fffffffa194) at sasl.c:474 #19 0x00007ffff7ba464d in ldap_sasl_interactive_bind_s (ld=ld@entry=0x555555769330, dn=0x0, mechs=0x555555769030 "GSSAPI", serverControls=serverControls@entry=0x0, clientControls=clientControls@entry=0x0, flags=0, interact=0x555555560b50 , defaults=defaults@entry=0x555555772780) at sasl.c:511 #20 0x000055555555cb92 in tool_bind (ld=ld@entry=0x555555769330) at common.c:1474 #21 0x0000555555557c02 in main (argc=, argv=) at ldapsearch.c:893 HTH, Nalin