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.
 
 
 
 
 
 

49 lines
1.2 KiB

/*---------------------------------------------------------------------------
File: Exchange.hpp
Comments: Mailbox security translation functions.
(c) Copyright 1995-1998, Mission Critical Software, Inc., All Rights Reserved
Proprietary and confidential to Mission Critical Software, Inc.
REVISION LOG ENTRY
Revision By: ...
Revised on 2/8/98 6:32:13 PM
---------------------------------------------------------------------------
*/
#ifndef __EXCHANGE_HPP__
#define __EXCHANGE_HPP__
#define INITGUID
#include <winbase.h>
#include <objbase.h>
#include "stargs.hpp"
#include "sidcache.hpp"
#include "Ustring.hpp"
#include "sdstat.hpp"
#include "exldap.h"
class TGlobalDirectory
{
protected:
TSDResolveStats * m_stat;
public:
TGlobalDirectory::TGlobalDirectory();
TGlobalDirectory::~TGlobalDirectory();
public:
void SetStats(TSDResolveStats * s ) { m_stat = s; }
BOOL DoLdapTranslation(WCHAR * server, WCHAR *domain, WCHAR * creds, WCHAR * password,SecurityTranslatorArgs * args,WCHAR * basepoint,WCHAR * query = NULL );
void GetSiteNameForServer(WCHAR const * server,CLdapEnum * e,WCHAR * siteName);
};
#endif //__EXCHANGE_HPP__