Kerberos authentication does not work on Windows 8.1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: legacy-0.0-26compat-2.6.0-rc1
    • Component/s: None
    • Environment:
      Windows 8.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Attempting to do Kerberos authentication using the C++ client on Windows 8.1 fails at the AcquireCredentialsHandle stage with error "No credentials are available in the security package".

      The issue is not reproducible on Windows Server 2012 R2.

      The attached sample client app (which will be checked in eventually in the C++ client repo) reproduces the problem.

      To build this program on windows, use the following commands from VC++ commands shell (may need to be tweaked for the corresponding environment):

      scons --sharedclient --dynamic-windows --release --full  --prefix=C:\amd64ent --use-system-boost --cpppath=C:\boost_1_55_0 --extrapath=C:\openssl,C:\sasl,C:\snmp --libpath=C:\boost_1_55_0\lib64-msvc-[10|11|12].0 --variant-dir=m --use-sasl-client install-mongoclient --64 -j 4 --mute
      
      set PATH=%PATH%;C:\x86std\lib;C:\amd64std\lib;C:\x86ent\lib;C:\amd64ent\lib;c:\mongodb
       
      cl.exe /nologo /MD /EHsc -Ic:\mongo\src -Ic:\boost_1_55_0 -Ic:\amd64std simple_client_demo_auth.cpp /link /LIBPATH:c:\boost_1_55_0\lib32-msvc-10.0 c:\amd64std\lib\mongoclient.lib
      

            Assignee:
            Unassigned
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: