在GForge,LDAP Authentication中,如何设置authenticatedBind属性的值


In GForge, LDAP Authentication, how do I set the value for the property authenticatedBind?

在该链接中的身份验证部分,它用于匿名搜索和绑定:只需将authenticatedBind设置为false。你能告诉我该怎么做吗?

@esyana在GForge 6.3.x及更早版本中,GForge中的每个模块(插件)都有自己的配置文件。它们都位于/etc/gforge中,核心设置位于gforge.conf中,插件特定设置位于plugins/下的相应文件夹中。您可以在/etc/gforge/plugins/ldap/ldap.conf 中找到设置ldap.authenticatedBind

如果更新了那里的值,则运行cd /opt/gforge/bin && php create_config_cache.php使更改生效。

在GForge 6.4及更新版本中,所有设置都存储在数据库中,并可使用shell脚本访问。运行/opt/gforge/bin/gf-config set "ldap.authenticatedBind" false进行更改。它立即生效。