mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
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:
parent
8129f8913c
commit
ed74599194
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue