[Date Prev][Date Next] [Chronological] [Thread] [Top]

Required Items for an LDIF-Record



Hi all, 

I have a question concerning the contents of a (LDIF-)record to be added to
the LDAP tree. Main focus is on the RDN part.
As defined in RFC 2251, Section 4.7 (Add Opereation, Page 34) the following
should be included :

----snip----

   - attributes: the list of attributes that make up the content of the
     entry being added.  Clients MUST include distinguished values
     (those forming the entry's own RDN) in this list, the objectClass
     attribute, and values of any mandatory attributes of the listed
     object classes.  

----snip----

Here is stated, that I MUST include the part forming the RDN, in my case
this would be uid=12345. This is of course mandatory, because uid is a
must-attribute in posixAccount. But if I contruct a record using e.g gecos
to form the RDN, this is working without having a gecos record in the entry.
(breaks in my opinion RFC-specs ...)

Is this "works-as-desinged" ? 
Is there a way to make openldap automagically add a missing RDN-part to the
entry ?

Thnx for your comments and advises

Ciao

Sebastian

------------------------------------------------------------------------------
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail nicht gestattet ist.Diese Nachricht  ist ausschliesslich fuer den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
----------------------------
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. Any form of unauthorised use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. This message is exclusively for the person addressed or their representative. If you are not the intended recipient of this message and its contents, please notify the sender immediately.

==============================================================================