|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
LDAP and MediaWiki Syncronization
I am trying to synchronize my knowledge base with groups in AD. The LDAP code is all correct; users can login using their LDAP credentials. The issue is we want only certain groups to be able to login and edit Wiki pages. Our code was taken from the MediaWiki site, it works until we get to the group section. Even when the required groups are set it will still let anyone(on our domain) sign into it. If anyone has any suggestions that would be great.
|
|
#2
|
||||
|
||||
|
You'd have to be more specific, without more info we can't help you, I have no idea how mediawiki works or what is and isn't working, if you can't get into there code then it's best to ask at there site not here, but if you have full access to the code and can post what isn't working then we can try to help.
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me Challenge me |
|
#3
|
||||
|
||||
|
Code for MediaWiki
$wgLDAPGroupUseRetrievedUsername = array(
"domain"=>true ); $wgLDAPGroupObjectclass = array( "domain"=>"group" ); $wgLDAPGroupAttribute = array( "domain"=>"member" ); $wgLDAPGroupNameAttribute = array( "domain"=>"cn" ); #$wgLDAPRequiredGroups = array( #"domain"=> array("group name") #); $wgLDAPUseLDAPGroups = array( "domain"=>true ); $wgLDAPGroupsPrevail = array( "domain"=>false ); $wgLDAPGroupSearchNestedGroups = array( "domain"=>true ); $wgLDAPRetrievePrefs = array( "domain"=>true ); As you can see we have commented out the stuff in bold, it makes the code fail when we let it run. |
|
#4
|
||||
|
||||
|
To be honest I'd have to see way more to even began to know, this is just configuration. My suggestion would be to ask at the mediawiki forums (I assume they have some) they'd know more about hacking there own software.
|
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > LDAP and MediaWiki Syncronization |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|