mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-13 02:12:55 -05:00
improve previous commit
This commit is contained in:
parent
a2b8670b92
commit
409bb53f82
1 changed files with 5 additions and 4 deletions
|
|
@ -55,10 +55,11 @@ if test $RC != 0 ; then
|
|||
fi
|
||||
|
||||
# ITS#3898: #ifndef LDAP_DEVEL, the control is not available
|
||||
case `$LDAPSEARCH -s base -b "" -h $LOCALHOST -p $PORT1 -A \
|
||||
'(supportedControl:objectIdentifierMatch:=1.3.6.1.4.1.4203.666.5.12)' \
|
||||
supportedControl | grep supportedControl` in
|
||||
"supportedControl:")
|
||||
MANAGEDITOID="1.3.6.1.4.1.4203.666.5.12"
|
||||
case `$LDAPSEARCH -s base -b "" -h $LOCALHOST -p $PORT1 \
|
||||
'(supportedControl:objectIdentifierMatch:='${MANAGEDITOID}')' \
|
||||
supportedControl | grep "supportedControl: ${MANAGEDITOID}"` in
|
||||
"supportedControl: ${MANAGEDITOID}")
|
||||
;;
|
||||
*)
|
||||
echo "The \"manageDIT\" control appears to be unsupported; test disabled"
|
||||
|
|
|
|||
Loading…
Reference in a new issue