Michael Bell a �crit :
Peter Gietz wrote:
Ok lets look at an example (my comments are behind #):
[...]
[...]
Correct. <default> is used for LDAP nodes which does not contain
certificates or CA certificates. This can happen if OpenCA has to create
parts of the LDAP tree. Otherwise you can ignore the <default> definitions.
Thanks to you both Peter and Michael *a lot*, especially to have gone
into such details.
The publishing process into the LDAP is now much clearer to me.
I'll include some parts of this thread into the doc, even if the config
is modified later it will still be useful for the users until the next
release of OpenCA.
I have a last question (hopefully :-( ). From your explanations it seems
that I don't have to modifiy the schemas of the ldap.xml file. Currently
when I want to publish user certificates, the entries published by
OpenCA in my LDAP look like:
Current
-------
cn=User1,ou=people,o=pkidemo,c=fr
But because my users already exist in the LDAP and have an uid RDN, I
would like them to be like:
Desired
-------
uid=4376,ou=people,o=pkidemo,c=fr
Is it possible and how to get this behavior by modifying
openca/servers/pub.conf, openca/servers/ra.conf and
openca/servers/ca.conf ?
It seems possible since openca/etc/ldap.xml contains
<schema>
...
<certificate>
...
<rdn>
<attributetype>uid</attributetype>
<must>
<attributetype>cn</attributetype>
<attributetype>sn</attributetype>
</must>
<may>
<attributetype>uid</attributetype>
<attributetype>mail</attributetype>
<attributetype>emailAddress</attributetype>
<attributetype>ou</attributetype>
<attributetype>o</attributetype>
<attributetype>st</attributetype>
<attributetype>l</attributetype>
</may>
<structural>
<objectclass>person</objectclass>
<objectclass>organizationalPerson</objectclass>
<objectclass>inetOrgPerson</objectclass>
</structural>
<auxiliary>
<objectclass>opencaEmailAddress</objectclass>
<objectclass>pkiUser</objectclass>
</auxiliary>
</rdn>
...
</certificate>
...
</schema>
The users may know their uid at the time they apply for a certificate.
Cheers,
--
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_id=6595&alloc_id=14396&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users