mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
4c9608fb27
This allows to us to have restricted access to the directory by the group 'named' which bind is a member of. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
40 lines
1.2 KiB
Bash
Executable File
40 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This is the fallback table for when we use the docs-xml build
|
|
# system. When build as part of the main waf build, these are set to
|
|
# the full correct path for the system.
|
|
#
|
|
echo "<!DOCTYPE section [
|
|
<!ENTITY pathconfig.SCRIPTSBINDIR '\${prefix}/sbin'>
|
|
<!ENTITY pathconfig.LOCKDIR '\${prefix}/var/lock'>
|
|
<!ENTITY pathconfig.NCALRPCDIR '\${prefix}/var/run/ncalrpc'>
|
|
<!ENTITY pathconfig.PIDDIR '\${prefix}/var/run'>
|
|
<!ENTITY pathconfig.STATEDIR '\${prefix}/var/locks'>
|
|
<!ENTITY pathconfig.PRIVATE_DIR '\${prefix}/private'>
|
|
<!ENTITY pathconfig.BINDDNS_DIR '\${prefix}/bind-dns'>
|
|
<!ENTITY pathconfig.SMB_PASSWD_FILE '\${prefix}/private/smbpasswd'>
|
|
<!ENTITY pathconfig.WINBINDD_SOCKET_DIR '\${prefix}/var/run/winbindd'>
|
|
<!ENTITY pathconfig.CACHEDIR '\${prefix}/var/cache'>
|
|
<!ENTITY pathconfig.NTP_SIGND_SOCKET_DIR '\${prefix}/var/lib/ntp_signd'>
|
|
<!ENTITY pathconfig.MITKDCPATH '\${prefix}/sbin/krb5kdc'>
|
|
]>"
|
|
|
|
DIR=.
|
|
if [ "x$1" != "x" ]
|
|
then
|
|
DIR="$1"
|
|
fi
|
|
|
|
OLD=`pwd`
|
|
cd $DIR
|
|
|
|
echo "<section>"
|
|
for I in `find . -mindepth 2 -type f -name '*.xml' | sort -t/ -k3 | xargs`
|
|
do
|
|
cat $I
|
|
done
|
|
echo "</section>"
|
|
|
|
|
|
cd $OLD
|