私はldapとapachesが初めてです。Apache を使用して組み込み LDAP サーバーを作成しました。例はこちら。しかし、次の問題を見てください。間違ったパーティションを作成していますか? どのように見えるでしょうか?ldif ファイルに変更はありますか?
ldif ファイルのインポート時に表示されるエラー:
org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeException: ERR_04269 OID samaccountname の ATTRIBUTE_TYPE が存在しません!
Ldif ファイル:
dn: cn=Foo Bar,ou=people,o=foo,cn=ldaplookup,ou=dev,dc=foo,dc=bar
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Foo Bar
sn: foo_bar
givenName: Foo
name: Foo Bar
displayName: Foo, Bar
sAMAccountName: foo_bar
userPrincipalName: foo_bar@foo.chicago.com
mail: mail_foo@foo.com
サービス起動時の追加エラー:
11:19:12.622 [ATDD] [main] ERROR o.a.d.s.c.p.i.b.AbstractBTreePartition - ATDD - Cannot initialize the index for AttributeType userprincipalname, this value does not exist
11:19:12.622 [ATDD] [main] ERROR o.a.d.s.c.p.i.b.AbstractBTreePartition - ATDD - Cannot initialize the index for AttributeType user, this value does not exist
11:19:12.622 [ATDD] [main] ERROR o.a.d.s.c.p.i.b.AbstractBTreePartition - ATDD - Cannot initialize the index for AttributeType samaccountname, this value does not exist