--- ldap2dns-0.3.1.orig/Makefile +++ ldap2dns-0.3.1/Makefile @@ -9,7 +9,7 @@ LDFLAGS= INSTALL_PREFIX= PREFIXDIR=$(INSTALL_PREFIX)/usr -LDAPCONFDIR=$(INSTALL_PREFIX)/etc/openldap +LDAPCONFDIR=$(INSTALL_PREFIX)/etc/ldap TARFILE=/usr/src/redhat/SOURCES/ldap2dns-$(VERSION).tar.gz SPECFILE=ldap2dns.spec @@ -19,7 +19,7 @@ $(LD) $(LDFLAGS) -o $@ $+ ldap2dnsd: ldap2dns - ln -f ldap2dns ldap2dnsd + ln -sf ldap2dns ldap2dnsd ldap2dns-dbg: ldap2dns.o-dbg $(LIBS) $(LD) $(LDFLAGS) -o $@ $+ @@ -34,13 +34,22 @@ mkdir -p $(PREFIXDIR)/bin mkdir -p $(LDAPCONFDIR) install -s -o root -g root -m 755 ldap2dns $(PREFIXDIR)/bin/ - ln -f $(PREFIXDIR)/bin/ldap2dns $(PREFIXDIR)/bin/ldap2dnsd + #ln -sf $(PREFIXDIR)/bin/ldap2dns $(PREFIXDIR)/bin/ldap2dnsd install -o root -g root -m 755 ldap2tinydns-conf $(PREFIXDIR)/bin/ - install -o root -g root -m 644 dns.at.conf $(LDAPCONFDIR)/ - install -o root -g root -m 644 dns.oc.conf $(LDAPCONFDIR)/ + + # OpenLDAP2 + install -o root -g root -m 644 dns.schema $(LDAPCONFDIR)/schema/ + + # OpenLDAP1 + #install -o root -g root -m 644 dns.at.conf $(LDAPCONFDIR)/ + #install -o root -g root -m 644 dns.oc.conf $(LDAPCONFDIR)/ + + # README.txt + links -dump README.html > README.txt clean: - rm -f *.o *.o-dbg ldap2dns ldap2dnsd data* *.db core $(SPECFILE) + rm -f *.o *.o-dbg ldap2dns ldap2dnsd ldap2dns-dbg data* *.db core $(SPECFILE) + rm -f README.txt tar: clean cd ..; \ --- ldap2dns-0.3.1.orig/debian/README.Debian +++ ldap2dns-0.3.1/debian/README.Debian @@ -0,0 +1,8 @@ +ldap2dns for Debian +------------------- + +Please note that this version of ldap2dns is compiled and configured for use +with OpenLDAP 2.1. Have a look at the project homepage for more info on +customizing. http://ldap2dns.tiscover.com/ + + -- Johann Botha , Mon, 08 March 2004 23:08:26 +0200 --- ldap2dns-0.3.1.orig/debian/changelog +++ ldap2dns-0.3.1/debian/changelog @@ -0,0 +1,99 @@ +ldap2dns (0.3.1-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Bumped DH level to 10. (Closes: #817522) + * Run wrap-and-sort. + * debian/control: + - Added ${misc:Depends} variable to Depends field. + - Bumped Standards-Version to 3.9.8. + - Fixed a typo in long description. Thanks to Florian + Zumbiehl . (Closes: #300008) + - Removed the full stop "." character from short + description. + * debian/watch: created. (based in #375468 and LP #206303) + + -- Joao Eriberto Mota Filho Fri, 14 Oct 2016 19:58:13 -0300 + +ldap2dns (0.3.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Do not include /usr/share/debconf/confmodule in postinst + (Closes: #333448). + + -- Luk Claes Tue, 03 Jul 2012 00:13:56 +0000 + +ldap2dns (0.3.1-3) unstable; urgency=low + + * New maintainer (Closes: #248520) + * debian/rules: replaced DH_COMPAT by debian/compat + * debian/control: increased Standards-Version to 3.6.1 + + -- Igor Stroh Thu, 23 Jun 2005 13:40:15 +0200 + +ldap2dns (0.3.1-2) unstable; urgency=low + + * Package orphaned. + + -- Johann Botha Tue, 11 May 2004 21:21:13 +0200 + +ldap2dns (0.3.1-1) unstable; urgency=low + + * New Upstream version. + * Compiled for OpenLDAP 2.1. (Closes: Bug#214192) + * Added bind9 to Depends list (Closes: Bug#186274, Bug#131599) + + -- Johann Botha Mon, 8 Mar 2004 23:11:41 +0200 + +ldap2dns (0.2.6-1) unstable; urgency=low + + * First version uploaded as official Debian package. Closes: #118141 + * New Upstream version. + * ldap2tinydns-conf uid/gid fixes + + -- Johann Botha Sun, 19 Aug 2001 16:05:46 +0200 + +ldap2dns (0.2.4-6) unstable; urgency=low + + * minor uid.gid fixes + * /env/LDAPPW fix for ps visible password + + -- Johann Botha Tue, 31 Jul 2001 17:20:23 +0200 + +ldap2dns (0.2.4-5) unstable; urgency=low + + * fixed user/group in ldap2tinydns-conf + * fixed DNSipaddr syntax in dns.schema + + -- Johann Botha Mon, 9 Jul 2001 19:26:32 +0200 + +ldap2dns (0.2.4-4) unstable; urgency=low + + * Added Text version of README.html + * Minor Debian rules and dependency fix + + -- Johann Botha Sun, 1 Jul 2001 13:49:46 +0200 + +ldap2dns (0.2.4-3) unstable; urgency=low + + * Minor Fixes to conform to Debian standards + + -- Johann Botha Wed, 20 Jun 2001 23:56:12 +0200 + +ldap2dns (0.2.4-2) unstable; urgency=low + + * fixed Build-Depends + * Added ldap2tinydns-conf.1 manpage + + -- Johann Botha Thu, 7 Jun 2001 17:54:43 +0200 + +ldap2dns (0.2.4-1) unstable; urgency=low + + * Initial Release. + * Debianized Makefile + * Added "description" attribute to DNSzone in dns.schema + * Removed OpenLDAPv1 schema info: dns.at.conf, dns.oc.conf + * Removed import.pl, example*.html, Specfile + * Added ldap2dns.1 and ldap2dnsd.1 manpages + + -- Johann Botha Tue, 22 May 2001 20:43:11 +0200 + --- ldap2dns-0.3.1.orig/debian/compat +++ ldap2dns-0.3.1/debian/compat @@ -0,0 +1 @@ +10 --- ldap2dns-0.3.1.orig/debian/control +++ ldap2dns-0.3.1/debian/control @@ -0,0 +1,24 @@ +Source: ldap2dns +Section: admin +Priority: optional +Maintainer: Igor Stroh +Build-Depends: debhelper (>= 10), libldap2-dev (>= 2.1.22-1), links (>=0.98-3) +Standards-Version: 3.9.8 + +Package: ldap2dns +Architecture: any +Depends: bind | bind9 | djbdns | djbdns-installer, + ${misc:Depends}, + ${shlibs:Depends} +Recommends: ldap-utils (>= 2.1.22-1) +Description: LDAP based DNS management system + ldap2dns is a program to create DNS (Domain Name Service) records directly + from a LDAP directory. It can and should be used to replace the secondary + name-server by a second primary one. ldap2dns reduces all kind of + administration overhead: No more flat file editing, no more zone file + editing. After having installed ldap2dns, the administrator only has to + access the LDAP directory. + . + ldap2dns is designed to write ASCII data files used by tinydns from the + djbdns package, but also may be used to write .db-files used by named as + found in the BIND package. --- ldap2dns-0.3.1.orig/debian/copyright +++ ldap2dns-0.3.1/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Johann Botha + +It was downloaded from: http://ldap2dns.tiscover.com/ + +Upstream Author: Jacob Rief + +Copyright: +You are free to use and distribute this software under the terms of +the GNU General Public License. On Debian systems, the complete text of the +GNU General Public License can be found in /usr/share/common-licenses/GPL --- ldap2dns-0.3.1.orig/debian/dirs +++ ldap2dns-0.3.1/debian/dirs @@ -0,0 +1,2 @@ +/etc/ldap +/etc/ldap/schema --- ldap2dns-0.3.1.orig/debian/docs +++ ldap2dns-0.3.1/debian/docs @@ -0,0 +1,3 @@ +README.html +README.txt +example.ldif --- ldap2dns-0.3.1.orig/debian/ldap2dns.1 +++ ldap2dns-0.3.1/debian/ldap2dns.1 @@ -0,0 +1,128 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LDAP2DNS 1 "May 22, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ldap2dns \- LDAP based DNS management system +.SH SYNOPSIS +.B ldap2dns[d] +.RI [ "-D binddn" "] [" "-b searchbase" "] [" "-o data|db" "] [" "-h host" "] [" "-p port" "] [" "-w password" "] [" "-L[filename]" "] [" "-u numsecs" "] [" "-v[v]" "] [" "-V" ] +.br +.SH DESCRIPTION +This manual page documents briefly the +.B ldap2dns +commands. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page yet. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBldap2dns\fP +is an efficient, administration friendly way to maintain DNS +information and distribute DNS records to multiple primary DNS servers +running +.B djbdns +or +.B BIND +. + +.SH OPTIONS +A summary of commanline options is included below. +.TP +.B \-D binddn +Use the distinguished name binddn to bind to the LDAP directory. +.TP +.B \-w bindpasswd +Use bindpasswd as the password for simple authentication. +.TP +.B \-b +Use searchbase as the starting point for the search instead of the default. +.TP +.B \-o data +Generate a "data" file to be processed by +.B tinydns-data +.TP +.B \-o db +For each zone generate a ".db" file to be used by +.B named +.TP +.B \-L[filename] +Print output in LDIF format for reimport. +.TP +.B \-h host +Hostname of LDAP server, defaults to localhost. +.TP +.B \-p port +Portnumber to connect to LDAP server, defaults to 389 +.TP +.B \-u numsecs +Update DNS data after numsecs. Defaults to 59 if started as daemon. + +.br +Important notice: data.cdb is rewritten only after DNSserial in DNSzone is +increased. + +.TP +.B \ -e "exec-cmd" +This command is executed after ldap2dns regenerated its data files. + +.TP +.B \ -v +Run in verbose mode. + +.TP +.B \ -vv +Run in even more verbose mode. + +.TP +.B \ -V +Print version and exit. + +.SH ENVIRONMENT + +.B LDAP2DNS_UPDATE +The LDAP2DNS_UPDATE environment variable sets the time interval in seconds +to update DNS data. This variable is overridden by -u option. + +.B LDAP2DNS_OUTPUT +Specify the type of output. It may be set to 'data' so that its output may +be used by tinydns. It may be set to 'db' so that its output may be used by +'named'. This variable is overridden by the -o option. + +.B TINYDNSDIR +The root-directory used by tinydns, ie. the one in which to tinydns expects +its 'data'-file. + +.SH FILES + +/etc/openldap/ldap.conf +.br +Options specified here fulfil the same purpose as for other ldap-tools. + +.SH SEE ALSO + +ldap.conf(5), ldapsearch(1), tinydns, named.conf(5). + +Please visit the project homepage for more detail: +.RI [ http://ldap2dns.tiscover.com/ ] +.br +.SH AUTHOR +This manual page was written by Johann Botha , +for the Debian GNU/Linux system and is distributed under the GPL version 2 +or later. + +Jacob Rief is the original author of this program. --- ldap2dns-0.3.1.orig/debian/ldap2dnsd.1 +++ ldap2dns-0.3.1/debian/ldap2dnsd.1 @@ -0,0 +1 @@ +.so man1/ldap2dns.1 --- ldap2dns-0.3.1.orig/debian/ldap2tinydns-conf.1 +++ ldap2dns-0.3.1/debian/ldap2tinydns-conf.1 @@ -0,0 +1,61 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH LDAP2TINYDNS-CONF 1 "June 7, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +ldap2tinydns-conf \- part of the ldap2dns DNS management system +.SH SYNOPSIS +.B ldap2tinydns-conf +.br +.SH DESCRIPTION +This manual page documents briefly the +.B ldap2tinydns-conf +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page yet. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBldap2tinydns-conf\fP +is a shell script to help configure ldap2dns for use with tinydns. +This script wil add the directory structure and files required to run ldap2dns +under daemontools. +.sp 1 +Run this script within your tinydns directory. +.br +For example: +.B root@host[/var/tinydns]# ldap2tinydns-conf +.sp 1 +This creates the ldap2tinydns directory under your tinydns directory and +adds the default configuration under ldap2tinydns/env. + +.SH OPTIONS +This shell script does not take any commanline options. + +.SH SEE ALSO + +tinydns, ldap2dns(1). + +Please visit the project homepage for more detail: +.RI [ http://ldap2dns.tiscover.com/ ] +.br +.SH AUTHOR +This manual page was written by Johann Botha , +for the Debian GNU/Linux system and is distributed under the GPL version 2 +or later. + +Jacob Rief is the original author of this program.. --- ldap2dns-0.3.1.orig/debian/postinst +++ ldap2dns-0.3.1/debian/postinst @@ -0,0 +1,43 @@ +#! /bin/sh +# postinst script for ldap2dns + +set -e + +case "$1" in + configure) + cd /usr/bin + ln -f ldap2dns ldap2dnsd + cd - + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + exit 0 + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +umask 022 + +echo "" +echo "ldap2dns has been installed." +echo "" +echo "To set up services, please see the documentation at:" +echo "http://ldap2dns.tiscover.com/ or" +echo "/usr/share/doc/ldap2dns/README.txt.gz" +echo "" +echo "To Configure ldap2dns for use with djbdns:" +echo "Run ldap2tinydns-conf in your tinydns directory, something like:" +echo "root@host:/var/tinydns# ldap2tinydns-conf" +echo "" +echo "Then tell svscan about the new service:" +echo "ln -s /var/tinydns/ldap2tinydns /var/lib/svscan" +echo "" + +#DEBHELPER# + +exit 0 + --- ldap2dns-0.3.1.orig/debian/postrm +++ ldap2dns-0.3.1/debian/postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for ldap2dns + +set -e + +case "$1" in + purge|upgrade|failed-upgrade|abort-upgrade) + ;; + remove|abort-install|disappear) + + for i in `ls -d /var/lib/svscan/ldap2tinydns* 2>/dev/null`; do + rm -f $i || : + done + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# --- ldap2dns-0.3.1.orig/debian/prerm +++ ldap2dns-0.3.1/debian/prerm @@ -0,0 +1,45 @@ +#! /bin/sh +# prerm script for ldap2dns +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) + + for i in `ls -d /var/lib/svscan/ldap2tinydns* 2>/dev/null`; do + svc -dx "$i" + svc -dx "$i/log" + echo -n "${i#/var/lib/svscan/} " + done + + #rm /usr/doc/ldap2dns + rm /usr/bin/ldap2dnsd + + ;; + + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- ldap2dns-0.3.1.orig/debian/rules +++ ldap2dns-0.3.1/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +# -*- sh -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install INSTALL_PREFIX=$(CURDIR)/debian/ldap2dns + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman debian/ldap2dns.1 debian/ldap2dnsd.1 debian/ldap2tinydns-conf.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ldap2dns-0.3.1.orig/debian/watch +++ ldap2dns-0.3.1/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/bklang/ldap2dns/downloads .*/ldap2dns/ldap2dns-(\d\S+)\.tar\.(?:bz2|gz|xz) --- ldap2dns-0.3.1.orig/dns.schema +++ ldap2dns-0.3.1/dns.schema @@ -53,14 +53,14 @@ attributetype ( 1.3.6.1.4.1.7222.1.4.12 NAME 'dnsipaddr' - EQUALITY numericStringMatch - SUBSTR numericStringSubstringsMatch + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ) attributetype ( 1.3.6.1.4.1.7222.1.4.13 NAME 'dnscipaddr' - EQUALITY numericStringMatch - SUBSTR numericStringSubstringsMatch + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ) attributetype ( 1.3.6.1.4.1.7222.1.4.14 --- ldap2dns-0.3.1.orig/dns.schema.old +++ ldap2dns-0.3.1/dns.schema.old @@ -0,0 +1,115 @@ +# schema for DNS data +# include this file into Your slapd.conf for openldap-2.0.x +# $Id: dns.schema,v 1.9 2001/11/06 08:01:51 config Exp $ + +attributetype ( 1.3.6.1.4.1.7222.1.4.1 + NAME 'dnszonename' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.2 + NAME 'dnsserial' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.3 + NAME 'dnsrefresh' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.4 + NAME 'dnsretry' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.5 + NAME 'dnsexpire' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.6 + NAME 'dnsminimum' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.7 + NAME 'dnsadminmailbox' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.8 + NAME 'dnszonemaster' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.9 + NAME 'dnstype' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.10 + NAME 'dnsclass' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.11 + NAME 'dnsdomainname' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.12 + NAME 'dnsipaddr' + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.13 + NAME 'dnscipaddr' + EQUALITY numericStringMatch + SUBSTR numericStringSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.14 + NAME 'dnscname' + SUP name ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.15 + NAME 'dnspreference' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.16 + NAME 'dnsrr' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.17 + NAME 'dnsttl' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.18 + NAME 'dnstimestamp' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 + SINGLE-VALUE ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.21 + NAME 'NIChandle' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} ) + +attributetype ( 1.3.6.1.4.1.7222.1.4.22 + NAME 'TIShandle' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} ) + +objectclass ( 1.3.6.1.4.1.7222.1.4.19 + NAME 'dnszone' + MUST ( objectclass $ cn ) + MAY ( dnszonename $ dnsserial $ dnsrefresh $ dnsretry $ dnsexpire + $ dnsminimum $ dnsadminmailbox $ dnszonemaster $ dnstype $ dnsclass + $ dnsttl $ dnstimestamp $ owner $ NIChandle $ TIShandle ) ) + +objectclass ( 1.3.6.1.4.1.7222.1.4.20 + NAME 'dnsrrset' + SUP dnszone + MUST ( objectclass $ cn ) + MAY ( dnsdomainname $ dnsrr $ dnsclass $ dnstype $ dnsipaddr $ dnscipaddr + $ dnscname $ dnspreference $ dnsttl $ dnstimestamp $ owner ) ) + --- ldap2dns-0.3.1.orig/ldap2dns.c +++ ldap2dns-0.3.1/ldap2dns.c @@ -14,7 +14,7 @@ #include #define UPDATE_INTERVALL 59 -#define LDAP_CONF "/etc/ldap.conf" +#define LDAP_CONF "/etc/ldap/ldap.conf" #define OUTPUT_DATA 1 #define OUTPUT_DB 2 #define MAXHOSTS 10 --- ldap2dns-0.3.1.orig/ldap2tinydns-conf +++ ldap2dns-0.3.1/ldap2tinydns-conf @@ -20,13 +20,13 @@ cat << EOF_logrun > ldap2tinydns/log/run #!/bin/sh -exec setuidgid nobody multilog t ./main +exec setuidgid dnslog multilog t ./main EOF_logrun -chown nobody.nobody ldap2tinydns/log/main +chown dnslog.root ldap2tinydns/log/main chmod g+s ldap2tinydns/log/main chmod 755 ldap2tinydns/log/run -chown nobody.nobody ldap2tinydns/log/status +chown dnslog.root ldap2tinydns/log/status echo "To supervise ldap2dns do a symbolic link from /service onto ldap2dns"