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

Re: Custom ldapSyntax

Peter SchÃtt wrote:
> I use OpenLDAP 2.4.19 and I try to build 
> an own gender attribute.

Why not use existing suggestions?

> I need a custom syntax for the value,
> "M" or "W".

With OpenLDAP you don't need an extra syntax. You could use slapo-constraint
for restricting attribute values. See the man-page slapo-constraint(5).

> How can I create my own custom syntax?

An own LDAP syntax requires coding something which runs inside slapd (e.g. an

Ciao, Michael.