Hi,
I've finally got the LDAP Authentication working on my mw installation.
Nearly everything works fine, even preferences like nickname and email
are retrieved from the ldap-database.
Though, the users are not able to change their passwords unfortunately.
Everytime the try to access the special-site for changing the password,
mw tells them, it is not possible to change it (no form, just an error
message).
Here is my mw/ldap-configuration:
=========================================
require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array('LDAP');
$wgLDAPServerNames = array('LDAP' => '127.0.0.1');
$wgLDAPUseLocal = false;
$wgLDAPAddLDAPUsers = true;
$wgLDAPUpdateLDAP = true;
$wgLDAPEncryptionType = array('LDAP'=>'clear');
$wgLDAPSearchStrings = array(
"LDAP" => "uid=USER-NAME,ou=Users,dc=one,dc=two,dc=three,dc=de"
);
$wgLDAWriterDN = array(
"LDAP"=>"cn=authenticate,dc=one,dc=two,dc=three,dc=de"
);
$wgLDAPWriterPassword = array(
"LDAP"=>"abcdefgh"
);
$wgLDAPWriteLocation = array(
"LDAP"=>"ou=Users,dc=one,dc=two,dc=three,dc=de"
);
$wgLDAPPreferences = array(
"LDAP"=>array( "email"=>"mail","realname"=>"displayName","nickname"=>"cn"),
);
$wgLDAPSearchAttributes = array(
"LDAP"=>"uid"
);
$wgLDAPBaseDNs = array(
"LDAP"=>"dc=one,dc=two,dc=three,dc=de"
);
$wgLDAPUserBaseDNs =
array("LDAP"=>"ou=Users,dc=one,dc=two,dc=three,dc=de");
$wgLDAPDisableAutoCreate = array("LDAP"=>false);
$wgLDAPRetrievePrefs = true;
$wgMinimalPasswordLength = 8;
$wgDebugLogFile = '/tmp/wiki.log';
$wgLDAPDebug = 99;
$wgDebugLogGroups["ldap"] = "/tmp/debug.log";
=========================================
Can anyone please tell me what to change to allow users to change their
passwords?
Thanks,
Tim
Hey,
Version 0.7 of both the Maps and Semantic Maps extensions is now available
for download [0]. This release is made after 3 beta's and a release
candidate, so should be stable. The most notable new features in this
release are tag extension support for all the Maps parser functions, more
consistent error handling via Validator 0.4 and compatibility with the
upcoming MediaWiki 1.17. Most changes are internal improvements, but there
are also several bug fixes and minor new features.
For a complete list of changes, see the release announcement on the wiki
[1].
[0] http://mapping.referata.com/wiki/Download
[1] http://mapping.referata.com/wiki/Maps_and_Semanic_Maps_0.7_released
Cheers
--
Jeroen De Dauw
* http://blog.bn2vs.com
* http://wiki.bn2vs.com
Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69
66 65!
--
Hi,
Sorry for the "urgent" label but I urgently need to unblock a user who
cannot login anymore because of too many login attempts with wrong password.
What can I do ?
Laurent
Hello everyone,
I am trying to obtain through a web request from an application i'm working
on the raw wikitext version of an arbitrary Wikipedia article. However, i
prefer the templates to be already expanded into their constituent wikitext
and/or HTML, and from what i read on the Wikimedia API documentation this
should be done by appending "&templates=expand" to the query string; thus,
if I wanted the English version of the article about Barcelona in wikitext
with template expansion, the URL would be:
http://en.wikipedia.org/w/index.php?action=raw&title=Barcelona&templates=ex….
However, i soon found out that not all of the templates are actually
expanded, the exception being those templates enclosed in wiki tags, which
are left unexpanded (perhaps the most common example being {{cite ...}}
templates inside <ref></ref> tags).
I eventually learned that the API provides an individual template expansion
module, accessible through
...api.php?action=expandtemplates&text={{template_to_expand}}
. This was not really the solution I hoped for actually, since it is
impractical for long templates (i assume there's a limit imposed on that
query string) and for each of the unexpanded template i'd have to send a
separate request to the server, which could prove highly expensive in terms
of performance. I've also seen there's the special Wikipedia template
expansion page (http://en.wikipedia.org/wiki/Special:ExpandTemplates ), but
I don't know if and how I could access its functionality from my application
and how I could use it for several templates at once.
Could anyone please suggest a solution for expanding all the templates or at
least a viable workaround for this issue ?
Thanks in advance,
Gabriel S.
Hi all,
I'm experimenting with the SemanticWikiMedia Maps extension.
I'm getting:
"1271: Illegal mix of collations for operation ' IN ' (localhost)".
Google doesn't help. The Maps extension seems to work properly.
The SemanticWikimedia installation worked, though I had to run the
set up from the maintenance script; getting bored with clicking
pages (I actually do have some changes to make), I ran the runjobs
maintenance script and saw a similar error to which I
responded--having found *this* on Google--by figuring out how to get
into my database (mysql) and doing:
alter table math CONVERT TO CHARACTER SET utf8 COLLATE
utf8_general_ci;
As I look at it, however, I'm not actually using math (at least that
I know about. So I'm guessing I need to repeat the above for
another table. Only, I have no idea which table. Any ideas?
Thanks!
--
David Benfell <benfell(a)parts-unknown.org>
http://www.parts-unknown.org/
Hi.
Instead of thumbnail creation I always get error:
"Error creating thumbnail: 'OMP_NUM_THREADS' is not recognized as an
internal or external command, operable program or batch file."
Currently I run latest svn-accessible MediaWiki version.
My configuration:
Windows 7.
Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.5
ImageMagick 6.6.4-10
What should I try to check?
Hi,
we just deployed a MediaWiki at The Document Foundation, running with
FastCGI. Everything seems to work like a charm, except one issue: I
have set
$wgEmailConfirmToEdit = true;
People complain that after they confirmed their account, they need to
log out, restart the browser and then wait five minutes until that
validation is accepted, otherwise - even after successful validation -
they see an error message stating they cannot edit without being
validated.
Is there some timeout or maintenance script running only all five
minutes that could cause this?
Thanks,
Florian
Hello,
I would like to create new wiki pages without using the web interface but with a script (by example). Is there anyway to do something like that?
Sorry for my english, I'm french.
Hello,
I'm using UserRightsList extension to manage the rights of my user via a
list, instead of one by one.
I have a lot of users on the wiki, as it is used for students to make
group works.
I've updated the wiki to the last version, and the extension is broken,
I get this message when trying to save changes :
*Fatal error*: Cannot access protected property WebRequest::$data in
*/var/web/bsv/public_html/wiki/extensions/UserRightsList/SpecialUserRightsList.body.php*
on line *62
*Also, I use the extension Mass User Import, to import the students with
the name, email, username for the wiki, and they receive an email with
invitation and a temporary password.
Could it be tweaked to add the group to which I would like to assign
them? I don't know where in the tables the users and the groups are
connected.
If I can't, do you have any idea how I could easily add about 400 new
users to a group, and switch about the same number of users from a group
to another group?
Thanks
André
*
*
Thanks for the information.
I've tried doing a POST from my .NET application to the API and indeed the
templates are expanded and i receive an XML response. There is, however, a
problem. If i'm sending several templates to be expanded at once (say, about
100), all appended one after the other, the Wikipedia API does not return
the expansion for all of them - the result is still a well-formed XML, but
the template expansion stops at some point (i can provide concrete examples
if needed). On the other hand, asking for expansion of the same concatenated
templates through the Wikipedia's Special:ExpandTemplates page works as
expected, all templates are expanded. Since it seems that both approaches
are based on the same functionality, what could I be doing wrong in my
application ? Are there any "HTTP settings" that need to be done, such as
headers ? Or is it the Wikipedia API which restricts the length of the
response ?
On Thu, Oct 14, 2010 at 7:54 PM, Roan Kattouw <roan.kattouw(a)gmail.com>wrote:
> 2010/10/14 Gabriel Sandor <gabi.t.sandor(a)gmail.com>:
> > since it is impractical for long
> > templates (i assume there's a limit imposed on that query string)
> You can POST to the API too.
>
> > I've
> > also seen there's the special Wikipedia template expansion page
> > (http://en.wikipedia.org/wiki/Special:ExpandTemplates ), but I don't
> know if
> > and how I could access its functionality from my application and how I
> could
> > use it for several templates at once.
> >
> Special:ExpandTemplates has the same functionality as
> action=expandtemplates AFAIK.
>
> Roan Kattouw (Catrope)
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>