Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




37 posts

Geek


# 255855 3-Sep-2019 16:59
Send private message quote this post

Hi, Has anyone on here had any success making this work?

 

Plugins I am using

 

LDAPProvider

 

LDAPAuthentication2

 

PluggableAuth

 

LDAPAuthorization

 

 

 

I cant get it to create users in the wiki from LDAP tried multiple plugins/scripts without success


Create new topic
687 posts

Ultimate Geek


  # 2310080 3-Sep-2019 17:09
Send private message quote this post

I've got quite a bit of MediaWiki admin experience. Run it at work doing authentication against O365.

Just want to confirm some things first:
* Are you using on premises active directory only?
* You need accounts to be created automatically at first login and tied to the AD account
* MediaWiki version?

You mention ldap... So let's confirm it's against AD and not another ldap provider.



37 posts

Geek


  # 2310203 3-Sep-2019 17:23
Send private message quote this post

nzkc: Are you using on premises active directory only?

 

On Prem Active Directory Only

 

nzkc: You need accounts to be created automatically at first login and tied to the AD account

 

That is the ideal setup yes please

 

nzkc: MediaWiki version?

 

1.33.0

nzkc: You mention ldap... So let's confirm it's against AD and not another ldap provider.

 

Against AD no other LDAP Provider

 

 

 

Thanks for your help

 

 


 
 
 
 


687 posts

Ultimate Geek


  # 2310299 3-Sep-2019 21:00
Send private message quote this post

So I'm a bit concerned that LDAP Authentication says its not compatible with 1.27.  Could be things changed and its compatible with later versions - documentation is a bit vague there.  I'll take this offline with you to discuss (cause you probably wont want to answer some of the upcoming questions here for security reasons!).

 

Edit: Or not as I cant PM you!


687 posts

Ultimate Geek


  # 2310301 3-Sep-2019 21:04
Send private message quote this post

Have you tested you can access your domain controller from your mediawiki server?  E.g. is port 389 open to it?




37 posts

Geek


  # 2310685 4-Sep-2019 15:38
Send private message quote this post

nzkc:

 

Have you tested you can access your domain controller from your mediawiki server?  E.g. is port 389 open to it?

 

 

Sorry for late reply

 

DC access is fine, I have the following modules installed

 

LDAPAuthentication2 - https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2

 

PluggableAuth - https://www.mediawiki.org/wiki/Extension:PluggableAuth

 

LDAPProvider - https://www.mediawiki.org/wiki/Extension:LDAPProvider

 

 

 

I get "The supplied credentials are not associated with any user on this wiki" when attempting to log in, so its authenticating ok

 

also configured in LocalSettings.php 

 

$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgGroupPermissions['*']['createaccount'] = false;

 

Auth_remoteuser and LDAPAuthorization I believe is the final piece of the puzzle I need to auto-create accounts but am at a road block

 

When I enable the plugin LDAPAuthorization I get "user not authorized" 

 

Thanks Again!


687 posts

Ultimate Geek


  # 2310703 4-Sep-2019 16:16
Send private message quote this post

Can you PM me the localsettings.php? Feel free to rip out sensitive info.

Want to compare to various documentation.



37 posts

Geek


  # 2310762 4-Sep-2019 19:08
Send private message quote this post

nzkc: Can you PM me the localsettings.php? Feel free to rip out sensitive info.

Want to compare to various documentation.

 

 

 

No probs, its all test lab stuff so nothing sensitive :)


 
 
 
 




37 posts

Geek


  # 2315372 12-Sep-2019 07:50
Send private message quote this post

nzkc: Can you PM me the localsettings.php? Feel free to rip out sensitive info.

Want to compare to various documentation.

 

Thanks for getting this working! you are a Legend!

 

 


Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35


Amazon Studios announces New Zealand as location for its upcoming series based on The Lord of the Rings
Posted 18-Sep-2019 17:24


The Warehouse chooses Elasticsearch service
Posted 18-Sep-2019 13:55


Voyager upgrades core network to 100Gbit
Posted 18-Sep-2019 13:52


Streaming service Acorn TV launches in New Zealand with selection with British shows
Posted 18-Sep-2019 08:55


Bitcoin.com announces partnership with smartphone manufacturer HTC
Posted 16-Sep-2019 21:30


Finalists Announced for Microsoft NZ Partner Awards
Posted 16-Sep-2019 19:37


OPPO Showcases New CameraX Capabilities at Google Developer Days China 2019
Posted 15-Sep-2019 12:42


New Zealand PC Market returns to growth
Posted 15-Sep-2019 12:24


Home sensor charity director speaks about the preventable death which drives her to push for healthy homes
Posted 11-Sep-2019 08:46


Te ao Maori Minecraft world set to inspire Kiwi students
Posted 11-Sep-2019 08:43


Research reveals The Power of Games in New Zealand
Posted 11-Sep-2019 08:40


Ring Door View Cam now available in New Zealand
Posted 11-Sep-2019 08:38


Vodafone NZ to create X Squad
Posted 10-Sep-2019 10:25


Huawei nova 5T to be available 20th September
Posted 5-Sep-2019 11:55



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.