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.

48 lines
1.2 KiB

  1. /*---------------------------------------------------------------------------
  2. File: Exchange.hpp
  3. Comments: Mailbox security translation functions.
  4. (c) Copyright 1995-1998, Mission Critical Software, Inc., All Rights Reserved
  5. Proprietary and confidential to Mission Critical Software, Inc.
  6. REVISION LOG ENTRY
  7. Revision By: ...
  8. Revised on 2/8/98 6:32:13 PM
  9. ---------------------------------------------------------------------------
  10. */
  11. #ifndef __EXCHANGE_HPP__
  12. #define __EXCHANGE_HPP__
  13. #define INITGUID
  14. #include <winbase.h>
  15. #include <objbase.h>
  16. #include "stargs.hpp"
  17. #include "sidcache.hpp"
  18. #include "Ustring.hpp"
  19. #include "sdstat.hpp"
  20. #include "exldap.h"
  21. class TGlobalDirectory
  22. {
  23. protected:
  24. TSDResolveStats * m_stat;
  25. public:
  26. TGlobalDirectory::TGlobalDirectory();
  27. TGlobalDirectory::~TGlobalDirectory();
  28. public:
  29. void SetStats(TSDResolveStats * s ) { m_stat = s; }
  30. BOOL DoLdapTranslation(WCHAR * server, WCHAR *domain, WCHAR * creds, WCHAR * password,SecurityTranslatorArgs * args,WCHAR * basepoint,WCHAR * query = NULL );
  31. void GetSiteNameForServer(WCHAR const * server,CLdapEnum * e,WCHAR * siteName);
  32. };
  33. #endif //__EXCHANGE_HPP__