私はOpenLdapについて質問し、ldiffをインポートしています。私はWindowsで動作するOpenldapを持っています。openldap:アクセスが不十分です
私のslapd.conf:
database mdb
suffix "dc=aaa,dc=com"
rootdn "cn=Manager,dc=aaa,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory ./data
searchstack 20
# Indices to maintain
index mail pres,eq
index objectclass pres
index default eq,sub
index sn eq,sub,subinitial
index telephonenumber
index cn
私は、Apache Active Directoryを使用して私の接続を表示することができます。
私はdc = aaa、dc = comを見ることができます。
ldifファイルをインポートしようとしています。上部に
、それが含まれています
dn: cn=ab3java,cn=schema,cn=config
objectClass: olcSchemaConfig
cn: ab3java
私は
ldapmodify -a -x -D "cn=Manager,dc=aaa,dc=com" -w secret -H ldap:// -f ab3java.ldif
を実行すると、私は次のエラーを取得する:
adding new entry "cn=ab3java,cn=schema,cn=config"
ldap_add: Insufficient access (50)
私は、LDAPブラウザでのcn = configのを見ることができません。
お知らせください。どうすれば正しいアクセス権を得ることができますか?
よろしく、オンライン構成データベースにサーバーを移行せずに可能ではない何をしたい B.
あなたはこの投稿を参照しましたか? http://stackoverflow.com/questions/33647440/error-of-insufficient-access-when-binding-as-the-rootdn-rootpw – fenixan