[Ldapdns-users] Ldapdns v3 questions
Brought to you by:
nimh
From: Chris H. <ch...@am...> - 2003-11-22 18:58:23
|
I do not know what I am doing wrong. I have tried to get ldapdns 3 up with the following: From my rc: start) title "Starting ldapdns." touch $logfile;chown ldapdns $logfile || error=$? sudo -u ldapdns -b "/usr/sbin/ldapdns" >$logfile 2>$logfile || error=$? status ;; /usr/sbin/ldapdns: #!/bin/sh source /etc/profile cd /var/ldapdns rm -f root/ldap.tmp root/ldap /usr/sbin/ldapdns-hosts hosts root/ldap root/ldap.tmp CPU=`cat /proc/cpuinfo | grep processor | wc -l` ROOT=/var/ldapdns/root source /etc/ldapdns.conf pre=$1 shift $pre /usr/sbin/ldapdns-dg "$@" /etc/ldapdns.conf: SCHEMA=LDAPDNS LISTEN=0:5300 HOSTMASTER=hostmaster@localhost #SELFNS=a.ns.myhostname #REPLICAS=b.ns.myhostname:c.ns.myhostname export ROOT CPU LISTEN SCHEMA HOSTMASTER SELFNS REPLICAS /var/ldapdns/hosts/ns: base o=top address 127.0.0.1 dn cn=admin,o=top password **** method simple is root And: dn: dc=ns,ou=Hosts,ou=Network,o=top objectClass: top objectClass: dnsdomain objectClass: domainRelatedObject dc: ns aRecord: 10.0.0.2 mXRecord: mail.ambigc.com associatedDomain: ns.ambigc.com.sg But: # dig @localhost -p 5300 -t any ns ; <<>> DiG 9.2.2 <<>> @localhost -p 5300 -t any ns ;; global options: printcmd ;; connection timed out; no servers could be reached Any ideas on what to try would be appreciated. Thanks, Chris Hamilton |