Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 04-27-2007, 07:02 PM
moondragon13 moondragon13 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default LDAP to manage user accounts across sites

Has anyone tried to use LDAP to manage a users account across several vBulletin boards? Is this possible and how would you execute it?
Reply With Quote
  #2  
Old 04-27-2007, 08:10 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone recently released an mod that authenticates users off of what is in an LDAP directory so its possible but you will need a way to update LDAP with new user registerations.

edit: Link to mod:
https://vborg.vbsupport.ru/showthrea...highlight=LDAP


I was recently wondering if it would be easier to install LDAP and authenticate multiple forums off of that or if it would be easier to mod one VB to act as the master and change the mod around so other vb installs authenticated against the master install.
Reply With Quote
  #3  
Old 04-27-2007, 10:21 PM
moondragon13 moondragon13 is offline
 
Join Date: Dec 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reeve,

Thanks for the link. I also found a version via Google search at: http://www.sartori.at/index.php?n=pages/vbext

I was thinking the same thing as you were for having one master vB, the problem will be how many sites you have (I think). Because to have it reference off a master vB it would be easier if all the tables for each site are in the same database. That could me 1,300 tables if you run 10 sites.

LDAP is probably the best way to go and I'll check out the link you posted to the mod here.

Issue I see:

1. If you create an account there will need to be a serive that updates the LDAP with new users as you pointed out. This also means you will want each record in the LDAP unique for each user so during the registration process you'll have to check the LDAP (all sites vb_user basically) to ensure the username is not taken.
Reply With Quote
  #4  
Old 04-27-2007, 11:09 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah and another problem I saw with vb to vb population is how would you control password and email updates between sites? that can get ugly.
Reply With Quote
  #5  
Old 04-30-2007, 07:25 AM
fhs2006 fhs2006 is offline
 
Join Date: Apr 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when using ldap as master db and some vbulletin installations to use the ldap user database, you "just" have to write some small php applications to update email address and other attributes in ldap.

really not much to say.

-fhs
Reply With Quote
  #6  
Old 04-30-2007, 08:13 AM
zemic zemic is offline
 
Join Date: Sep 2004
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I personally wouldnt use Vbulletin to manage LDAP entries. LDAP is much bigger than VB and capable of doing much more. It would be better doing it the other way (VB feeds off LDAP).

To answer your original question..... yes you could use LDAP to manage multiple boards. In your case, you would need to import the plugin into every Vbulletin board. If you do this, users would seemlessly (spelling?) be able to login to multiple Vbulletin boards. If I had multiple boards, I would disable their ability to change their e-mail address, password etc. within VBulletin aswell. Always get them to change it in LDAP because it is the mother ship!

If you read my first post in my LDAP modification thread I've explained what the script does. It may be clearer then what you could do (dont wanna re-type it all here ). If your not clear, let me know and I'll try and explain better.
https://vborg.vbsupport.ru/showthread.php?t=145188
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03558 seconds
  • Memory Usage 2,198KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete