pam_ptdebug.c 412 B

12345678910111213141516171819202122
  1. /** BEGIN COPYRIGHT BLOCK
  2. * Copyright 2005 Red Hat
  3. * All rights reserved.
  4. * END COPYRIGHT BLOCK **/
  5. /*
  6. * pam_ptdebug.c - debugging-related code for PAM Pass Through Authentication
  7. *
  8. */
  9. #include <stdio.h>
  10. #include <string.h>
  11. #include <sys/types.h>
  12. #include "pam_passthru.h"
  13. #ifdef _WIN32
  14. int *module_ldap_debug = 0;
  15. void plugin_init_debug_level(int *level_ptr)
  16. {
  17. module_ldap_debug = level_ptr;
  18. }
  19. #endif