We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HHVM version:
HipHop VM 3.4.2 (rel) Compiler: tags/HHVM-3.4.2-0-g40d85d7386b3342ab848fc45c6892433c89ef5b2 Repo schema: 13cba877c4300d1d0481b3f40eb128a5115d4e08 Extension API: 20140829
LDAP_OPT_NETWORK_TIMEOUT
http://docs.hhvm.com/manual/en/function.ldap-set-option.php
root@300d0c415acd:/# echo '<?php var_dump(LDAP_OPT_NETWORK_TIMEOUT);' | hhvm --php Notice: Use of undefined constant LDAP_OPT_NETWORK_TIMEOUT - assumed 'LDAP_OPT_NETWORK_TIMEOUT' in /tmp/php-wrap-lzBRdU on line 1 string(24) "LDAP_OPT_NETWORK_TIMEOUT"
ldap_get_entries
$dn = 'dc=example,dc=com'; $filter = '(&(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))'; $attr = array('userPrincipalName'); $conn = ldap_connect('1.2.3.4', 389) or die('Connection Error.'); ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3); ldap_set_option($conn, LDAP_OPT_REFERRALS, 0); $bind = ldap_bind($conn, 'ldap@example.com', 'password'); if ($bind) { $search = ldap_search($conn, $dn, $filter, $attr); if ($search) { $ret = ldap_get_entries($conn, $search); print_r($ret); } }
The text was updated successfully, but these errors were encountered:
2adc7b4
No branches or pull requests
HHVM version:
1.
LDAP_OPT_NETWORK_TIMEOUT
undefinedhttp://docs.hhvm.com/manual/en/function.ldap-set-option.php
2.
ldap_get_entries
don't lower attribute name as expectedThe text was updated successfully, but these errors were encountered: