<commit_before><?php

  $root = realpath(dirname(__FILE__));
  
  include_once(realpath($root.'/../config/config.php'));
  include_once(realpath($root.'/../lib/logging.php'));
  include_once(realpath($root.'/../lib/ldap.php'));
  
  $logger = new logger(realpath($root.'/../log/_default.log'),'debug');
  
  echo "\n\rStarting sync...";
  $logger->debug("Starting sync...");
  
  print_r(ldap_get_members($ldap_fqdn,$ldap_port,$ldap_search_base,$ldap_search_user,$ldap_search_pass,"wifi_byod_access"));

?><commit_msg>Update ldap_to_mysql.php<commit_after><?php

  $root = realpath(dirname(__FILE__));
  
  include_once(realpath($root.'/../config/config.php'));
  include_once(realpath($root.'/../lib/logging.php'));
  include_once(realpath($root.'/../lib/ldap.php'));
  
  $logger = new logger(realpath($root.'/../log/_default.log'),'debug');
  
  echo "\n\rStarting sync...";
  $logger->debug("Starting sync...");
  
  print_r(ldap_get_members($ldap_fqdn,$ldap_port,$ldap_search_base,$ldap_search_user,$ldap_search_pass,"CN=wifi_byod_access,OU=groups,OU=org,DC=ad,DC=slashdoom,DC=lan"));

?>
{'fraction_non_alphanumeric': 0.22140896614821592, 'fraction_numerical': 0.0, 'mean_word_length': 5.39766081871345, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '729770', 'n_tokens_mistral': 423, 'n_tokens_neox': 416, 'n_words': 31}