Fixed comment when generating BIND configuration files.

Thanks to Fleischmann Bonaventura for reporting the problem.


git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@308 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
Ben Klang
2006-05-10 02:38:02 +00:00
parent ab013de4e7
commit c2a8458283

View File

@@ -771,7 +771,7 @@ static void read_dnszones(void)
if (tinyfile)
fprintf(tinyfile, "# Automatically generated by ldap2dns - DO NOT EDIT!\n");
if (namedmaster)
fprintf(namedmaster, "; Automatically generated by ldap2dns - DO NOT EDIT!\n");
fprintf(namedmaster, "# Automatically generated by ldap2dns - DO NOT EDIT!\n");
if ( (ldaperr = ldap_search_s(ldap_con, options.searchbase[0] ? options.searchbase : NULL, LDAP_SCOPE_SUBTREE, "objectclass=DNSzone", NULL, 0, &res))!=LDAP_SUCCESS )
die_ldap(ldaperr);
for (m = ldap_first_entry(ldap_con, res); m; m = ldap_next_entry(ldap_con, m)) {