thank you very much.now the LDAP node works very well.
2006/1/25, Maximilian.Schmidt <[EMAIL PROTECTED]>:
Hi,
had the same few days ago - the problem is that you need to include the
openca schema into your slapd.conf:
**************************************************************
include /etc/ldap/schemas/openca.schema
**************************************************************
you will find this schema in the openca source under
contrib/openldap/openca.schema
once you have copied it to /etc/ldap/schemas/ and included the line
above into your slapd.conf you may get an error while starting ldap -
this could happen if one of those types defined in openca.schema is
already defined in the file "core.schema". Those type are belonging to
objectclass 2.5.6.21/2.5.6.22 - at least on my installation. If so, just
comment those few lines out and try again.
Greetings,
Maximilian Schmidt
郑依华 wrote:
> hi,all
>
> slapd.conf
> ***************************************************************
> suffix "dc=SDG,dc=Grid,dc=cn"
> rootdn "cn=root,dc=SDG,dc=Grid,dc=cn"
> ***************************************************************
>
> ldap.xml
> ***************************************************************
> <suffix>
> <dn>dc=SDG,dc=Grid, dc=cn</dn>
> </suffix>
> <host>10.0.0.2 <http://10.0.0.2 ></host>
> <port>389</port>
> ***************************************************************
>
> Error:
> ***************************************************************
> Attributes for the insertion:
> cn = zyhua
> mail = [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> objectclass = ARRAY(0xb16b7b8)
>
> Certificate 2 FAILED (error 21: LDAP-add failed: objectclass: value #2
> invalid per syntax)
> ***************************************************************
>
> --
> Yihua Zheng
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users
--
Yihua Zheng
