ldap search is looking at wrong kerberos ticket

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












How can I specify the Kerberos ticket to use when running ldapsearch?



If it makes a difference, it shouldn't, I am running a Cygwin wrapped Windows machine.



Using the following:



$ kinit
Password for user@domain:
New ticket is stored in cache file C:Usersuserkrbrnd_user


Then trying a search, I am getting the following error:



$ ldapsearch.exe -Y GSSAPI -Q -H ldap://ldap_server/ -b "DC=x,DC=y,DC=z"
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.
Minor code may provide more information
(No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_28182241))


From the output, ldapserach appears to be looking at the ticket, /tmp/krb5cc_28182241 instead of the ticket that is stored in my users home directory.



Instead of moving my ticket to the tmp directory, how can I make the search command use the correct ticket?







share|improve this question























    up vote
    0
    down vote

    favorite












    How can I specify the Kerberos ticket to use when running ldapsearch?



    If it makes a difference, it shouldn't, I am running a Cygwin wrapped Windows machine.



    Using the following:



    $ kinit
    Password for user@domain:
    New ticket is stored in cache file C:Usersuserkrbrnd_user


    Then trying a search, I am getting the following error:



    $ ldapsearch.exe -Y GSSAPI -Q -H ldap://ldap_server/ -b "DC=x,DC=y,DC=z"
    ldap_sasl_interactive_bind_s: Local error (-2)
    additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.
    Minor code may provide more information
    (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_28182241))


    From the output, ldapserach appears to be looking at the ticket, /tmp/krb5cc_28182241 instead of the ticket that is stored in my users home directory.



    Instead of moving my ticket to the tmp directory, how can I make the search command use the correct ticket?







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      How can I specify the Kerberos ticket to use when running ldapsearch?



      If it makes a difference, it shouldn't, I am running a Cygwin wrapped Windows machine.



      Using the following:



      $ kinit
      Password for user@domain:
      New ticket is stored in cache file C:Usersuserkrbrnd_user


      Then trying a search, I am getting the following error:



      $ ldapsearch.exe -Y GSSAPI -Q -H ldap://ldap_server/ -b "DC=x,DC=y,DC=z"
      ldap_sasl_interactive_bind_s: Local error (-2)
      additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.
      Minor code may provide more information
      (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_28182241))


      From the output, ldapserach appears to be looking at the ticket, /tmp/krb5cc_28182241 instead of the ticket that is stored in my users home directory.



      Instead of moving my ticket to the tmp directory, how can I make the search command use the correct ticket?







      share|improve this question











      How can I specify the Kerberos ticket to use when running ldapsearch?



      If it makes a difference, it shouldn't, I am running a Cygwin wrapped Windows machine.



      Using the following:



      $ kinit
      Password for user@domain:
      New ticket is stored in cache file C:Usersuserkrbrnd_user


      Then trying a search, I am getting the following error:



      $ ldapsearch.exe -Y GSSAPI -Q -H ldap://ldap_server/ -b "DC=x,DC=y,DC=z"
      ldap_sasl_interactive_bind_s: Local error (-2)
      additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure.
      Minor code may provide more information
      (No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_28182241))


      From the output, ldapserach appears to be looking at the ticket, /tmp/krb5cc_28182241 instead of the ticket that is stored in my users home directory.



      Instead of moving my ticket to the tmp directory, how can I make the search command use the correct ticket?









      share|improve this question










      share|improve this question




      share|improve this question









      asked May 18 at 15:20









      Matt Clark

      194111




      194111

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444635%2fldap-search-is-looking-at-wrong-kerberos-ticket%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444635%2fldap-search-is-looking-at-wrong-kerberos-ticket%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)