Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 01 Jul 2009, 20:37
anthonym16 anthonym16 is offline
Join Date: Feb 2009
LDAP Single Sign-On

I've developed some code that does LDAP integration based on a couple of the popular LDAP plug-ins available on this site. I created my own hook in login.php and that's worked out well so far. I'd like to take it to the next level and provide single sign-on support.

I'm running IIS. After the user's browser authenticates, my code grabs $_SERVER["LOGON_USER"] and queries AD for a valid user. I've tested this code in pieces separate from vb with limited success. The roadblock that I'm at currently is that I'm not sure what vb hook to attach this code to.

In my debug output in vb, I see that init_startup is the first hook called. Is that the route I should take? global_setup_complete also seems promising. Any suggestions?
Reply With Quote
Old 02 Jul 2009, 05:49
Dismounted's Avatar
Dismounted Dismounted is offline
Join Date: Jun 2005
Real name: Hanson
init_startup is a good place to start, as it is run before most code, allowing you to manipulate more things before "runtime". Note that many vBulletin variables are not available at init_startup, purely because it is so early.
Former Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 11:13.

Layout Options | Width: Wide Color: