diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-08-31 10:46:00 +0200 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-08-31 10:46:00 +0200 |
commit | d0c350327e3292b56e91f1b76855efca64b96700 (patch) | |
tree | c410f47e7deb624896fe639c27da12bdc13efeeb /src | |
parent | ef69fc0b208717490a8b3d4469ebf3485e17ecee (diff) | |
download | ldap_driver-d0c350327e3292b56e91f1b76855efca64b96700.tar.gz ldap_driver-d0c350327e3292b56e91f1b76855efca64b96700.tar.xz ldap_driver-d0c350327e3292b56e91f1b76855efca64b96700.zip |
Use uppercase LDAP booleans according to RFC 2252
The search filter for active zones used value "True" for attribute
"idnsZoneActive". This is incorrect according to section 6.4 of RFC 2252
which states that boolean syntax is either "TRUE" or "FALSE".
Diffstat (limited to 'src')
-rw-r--r-- | src/ldap_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldap_helper.c b/src/ldap_helper.c index eb98b86..1b953f5 100644 --- a/src/ldap_helper.c +++ b/src/ldap_helper.c @@ -613,7 +613,7 @@ refresh_zones_from_ldap(ldap_instance_t *ldap_inst, isc_boolean_t create) CHECK(ldap_query(ldap_conn, str_buf(ldap_inst->base), LDAP_SCOPE_SUBTREE, attrs, 0, - "(&(objectClass=idnsZone)(idnsZoneActive=True))")); + "(&(objectClass=idnsZone)(idnsZoneActive=TRUE))")); CHECK(cache_query_results(ldap_conn)); for (entry = HEAD(ldap_conn->ldap_entries); |