I have an entry to logon to an internal URL and I need it to pass my ID/PW from the credential repository and use either DOMAIN\username or username@domain.com. Nothing I try seems to work.
I have tried going to the LOGIN tab and tried changing the "username ID" field to use one of the variables (like $USERNAME$) and the username field on the webpage is just blank.
Any recommendations how I can get this to work?
Thanks,
edited by ben732 on 2/19/2015
Ben Liebowitz, VCP, vExpert
Hi Ben
I think you are doing it wrong(or I'm just tired and misreading :) ).
1. [General tab] Input Web browser URL
2. [Login tab] Clear all fields below "Form login"(the lower part)
3. Press the button "Discover"
Does that return/input anything into the "ID" fields?
//Brandur
//Brandur
Hi Brandur,
I orignally set it up with the DISCOVER button, and it fills in "username" in that field, however, when it fills in the field, it only puts my username and the domain is not listed anywhere...
There is not a separate field for domain, so the username field needs to be filled in with username@domain.com OR domain\username.
Thanks,
Ben Liebowitz, VCP, vExpert
Hi Ben Liebowitz,
In the login tab, you have a username, domain and password fields. Have you entered the proper information in those fields?
Best regards,
Jeff Dagenais
Hi Ben
I think you might be misunderstanding this.
I attached an example, but I would recommend that you start using the credential repository, instead of hard-coding sessions with specific domain/usernames.
//Brandur
//Brandur
Capture.JPG
Hi Jean-Francois,
I am using the Credential Repository which has my domain user account. I use this Credential Repository entry to login to all my windows servers with no issue. As I need to pass the same information to login to this URL, I am trying to use the same Credential entry.
Ben Liebowitz, VCP, vExpert
Hi Brandur,
I think you are misunderstanding ME... I am using an entry in the Credential Repository above your screenshot so those fields are grayed out.
Ben Liebowitz, VCP, vExpert
RDM_Infoblox.png
Just for test purposes, can you fill in username and password, like in my screenshot(NOT use the credential repository).
I don't know if I'm misunderstanding you, but a couple of screenshots would most likely help us, help you :)
//Brandur
//Brandur
Thanks. Me slow ;)
How does you credential entry look like. Does it contain the domain?
Like the example below.
//Brandur
edited by Brandur on 2/19/2015
//Brandur
Capture[1].JPG
Correct, the credential entry looks exactly like that.
Ben Liebowitz, VCP, vExpert
Hi,
If the website is loading, but the credentials are not fill in, you can try to add a macro to send the credential to the website.
1. In the Advanced section of the session, check “Allow password in variable”
2. In the Events section, click the After Connect tab and add the following macro: $USERNAME${TAB}$PASSWORD${ENTER}
You may have to adjust the “initial wait” to leave time for the page to load.
Best regards,
Jeff Dagenais
Ahh, I think I just now realize what your "real" issue is.
And yes. RDM does not take into account your issue.
I can see myself needing the same setup sometime.
RDM is just passing the username string and ignoring if you actually would like to use the domain string as well.
An option is missing to state if one wants to pass username from credential repository as:
1. %USERNAME% (default)
2. %DOMAIN%\%USERNAME%
3. %USERNAME%@%DOMAIN%
Do you agree with me or is my mind just wandering off here? :)
//Brandur
//Brandur
Jean-Francois - The Advanced Tab only has "automatic refresh".
Brandur - I tried using both and also tried switching the % for $ as the Variable List as $username$ and $domain$. When I change the default "username" the username field is blank.
Ben Liebowitz, VCP, vExpert
infoblox.png
Yes I know. You can't change the ID field with any variable.
That's why in my first screenshot, I said it was a good way to test and then move on to credential repository.
A quick workaround for you would be to make a copy of the credential you are using(another name of course) and change the username inside that one. Like this:
//Brandur
edited by Brandur on 2/19/2015
edited by Brandur on 2/19/2015
//Brandur
Capture34.JPG
The point I was making before, was that this is a feature that is actually missing from RDM and should be considered as a future improvement :)
//Brandur
Ahhh, I don't want to change from the repository so I don't need to remember to change my password in multiple places. Our passwords expire every 45 days so I'm changing them fairly often.
Why is there a button to view the Variable list at the bottom (see my screenshot from earlier) if I cannot use a variable there?
Ben Liebowitz, VCP, vExpert
I called it a workaround(until this can be implemented, which I have no control over) :)
I'm only trying to help you.
Variables you can use in the Username - Domain - Password fields above the ID fields.
//Brandur
//Brandur
AHhh I see.. I appreciate the help. Right now, the login fails and I just enter @domain.com after my username and hit enter... it works... but if I can get it to login automated, it would be nice.
I will submit a feature request. :)
Ben Liebowitz, VCP, vExpert
Hi,
The Advanced section of the session is located on the left side
The Events section is also on the left side
Regards,
Jeff Dagenais
2015-02-19 15-52-38.jpg
2015-02-19 15-52-37.jpg
Jean-Francois,
Thanks! I went in there and changed the username format field to be {Domain}\{User} and that worked!
Ben Liebowitz, VCP, vExpert
RDM_advanced[1].png
Hehe
I totally forgot that setting :)
Well, it looks like I learned something to.
Have a good weekend.
//Brandur