]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2894. [contrib] DLZ LDAP support now use '$' not '%'. [RT #21294]
authorMark Andrews <marka@isc.org>
Fri, 14 May 2010 06:29:37 +0000 (06:29 +0000)
committerMark Andrews <marka@isc.org>
Fri, 14 May 2010 06:29:37 +0000 (06:29 +0000)
CHANGES
contrib/dlz/drivers/sdlz_helper.c

diff --git a/CHANGES b/CHANGES
index b59c87ff6567bb8274f9c146c51bfec92f817c07..6d51d6d93e7347aeb9f234aac28f4fdb2880237f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+2894.  [contrib]       DLZ LDAP support now use '$' not '%'. [RT #21294]
+
 2893.  [bug]           Improve managed keys support.  New named.conf option
                        managed-keys-directory. [RT #20924]
 
index ea33db1b916bd3d320ff510c452fdc9a733d13b6..a7d7f4af3801140fe16b3c281d159d467d6da270 100644 (file)
@@ -166,12 +166,12 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                ISC_LIST_APPEND(*tql, tseg, link);
 
                /*
-                * split string at the first "%". set query segment to
+                * split string at the first "$". set query segment to
                 * left portion
                 */
                tseg->sql = isc_mem_strdup(mctx,
                                           isc_string_separate(&right_str,
-                                                              "%"));
+                                                              "$"));
                if (tseg->sql == NULL) {
                        /* no memory, clean everything up. */
                        result = ISC_R_NOMEMORY;
@@ -181,7 +181,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                tseg->direct = isc_boolean_true;
                tseg->strlen = strlen(tseg->sql);
 
-               /* check if we encountered "%zone%" token */
+               /* check if we encountered "$zone$" token */
                if (strcasecmp(tseg->sql, "zone") == 0) {
                        /*
                         * we don't really need, or want the "zone"
@@ -194,7 +194,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                        /* tseg->sql points in-directly to a string */
                        tseg->direct = isc_boolean_false;
                        foundzone = isc_boolean_true;
-                       /* check if we encountered "%record%" token */
+                       /* check if we encountered "$record$" token */
                } else if (strcasecmp(tseg->sql, "record") == 0) {
                        /*
                         * we don't really need, or want the "record"
@@ -207,7 +207,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                        /* tseg->sql points in-directly poinsts to a string */
                        tseg->direct = isc_boolean_false;
                        foundrecord = isc_boolean_true;
-                       /* check if we encountered "%client%" token */
+                       /* check if we encountered "$client$" token */
                } else if (strcasecmp(tseg->sql, "client") == 0) {
                        /*
                         * we don't really need, or want the "client"
@@ -235,7 +235,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                /* Write error message to log */
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
                              DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
-                             "Required token %%client%% not found.");
+                             "Required token $client$ not found.");
                result = ISC_R_FAILURE;
                goto flag_fail;
        }
@@ -245,7 +245,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                /* Write error message to log */
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
                              DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
-                             "Required token %%record%% not found.");
+                             "Required token $record$ not found.");
                result = ISC_R_FAILURE;
                goto flag_fail;
        }
@@ -255,7 +255,7 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
                /* Write error message to log */
                isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
                              DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
-                             "Required token %%zone%% not found.");
+                             "Required token $zone$ not found.");
                result = ISC_R_FAILURE;
                goto flag_fail;
        }