Incorrect password*UPDATED*

Jump to: navigation, search
Edited by 2 users.
Last edit: 22:11, 28 October 2011

Always receive bad password message.

Win serv 2008 r2

MW 1.16.5

php 5.3.6

LDAP Authentication Plugin (Version 1.2b (alpha))


require_once("$IP/extensions/LdapAuthentication/LdapAuthentication.php");
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array(
"CAT",
"AD"
);
$wgLDAPServerNames = array(
"CAT"=>"CAT.xxx.edu",
"AD"=>"AD.xxx.edu"
);
$wgLDAPSearchStrings = array(
"CAT"=>"CAT\USER-NAME",
"AD"=>"AD\USER-NAME"
);
$wgLDAPEncryptionType = array(
"CAT"=>"clear",
"AD"=>"ssl"
);
$wgLDAPPort = array(
"CAT.unh.edu"=>389,
"AD.unh.edu"=>636
);
$wgMinimalPasswordLength = 1;
$wgLDAPGroupUseFullDN = array(
"CAT" => true,
"AD" => true
);
$wgLDAPBaseDNs = array(
"CAT" => "uid=USER-NAME,ou=Students,dc=xxx,dc=edu",
"AD" => "uid=USER-NAME,ou=People,dc=xxx,dc=edu");
$wgLDAPSearchAttributes = array(
"CAT" => "sAMAccountName",
"AD" => "sAMAccountName"
);
// $wgLDAPGroupsUseMemberOf = array( "CAT" => true );
$wgLDAPGroupObjectclass = array( "CAT" => "group" );
$wgLDAPGroupAttribute = array( "CAT" => "member" );
$wgLDAPGroupNameAttribute = array( "CAT" => "cn" );
// $wgLDAPUseLDAPGroups = array( "CAT" => true );
$wgLDAPPreferences = array("CAT"=>array( "email"=>"mail","realname"=>"cn","nickname"=>"cn"));
$wgLDAPGroupSearchNestedGroups = array( "CAT.xxx.edu" => true );

I only want to have users in "CAT" have a wiki account, I dont want to create accounts.

Thanks for the help, Im a fulltime student who works at the school. I have 16 hours a week to administrate 2 wikis 2 drupal instances and 5 other servers. I also have a 4 month old and another job so any help might just keep me from going quite mad!

Thanks, Chris

132.177.40.7320:18, 21 October 2011

More Info

2011-10-23 21:48:58 opencomputing_wiki: Entering validDomain

2011-10-23 21:48:58 opencomputing_wiki: User is using a valid domain.

2011-10-23 21:48:58 opencomputing_wiki: Setting domain as: CAT

2011-10-23 21:48:58 opencomputing_wiki: Entering getCanonicalName

2011-10-23 21:48:58 opencomputing_wiki: Username isn't empty.

2011-10-23 21:48:58 opencomputing_wiki: Munged username: xxx

2011-10-23 21:48:58 opencomputing_wiki: Entering authenticate

2011-10-23 21:48:58 opencomputing_wiki:

2011-10-23 21:48:58 opencomputing_wiki: Entering Connect

2011-10-23 21:48:58 opencomputing_wiki: Using TLS or not using encryption.

2011-10-23 21:48:58 opencomputing_wiki: Using servers:

2011-10-23 21:48:58 opencomputing_wiki: Using TLS

2011-10-23 21:48:58 opencomputing_wiki: Failed to start TLS.

2011-10-23 21:48:58 opencomputing_wiki: Connected successfully

2011-10-23 21:48:58 opencomputing_wiki: Entering getSearchString

2011-10-23 21:48:58 opencomputing_wiki: Doing an anonymous bind

2011-10-23 21:48:58 opencomputing_wiki: Failed to bind as

2011-10-23 21:48:58 opencomputing_wiki: Failed to bind

2011-10-23 21:48:58 opencomputing_wiki: User DN is blank

2011-10-23 21:48:58 opencomputing_wiki: Entering strict.

2011-10-23 21:48:58 opencomputing_wiki: Returning true in strict().

2011-10-23 21:48:58 opencomputing_wiki: Entering allowPasswordChange

2011-10-23 21:48:58 opencomputing_wiki: Entering modifyUITemplate


Its

Any help on this?

132.177.40.11219:41, 23 October 2011

Well, it's saying TLS failed. It's possible that the bind to your server isn't actually occuring.

Ryan lane02:19, 2 December 2011
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox