Testwiki: Difference between revisions

From NURDspace
No edit summary
Line 15: Line 15:
* Database put in /root/backup.sql
* Database put in /root/backup.sql
* Database and files in place, wiki working (http://testwiki.nurdspace.lan/)
* Database and files in place, wiki working (http://testwiki.nurdspace.lan/)
* Ldap plugin (http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Options#Enabling_the_plugin) installed and working
* [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Options#Enabling_the_plugin Ldap plugin] installed and working
* Current problem: wiki login screen converts first character of username to uppercase. See /tmp/debug.log for this error:
* Current problem: the mediawiki login system converts the first character of the username you feed it to uppercase, possibly due to [http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)#Restrictions_on_usernames restrictions on usernames]. See /tmp/debug.log for this error (when logging in as 'fwd'):
  2013-05-22 21:15:50 testwiki nurdspace_wiki: 2.0d Failed to bind as uid=Fwd,ou=people,dc=nurdspace,dc=lan
  2013-05-22 21:15:50 testwiki nurdspace_wiki: 2.0d Failed to bind as uid=Fwd,ou=people,dc=nurdspace,dc=lan
Possible solutions:
* Use the [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Configuration_Options#Proxied_or_search_based_bind_options read-user] for the lookups and enable [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Configuration_Options#Group_options $wgLDAPLowerCaseUsername]
* Try [http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Changelog#v2.0a $wgLDAPLowercaseUsernameScheme] (requires all lowercase users in LDAP, which is currently not the case)

Revision as of 23:46, 22 May 2013

NURDs Inventory
NoPicture.png
Owner The wikipage input value is empty (e.g. <code>SomeProperty::, [[]]</code>) and therefore it cannot be used as a name or as part of a query condition.
Status
Tool
Tool category

{{{Name}}}Property "Tool Name" (as page type) with input value "{{{Name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} User:FwD {{{Location}}}Property "Tool Location" (as page type) with input value "{{{Location}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

On this VM I'll create a duplicate of the actual Wiki to test how hooking it up to the LDAP will turn out.

IP: 192.168.1.223

Status

  • Files copied from the real wiki (/root/filestmp)
  • Files put in /var/www/
  • Database dumped from the real wiki
  • Database put in /root/backup.sql
  • Database and files in place, wiki working (http://testwiki.nurdspace.lan/)
  • Ldap plugin installed and working
  • Current problem: the mediawiki login system converts the first character of the username you feed it to uppercase, possibly due to restrictions on usernames. See /tmp/debug.log for this error (when logging in as 'fwd'):
2013-05-22 21:15:50 testwiki nurdspace_wiki: 2.0d Failed to bind as uid=Fwd,ou=people,dc=nurdspace,dc=lan

Possible solutions: