|
Contributed
By: Cliff Hobbs [MVP SMS]
Every time an SMS site is installed, the installation
process creates a unique client connection account called SMSClient_XXX
(where "XXX" denotes the site code), and a unique server
connection account called SMSServer_XXX.
Where
several SMS Sites share a single domain, the number of accounts generated can
become quite large.
To
help overcome this, from SP1 onwards it is possible to specify the Server and
Client Connection accounts SMS Setup should use when installing an SMS site
through either the use of the following command line:
setup
/ServerAccount DOMAIN\<account> /ServerPassword <password> /ClientAccount
DOMAIN\<account> /ClientPassword <password>
As an example,
to
use DomainA\SMSServerAccount as the server connection account (with a password
of Peter) and DomainA\SMSClientAccount as the
client connection account (with a password of Paul), you would type the
following at the command line:
setup /ServerAccount
DomainA\SMSServerAccount /ServerPassword Peter /ClientAccount DomainA\SMSClientAccount
/ClientPassword Paul
This command however
can only be used when you run the Setup program directly from the SMS CD - not a
lot if use when you want to install a Secondary site over-the-wire. All is not
lost though. You can create an INI file that specifies the server and client
connection accounts you want to use. You then place this file in the
\WINNT\System32 directory of the Secondary server before you install it.
The INI file needs to be called
SMSAccountSetup.ini and has the following format:
[ServerAccount]
Name=SMSServerAccount
Password=Peter
[ClientAccount]
Name=SMSClientAccount
Password=Paul
When
the setup program is run, it checks for the existence of this INI file.
If this file exists, the accounts and passwords contained in this file
are used as the command-line arguments. You can also use the INI file to
setup a Primary site to save you having to manually type the command line each
time.
Important
Points
-
You
cannot use the command line to install a remote Secondary site as you need
to be able to run the command line from the server itself.
-
You
need to create the Server and Client connection accounts BEFORE you run
setup. Failure to do this will
result in an error when the setup wizard has completed and SMS won't be
installed. These two accounts
need to be a member of the Domain Users group.
-
You
can only specify passwords up to 14 characters when using this method to
install SMS, even though NT/2000 supports passwords up to 16 characters.
-
If for any reason
you need to run a site reset make sure you do it with the same command line
you used to originally install the site - if you don't then the Server and
Client connection accounts get created for the site you are running the Site
Reset on.
Failure to do so will result in SMS generating the
Server and Client connection accounts and passwords and using these for the site
in question.
-
Remember that the
SMSAccountSetup.ini is a plain text file - delete it from the
\WINNT\System32 folder as soon as the installation has completed, or check
who has access to this directory to close a
potential security loophole
-
If
you need to change the passwords for the user specified server or client
connection accounts, you need to re-run the Setup program with the same
command line as the initial installation, but this time specify the new
passwords (or modify the SMSAccountSetup.ini file to reflect the changes).
Microsoft Knowledge Base Article
235169 'SMS: Reducing SMS Accounts Required for Installation on Large
Domains' contains further information relating to this problem as does the Security Essentials whitepaper that ships on the SP2
CD or you can download a copy from
here.
SMS
Server Network Connection Account
The SMS Server
Network Connection Account (default SMSServer_sc
where 'sc' is the
three character SMS Site code), is used by remote site systems to connect back
to the site server when transferring data.
The account must be created in the local domain as a member of the Domain
Users group before the first site is installed in that domain.
SMS
Client Connection Account
The SMS Client
Connection Account (default SMSClient_sc
where 'sc' is the three character SMS Site code), is used by SMS
clients to connect to Client Access Points and Distribution Points even when no
user is logged on or if the logged on user doesn't have permissions to the
CAP. (Connection to Logon Points is
made with the credentials of the logged on user).
The Client
Connection Account must be created in each domain as a member of the Domain
Users group before the first site is installed in the domain. This account also needs to have Change access to the CAP
share and it's directories.
It is recommended
that two additional client connection accounts are configured on each site
server once the site installation has completed to allow for account rotation
and prevent clients from being orphaned should the first connection account get
locked out for any reason. These
must be created in the each domain as a copy of the original Client Connection
Account.
Further
details regarding SMS Security can be found in the Security Essentials
whitepaper which available from the 'Technical Details' section of the
Microsoft SMS web site (http://www.microsoft.com/smserver/default.asp)
|