cn=schema に 4 つの新しい属性を作成し、4 つの属性を MUST に設定して新しい objectclass も作成しました。
これらの 4 つの新しい属性が LDAP エントリに設定されていないため、明らかにエラーを返す既存のエントリに objectclass を追加しようとしました。
ldif ファイルを作成して ldapmodify を実行しましたが、オブジェクト違反エラーが発生しました。このエラーの原因と、何か不足している場合は誰でも教えてもらえますか。
ldif
#ldapmodify.bat -h localhost -p 1389 -D "cn=Directory Manager" -w xxxxx -a -f entry.ldif
dn: uid=user.0,ou=People,dc=example,dc=com
changetype: modify
add: disabledFlag
disabledFlag: n
-
add: passwordData
passwordData:< file:/C:\\oud\\asinst_1\\OUD\\bat\\images.png
-
add: anonymousID
anonymousID: nah
-
add: challengeResponse
challengeResponse: nah
コマンド実行後のエラー。
Processing MODIFY request for uid=user.0,ou=People,dc=example,dc=com
MODIFY operation failed
Result Code: 65 (Object Class Violation)
Additional Information: Entry uid=user.0,ou=People,dc=example,dc=com cannot not be modified because the resulting entry would have violated the server schema: Entry uid=user.0,ou=People,dc=example,dc=com violates the Directory Server schema configuration because it includes attribute anonymousID which is not allowed by any of the objectclasses defined in that entry
インストールされているLDAPはOUD 11gR2です。