Updated Installer to require named run in a specified account with the minimum privileges necessary to run. The account will also be used laterfor file system security and protections.

This commit is contained in:
Danny Mayer
2001-09-25 01:48:49 +00:00
parent 1ebeb6bbf3
commit 53b7400731
5 changed files with 413 additions and 278 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: BINDInstallDlg.h,v 1.3 2001/07/31 00:03:14 gson Exp $ */
/* $Id: BINDInstallDlg.h,v 1.4 2001/09/25 01:48:48 mayer Exp $ */
/*
* Copyright (c) 1999-2000 by Nortel Networks Corporation
@@ -80,6 +80,8 @@ protected:
void FailedInstall();
void SetItemStatus(UINT nID, BOOL bSuccess = TRUE);
void GetCurrentServiceAccountName();
BOOL ValidateServiceAccount();
protected:
CString DestDir(int destination);
int MsgBox(int id, ...);
@@ -94,8 +96,13 @@ protected:
CString m_etcDir;
CString m_binDir;
CString m_winSysDir;
BOOL m_reboot;
BOOL m_installed;
CString m_currentDir;
BOOL m_accountExists;
BOOL m_accountUsed;
CString m_accountName;
CString m_accountPasswordConfirm;
CString m_accountPassword;
// Generated message map functions
//{{AFX_MSG(CBINDInstallDlg)