Skip to content

Commit

Permalink
ldap debug with trace loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Jul 18, 2017
1 parent d537ba1 commit 13ac853
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions image/service/slapd/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ EOF
# start OpenLDAP
log-helper info "Start OpenLDAP..."

if log-helper level eq debug; then
# debug
if log-helper level ge debug; then
slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap -d $LDAP_LOG_LEVEL 2>&1 &
else
slapd -h "ldap://$HOSTNAME $PREVIOUS_HOSTNAME_PARAM ldap://localhost ldapi:///" -u openldap -g openldap
Expand Down

0 comments on commit 13ac853

Please sign in to comment.