NAnt tasks - how can i login w/o using a clear-text password

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

Moderator: SourceGear

Post Reply
keithr
Posts: 10
Joined: Mon Nov 27, 2006 7:03 pm

NAnt tasks - how can i login w/o using a clear-text password

Post by keithr » Mon Nov 27, 2006 7:15 pm

I'm looking for a solution to log in using the NAnt tasks without needing to store and thus update the password as time goes on, much less needing to worry about encrypting the password stored in the build script. The best solution would be for it to assume the credentials of the user running the NAnt build.

Is there any way to do this?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Nov 28, 2006 2:34 pm

Currently we don't provide that, but I can put in a feature request.
The Vault NAnt tasks are an open source project though, so you can also make modifications to the source code to do that.

keithr
Posts: 10
Joined: Mon Nov 27, 2006 7:03 pm

Post by keithr » Tue Nov 28, 2006 4:41 pm

Cool, can you point me to the source area?

I'm think doing so may not be simple since the gui client can't do that yet either, or so it seems, since i must put in a password to login. Since it is my current network account, i'm presuming its connected via active directory. Is there an Admin setting to allow/disallow this type of trusted login? I'm hoping it won't require me to restore my password when it expires next time...

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Nov 28, 2006 4:53 pm

Please send an email to support at sourcegear.com to request the source.

When authenticating against Active Directory, two steps are required:

1. Provide the domain against which you will search for an account of the same name. This is done in the Admin Tool Server Options screen, in the “Active Directory Domain for Authentication” field.

2. Once a domain is specified, a checkbox in the Add/Edit User dialog will become active allowing you to require the user to authenticate against their domain account. Note that the domain account needs to have the same name as the Vault user account.

keithr
Posts: 10
Joined: Mon Nov 27, 2006 7:03 pm

Post by keithr » Tue Nov 28, 2006 9:28 pm

We do already have this set up, but this still requires one to actually input the password, rather then it knowing that i am said account via my ntlm token and treating me as such. so, if that feature is not already in the client, i won't be able use it via a nant task. oh well... anyway, thanks for you help.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Dec 01, 2006 11:40 am

On the Active Directory integration, the clients would still need to set themselves up with a profile and tell it to auto-connect. There still will be cases where it would require authentication, such as the first opening from within an IDE.

Post Reply