slapd.conf에서
roodn "cn=Manager,dc=example,dc=com"
으로 바꿔주시고, rootdn넣는 ldif의 dn:을 아래와 같이 바꿔주세요.
dn: cn=Manager,dc=example,dc=com
지금은 "cn=root,dc=example,dc=com"으로 되어 있고 ldif는
cn=Manager,o=example.com으로 하고 계시군요.
rootdn은 하나만 있으면 됩니다.
그럼 이만.
>>sky 님께서 쓰시길<<
:: 질문 하나..
:: #
:: # See slapd.conf(5) for details on configuration options.
:: # This file should NOT be world readable.
:: #
:: include /develop/jisu/ldap/dap/etc/openldap/slapd.at.conf
:: include /develop/jisu/ldap/dap/etc/openldap/slapd.oc.conf
:: schemacheck off
:: #referral ldap://root.openldap.org/
::
:: pidfile /develop/jisu/ldap/dap/var/slapd.pid
:: argsfile /develop/jisu/ldap/dap/var/slapd.args
::
:: #######################################################################
:: # ldbm database definitions
:: #######################################################################
::
:: database ldbm
:: suffix "dc=mydomain, dc=com"
:: rootdn "cn=root,dc=mydomain, dc=com"
:: # cleartext passwords, especially for the rootdn, should
:: # be avoid. See slapd.conf(5) for details.
:: rootpw secret
:: # database directory
:: # this directory MUST exist prior to running slapd AND
:: # should only be accessable by the slapd/tools Mode 700 recommended.
:: directory /develop/jisu/ldap/dap/var/openldap-ldbm
::
:: -->slapd.conf화일은 윗같이 하고
::
:: 밑에 ldif화일은 다음과 같이해 rootdn를 추가 하려고 하는데 안됩니다.
:: 고수님들의 가르침을 주세요.
::
:: dn: cn=Manager,o=example.com
:: objectClass:domain
:: cn:Manager
::
|