Skip to content

Commit 13ac853

Browse files
committed
ldap debug with trace loglevel
1 parent d537ba1 commit 13ac853

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

image/service/slapd/startup.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ EOF
169169
# start OpenLDAP
170170
log-helper info "Start OpenLDAP..."
171171

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

0 commit comments

Comments
 (0)