ldap: fix config, entrypoint: fix path
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
28dc957305
commit
5f1aa89c56
@ -31,7 +31,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "$1" = "unitd"
|
|||||||
else
|
else
|
||||||
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
||||||
fi
|
fi
|
||||||
} > /usr/local/etc/php/conf.d/redis-session.ini
|
} > /etc/php/7.3/embed/conf.d/redis-session.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed_version="0.0.0.0"
|
installed_version="0.0.0.0"
|
||||||
|
@ -90,7 +90,6 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | ldapAttributesForGroupSearch | |
|
# | ldapAttributesForGroupSearch | |
|
||||||
# | ldapAttributesForUserSearch | |
|
# | ldapAttributesForUserSearch | |
|
||||||
# | ldapCacheTTL | 600 |
|
# | ldapCacheTTL | 600 |
|
||||||
# | ldapConfigurationActive | 0 |
|
|
||||||
# | ldapDefaultPPolicyDN | |
|
# | ldapDefaultPPolicyDN | |
|
||||||
# | ldapDynamicGroupMemberURL | |
|
# | ldapDynamicGroupMemberURL | |
|
||||||
# | ldapExperiencedAdmin | 0 |
|
# | ldapExperiencedAdmin | 0 |
|
||||||
@ -109,4 +108,7 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | turnOnPasswordChange | 0 |
|
# | turnOnPasswordChange | 0 |
|
||||||
# | useMemberOfToDetectMembership | 1 |
|
# | useMemberOfToDetectMembership | 1 |
|
||||||
|
|
||||||
|
# set config as active
|
||||||
|
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||||
|
|
||||||
cd ${PREV_DIR}
|
cd ${PREV_DIR}
|
||||||
|
@ -31,7 +31,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "$1" = "unitd"
|
|||||||
else
|
else
|
||||||
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
||||||
fi
|
fi
|
||||||
} > /usr/local/etc/php/conf.d/redis-session.ini
|
} > /etc/php/7.3/embed/conf.d/redis-session.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed_version="0.0.0.0"
|
installed_version="0.0.0.0"
|
||||||
|
@ -90,7 +90,6 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | ldapAttributesForGroupSearch | |
|
# | ldapAttributesForGroupSearch | |
|
||||||
# | ldapAttributesForUserSearch | |
|
# | ldapAttributesForUserSearch | |
|
||||||
# | ldapCacheTTL | 600 |
|
# | ldapCacheTTL | 600 |
|
||||||
# | ldapConfigurationActive | 0 |
|
|
||||||
# | ldapDefaultPPolicyDN | |
|
# | ldapDefaultPPolicyDN | |
|
||||||
# | ldapDynamicGroupMemberURL | |
|
# | ldapDynamicGroupMemberURL | |
|
||||||
# | ldapExperiencedAdmin | 0 |
|
# | ldapExperiencedAdmin | 0 |
|
||||||
@ -109,4 +108,7 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | turnOnPasswordChange | 0 |
|
# | turnOnPasswordChange | 0 |
|
||||||
# | useMemberOfToDetectMembership | 1 |
|
# | useMemberOfToDetectMembership | 1 |
|
||||||
|
|
||||||
|
# set config as active
|
||||||
|
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||||
|
|
||||||
cd ${PREV_DIR}
|
cd ${PREV_DIR}
|
||||||
|
@ -31,7 +31,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "$1" = "unitd"
|
|||||||
else
|
else
|
||||||
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
||||||
fi
|
fi
|
||||||
} > /usr/local/etc/php/conf.d/redis-session.ini
|
} > /etc/php/7.3/embed/conf.d/redis-session.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed_version="0.0.0.0"
|
installed_version="0.0.0.0"
|
||||||
|
@ -90,7 +90,6 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | ldapAttributesForGroupSearch | |
|
# | ldapAttributesForGroupSearch | |
|
||||||
# | ldapAttributesForUserSearch | |
|
# | ldapAttributesForUserSearch | |
|
||||||
# | ldapCacheTTL | 600 |
|
# | ldapCacheTTL | 600 |
|
||||||
# | ldapConfigurationActive | 0 |
|
|
||||||
# | ldapDefaultPPolicyDN | |
|
# | ldapDefaultPPolicyDN | |
|
||||||
# | ldapDynamicGroupMemberURL | |
|
# | ldapDynamicGroupMemberURL | |
|
||||||
# | ldapExperiencedAdmin | 0 |
|
# | ldapExperiencedAdmin | 0 |
|
||||||
@ -109,4 +108,7 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | turnOnPasswordChange | 0 |
|
# | turnOnPasswordChange | 0 |
|
||||||
# | useMemberOfToDetectMembership | 1 |
|
# | useMemberOfToDetectMembership | 1 |
|
||||||
|
|
||||||
|
# set config as active
|
||||||
|
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||||
|
|
||||||
cd ${PREV_DIR}
|
cd ${PREV_DIR}
|
||||||
|
@ -31,7 +31,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "$1" = "unitd"
|
|||||||
else
|
else
|
||||||
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
||||||
fi
|
fi
|
||||||
} > /usr/local/etc/php/conf.d/redis-session.ini
|
} > /etc/php/7.3/embed/conf.d/redis-session.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed_version="0.0.0.0"
|
installed_version="0.0.0.0"
|
||||||
|
@ -90,7 +90,6 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | ldapAttributesForGroupSearch | |
|
# | ldapAttributesForGroupSearch | |
|
||||||
# | ldapAttributesForUserSearch | |
|
# | ldapAttributesForUserSearch | |
|
||||||
# | ldapCacheTTL | 600 |
|
# | ldapCacheTTL | 600 |
|
||||||
# | ldapConfigurationActive | 0 |
|
|
||||||
# | ldapDefaultPPolicyDN | |
|
# | ldapDefaultPPolicyDN | |
|
||||||
# | ldapDynamicGroupMemberURL | |
|
# | ldapDynamicGroupMemberURL | |
|
||||||
# | ldapExperiencedAdmin | 0 |
|
# | ldapExperiencedAdmin | 0 |
|
||||||
@ -109,4 +108,7 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | turnOnPasswordChange | 0 |
|
# | turnOnPasswordChange | 0 |
|
||||||
# | useMemberOfToDetectMembership | 1 |
|
# | useMemberOfToDetectMembership | 1 |
|
||||||
|
|
||||||
|
# set config as active
|
||||||
|
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||||
|
|
||||||
cd ${PREV_DIR}
|
cd ${PREV_DIR}
|
||||||
|
@ -31,7 +31,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "$1" = "unitd"
|
|||||||
else
|
else
|
||||||
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
echo "session.save_path = \"tcp://${REDIS_HOST}:${REDIS_HOST_PORT:=6379}\""
|
||||||
fi
|
fi
|
||||||
} > /usr/local/etc/php/conf.d/redis-session.ini
|
} > /etc/php/7.3/embed/conf.d/redis-session.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
installed_version="0.0.0.0"
|
installed_version="0.0.0.0"
|
||||||
|
@ -90,7 +90,6 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | ldapAttributesForGroupSearch | |
|
# | ldapAttributesForGroupSearch | |
|
||||||
# | ldapAttributesForUserSearch | |
|
# | ldapAttributesForUserSearch | |
|
||||||
# | ldapCacheTTL | 600 |
|
# | ldapCacheTTL | 600 |
|
||||||
# | ldapConfigurationActive | 0 |
|
|
||||||
# | ldapDefaultPPolicyDN | |
|
# | ldapDefaultPPolicyDN | |
|
||||||
# | ldapDynamicGroupMemberURL | |
|
# | ldapDynamicGroupMemberURL | |
|
||||||
# | ldapExperiencedAdmin | 0 |
|
# | ldapExperiencedAdmin | 0 |
|
||||||
@ -109,4 +108,7 @@ php occ ldap:set-config s01 ldapGroupMemberAssocAttr "${LDAP_GROUP_MEMBER_ASSOC_
|
|||||||
# | turnOnPasswordChange | 0 |
|
# | turnOnPasswordChange | 0 |
|
||||||
# | useMemberOfToDetectMembership | 1 |
|
# | useMemberOfToDetectMembership | 1 |
|
||||||
|
|
||||||
|
# set config as active
|
||||||
|
php occ ldap:set-config s01 ldapConfigurationActive 1
|
||||||
|
|
||||||
cd ${PREV_DIR}
|
cd ${PREV_DIR}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user