Michael Bell a �crit :
M.-A. DARCHE wrote:
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 ?
You have to configure the basic request area so that only uid can be
entered. If the people already exist in the directory then there should
be no schema trouble (simply remove email and replace common name).
Sorry I could not answer sooner.
It does work well and exactly as expected by following your advice.
Only modifications in openca/etc/servers/pub.conf were necessary.
Since we only use Mozilla/Firefox browsers I only modified the
"DN_TYPE ::= SPKAC" section which now is:
DN_TYPE_SPKAC_ELEMENTS "UID" "OU"
DN_TYPE_SPKAC_NAME "Basic User Request"
DN_TYPE_SPKAC_BASE_1 "PKIDEMO"
DN_TYPE_SPKAC_BASE_2 "FR"
DN_TYPE_SPKAC_ELEMENT_1 "UID"
DN_TYPE_SPKAC_ELEMENT_1_MINIMUM_LENGTH 1
DN_TYPE_SPKAC_ELEMENT_1_REQUIRED "YES"
DN_TYPE_SPKAC_ELEMENT_1_CHARACTERSET "LATIN1_LETTERS"
DN_TYPE_SPKAC_ELEMENT_2 "Certificate Request Group"
DN_TYPE_SPKAC_ELEMENT_2_SELECT "people"
DN_TYPE_SPKAC_ELEMENT_2_MINIMUM_LENGTH 6
DN_TYPE_SPKAC_ELEMENT_2_REQUIRED "YES"
DN_TYPE_SPKAC_ELEMENT_2_CHARACTERSET "LATIN1_LETTERS"
For reference, here are in details the steps to follow:
1. Choose the DN_TYPE_xxx_ELEMENT_xxx you want (in my case UID and OU)
2. Make sure you have ELEMENT_1, then ELEMENT_2, etc.
3. Modify the DN_TYPE_xxx_ELEMENTS so that there are as
many values that there are DN_TYPE_xxx_ELEMENT_xxx
So as a conclusion I would say that OpenCA regarding LDAP publishing
is quite flexible. And this was not the first feeling I have had when
I have started to use it.
Thanks a lot Michael and to every one who is working on OpenCA,
--
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
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users