> First of all : is it possible to assign 2 certificates to a single user ? Is
> yes, How ??
Yes. The attribute is mult-valued. You must remember that there is no inherint
ordering of values of multiple attributes.
Im not sure how you are currently putting the attributes in, but all you need to
do is to add the value to the attribute, instead of replace. Provided
it does not already exist (as that is illegal).
> Then : Using ldap URL, I can not reach user using their cn
The DN for the user is determined at creation time of the object. You can make
it anything you like provided its a valid attribute for the object.
Now based on your question, Im assuming you are using the directory server to
create the objects, through the gateway. This automatically
creates the DN based on a configuration setting. The default is to use UID (as
you have noticed). Change the line in dsgw/context/dsgw.conf
newtype orgperson "Person" uid people specital
to
newtype orgperson "Person" cn people special
This can all be found in the Gateway customerisation Guide (Pg68).
You may want to read that document and at least the directory server deployment
guide.
Jus