mirror of https://github.com/tongzx/nt5src
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.
166 lines
2.8 KiB
166 lines
2.8 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 2000
|
|
//
|
|
// File: modtable.h
|
|
//
|
|
// Contents: Declares a table which contains the object types on which
|
|
// a modification can occur and the attributes that can be changed
|
|
//
|
|
// History: 07-Sep-2000 JeffJon Created
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
#ifndef _MODTABLE_H_
|
|
#define _MODTABLE_H_
|
|
|
|
typedef enum COMMON_COMMAND
|
|
{
|
|
//
|
|
// Common switches
|
|
//
|
|
#ifdef DBG
|
|
eCommDebug,
|
|
#endif
|
|
eCommHelp,
|
|
eCommServer,
|
|
eCommDomain,
|
|
eCommUserName,
|
|
eCommPassword,
|
|
eCommQuiet,
|
|
eCommContinue,
|
|
eCommObjectType,
|
|
eCommObjectDNorName,
|
|
eCommDescription,
|
|
eTerminator,
|
|
|
|
//
|
|
// User and Contact switches
|
|
//
|
|
eUserUpn = eTerminator,
|
|
eUserFn,
|
|
eUserMi,
|
|
eUserLn,
|
|
eUserDisplay,
|
|
eUserEmpID,
|
|
eUserPwd,
|
|
eUserOffice,
|
|
eUserTel,
|
|
eUserEmail,
|
|
eUserHometel,
|
|
eUserPager,
|
|
eUserMobile,
|
|
eUserFax,
|
|
eUserIPPhone,
|
|
eUserWebPage,
|
|
eUserTitle,
|
|
eUserDept,
|
|
eUserCompany,
|
|
eUserManager,
|
|
eUserHomeDir,
|
|
eUserHomeDrive,
|
|
eUserProfilePath,
|
|
eUserScriptPath,
|
|
eUserMustchpwd,
|
|
eUserCanchpwd,
|
|
eUserReversiblePwd,
|
|
eUserPwdneverexpires,
|
|
eUserAcctexpires,
|
|
eUserDisabled,
|
|
|
|
//
|
|
// Contact switches
|
|
//
|
|
eContactFn = eTerminator,
|
|
eContactMi,
|
|
eContactLn,
|
|
eContactDisplay,
|
|
eContactOffice,
|
|
eContactTel,
|
|
eContactEmail,
|
|
eContactHometel,
|
|
eContactPager,
|
|
eContactMobile,
|
|
eContactFax,
|
|
eContactTitle,
|
|
eContactDept,
|
|
eContactCompany,
|
|
|
|
//
|
|
// Computer switches
|
|
//
|
|
eComputerLocation = eTerminator,
|
|
eComputerDisabled,
|
|
eComputerReset,
|
|
|
|
//
|
|
// Group switches
|
|
//
|
|
eGroupSamname = eTerminator,
|
|
eGroupSecgrp,
|
|
eGroupScope,
|
|
eGroupAddMember,
|
|
eGroupRemoveMember,
|
|
eGroupChangeMember,
|
|
|
|
//
|
|
// OU doesn't have any additional switches
|
|
//
|
|
|
|
//
|
|
// Subnet switches
|
|
//
|
|
eSubnetSite = eTerminator,
|
|
|
|
//
|
|
// Site switches
|
|
//
|
|
eSiteAutotopology = eTerminator,
|
|
|
|
//
|
|
// Site Link switches
|
|
//
|
|
eSLinkIp = eTerminator,
|
|
eSLinkSmtp,
|
|
eSLinkAddsite,
|
|
eSLinkRmsite,
|
|
eSLinkCost,
|
|
eSLinkRepint,
|
|
eSLinkAutobacksync,
|
|
eSLinkNotify,
|
|
|
|
//
|
|
// Site Link Bridge switches
|
|
//
|
|
eSLinkBrIp = eTerminator,
|
|
eSLinkBrSmtp,
|
|
eSLinkBrAddslink,
|
|
eSLinkBrRmslink,
|
|
|
|
//
|
|
// Replication Connection switches
|
|
//
|
|
eConnTransport = eTerminator,
|
|
eConnEnabled,
|
|
eConnManual,
|
|
eConnAutobacksync,
|
|
eConnNotify,
|
|
|
|
//
|
|
// Server switches
|
|
//
|
|
eServerIsGC = eTerminator,
|
|
};
|
|
|
|
//
|
|
// The parser table
|
|
//
|
|
extern ARG_RECORD DSMOD_COMMON_COMMANDS[];
|
|
|
|
//
|
|
// The table of supported objects
|
|
//
|
|
extern PDSOBJECTTABLEENTRY g_DSObjectTable[];
|
|
|
|
#endif //_MODTABLE_H_
|