お世話になります。
AWSのSimpleADを使用してlinuxサーバのユーザアカウント管理、ログイン認証を実装しようと試みています。
AWSの同じVPC内にEC2(ubutu)とSimpleADを用意。
ubuntuにはsambaとldb-toolsをapt-getでインストールし、SimpleADを操作しました。
手順は下記のURL通りに進めています。
https://github.com/localytics/chef-sssd/blob/master/GETTING_STARTED.md
schemaの登録について手順通りに進めるとssh.ldifをldbaddする際にエラーが発生しました。
ubuntuサーバからSimpleADに対して実行したコマンド、結果は下記です。
$ ldbadd -H "ldap://xxx.xxx.xxx.xxx" ssh.ldif --user Administrator --password xxxxxxxx ERR: Unwilling to perform : "LDAP error 53 LDAP_UNWILLING_TO_PERFORM - <00002035: samldb: governsID '1.3.6.1.4.1.1466.115.121.1.40' already in use!> <>" on DN CN=ldapPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com at block before line 13 Add failed after processing 0 records
ssh.ldifで登録する1つ目のschemaについては登録されているようです。
$ ldbsearch -H "ldap://xxx.xxx.xxx.xxx" --user Administrator --password xxxxxxxx -b CN=sshPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com # record 1 dn: CN=sshPublicKey,CN=Schema,CN=Configuration,DC=example,DC=com objectClass: top objectClass: attributeSchema cn: sshPublicKey description: Users public SSH key instanceType: 4 whenCreated: 20181023045718.0Z whenChanged: 20181023045718.0Z uSNCreated: 3781 attributeID: 1.3.6.1.4.1.1466.115.121.1.40 attributeSyntax: 2.5.5.5 isSingleValued: FALSE uSNChanged: 3781 showInAdvancedViewOnly: TRUE oMSyntax: 22 lDAPDisplayName: sshPublicKey name: sshPublicKey objectGUID: 102e79ea-5839-4d36-aba7-e904c0c0b466 schemaIDGUID: 2b71cda4-dbfa-4a00-85af-6be60f8b9aea objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=example,DC=c om msDS-IntId: -2056150986 distinguishedName: CN=sshPublicKey,CN=Schema,CN=Configuration,DC=example,DC=co m # returned 1 records # 1 entries # 0 referrals
まだ登録していないgovernsIDが何故、already in use.となるのでしょうか?
また、調査方法があればご教授ください。
宜しくお願いいたします。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。