Skip to content

Commit 7878e22

Browse files
author
Dmitry Berezovsky
committed
Temporary removed ldap mapping to EBS
1 parent d529886 commit 7878e22

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

modules/domain_controller/resources/centos-to-clearos.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@ service webconfig start
6565

6666
# LDAP
6767
link_external_storage "/store/ldap/data" "/var/lib/ldap"
68-
link_external_storage "/store/ldap/config" "/etc/openldap"
69-
mkdir -p /store/ldap/config/slapd.d
70-
chown -R ldap:ldap /store/ldap/data/*
71-
chown -R ldap:ldap /store/ldap/data
72-
chown -R ldap:ldap /store/ldap/config/*
73-
chown -R ldap:ldap /store/ldap/config
74-
chmod -R o+rw /store/ldap/data/
75-
chmod -R o+rw /var/lib/ldap/*
76-
setfacl -R -m u:ldap:rw /store/ldap
77-
setfacl -R -d -m u:ldap:rwx /store/ldap
78-
setfacl -R -m o:rwx /store/ldap
79-
setfacl -R -d -m o:rw /store/ldap
68+
#link_external_storage "/store/ldap/config" "/etc/openldap"
69+
#mkdir -p /store/ldap/config/slapd.d
70+
#chown -R ldap:ldap /store/ldap/data/*
71+
#chown -R ldap:ldap /store/ldap/data
72+
#chown -R ldap:ldap /store/ldap/config/*
73+
#chown -R ldap:ldap /store/ldap/config
74+
#chmod -R o+rw /store/ldap/data/
75+
#chmod -R o+rw /var/lib/ldap/*
76+
#setfacl -R -m u:ldap:rw /store/ldap
77+
#setfacl -R -d -m u:ldap:rwx /store/ldap
78+
#setfacl -R -m o:rwx /store/ldap
79+
#setfacl -R -d -m o:rw /store/ldap
8080
# Clearos
8181
link_external_storage "/store/clearos_config" "/etc/clearos"
8282
link_external_storage "/store/clearos_data" "/var/clearos"
@@ -85,7 +85,7 @@ chmod -R o+rw /store/clearos_config
8585
# OpenVPN
8686
link_external_storage "/store/openvpn" "/etc/openvpn"
8787
# Dnsmasq
88-
link_external_storage "/store/dnsmasq" "/etc/dnsmasq.d/"
88+
link_external_storage "/store/dnsmasq" "/etc/dnsmasq.d"
8989

9090
# Reboot
9191
reboot

modules/domain_controller/resources/mount-ebs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ mkdir -p $MOUNT_POINT
7474
FSTAB_RECORD=`cat /etc/fstab | grep $MOUNT_POINT`
7575
if [ -z "$FSTAB_RECORD" ]; then
7676
echo "Creating FS TAB record..."
77-
FSTAB_RECORD="$DEVICE $MOUNT_POINT $FS rw,user,exec,acl,umask=000 0 0"
77+
FSTAB_RECORD="$DEVICE $MOUNT_POINT $FS rw,user,exec,acl 0 0"
7878
echo "> $FSTAB_RECORD"
7979
echo "$FSTAB_RECORD" >> /etc/fstab
8080
echo "FS TAB written"

0 commit comments

Comments
 (0)