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

Developing new syntaxes and ordering rules



Hello.  I hope you are doing well.

I am interested in using a new syntax and a new ordering rule for ipHostNumbers.

How does one go about creating a new syntax? Does it still require changing to the openldap source code? Are there any documents available that describe how to create a new syntax?

I have the same question for ordering and substring. Is it possible to create an ordering or substring for a new syntax with openldap? Is there any documentation about how to implement these filters?

The idea is that it would be nice to store IP (v4) addresses using octets, and allow filters like

(myIpHostNumber=1.2.3*)   ( as an example: just 1.2.3.* domains )
(&(myIpHostNumber>1.2.99.0)(myIpHostNumber<1.2.99.100)

With the IDEAL being something like

(myIpHostNumber ~= 1.2.3.0/22 )

and also creating *another* set of syntax for CIDR strings.

Thanks for your attention.

--
 John Borwick, Systems Administrator
       Wake Forest University
       Winston-Salem, NC, USA        | web  http://www.wfu.edu/~borwicjh

Attachment: signature.asc
Description: OpenPGP digital signature