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

Re: Problems with a new schema



Juan Carlos Sanchez Recio wrote:
>
> I have created new schema file, and it is giving me some problems.
> this is the schema file:
> # As this is an experimental definition we'll use OIDs under 1.1
>
> # Attribute type jfvPerms
> attributetype ( 1.1.50.1.1
> NAME 'jfvPerms'
> DESC 'Permissions value for JFreeVote Users'
> EQUALITY integerMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{32767}
> SINGLE-VALUE
> NO-USER-MODIFICATION )
>
> #objectClass to store some additional info for JFreeVote Users
> objectClass ( 1.1.50.2.1
> NAME 'jfreevoteUser'
> DESC 'objectClass to store some aditional info for JFreeVote Users'
> AUXILIARY MUST jfvPerms )
>
> the problem is when I turn ON the ldap server:
>
> $ /etc/init.d/ldap start
> Iniciando slapd: /etc/openldap/schema/jfreevote.schema: line 16:
> AttributeType inappropriate USAGE: "jfvPerms"
>
> The jfvPerms attribute is defined, what's the matter?

Why did you define attribute type 'jfvPerms' with NO-USER-MODIFICATION.

Hint: NO-USER-MODIFICATION is not for access control.

Ciao, Michael.