[Mediawiki-l] LDAP Inquiry

Lane, Ryan Ryan.Lane at ocean.navo.navy.mil
Thu May 3 13:56:49 UTC 2007


> I'm having a bit of difficulty getting this to work. I added 
> a few entries to my LDAP that look like this:
> 
> # contractors, groups, domain1.com
> dn: ou=contractors,ou=groups,domain1.com,dc=com
> ou:: Y29udHJhY3RvcnMg
> objectClass: organizationalUnit
> objectClass: top
> description: Restricted Contractor Access
> 

That's a strange ou attribute value there ;).

> # user1, contractors, groups, domain1.com
> dn: uid=user1,ou=contractors,ou=groups,domain1.com,dc=com
> objectClass: inetOrgPerson
> objectClass: top
> objectClass: organizationalPerson
> objectClass: person
> cn: User1
> uid: user1
> sn: User1
> title: Freelance Graphics Artist
> 

The user does have a password right?

> And on the MediaWiki side:
>
[snip] 
> $wgLDAPSearchAttributes = array( "domain1.com"=>"uid" ); 
[snip]

Why is this only defined for one domain? Shouldn't this be defined for
both domains?

V/r,

Ryan Lane



More information about the MediaWiki-l mailing list