Thread:Extension talk:LDAP Authentication/LDAP Authentication with Google Mini Search Appliance/reply (3)

Ok, I've gotten it figured out. For posterity, here's how I did it:

I combined the LDAPAuthentication and the NetworkAuth extensions, and checked what IP address was coming in. If it was the IP address of our Google Mini, I used NetworkAuth to log into the pages, which pretty much negates all LDAP and HALOAcl settings. Otherwise, I use the LDAPAuthentication extension.

if ( $_SERVER['REMOTE_ADDR'] == "10.10.10.10" ) { require_once("$IP/extensions/NetworkAuth/NetworkAuth.php"); $wgNetworkAuthUsers[] = array(            'ippattern'             => '/10\.10\.10\.10/',             'user'                  => 'Crawler'); } else { ###### BEGINNING: Used to enable LDAP Authentication require_once 'extensions/LdapAuthentication.php'; $wgLDAPUseLocal = false; $wgAuth = new LdapAuthenticationPlugin; $wgLDAPDomainNames = array('MyDomain'); $wgLDAPServerNames = array('MyDomain' => 'ldap.mydomain.edu'); $wgLDAPSearchAttributes = array('MyDomain' => 'uid'); $wgLDAPBaseDNs = array('MyDomain' => 'o=mydomain.edu'); $wgLDAPEncryptionType = array('MyDomain' => ''); $wgMinimalPasswordLength = 1; ###### END: Used to enable LDAP Authentication }

Yeah, I realize that this is not secure in the case of IP spoofing, but the Google Mini is secured, and the information on this site isn't THAT sensitive.