Mongodb + Kerberos BadValue SASL机制不支持GSSAPI

我正尝试运行带有authentication机制GSS-API的mongodb实例。 这是命令:

mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter authenticationMechanisms=GSSAPI 

这是我得到的错误:

  F CONTROL Failed global initialization: BadValue SASL mechanism GSSAPI is not supported 

看来我需要SASL用于GSS-API机制的库,就像我解决的其他问题一样:

https://dba.stackexchange.com/questions/94889/mongodb-couldnt-find-mech-gssapi

但是现在我使用的是Linux Red Hat 7.5,之前我使用的是Ubuntu 14.04。 我安装的库试图解决这个错误是这些:

 cyrus-sasl-gssapi.i686 : GSSAPI authentication support for Cyrus SASL cyrus-sasl-gssapi.x86_64 : GSSAPI authentication support for Cyrus SASL perl-GSSAPI.x86_64 : Perl extension providing access to the GSSAPIv2 library rsyslog-gssapi.x86_64 : GSSAPI authentication and encryption support for rsyslog gssproxy.x86_64 : GSSAPI Proxy python-kerberos.x86_64 : A high-level wrapper for Kerberos (GSSAPI) operations sssd-krb5-common.x86_64 : SSSD helpers needed for Kerberos and GSSAPI authentication sssd-krb5-common.i686 : SSSD helpers needed for Kerberos and GSSAPI authentication 

有谁知道我失踪的图书馆?

在他们的文件中:

MongoDB Enterprise支持使用Kerberos服务的身份validation。

显然他们的普通版本不支持GSSAPIauthentication机制,所以下载企业版本就可以解决问题。

http://docs.mongodb.org/manual/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication/