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

RE: able to add an entry without parent

I thought that check in the code only applied for root adding the suffix entry. If not, it probably needs to be changed.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

-----Original Message-----
From: owner-openldap-devel@OpenLDAP.org [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Jonghyuk Choi
Sent: Wednesday, September 10, 2003 12:32 PM
To: openldap-devel@OpenLDAP.org
Subject: able to add an entry without parent

The addition of an entry that does not have parent is
permitted when adding as the rootdn.
(back-bdb/add.c:287  back-ldbm/add.c:240)
RFC2251 says the parent MUST exist and hence
it seems that !be_is_root() checking should be removed.
Does anyone know of reasons not to remove this ?
- Jong

Jong Hyuk Choi
IBM Thomas J. Watson Research Center - Enterprise Linux Group
P. O. Box 218, Yorktown Heights, NY 10598
email: jongchoi@us.ibm.com
(phone) 914-945-3979    (fax) 914-945-4425   TL: 862-3979