Hello Quanah,

thank you, yes schema missed equality as Ulrich pointed out.

Greetings,
Xaled

-----Original Message-----
From: Quanah Gibson-Mount <[email protected]>
Sent: Montag, 4. Mai 2020 23:30
To: [email protected]; [email protected]
Subject: Re: Can not find object by attribute value



--On Tuesday, May 5, 2020 12:10 AM +0200 [email protected] wrote:

>
>
> Hi,
>
>
>
> Could someone help me with this one? I have a user1 with inetUserStatus:
> active and user2 inetUserStatus: inactive. If I search for a user with
> a inetUserStatus=(in)active I don't get any results:
>
> olcAttributeTypes: {1}( 2.16.840.1.113730.3.1.692 NAME 'inetUserStatus'
> DESC '"active", "inactive", or "deleted" status of a user' SYNTAX
> 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'Netscape
> subscriber interoperability' )

Your schema definition for the attribute clearly lacks any matching rules.
Add the appropriate matching rules to the attribute definition.

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to