In the local network is AD domain - xxx.yyy.org
Domain Controllers - serv1.xxx.yyy.org and serv2.xxx.yyy.org
In the domain is a group - MWUsers, which includes several users - mwuser1, mwuser2, etc.
There MediaWiki 1.13.1.
I need to allow automatic access only to users who are in the AD group users.
I know that this can be done through LdapAuthentication and LdapAutoAuthentication, but all my attempts unsuccessful.
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array('XXX');
$wgLDAPServerNames = array('XXX' => 'serv1.xxx.yyy.orgserv2.xxx.yyy.org');
$wgLDAPSearchStrings = array('XXX' => 'XXX\\USER-NAME');
$wgLDAPEncryptionType = array('XXX' => 'false');
$wgLDAPUseLocal = false;
$wgMinimalPasswordLength = 1;
$wgLDAPBaseDNs = array('XXX'=>'dc=xxx,dc=yyy,dc=org');
$wgLDAPSearchAttributes = array('XXX'=>'sAMAccountName');
$wgLDAPGroupBaseDNs = array('XXX'=>'ou=MWUsers,dc=xxx,dc=yyy,dc=org');
$wgLDAPDebug = 6;
But these settings do not work as expected. Auto login is not performed.
Therefore, I choose the "Log in / create account" and enter login - mwuser1 and password
User is using a valid domain.
Setting domain as: XXX
Username isn't empty.
Munged username: mwuser1
Using TLS or not using encryption.
Using servers: ldap://serv1.xxx.yyy.orgldap://serv2.xxx.yyy.org
Doing a straight bind
userdn is: XXX\mwuser1
Binding as the user
Created a regular filter: (sAMAccountName=mwuser1)
basedn is not set for this type of entry, trying to get the default basedn.
basedn is dc=xxx,dc=yyy,dc=org
Using base: dc=xxx,dc=yyy,dc=org
Fetched username is not a string (check your hook code...).
This message can be safely ignored if you do not have the SetUsernameAttributeFromLDAP hook defined.
Pulled the user's DN: CN=f_name l_name,OU=MWUsers,OU=DataArt,DC=xxx,DC=yyy,DC=org
I'm currently trying to migrate the following wiki:
From MediaWiki-1.6.8/MySQL-4.1.20 to MediaWiki-1.13.2/MySQL-5.0.45
under Red Hat EL5. I've managed to get the new setup to work
(including math parsing), but the database conversion (doing
"php update.php") isn't fully functional.
After migrating the database (but before turning on the math parsing by
setting $wgUseTeX and $wgEnableUploads) all works OK, and I can see the
contents of the wiki fine except for the math. As soon as I turn on the
math parser I get this error:
A database query syntax error has occurred. This may indicate a bug
in the software. The last attempted database query was:
(SQL query hidden)
from within function "MathRenderer::_recall". MySQL returned error
"1267: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and
(utf8_general_ci,COERCIBLE) for operation '=' (localhost)".
This is what I would expect to see (from the old wiki):
Note that any math I write on the new wiki works fine, it's just the
math I import from the previous database which has this problem.
A little debugging of the Math.php module shows that the parser dies
when running the following line:
$rpage = $dbr->selectRow( 'math',
array( 'math_outputhash','math_html_conservativeness','math_html','math_mathml' ),
array( 'math_inputhash' => $dbr->encodeBlob(pack("H32", $this->md5))), # Binary packed, not hex
It seems thus that "update.php" is not fully updating the math-related
section of the databse.
Here is the database I am trying to migrate:
which I import by running:
gunzip < pdewikidb.gz | mysql -p pdewikidb
and then "php update.php".
Any help regarding this problem would be greatly appreciated, thanks!
Marco De la Cruz-Heredia Department of Mathematics
Systems Administrator University of Toronto
marco(a)math.utoronto.ca Office: BA6290C, Tel: 416-978-7893
I'm still searching how to safely clean the history.
The last answer I received told me there is nothing standard to do that
(Strange !) and I have to write a SQL script. Writing a SQL script is not a
problem for me except I don't know how the history is stored in the DB. I
looked a little bit into the tables and I'm didn't found anything obvious to
safely delete. I don't want to break the database ! Just clear the history
for selected pages.
Any help appréciated.
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
I've correctly installed the last version of MediaWiki on the server with Ubuntu 7.04.
I've setup also the favicon entry in the LocalSettings.php.
When I start the wiki with Firefox (with Firebug enabled) I receive the following error message:
index.php (Line 3)
The "Error" message is shown also in the TAB close to the favicon.
Vuoi rimanere sempre aggiornato sulle nostre attivita'?
Visita la pagina dei feed RSS sul nostro sito ed iscriviti alla sezione di interesse.
Questo messaggio e i suoi allegati sono riservati esclusivamente alle persone in
indirizzo e possono contenere informazioni confidenziali. Se questo messaggio vi e'
pervenuto per errore, vi informiamo che ogni suo uso e'proibito.
In questo caso rispedite immediatamente il messaggio al mittente e cancellatelo.
Per ogni chiarimento contattateci scrivendo a ced(a)provincia.biella.it.
Grazie -Il Webmaster.
This message and its attachments are addressed solely to the persons above and may
contain confidential information. If you have received the message in error, be
informed that any use of the content hereof is prohibited.
Please return it immediately to the sender and delete the message. Should you have
any questions, please contact us by replying to ced(a)provincia.biella.it.
Thank you - The Webmaster.
i'm having an issue with plexcel or mediawiki, not sure which of the two.
i've successfully setup plexcel to perform sso and all is working
well, no issues at all, all our domain users can sso perfectly
the only issue i've found is with the below groupMap statement i've
added to LocalSettings.php
$wgAuth->groupMap = array(
'OURDOMAIN\\wiki-admin' => 'sysop',
regardless of weather on not i place myself in the
"OURDOMAIN\\wiki-admin" i still do not get sysop status on the wiki.
is there any way i can check this or force mediawiki to do a gpupdate
After a bit of reading on templates, I believe it may not actually be
what I am looking for. In short, when a user starts a new page, I
would like it to automatically have a set of fields that would then
just need to be filled in. Something of a form, I suppose. The user
would merely fill in the blanks and be on their way. Any thoughts?
Thanks in advance,
I have been tasked with investigating methods to export our internal MediaWiki site to a portable document format, and PDF seems to be the choice that we're taking.
Has anyone on this list had success with some of the PDF export plugins, and can recommend one that is stable and relatively easy to install and use?
I note the MediaWiki site lists PDF_Book and PDF_Export. Are there any others I should look for, or that people are using?
Help would be much appreciated!
For example: <input type="checkbox"
this.checked ? 'block' : 'none';" />
Does anyone have a solution to this?
I'm trying to set up different groups.
I work in a library in a University. We would like to set up different
groups of pages : first group of pages being the main wiki for everyone
to come by, the second group would be some kind of intranet wiki for a
group of people being the staff of the library, the third group would be
some students who follow research classes, and they would have to work
on the wiki (group works,...).
So I'm looking into the namespaces, and it looks like it can be my
thing. I've set up a group for the students (the most hurried group..),
then created a namespace for them.
So far, it works.
Now, I'm having some permission issues.
With the namespace I created, I set up authorisations as follow :
$wgGroupPermissions['students']['edit'] = false;
$wgGroupPermissions['students']['editnamespaces'] = true;
If I do leave it that way, the students don't have authorisations to
edit namespace pages. I have to set the 'main' edit authorisations to
true for it to work, but then, then can edit any pages, which is not our
I am going a wrong road with the namespaces?
And if not, where do I have to look into for the right authorisations
(they can only edit in the namespaces for the students)?
We are working with two different but similar issues here.
We have one wiki set up that is supposed to be public, but one group of
users needs to have a private section. We set up a namespace for that
section, but we can't figure out how to create pages for that namespace.
We don't want any other users to see that namespace, except those that
will be editing it. I'm thinking that those requiring access to that
namespace would be manually added?
We have a request for a wiki that would be entirely private, for a
specific group of gov't users. For that one, I believe all registrations
would be manually approved, and no pages can be seen unless the user is
Are we on the right track here? Is there anything special we should have
loaded out? We are running
Thanks very much!
Catherine Buck Morgan
Director, Division of Innovation & Technology
South Carolina State Library
POB 11469, 1500 Senate Street, Columbia, SC 29211
Phone: 803-734-8651 | Fax: 803-734-4757
The South Carolina State Library is a national model for innovation,
collaboration, leadership and effectiveness. It is the keystone in
South Carolina's intellectual landscape.