<commit_before><?php
	define('LDAP_HOST',"10.0.0.1");
	define('LDAP_PORT',389);
	define('LDAP_BASEDN',"<base dn where all users are located>");
	define('LDAP_REALM',"My Realm");
	define('LDAP_USERNAME_ATTRIBUTE',"AccountName");
	define('LDAP_USERLEVEL',1); 
	define('LDAP_ADMINLEVEL',1);
	define('LDAP_ADMIN_USER',"test");
	define('LDAP_BIND_USER', "Homer");	
	define('LDAP_BIND_PASSWORD', "<password>");
	define('LDAP_ENCRYPTION', "tls");	

	$username = "yourname";
	$password = <PASSWORD>;
	$done = false;

	$ds=@ldap_connect(LDAP_HOST,LDAP_PORT);
		
	// Set LDAP Version, Default is Velrsion 2
	@ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, ( LDAP_VERSION) ? LDAP_VERSION : 2);
		
	// Referrals are disabled
	@ldap_set_option($ds, LDAP_OPT_REFERRALS, 0 );
	        <commit_msg>Update ldaptest.php<commit_after><?php
	define('LDAP_HOST',"10.0.0.1");
	define('LDAP_PORT',389);
	define('LDAP_BASEDN',"<base dn where all users are located>");
	define('LDAP_REALM',"My Realm");
	define('LDAP_USERNAME_ATTRIBUTE',"AccountName");
	define('LDAP_USERLEVEL',1); 
	define('LDAP_ADMINLEVEL',1);
	define('LDAP_ADMIN_USER',"test");
	define('LDAP_BIND_USER', "Homer");	
	define('LDAP_BIND_PASSWORD', "<password>");
	define('LDAP_ENCRYPTION', "none");	

	$username = "yourname";
	$password = <PASSWORD>;
	$done = false;

	$ds=@ldap_connect(LDAP_HOST,LDAP_PORT);
		
	// Set LDAP Version, Default is Velrsion 2
	@ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, ( LDAP_VERSION) ? LDAP_VERSION : 2);
		
	// Referrals are disabled
	@ldap_set_option($ds, LDAP_OPT_REFERRALS, 0 );
	        
{'fraction_non_alphanumeric': 0.17482517482517482, 'fraction_numerical': 0.01652892561983471, 'mean_word_length': 6.603864734299517, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5681211', 'n_tokens_mistral': 667, 'n_tokens_neox': 638, 'n_words': 95}