M.-A. DARCHE a �crit :
Common Information
------------------------------------------------
OpenCA Version : 0.9.2.2
Perl Version : 5.8.4
OpenSSL Version : 0.9.7e-2
LDAP : OpenLDAP 2.1.30-3
Operating System: Debian Sarge + 2.6.8-1-386
Used Browsers and mailers : Mozilla, Firefox, Thunderbird
Used Language(s): default (English)
Special Changes : None
Database initialized: y
Database interface: DBI with PostgreSQL
Type of Installation: different Systems, 1 for CA and 1 for RA
------------------------------------------------
Problem Description:
The certificates don't get publish in the LDAP the way I would like
them to be.
Full problem description
========================
I have a certificate request-to-approval chain that works really fine
and as expected. The last step which I'm not happy with is certificate
publishing to the LDAP. The publishing occurs but not in the expected
place.
Context
-------
I am working on an existing LDAP which has many existing user entries.
The LDAP has the very classical schema: inetorgPerson + pkiUser entries
located in a "people" branch.
My need is to add OpenCA generated certificates as userCertificate
attributes to the existing user entries.
Current unsatisfying behavior
-----------------------------
Publishing a certificate from the http://pki-ra/cgi-bin/ldap/ldap
interface actually creates the certificate as an extra entry, a child
node to the existing user, instead of modifying the existing user.
LDAP base dn:
o=pkidemo,c=fr
User dn:
cn=User1,ou=people,o=pkidemo,c=fr
Extra entry published by OpenCA:
serialNumber=8,cn=User1,ou=people,o=pkidemo,c=fr
Technical details
------------------
It seems the configuration to do what I need is located in the file
openca/etc/ldap.xml and more precisely in the XML node
openca/ldap/schema. But the openca/ldap/schema node seems very obscure
to me (especially why an attributetype would "must" other
attributetypes).
Can someone at least explain how the file openca/etc/ldap.xml is used by
OpenCA? I'm interested in the difficult part, the schema part.
When is the "default" schema used (compared to the ca and certificate
schemas)?
Do everybody here only use the default LDAP tree structure that OpenCA
uses by default???
Every little help on those topics will be very appreciated,
--
Marc-Aur�le DARCHE
NUXEO (Paris, France) http://nuxeo.com/
Nuxeo Collaborative Portal Server (CPS) http://www.cps-project.org/
Gestion de contenu web / portail collaboratif / logiciel libre
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users