[Date Prev][Date Next]
Re: Proxy to Active Directory: lost field
On Wed, 25 Mar 2009 18:57:21 +0100
Michael StrÃder <firstname.lastname@example.org> wrote:
> Pierangelo Masarati wrote:
> > Bogdan B. Rudas wrote:
> >> I made custom schema with - I get values with Apache Directory
> >> Studio
> >> attributetype ( 1.2.840.1135220.127.116.11 NAME 'sAMAccountName' SYNTAX
> >> '18.104.22.168.4.1.1422.214.171.124.15' SINGLE-VALUE )
> >> Now I can see this field in LDAP browser, but still can't do
> >> searches using this filed.
> > That's because the above attributetype does not have an EQUALITY
> > rule. You need to guess one, since AD appears to produce
> > inconsistent schema description. Depending whether it is supposed
> > to be case-sensitive or not, caseExactMatch or caseIgnoreMatch
> > should do the trick.
> caseIgnoreMatch is appropriate for 'sAMAccountName' I think.
> Ciao, Michael.
This solved my problem:
attributetype ( 1.2.840.1135126.96.36.199 NAME 'sAMAccountName' EQUALITY
caseExactMatch SYNTAX '188.8.131.52.4.1.14184.108.40.206.15' SINGLE-VALUE )