integrate-distro.sh: DHCP-server, Samba, LDAP

- Add packages dhcp-server, samba-client bprof-run
  - Copy /etc/openldap/schema/authldap.schema, the
    schema coming with courier-authlib-ldap doesn't cut it,
    lacks mailhost attribute
  - Copy /var/lib/ldap to seed the database
This commit is contained in:
Jan Lindemann 2011-06-16 16:59:06 +00:00 committed by Jan Lindemann
commit ed74599194

View file

@ -40,10 +40,11 @@ payload_pkgs="
proftpd
proftpd-ldap
xntp
bind
dhcp-server
rsyslog
openldap2
courier-authlib-ldap
bind
xinetd
apache2
@ -56,6 +57,7 @@ payload_pkgs="
dhcpcd
nfs-client
samba-client
sudo
sysconfig
glibc-locale
@ -100,6 +102,7 @@ payload_pkgs="
jux-client-run
feedfsd-run
snmp-manager-run
bprof-run
"
# -- functions
usage()
@ -609,6 +612,7 @@ cmd_install()
setup_root_directory
setup_bind_mounts
mv $root/var/lib/ldap $root/var/lib/ldap-$myname
mkdir -p -m 755 $root/etc
mkdir -p -m 755 $root/etc/openldap
for c in \
@ -619,6 +623,8 @@ cmd_install()
/etc/openldap/slapd.conf \
/etc/sysconfig/keyboard \
/etc/sysconfig/clock \
/etc/openldap/schema/authldap.schema \
/var/lib/ldap \
; do
install -d -m 755 `dirname $root$c`
cp -rp $c $root$c