[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
FW: Naming Violation (64) -- help!!
I am using OpenLdap 2.1.21
---------------------------------
My slapd.conf contains
include /opt/iexpress/openldap/etc/openldap/schema/core.schema
include /opt/iexpress/openldap/etc/openldap/schema/cosine.schema
include
/opt/iexpress/openldap/etc/openldap/schema/inetorgperson.schema
include /opt/iexpress/openldap/etc/openldap/schema/try.schema
database bdb
suffix "dc=india,dc=com"
rootdn "cn=Manager,dc=india,dc=com"
--------------------------------
The included schema file "try.schema" is as below:
attributetype ( 2.16.840.1.114199.1.1.9
NAME 'aaapo'
DESC 'Attribute for AAA Server'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Interlink AAA Server'
)
attributetype ( 2.16.840.1.114199.1.1.7
NAME 'aaaOperator'
DESC 'Attribute for AAA Server'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'Interlink AAA Server'
)
objectclass ( 2.16.840.1.114199.1.2.1
NAME 'aaaPolicy'
SUP ( top )
STRUCTURAL
MUST ( aaapo )
MAY ( aaaoperator )
X-ORIGIN 'XXX'
)
---------------------------------------------------
When trying to do an ldapadd as
ldapadd -a -x -c -D "cn=Manager,dc=india,dc=com" -W -f ./add.ldif , I am
getting the following error
Enter LDAP Password:
adding new entry "aaapo=testpo1,dc=india,dc=com"
ldapadd: update failed: aaapo=testpo1,dc=india,dc=com
ldap_add: Naming violation (64)
additional info: value of naming attribute 'aaapo' is not present in
entry
wherein add.ldif contains
--------------------------
dn: aaapo=testpo1,dc=india,dc=com
objectclass: top
objectclass: aaaPolicy
aaaoperator: |||
aaapo: testpo1
Have any ideas as to how i could solve this?
Thank you
Suma Shivaprasad