We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If variables GROUP_OU and USER_OU are not set the corresponding OU's should not be created
The text was updated successfully, but these errors were encountered:
Add simple check if certain variables are defined like
# - check prerequisites -------------------------------------------------------- # check mandatory variables [ -z ${OUD_INSTANCE_HOME} ] && echo "- skip $(basename $0), variable OUD_INSTANCE_HOME not set" && exit [ -z ${PWD_FILE} ] && echo "- skip $(basename $0), variable PWD_FILE not set" && exit [ -f ${PWD_FILE} ] && echo "- skip $(basename $0), missing password file ${PWD_FILE}" && exit [ -z ${HOST} ] && echo "- skip $(basename $0), variable HOST not set" && exit [ -z ${PORT} ] && echo "- skip $(basename $0), variable PORT not set" && exit [ -z ${PORT_SSL} ] && echo "- skip $(basename $0), variable PORT_SSL not set" && exit [ -z ${PORT_ADMIN} ] && echo "- skip $(basename $0), variable PORT_ADMIN not set" && exit [ -z ${PORT_REST_ADMIN} ] && echo "- skip $(basename $0), variable PORT_REST_ADMIN not set" && exit [ -z ${PORT_REST_HTTP} ] && echo "- skip $(basename $0), variable PORT_REST_HTTP not set" && exit [ -z ${PORT_REST_HTTPS} ] && echo "- skip $(basename $0), variable PORT_REST_HTTPS not set" && exit [ -z ${DIRMAN} ] && echo "- skip $(basename $0), variable DIRMAN not set" && exit [ -z ${BASEDN} ] && echo "- skip $(basename $0), variable BASEDN not set" && exit
Sorry, something went wrong.
No branches or pull requests
If variables GROUP_OU and USER_OU are not set the corresponding OU's should not be created
The text was updated successfully, but these errors were encountered: