Hi,
I'm using LDAP authentication plugin with MW 193. If a username does not exist in the MW user table, when that user logs in, he/she can't. The error displayed is
"There was either an external authentication database error or you are not allowed to update your external account"
So I have to add all the users existing in the AD to MW table as well. But this is not practical as new users are added to AD quite often.
Here's my settings for ldapauthentication plugin:
/*LDAP authentication */ require_once( "$IP/extensions/LdapAuthentication.php" ); $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPUseLocal = true; $wgLDAPEncryptionType = array( "suntecsbs.com"=>"ssl" ); $wgLDAPDebug = 0; $wgLDAPDomainNames = array("suntecsbs.com"); $wgLDAPServerNames = array("suntecsbs.com"=>"sbssvad20.suntecsbs.com"); $wgLDAPSearchStrings = array("suntecsbs.com"=>"SUNTECSBS\USER-NAME"); $wgLDAPSearchAttributes = array("suntecsbs.com"=>"sAMAccountName"); $wgLDAPBaseDNs = array("suntecsbs.com"=>"OU=SunTec Business Solutions,DC=suntecsbs,DC=com");
Any suggestions, plz?
Regards, Jack Eapen C SunTec Knowledge Centre ------------------------------------------------------------------------------------
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
I'm using LDAP authentication plugin with MW 193. If a username does not exist in the MW user table, when that user logs in, he/she can't. The error displayed is
"There was either an external authentication database error or you are not allowed to update your external account"
So I have to add all the users existing in the AD to MW table as well. But this is not practical as new users are added to AD quite often.
I'm guessing you are using MediaWiki 1.9.x? If so, please look here: http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication#Officia l_workaround
A small change needs to be made for the plugin to work with MediaWiki 1.9. Upgrading to MediaWiki 1.10 should also fix the problem.
Here's my settings for ldapauthentication plugin:
[snip]
$wgLDAPUseLocal = true;
You probably don't want this. This is meant mostly for transitional periods, where you originally had a local database, and you are moving to an LDAP backend. This has security hazards associated with it, such as possibly storing your LDAP account passwords in the local database.
[snip]
$wgLDAPDebug = 0;
0 is actually the default, so you don't really need to define this one.
V/r,
Ryan Lane
Good Morning MediaWiki Fans:
Is there any configuration option that can get the + tab in the discussion display to add the new comment entry in front of other entries ? i.e. optionally order by newest items first in the discussion page rather than the default of newest items last.
--Hiram
There is currently no option to do this. This would also be pretty difficult to implement as it would require completely changing how the current commenting system works.
On 13/06/07, Hiram Clawson hiram@soe.ucsc.edu wrote:
Good Morning MediaWiki Fans:
Is there any configuration option that can get the + tab in the discussion display to add the new comment entry in front of other entries ? i.e. optionally order by newest items first in the discussion page rather than the default of newest items last.
--Hiram
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
There is currently no option to do this. This would also be pretty difficult to implement as it would require completely changing how the current commenting system works.
Really? I've thought about this too, as it would be very useful. I don't know much about the MW code, so I thought it should be as easy as changing $pageContents = $pageContents + $newComment; to $pageContents = $newComment + $pageContents; (that's pseudo-code, obviously)
Guess I was a bit naive then...
-- F.
Well, that would completely muck up any text at the top and also how would you decide where it gets cut off (a new magic word maybe).
On 13/06/07, Frederik Dohr fdg001@gmx.net wrote:
There is currently no option to do this. This would also be pretty difficult to implement as it would require completely changing how the current commenting system works.
Really? I've thought about this too, as it would be very useful. I don't know much about the MW code, so I thought it should be as easy as changing $pageContents = $pageContents + $newComment; to $pageContents = $newComment + $pageContents; (that's pseudo-code, obviously)
Guess I was a bit naive then...
-- F.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org