diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002769.html')
| -rw-r--r-- | zarb-ml/mageia-sysadm/2011-February/002769.html | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002769.html b/zarb-ml/mageia-sysadm/2011-February/002769.html new file mode 100644 index 000000000..89f53741c --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-February/002769.html @@ -0,0 +1,152 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] mediawiki + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mediawiki&In-Reply-To=%3C201102171240.51846.bgmilne%40staff.telkomsa.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002765.html"> + <LINK REL="Next" HREF="002771.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] mediawiki</H1> + <B>Buchan Milne</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mediawiki&In-Reply-To=%3C201102171240.51846.bgmilne%40staff.telkomsa.net%3E" + TITLE="[Mageia-sysadm] mediawiki">bgmilne at staff.telkomsa.net + </A><BR> + <I>Thu Feb 17 11:40:51 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002765.html">[Mageia-sysadm] mediawiki +</A></li> + <LI>Next message: <A HREF="002771.html">[Mageia-sysadm] mediawiki +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2769">[ date ]</a> + <a href="thread.html#2769">[ thread ]</a> + <a href="subject.html#2769">[ subject ]</a> + <a href="author.html#2769">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Thursday, 17 February 2011 09:05:00 Oliver Burger wrote: +><i> 2011/2/17 Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> +</I>><i> +</I>><i> > Le dimanche 13 février 2011 à 16:48 +0100, Oliver Burger a écrit : +</I>><i> > > First: there is no ldap-extension in the package, since I don't know +</I>><i> > > ldap. +</I>><i> > > Second: the src.rpm creates two rpm packages, a normal mediawiki +</I>><i> > > package and our multilingual one. +</I>><i> > > We should somehow patch it so that normal mediawiki uses its own user +</I>><i> > > registration tool and authentification while the mageia multilingual +</I>><i> > > one should use catdap for registration and ldap for authentification... +</I>><i> > +</I>><i> > Well, that's something that do not requires patching, as when the wiki +</I>><i> > was choosed, ldap authentication was on the required feature list. +</I>><i> +</I>><i> No ldap-support itself doesn't need patching, it's just an extension +</I>><i> to add and some +</I>><i> configuration strings in LocalSettings.php that have to be set after +</I>><i> installation and +</I>><i> initial mediawiki setup. +</I>><i> But shouldn't we use identity.mageia.org instead of mediawiki's own +</I>><i> registration tool? Or can this be done by configuration in +</I>><i> LocalSettings.php? +</I> +This works on our (old) installation: + +$wgGroupPermissions['*']['createaccount'] = false; + +Users still need to be notified how to create accounts though. + +><i> blingme told me in webteam meeting yesterday he could help. +</I> +The rest of the settings for LDAPAuthentication.php should be as follows. Note +that the option to pull preferences from LDAP includes the perferredLanguage +attribute (which we currently set on registration, but the user is able to +change it - we may want to try and constrain the values that can be put there +in future). + +$wgLDAPDomainNames = array("Mageia"); + +#Values to be populated by puppet: +$wgLDAPServerNames = array("Mageia" => "<%= ldap_server %>"); +$wgLDAPBaseDNs = array("Mageia" => "<%= dc_suffix %>"); +$wgLDAPProxyAgent = array("Mageia" => "<%= ldap_account %>"); +$wgLDAPProxyAgentPassword = array ("Mageia" => "<%= ldap_password %>"); + + +$wgLDAPEncryptionType = array("Mageia" => "tls"); + +# To match bugzilla hardcoded length +$wgMinimalPasswordLength = 6; + +//Allow the use of the local database as well as the LDAP database. +//Good for transitional purposes. Disable when done. +#$wgLDAPUseLocal = false; +$wgLDAPUseLocal = true; + +$wgLDAPWriteLocation = array(); + +$wgLDAPSearchAttributes = array("Mageia" => "uid"); + +$wgLDAPMailPassword = false; + +//Option for allowing the retreival of user preferences from LDAP +//Only pulls a small amount of info currently +$wgLDAPRetrievePrefs = array("Mageia" => true); + +//Whether the username in the group is a full DN (AD generally does this), or +//just the username (posix groups generally do this) +$wgLDAPGroupUseFullDN = array( "Mageia" => true ); + +//The objectclass of the groups we want to search for +$wgLDAPGroupObjectclass = array( "Mageia"=>"groupOfNames" ); + +//The attribute used for group members +$wgLDAPGroupAttribute = array( "Mageia"=>"member" ); + +//Whether or not the plugin should search in nested groups +$wgLDAPGroupSearchNestedGroups = array( "Mageia"=>false ); + +$wgLDAPUseLDAPGroups = array( "Mageia"=>true ); +$wgLDAPGroupNameAttribute = array( "Mageia"=>"cn" ); + + +Regards, +Buchan +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002765.html">[Mageia-sysadm] mediawiki +</A></li> + <LI>Next message: <A HREF="002771.html">[Mageia-sysadm] mediawiki +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2769">[ date ]</a> + <a href="thread.html#2769">[ thread ]</a> + <a href="subject.html#2769">[ subject ]</a> + <a href="author.html#2769">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |
