We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8b722 commit 286c8ddCopy full SHA for 286c8dd
1 file changed
plugins/sudoers/ldap_conf.c
@@ -599,8 +599,10 @@ sudo_ldap_read_config(const struct sudoers_context *ctx)
599
debug_return_bool(false);
600
}
601
602
- if (!STAILQ_EMPTY(&ldap_conf.netgroup_base))
+ if (STAILQ_EMPTY(&ldap_conf.netgroup_base)) {
603
+ /* netgroup_query is only valid in conjunction with netgroup_base */
604
ldap_conf.netgroup_query = false;
605
+ }
606
607
DPRINTF1("LDAP Config Summary");
608
DPRINTF1("===================");
0 commit comments