Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
ldap /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
CONFLICTS
5
B
-rw-rw-r--
2022-10-31 11:36
README.md
4.16
KB
-rw-rw-r--
2022-10-31 11:36
bug48441.phpt
2.77
KB
-rw-rw-r--
2022-10-31 11:36
bug48696.phpt
296
B
-rw-rw-r--
2022-10-31 11:36
bug72021.phpt
321
B
-rw-rw-r--
2022-10-31 11:36
bug73933.phpt
691
B
-rw-rw-r--
2022-10-31 11:36
bug77958.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
connect.inc
2.78
KB
-rw-rw-r--
2022-10-31 11:36
ldap_add_basic.phpt
1.41
KB
-rw-rw-r--
2022-10-31 11:36
ldap_add_error.phpt
2.94
KB
-rw-rw-r--
2022-10-31 11:36
ldap_add_ext.phpt
1.82
KB
-rw-rw-r--
2022-10-31 11:36
ldap_bind_basic.phpt
462
B
-rw-rw-r--
2022-10-31 11:36
ldap_bind_error.phpt
948
B
-rw-rw-r--
2022-10-31 11:36
ldap_bind_ext.phpt
1.67
KB
-rw-rw-r--
2022-10-31 11:36
ldap_bind_variation.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
ldap_compare_basic.phpt
740
B
-rw-rw-r--
2022-10-31 11:36
ldap_compare_error.phpt
1.37
KB
-rw-rw-r--
2022-10-31 11:36
ldap_connect_basic.phpt
334
B
-rw-rw-r--
2022-10-31 11:36
ldap_connect_error.phpt
738
B
-rw-rw-r--
2022-10-31 11:36
ldap_connect_ldap_conf.phpt
602
B
-rw-rw-r--
2022-10-31 11:36
ldap_connect_variation.phpt
780
B
-rw-rw-r--
2022-10-31 11:36
ldap_control_paged_results_variation1.phpt
1.11
KB
-rw-rw-r--
2022-10-31 11:36
ldap_control_paged_results_variation2.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
ldap_control_paged_results_variation3.phpt
2.08
KB
-rw-rw-r--
2022-10-31 11:36
ldap_controls.phpt
4.35
KB
-rw-rw-r--
2022-10-31 11:36
ldap_count_entries_basic.phpt
697
B
-rw-rw-r--
2022-10-31 11:36
ldap_count_entries_error.phpt
606
B
-rw-rw-r--
2022-10-31 11:36
ldap_delete_basic.phpt
850
B
-rw-rw-r--
2022-10-31 11:36
ldap_delete_error.phpt
1.37
KB
-rw-rw-r--
2022-10-31 11:36
ldap_delete_ext.phpt
1.47
KB
-rw-rw-r--
2022-10-31 11:36
ldap_dn2ufn.phpt
686
B
-rw-rw-r--
2022-10-31 11:36
ldap_err2str_basic.phpt
301
B
-rw-rw-r--
2022-10-31 11:36
ldap_err2str_error.phpt
652
B
-rw-rw-r--
2022-10-31 11:36
ldap_errno_basic.phpt
584
B
-rw-rw-r--
2022-10-31 11:36
ldap_errno_error.phpt
512
B
-rw-rw-r--
2022-10-31 11:36
ldap_error_basic.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
ldap_error_error.phpt
512
B
-rw-rw-r--
2022-10-31 11:36
ldap_escape_all.phpt
226
B
-rw-rw-r--
2022-10-31 11:36
ldap_escape_both.phpt
261
B
-rw-rw-r--
2022-10-31 11:36
ldap_escape_dn.phpt
223
B
-rw-rw-r--
2022-10-31 11:36
ldap_escape_filter.phpt
235
B
-rw-rw-r--
2022-10-31 11:36
ldap_escape_ignore.phpt
246
B
-rw-rw-r--
2022-10-31 11:36
ldap_exop.phpt
2.27
KB
-rw-rw-r--
2022-10-31 11:36
ldap_exop_passwd.phpt
1.2
KB
-rw-rw-r--
2022-10-31 11:36
ldap_exop_passwd_error.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
ldap_exop_refresh.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
ldap_exop_whoami.phpt
650
B
-rw-rw-r--
2022-10-31 11:36
ldap_explode_dn.phpt
1.79
KB
-rw-rw-r--
2022-10-31 11:36
ldap_first_attribute_basic.phpt
796
B
-rw-rw-r--
2022-10-31 11:36
ldap_first_attribute_error.phpt
618
B
-rw-rw-r--
2022-10-31 11:36
ldap_first_entry_basic.phpt
846
B
-rw-rw-r--
2022-10-31 11:36
ldap_first_entry_error.phpt
743
B
-rw-rw-r--
2022-10-31 11:36
ldap_first_reference_basic.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
ldap_first_reference_error.phpt
775
B
-rw-rw-r--
2022-10-31 11:36
ldap_free_result_basic.phpt
691
B
-rw-rw-r--
2022-10-31 11:36
ldap_free_result_error.phpt
604
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_attributes_basic.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
ldap_get_attributes_error.phpt
617
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_dn_basic.phpt
739
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_dn_error.phpt
569
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_entries_basic.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
ldap_get_entries_error.phpt
800
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_entries_variation.phpt
736
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_option_basic.phpt
491
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_option_controls.phpt
2.5
KB
-rw-rw-r--
2022-10-31 11:36
ldap_get_option_error.phpt
960
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_option_package_basic.phpt
543
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_option_variation.phpt
2.28
KB
-rw-rw-r--
2022-10-31 11:36
ldap_get_values_len_basic.phpt
796
B
-rw-rw-r--
2022-10-31 11:36
ldap_get_values_len_error.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
ldap_list_basic.phpt
2.47
KB
-rw-rw-r--
2022-10-31 11:36
ldap_list_error.phpt
855
B
-rw-rw-r--
2022-10-31 11:36
ldap_mod_add_basic.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
ldap_mod_add_error.phpt
1.98
KB
-rw-rw-r--
2022-10-31 11:36
ldap_mod_del_basic.phpt
812
B
-rw-rw-r--
2022-10-31 11:36
ldap_mod_del_error.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
ldap_mod_ext.phpt
3.38
KB
-rw-rw-r--
2022-10-31 11:36
ldap_mod_replace_basic.phpt
1.06
KB
-rw-rw-r--
2022-10-31 11:36
ldap_mod_replace_error.phpt
1.58
KB
-rw-rw-r--
2022-10-31 11:36
ldap_modify_basic.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
ldap_modify_batch_basic.phpt
1.95
KB
-rw-rw-r--
2022-10-31 11:36
ldap_modify_batch_error.phpt
2.46
KB
-rw-rw-r--
2022-10-31 11:36
ldap_modify_error.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
ldap_next_attribute_basic.phpt
952
B
-rw-rw-r--
2022-10-31 11:36
ldap_next_attribute_error.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
ldap_next_entry_basic.phpt
938
B
-rw-rw-r--
2022-10-31 11:36
ldap_next_entry_error.phpt
741
B
-rw-rw-r--
2022-10-31 11:36
ldap_next_reference_basic.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
ldap_next_reference_error.phpt
773
B
-rw-rw-r--
2022-10-31 11:36
ldap_option_reqcert_basic.phpt
630
B
-rw-rw-r--
2022-10-31 11:36
ldap_option_reqcert_error.phpt
625
B
-rw-rw-r--
2022-10-31 11:36
ldap_parse_reference_basic.phpt
1.22
KB
-rw-rw-r--
2022-10-31 11:36
ldap_parse_reference_error.phpt
816
B
-rw-rw-r--
2022-10-31 11:36
ldap_parse_result_basic.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
ldap_parse_result_controls.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
ldap_parse_result_error.phpt
411
B
-rw-rw-r--
2022-10-31 11:36
ldap_read_basic.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
ldap_read_error.phpt
855
B
-rw-rw-r--
2022-10-31 11:36
ldap_read_variation1.phpt
329
B
-rw-rw-r--
2022-10-31 11:36
ldap_rename_basic.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
ldap_rename_error.phpt
513
B
-rw-rw-r--
2022-10-31 11:36
ldap_rename_ext.phpt
1.81
KB
-rw-rw-r--
2022-10-31 11:36
ldap_sasl_bind_basic.phpt
980
B
-rw-rw-r--
2022-10-31 11:36
ldap_sasl_bind_error.phpt
2
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_basic.phpt
3.13
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_error.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_overrides.phpt
3.71
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_paged_result_controls.phpt
2
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_sort_controls.phpt
3.92
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation1.phpt
1016
B
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation2.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation3.phpt
1.8
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation4.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation5.phpt
2.04
KB
-rw-rw-r--
2022-10-31 11:36
ldap_search_variation6.phpt
3.95
KB
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_basic.phpt
497
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_cafiles_basic.phpt
815
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_ciphersuite_basic.phpt
488
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_crlcheck_basic.phpt
844
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_crlcheck_error.phpt
374
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_error.phpt
1.74
KB
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_keepalive_basic.phpt
589
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_reqcert_basic.phpt
702
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_reqcert_error.phpt
402
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_tls_protocol_min_basic.phpt
754
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_option_variation.phpt
2.47
KB
-rw-rw-r--
2022-10-31 11:36
ldap_set_rebind_proc_basic.phpt
820
B
-rw-rw-r--
2022-10-31 11:36
ldap_set_rebind_proc_error.phpt
1.33
KB
-rw-rw-r--
2022-10-31 11:36
ldap_sort_basic.phpt
3.5
KB
-rw-rw-r--
2022-10-31 11:36
ldap_sort_error.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
ldap_sort_variation.phpt
3.51
KB
-rw-rw-r--
2022-10-31 11:36
ldap_start_tls_basic.phpt
474
B
-rw-rw-r--
2022-10-31 11:36
ldap_start_tls_error.phpt
679
B
-rw-rw-r--
2022-10-31 11:36
ldap_unbind_basic.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
ldap_unbind_error.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
ldap_unbind_variation.phpt
798
B
-rw-rw-r--
2022-10-31 11:36
skipif.inc
86
B
-rw-rw-r--
2022-10-31 11:36
skipifbindfailure.inc
339
B
-rw-rw-r--
2022-10-31 11:36
skipifcontrol.inc
438
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
<?php /* Default values are "localhost", "cn=Manager,dc=my-domain,dc=com", and password "secret". Change the LDAP_TEST_* environment values if you want to use another configuration. */ $host = getenv("LDAP_TEST_HOST") ?: "localhost"; $port = getenv("LDAP_TEST_PORT") ?: 389; $base = getenv("LDAP_TEST_BASE") ?: "dc=my-domain,dc=com"; $user = getenv("LDAP_TEST_USER") ?: "cn=Manager,$base"; $passwd = getenv("LDAP_TEST_PASSWD") ?: "secret"; $sasl_user = getenv("LDAP_TEST_SASL_USER") ?: "userA"; $sasl_passwd = getenv("LDAP_TEST_SASL_PASSWD") ?: "oops"; $protocol_version = getenv("LDAP_TEST_OPT_PROTOCOL_VERSION") ?: 3; $skip_on_bind_failure = getenv("LDAP_TEST_SKIP_BIND_FAILURE") ?: true; function ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version) { $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); ldap_bind($link, $user, $passwd); return $link; } function test_bind($host, $port, $user, $passwd, $protocol_version) { $link = ldap_connect($host, $port); ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version); return ldap_bind($link, $user, $passwd); } function insert_dummy_data($link, $base) { // Create root if not there $testBase = ldap_read($link, $base, '(objectClass=*)', array('objectClass')); if (ldap_count_entries($link, $testBase) < 1) { ldap_add( $link, "$base", array( "objectClass" => array( "top", "organization", "dcObject" ), "o" => "php ldap tests" ) ); } ldap_add($link, "o=test,$base", array( "objectClass" => array( "top", "organization"), "o" => "test", )); ldap_add($link, "cn=userA,$base", array( "objectclass" => "person", "cn" => "userA", "sn" => "testSN1", "userPassword" => "oops", "telephoneNumber" => "xx-xx-xx-xx-xx", "description" => "user A", )); ldap_add($link, "cn=userB,$base", array( "objectclass" => "person", "cn" => "userB", "sn" => "testSN2", "userPassword" => "oopsIDitItAgain", "description" => "user B", )); ldap_add($link, "cn=userC,cn=userB,$base", array( "objectclass" => "person", "cn" => "userC", "sn" => "testSN3", "userPassword" => "0r1g1na1 passw0rd", )); ldap_add($link, "o=test2,$base", array( "objectClass" => array( "top", "organization"), "o" => "test2", "l" => array("here", "there", "Antarctica"), )); } function remove_dummy_data($link, $base) { ldap_delete($link, "cn=userC,cn=userB,$base"); ldap_delete($link, "cn=userA,$base"); ldap_delete($link, "cn=userB,$base"); ldap_delete($link, "o=test,$base"); ldap_delete($link, "o=test2,$base"); } ?>