Skip to content

Commit

Permalink
Fix LDAP Domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 22, 2024
1 parent 6e95af0 commit 81f645b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
set -euo pipefail

echo "Generating LDIF"
echo "Domain: ${LDAPDomain}"
echo "Domain: ${LDAP_DOMAIN}"

ORG=$(echo "${LDAPDomain}" | sed 's/\..*$//')
TLD=$(echo "${LDAPDomain}" | sed 's/^.*\.//')
ORG="$(echo "${LDAP_DOMAIN}" | sed 's/\..*$//')"
TLD="$(echo "${LDAP_DOMAIN}" | sed 's/^.*\.//')"

echo "ORG: ${ORG}"
echo "TLD: ${TLD}"
Expand Down

0 comments on commit 81f645b

Please sign in to comment.