mirror of
				https://github.com/bklang/ldap2dns.git
				synced 2025-10-30 15:43:18 -04:00 
			
		
		
		
	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:
		| @@ -771,7 +771,7 @@ static void read_dnszones(void) | |||||||
| 	if (tinyfile) | 	if (tinyfile) | ||||||
| 		fprintf(tinyfile, "# Automatically generated by ldap2dns - DO NOT EDIT!\n"); | 		fprintf(tinyfile, "# Automatically generated by ldap2dns - DO NOT EDIT!\n"); | ||||||
| 	if (namedmaster) | 	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 ) | 	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); | 		die_ldap(ldaperr); | ||||||
| 	for (m = ldap_first_entry(ldap_con, res); m; m = ldap_next_entry(ldap_con, m)) { | 	for (m = ldap_first_entry(ldap_con, res); m; m = ldap_next_entry(ldap_con, m)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user