mirror of
https://github.com/bklang/ldap2dns.git
synced 2025-10-27 14:24:15 -04:00
+ Modified ldap2dns-conf to behave more like tinydns-conf
+ Altered default behavior (via ldap2dns-conf) to run ldap2dns as non-root + Updated FAQ git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@129 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
@@ -15,6 +15,9 @@ Version 0.3.6 (latest)
|
|||||||
+ Removed old index.html
|
+ Removed old index.html
|
||||||
+ Removed TODO.schema
|
+ Removed TODO.schema
|
||||||
+ Updated Makefile
|
+ Updated Makefile
|
||||||
|
+ Modified ldap2dns-conf to behave more like tinydns-conf
|
||||||
|
+ Altered default behavior (via ldap2dns-conf) to run ldap2dns as non-root
|
||||||
|
+ Updated FAQ
|
||||||
|
|
||||||
Version 0.3.5 - 2005/11/30
|
Version 0.3.5 - 2005/11/30
|
||||||
+ Added support for DNS SRV records
|
+ Added support for DNS SRV records
|
||||||
|
|||||||
17
FAQ
17
FAQ
@@ -1,3 +1,20 @@
|
|||||||
|
1) What happened to the webadmin directory?
|
||||||
|
|
||||||
|
2005-12-07 bklang
|
||||||
|
I have deprecated that code in favor of another project I am working on. It
|
||||||
|
is called Beatnik and is a Horde framework module. The status of the webadmin
|
||||||
|
code was unclear and I was not willing to support it so I deprecated it. I
|
||||||
|
left it as part of the tarball release and in version control in case others
|
||||||
|
out there felt differently and/or it ever needed to be modified or even revived.
|
||||||
|
|
||||||
|
As far as I'm concerned you are welcome to use it but consequently are on your
|
||||||
|
own. You might also contact the author, Jacob Rief (jacob.rief@tiscover.com)
|
||||||
|
for more information but he is no longer interested in maintaing this work
|
||||||
|
so do not depend on him.
|
||||||
|
|
||||||
|
|
||||||
|
-- Old FAQ entry below (meaning is unclear to me -- 2005/12/07 bklang --
|
||||||
|
|
||||||
From: Steven Dossett <sdossett@panath.com>
|
From: Steven Dossett <sdossett@panath.com>
|
||||||
Right after I mailed you, I patched the schema :)
|
Right after I mailed you, I patched the schema :)
|
||||||
I moved from IA5 Strings to Numeric Strings in that section of the schema:
|
I moved from IA5 Strings to Numeric Strings in that section of the schema:
|
||||||
|
|||||||
@@ -1,32 +1,45 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
LDAP2DNSUSER=$1
|
||||||
|
LDAP2DNSLOGUSER=$2
|
||||||
|
LDAP2DNSDIR=$3
|
||||||
|
TINYDNSDIR=$4
|
||||||
|
|
||||||
mkdir ldap2tinydns
|
if [ -z "$LDAP2DNSUSER" -o -z "$LDAP2DNSLOGUSER" -o -z "$LDAP2DNSDIR" -o \
|
||||||
mkdir ldap2tinydns/env
|
-z "$TINYDNSDIR" ]; then
|
||||||
mkdir ldap2tinydns/log
|
echo "usage: $0 acct logacct /path/to/supervise /path/to/tinydns-supervise" >&2
|
||||||
mkdir ldap2tinydns/log/main
|
exit 1
|
||||||
touch ldap2tinydns/log/status
|
fi
|
||||||
|
|
||||||
cat << EOF_run > ldap2tinydns/run
|
set -e # Err out immediately if any of the following fails
|
||||||
|
|
||||||
|
mkdir $LDAP2DNSDIR
|
||||||
|
mkdir $LDAP2DNSDIR/env
|
||||||
|
mkdir $LDAP2DNSDIR/log
|
||||||
|
mkdir $LDAP2DNSDIR/log/main
|
||||||
|
touch $LDAP2DNSDIR/log/status
|
||||||
|
|
||||||
|
cat << EOF_run > $LDAP2DNSDIR/run
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
exec envdir ./env softlimit -d250000 /usr/bin/ldap2dns -e "cd /var/tinydns/root && /usr/bin/tinydns-data"
|
exec setuidgid $LDAP2DNSUSER envdir ./env softlimit -d250000 /usr/bin/ldap2dns -e "cd $TINYDNSDIR && tinydns-data"
|
||||||
EOF_run
|
EOF_run
|
||||||
|
|
||||||
chmod +t ldap2tinydns
|
chmod +t $LDAP2DNSDIR
|
||||||
chmod 755 ldap2tinydns/run
|
chmod 755 $LDAP2DNSDIR/run
|
||||||
echo "/var/tinydns/root" > ldap2tinydns/env/TINYDNSDIR
|
echo "$TINYDNSDIR" > $LDAP2DNSDIR/env/TINYDNSDIR
|
||||||
echo "60" > ldap2tinydns/env/LDAP2DNS_UPDATE
|
echo "60" > $LDAP2DNSDIR/env/LDAP2DNS_UPDATE
|
||||||
echo "data" > ldap2tinydns/env/LDAP2DNS_OUTPUT
|
echo "data" > $LDAP2DNSDIR/env/LDAP2DNS_OUTPUT
|
||||||
|
|
||||||
cat << EOF_logrun > ldap2tinydns/log/run
|
cat << EOF_logrun > $LDAP2DNSDIR/log/run
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec setuidgid nobody multilog t ./main
|
exec setuidgid $LDAP2DNSLOGUSER multilog t ./main
|
||||||
EOF_logrun
|
EOF_logrun
|
||||||
|
|
||||||
chown nobody.nobody ldap2tinydns/log/main
|
chown $LDAP2DNSLOGUSER:$LDAP2DNSLOGUSER $LDAP2DNSDIR/log/main
|
||||||
chmod g+s ldap2tinydns/log/main
|
chmod g+s $LDAP2DNSDIR/log/main
|
||||||
chmod 755 ldap2tinydns/log/run
|
chmod 755 $LDAP2DNSDIR/log/run
|
||||||
chown nobody.nobody ldap2tinydns/log/status
|
chown $LDAP2DNSLOGUSER:$LDAP2DNSLOGUSER $LDAP2DNSDIR/log/status
|
||||||
|
|
||||||
echo "To supervise ldap2dns do a symbolic link from /service onto ldap2dns"
|
echo "To supervise ldap2dns do a symbolic link from /service onto ldap2dns"
|
||||||
|
echo "For proper operation, ensure $LDAP2DNSUSER has write access to $TINYDNSDIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user