The WEC first tries to authenticate as anonymous, then as
the logged in user, and finally as the user specified by the
-u parameter. If authentication as both anonymous and the currently
logged on user fails, the user specified with the
-u parameter is used. If the logged in user authenticates, the
Smigrate command is run as the logged in user and the
-u and
-pw parameters are ignored.
For
example:
Authentication fails if you are logged in as
domainname\
username1, and
then you run the following command:
smigrate -w http://rootwebtest -f junk.fwp -e -y -u domainname\username2 -pw password
Authentication is successful if you are logged in as
domainname\
username1, and
then you run the following command:
smigrate -w http://rootwebtest -f junk.fwp -e -y
This problem occurs because
username1 is an administrator on the computer, and
username2 is not. Authentication is successful if
you give the user
username1 full permissions to the
Service.cnf file, and then log on to the computer as
username1 to run the
Smigrate command.