Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Pass through AD authentication when using "New MS Logon"?

Post Reply
jogz
8
8
Posts: 26
Joined: 2008-02-04 21:01
Location: Phoenix, AZ

Pass through AD authentication when using "New MS Logon"?

Post by jogz »

We recently starting using the MS Logon Groups configuration which works fantastic. I was curious if there was a way other than AutoIT scripts to incorporate AD pass through authentication. I found this post: https://forum.ultravnc.net/viewtopic.php?t=8051 from 2006 and figured it was worth following up on.
You obviously lack the creative genius to integrate Legos and Duplos.
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Pass through AD authentication when using "New MS Logon"

Post by Bonji »

I wrote a script that calls VNCViewer.exe and passes the username and password to the executable every time it's called. However, I do not like storing UserID's and passwords in any files whatsoever, so I make the script prompt for them the first time a VNC connection is attempted. Subsequent attempts use the values stored in memory so no more prompting is required.

This setup has the advantage that no usernames and passwords are stored in files which increases security as well as eliminates management of such files in the event usernames or passwords change. Another advantage is that it's easy to use alternate credentials to connect should that be required. For example, a computer's domain membership becomes invalid and local credentials are required for connecting.
-Ben
jogz
8
8
Posts: 26
Joined: 2008-02-04 21:01
Location: Phoenix, AZ

Re: Pass through AD authentication when using "New MS Logon"

Post by jogz »

First off, thanks for the quick response. That script sounds awesome! I have no scripting know-how... interested in sharing? I can PM or e-mail you if you're willing.
You obviously lack the creative genius to integrate Legos and Duplos.
User avatar
plao
Posts: 3
Joined: 2012-02-04 09:40
Location: Udine, Italy
Contact:

Re: Pass through AD authentication when using "New MS Logon"

Post by plao »

Bonji wrote:I wrote a script that calls VNCViewer.exe and passes the username and password to the executable every time it's called. However, I do not like storing UserID's and passwords in any files whatsoever, so I make the script prompt for them the first time a VNC connection is attempted. Subsequent attempts use the values stored in memory so no more prompting is required.

This setup has the advantage that no usernames and passwords are stored in files which increases security as well as eliminates management of such files in the event usernames or passwords change. Another advantage is that it's easy to use alternate credentials to connect should that be required. For example, a computer's domain membership becomes invalid and local credentials are required for connecting.
Please, can you share your script (PM or e-mail)???
Which language you've used? AutoIT???

Thanx in advance and cheers!
jogz
8
8
Posts: 26
Joined: 2008-02-04 21:01
Location: Phoenix, AZ

Re: Pass through AD authentication when using "New MS Logon"

Post by jogz »

plao - let me know if you find anything out. I haven't private messaged Bonji yet.
You obviously lack the creative genius to integrate Legos and Duplos.
User avatar
plao
Posts: 3
Joined: 2012-02-04 09:40
Location: Udine, Italy
Contact:

Re: Pass through AD authentication when using "New MS Logon"

Post by plao »

@Jogz, I've prepared a little script that works for me, if you want I can send it via e-mail; did you have received yesterday my message? Can I use this address?

Kind regards.
User avatar
plao
Posts: 3
Joined: 2012-02-04 09:40
Location: Udine, Italy
Contact:

Re: Pass through AD authentication when using "New MS Logon"

Post by plao »

Hi Jogz, you have a PM...
Have a nice day!
uvnc2012
Posts: 1
Joined: 2012-11-13 15:57

Re: Pass through AD authentication when using "New MS Logon"

Post by uvnc2012 »

Hi guys, any chance you can send me that code as well? I am looking for the same thing.
The code from 2006 doesn't work at all and I'm not sure why it is failing.
Bonji
100
100
Posts: 339
Joined: 2008-05-13 14:54

Re: Pass through AD authentication when using "New MS Logon"

Post by Bonji »

Hmmm....apparantly I missed the replies after mine way back when on this one. However, since then I posted a little HTA script that does what was requested here.

https://forum.ultravnc.net/viewtopic.ph ... script+hta
-Ben
Post Reply