Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  5. //
  6. // File: ldap.hxx
  7. //
  8. // Contents:
  9. //
  10. // History: 06-16-96 yihsins Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "dswarn.h"
  14. #include "..\include\procs.hxx"
  15. #include "indunk.hxx"
  16. #include "nt4types.hxx"
  17. #include "iadsp.h"
  18. #include "guid.h"
  19. #include "macro.h"
  20. #include "fsmacro.h"
  21. #include "cmacro.h"
  22. extern "C" {
  23. #include <stdio.h>
  24. #include <stddef.h>
  25. }
  26. #include <ntldap.h>
  27. //#include "..\ldapc\pathmgmt.cxx"
  28. //
  29. // Private kerberos setpassword routines
  30. //
  31. #if (!defined(WIN95))
  32. #if (!defined(BUILD_FOR_NT40))
  33. #include "kerbcli.h"
  34. #endif
  35. #endif
  36. #include "iprops.hxx"
  37. #include "cdispmgr.hxx"
  38. #include "property.hxx"
  39. #include "cusercf.hxx"
  40. #include "cuser.hxx"
  41. #include "cusers.hxx"
  42. #include "cgroupcf.hxx"
  43. #include "cgroup.hxx"
  44. #include "cgroups.hxx"
  45. #include "clocalcf.hxx"
  46. #include "clocalty.hxx"
  47. #include "corgcf.hxx"
  48. #include "corg.hxx"
  49. #include "corgucf.hxx"
  50. #include "corgu.hxx"
  51. #include "cprintcf.hxx"
  52. #include "cprinter.hxx"
  53. #include "common.hxx"
  54. #include "object.hxx"
  55. #include "cenumvar.hxx"
  56. #include "cenumgrp.hxx"
  57. #include "cenumusr.hxx"
  58. #include "globals.hxx"
  59. #define ARRAY_SIZE(_a) (sizeof(_a) / sizeof(_a[0]))
  60. #define DISPID_REGULAR 1
  61. #define LDAP_USER_ID 1
  62. #define LDAP_COMPUTER_ID 2
  63. #define LDAP_DOMAIN_ID 3
  64. #define LDAP_GROUP_ID 4
  65. #define LDAP_PRINTER_ID 5
  66. #define LDAP_SERVICE_ID 6
  67. #define LDAP_FILESERVICE_ID 7
  68. #define LDAP_FILESHARE_ID 8
  69. #define LDAP_CLASS_ID 9
  70. #define LDAP_FUNCTIONALSET_ID 10
  71. #define LDAP_SYNTAX_ID 11
  72. #define LDAP_SCHEMA_ID 12
  73. #define LDAP_PROPERTY_ID 13
  74. #define LDAP_OU_ID 14
  75. #define LDAP_O_ID 15
  76. #define LDAP_LOCALITY_ID 16
  77. #define LDAP_COUNTRY_ID 17
  78. #define MAX_CACHE_SIZE 50