No edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
** 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] | ** 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) | ** 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) | ||
* Turns out $wgLDAPLowerCaseUsername does more than advertised, it converts input usernames completely to lowercase. However, now the | * Turns out $wgLDAPLowerCaseUsername does more than advertised, it converts input usernames completely to lowercase. However, now the skin starts bugging: | ||
[Sat May 25 15:45:32 2013] [error] [client 192.168.1.9] PHP Strict Standards: | [Sat May 25 15:45:32 2013] [error] [client 192.168.1.9] PHP Strict Standards: | ||
Only variables should be passed by reference in /var/www/skins/GuMax.php on line 172, | |||
referer: http://testwiki.nurdspace.lan/index.php5?title=Special:UserLogin&returnto=Main+Page |
Revision as of 16:53, 25 May 2013
NURDs Inventory | |
---|---|
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:
- Use the read-user for the lookups and enable $wgLDAPLowerCaseUsername
- Try $wgLDAPLowercaseUsernameScheme (requires all lowercase users in LDAP, which is currently not the case)
- Turns out $wgLDAPLowerCaseUsername does more than advertised, it converts input usernames completely to lowercase. However, now the skin starts bugging:
[Sat May 25 15:45:32 2013] [error] [client 192.168.1.9] PHP Strict Standards: Only variables should be passed by reference in /var/www/skins/GuMax.php on line 172, referer: http://testwiki.nurdspace.lan/index.php5?title=Special:UserLogin&returnto=Main+Page