Configure mongodb authentication with kerberos on windows issue

84 views
Skip to first unread message

db...@tibco-support.com

unread,
Aug 8, 2014, 2:03:53 AM8/8/14
to mongod...@googlegroups.com
Hi ,

   I setup a kerberos server on linux, and want to setup the client on windows to auth mongodb
   , but when I run "mongod.exe KRB5_KTNAME=mongodb.keytab  --smallfiles --auth --setParameter authenticationMechanisms=GSSAPI,MONGODB-CR" to start mongodb as auth,
 it throw "2014-08-08T13:58:38.420+0800 SEVERE: Failed global initialization: ProtocolError SASL(-1): generic failure: SSPI: AcquireCredentialsHandle: No credentials are available in the security package" error.

  I search it find windows does not provide the GSS API, just SSPI.  I don't how to resolve it. 

 So I want to know it's correct to configure mongodb authentication with kerberos on windows?

Thanks for any help.

Thanks,
Dong

Tugdual Grall

unread,
Aug 8, 2014, 2:35:22 AM8/8/14
to mongod...@googlegroups.com
This thread is a duplicate, the other one has been answered.
Reply all
Reply to author
Forward
0 new messages