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

Re: enum type

At 11:19 AM 2001-08-29, Mark Adamson wrote:
>Is there any way to use the schema in OpenLDAP to limit the acceptable
>values of an attribute. The "boolean" syntax does it for True/False,
>but is there a way to specify, at the server, a list of more than 2 values
>for a specific attribute?

You need to define an LDAP syntax and implement the syntax
specific constraint checking (validation).

>attribute "status"  for an account must be one of [Active|Suspended|Deleted]
>Is this something for the LDAP Extensions group?
>-Mark Adamson
> Carnegie Mellon