ok,
i've set all DEBUG variables to 1 and with that i've a lot of information:
Importing CA-Certificates into ldap ... ldap-utils.lib: LDAP_get_ca: try to determine the newest CA-cert
ldap-utils.lib: LDAP_get_ca: check NOTBEFORE 20030716134337
ldap-utils.lib: LDAP_get_ca: newer ca-cert found
ldap-utils.lib: LDAP_get_ca: notbefore: 20030716134337
ldap-utils.lib: LDAP_get_ca: ca:
OpenCA::X509=HASH(0x8b51d18)
ldap-utils.lib: LDAP_get_ca: return newest ca
Information of the Object:
dn [EMAIL PROTECTED],CN=ca,OU=objectweb,O=inria,C=FR
cn ca
serID 0
email [EMAIL PROTECTED]
ou ARRAY(0x8b6d804)
o inria
l
st
c FR
End of the information of the Object.
element of baseDN: o=inria
element of baseDN: c=FR
element of the inserted DN: [EMAIL PROTECTED]
element of the inserted DN: CN=ca
element of the inserted DN: OU=objectweb
element of the inserted DN: O=inria
element of the inserted DN: C=FR
Checking RootDN of Certificate ...
Inserted DN BaseDN
h_basedn: FR
h_dn: FR
h_basedn_attribute: c
h_dn_attribute: C
h_basedn: inria
h_dn: inria
h_basedn_attribute: o
h_dn_attribute: O
Checking the length of the DN of the Certificate ...
Building the missing nodes of the LDAP-tree ...
Try to add o=inria, c=FR ...
LDAP Schema DN: o=inria, c=FR
node doesn't exist
Attributes for the insertion:
o = inria
authorityRevocationList;binary =
certificateRevocationList;binary =
cACertificate;binary =
objectclass = ARRAY(0x8b7cbf0)
Must setup a CA-cert
The resultcode of the nodeinsertion was 32.
addLDAPattribute: DN= [EMAIL PROTECTED],cn=ca,ou=objectweb,o=inria,c=FR
attr: cACertificate;binary
LDAP Searchfilter: (cACertificate;binary=*)
LDAP Search Mesg-Code 32
LDAP Search Mesg-Count 0
Search for the attribute failed.


Cannot write CA-Certificate 0e6caea2b695d280ef704c7fed0b0738 to LDAP

alex

Alexandre Thaveau wrote:

i've made "locate ldap-utils.lib" and i've got all those locations:
/srv/ca/OpenCA/lib/functions/ldap-utils.lib


real file (but on the CA and useless)

/srv/ca/OpenCA/lib/servers/ca_node/functions/ldap-utils.lib
/srv/ca/OpenCA/lib/servers/ca/functions/ldap-utils.lib


symlinks

/srv/ra/OpenCA/lib/functions/ldap-utils.lib


real file

/srv/ra/OpenCA/lib/servers/ra_node/functions/ldap-utils.lib
/srv/ra/OpenCA/lib/servers/ra/functions/ldap-utils.lib
/srv/ra/OpenCA/lib/servers/ldap/functions/ldap-utils.lib
/srv/ra/OpenCA/lib/servers/pub/functions/ldap-utils.lib


symlinks

i chose /srv/ra/OpenCA/lib/servers/ldap/functions/ldap-utils.lib and i


correct

modify the line *my $DEBUG = 1;*


There is no "the" line. Nearly every function has such a line. So you have to activate the debugging for every function seperately.

but i'm not sure. The other problem is that i don't know
where the ldap logs are so i can't see the debug adds.


The debugging output will be displayed by your browser directly.

Michael





------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to