This topic is locked
[SOLVED]

Linking to Active Directory from AspRunner

4/12/2012 10:19:24 AM
ASPRunnerPro General questions
P
plunkchr author

Has anyone been able to

(1)connect asprunner to Active Directory similar to connecting to a SQL database or other datasource

or

(2)connect to AD from AspRunner pages to query and display AD info such as user and Computer object details
If you have been able to do either, I would appreciate a sample of WORKING code/instructions.
Thanks

Sergey Kornilov admin 4/12/2012

Though it may not fully answer your question - ASPRunnerPro 7.1 comes with Active Directory authentication feature. Check source\classes\runnerldap.asp file to find sample code.
Other helpful links:

http://stackoverflow.com/questions/826862/accessing-employee-id-via-ldap-in-a-classic-asp-vbscript-application

http://www.codeproject.com/Articles/5173/Web-based-Active-Directory-Login

P
plunkchr author 4/13/2012

Thanks for the quick reply and 2 links.
The CodeProject link is one way of querying AD that looked at before, but, it requires install of components/dll and also is restricted to user autentication.

The stackoverflow link is for an older NT environment.
I had a quick look at the runnerldap.asp source and yes it does provide some ideas/details, but wrapped around AspRunner template code.
If anyone else has created and tested code within ASPRUNNER to do either of the 2 items I am looking for, I would greatly appreciate any feedback.

Sergey Kornilov admin 4/13/2012

runnerldap.asp is a really simple file, just a few functions. It should not be that difficult to understand the logic behind it.
Personally I believe you need to write your own piece of code. Classic ASP is not the hottest programming language at the moment and finding a working example might prove difficult.

P
plunkchr author 4/26/2012

Thanks for reply Sergey, I am trying to avoid possible wasted effort writing code myself.

Surprised no one else has published anything on AD integration yet.
If anyone has anything they have developed, I would really appreciate feedback. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=65759&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
regards

Sergey Kornilov admin 4/26/2012

You can probably post such a question at http://stackoverflow.com. It's not really related to ASPRunnerPro and you can reach much larger community there.