AD Authentication Setup

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
BA
Posts: 32
Joined: Tue Mar 15, 2005 12:27 pm

AD Authentication Setup

Post by BA » Fri Nov 03, 2006 1:44 pm

I am using the Identity Switcher exe to complete setup of AD authentication on Vault Server 3.5.1 hosted on a Win2K Box. When I specify the domain account, I get the following error:

Couldn't find user because of exception: "Speficied argument was out of the range of valid values. Index was out of range. Must be non-negative or less than size of the collection".

Any ideas?

Thanks.

PS: I have previously successfully setup AD authentication on multiple Vault server instances on Win 2003 boxes.
Attachments
Doc1.doc
(52.5 KiB) Downloaded 170 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Nov 03, 2006 2:16 pm

Are you using the latest version of the Identity Switcher?

Have you used this particular account before for the custom account? Maybe there's a problem with the zeros in the username?

You should be able to set the permissions manually:

Give the account full control of:

%Windir%\Microsoft.NET\Framework\<version>\Temporary ASP.NET Files
C:\Inetpub\wwwroot\VaultService
%Windir%\Temp
%Windir%\Temp\sgvault
C:\Program Files\SourceGear\ShadowFolderCache
%ALLUSERSPROFILE5\Application Data\Microsoft\Crypto\RSA\MachineKeys

Next:
Open up the web.config file located in the VaultService virtual directory. The default location for this directory is %SYSTEMDRIVE%\Inetpub\wwwroot\VaultService.
Uncomment the identity element in the web.config file and replace the values for username and password with valid values.

The identity element should look like this:
<identity impersonate="true" userName="DOMAIN\WINDOWSACCT" password="plaintext_pwd"/>
Linda Bauer
SourceGear
Technical Support Manager

Post Reply