[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: dnsDomain2.schema and aRecord



On Monday 11 December 2006 10:06, Jürgen Magin wrote:
> Hello
>
> I'm using dnsDomain2 schema with openldap 2.2.27 for dns server (pdns).
> When I look into the logfiles i saw that some questions are not answered
> by slapd.
>
> When I ask:
>     ldapsearch -x -LLL "dc=hostname"
> i get the follwing answer:
>     dn:
> dc=hostnanme,dc=example.local,ou=DNS,ou=Services,dc=example,dc=local
> objectClass: top
>     objectClass: dNSDomain2
>     objectClass: domainRelatedObject
>     dc: hostname
>     aRecord: 192.168.1.1
>     pTRRecord: hostname.example.local
>     associatedDomain: hostname.example.local
> ok, but
>     ldapsearch -x -LLL "aRecord=192.168.1.1"
> or
>     ldapsearch -x -LLL "aRecord=192*"
> returns nothing and
>     ldapsearch -x -LLL "aRecord=*"
> returns all entries.
>
> The entry 'aRecord' is of type caseIgnoreIA5Match.
> What's wrong there? Any ideas?

Have you made any changes to the index configuration (assuming you use a 
slapd.conf for configuration)? If so, did you run slapindex (or an 
export/import)?

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpJbsn7d4wZf.pgp
Description: PGP signature