Skip to content

Commit 56f195c

Browse files
committed
Test ldap behavior
1 parent e065d97 commit 56f195c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ldap/tests/ldap_get_option_controls.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var_dump(
5252
ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_set2),
5353
ldap_get_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_get),
5454
$controls_get,
55-
$result = ldap_search($link, $base, "(objectClass=person)", array('cn')),
55+
$result = ldap_search($link, $base, "(objectClass=person)", array('cn'), 0, -1, -1, LDAP_DEREF_NEVER),
5656
ldap_get_entries($link, $result)['count'],
5757
ldap_set_option($link, LDAP_OPT_SERVER_CONTROLS, array()),
5858
ldap_get_option($link, LDAP_OPT_SERVER_CONTROLS, $controls_get)

0 commit comments

Comments
 (0)