mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 23:43:54 +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
|
||||||
proftpd-ldap
|
proftpd-ldap
|
||||||
xntp
|
xntp
|
||||||
|
bind
|
||||||
|
dhcp-server
|
||||||
rsyslog
|
rsyslog
|
||||||
openldap2
|
openldap2
|
||||||
courier-authlib-ldap
|
courier-authlib-ldap
|
||||||
bind
|
|
||||||
xinetd
|
xinetd
|
||||||
apache2
|
apache2
|
||||||
|
|
||||||
|
|
@ -56,6 +57,7 @@ payload_pkgs="
|
||||||
|
|
||||||
dhcpcd
|
dhcpcd
|
||||||
nfs-client
|
nfs-client
|
||||||
|
samba-client
|
||||||
sudo
|
sudo
|
||||||
sysconfig
|
sysconfig
|
||||||
glibc-locale
|
glibc-locale
|
||||||
|
|
@ -100,6 +102,7 @@ payload_pkgs="
|
||||||
jux-client-run
|
jux-client-run
|
||||||
feedfsd-run
|
feedfsd-run
|
||||||
snmp-manager-run
|
snmp-manager-run
|
||||||
|
bprof-run
|
||||||
"
|
"
|
||||||
# -- functions
|
# -- functions
|
||||||
usage()
|
usage()
|
||||||
|
|
@ -609,6 +612,7 @@ cmd_install()
|
||||||
setup_root_directory
|
setup_root_directory
|
||||||
setup_bind_mounts
|
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
|
||||||
mkdir -p -m 755 $root/etc/openldap
|
mkdir -p -m 755 $root/etc/openldap
|
||||||
for c in \
|
for c in \
|
||||||
|
|
@ -619,6 +623,8 @@ cmd_install()
|
||||||
/etc/openldap/slapd.conf \
|
/etc/openldap/slapd.conf \
|
||||||
/etc/sysconfig/keyboard \
|
/etc/sysconfig/keyboard \
|
||||||
/etc/sysconfig/clock \
|
/etc/sysconfig/clock \
|
||||||
|
/etc/openldap/schema/authldap.schema \
|
||||||
|
/var/lib/ldap \
|
||||||
; do
|
; do
|
||||||
install -d -m 755 `dirname $root$c`
|
install -d -m 755 `dirname $root$c`
|
||||||
cp -rp $c $root$c
|
cp -rp $c $root$c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue