このベースはPLAでは作成できません。



This Base Cannot Be Created With Pla



OpenLDAPを設定し、設定プロセスでOpenLDAP管理ツールphpldapadminをインストールした後、OU、グループ、アカウントなどを追加できないことがわかり、次の結果が表示されます。

画像



お問い合わせ後の最終的なまとめと処理は以下のとおりです。

まず、以下に示すように、/ etc / openldap /ディレクトリにbase.ldifファイルを作成する必要があります。



[root@xxxxx openldap]# pwd /etc/openldap [root@xxxxx openldap]# ll total 24 -rw-r--r-- 1 root root 76 Oct 23 19:28 base.ldif drwxr-xr-x. 2 root root 4096 Oct 23 09:29 certs -rw-r--r-- 1 root root 121 May 16 17:56 check_password.conf -rw-r--r-- 1 root root 363 May 16 17:56 ldap.conf drwxr-xr-x 2 root root 4096 Oct 23 09:29 schema drwxr-x--- 3 ldap ldap 4096 Oct 23 14:46 slapd.d [root@xxxxx openldap]#

2. base.ldifファイルに、初期化されたルートノードを作成する準備をするために次の情報を書き込みます。

[root@xxxxx openldap]# cat base.ldif dn: dc=jf,dc=local o: ldap objectclass: dcobject objectclass: organization [root@xxxxx openldap]#

記入済みはolcSuffixコンテンツであり、ページのコンテンツでもあります

[root@xxxxx openldap]# vim /etc/openldap/slapd.d/cn=config/olcDatabase={2}hdb.ldif olcRootDN: cn=Manager,dc=jf,dc=local olcSuffix: dc=jf,dc=local

3.次のコマンドを実行します。次の図に示すように、OpenLDAPを構成するためのパスワードを入力すると、LDAPルートノードの作成を完了することができます。



[root@xxxxx openldap]# ldapadd -f base.ldif -x -D cn=Manager,dc=jf,dc=local -W Enter LDAP Password: ldap123 adding new entry 'dc=jf,dc=local'

上記の操作が完了したら、phpldapadminページに戻り、再ログインを終了します。ルートノードが正常に表示され、関連するOU、グループ、アカウント、その他のオブジェクトを次のように作成できます。
画像