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

subentries code is broken in back-bdb/passwd.c (ITS#1716)



Full_Name: Ganesan Rajagopal
Version: OpenLDAP 2.1 (CVS HEAD)
OS: Debian Linux 3.0 
URL: 
Submission from: (NULL) (128.107.253.38)


back-bdb/passwd.c fails to link if BDB_SUBENTRIES is defined. It calls the
routine is_entry_subentries(), the correct routine is is_entry_subentry(). The
following patch fixes the problem.

-----
diff -u -r1.30 passwd.c
--- servers/slapd/back-bdb/passwd.c     2002/03/30 07:44:29     1.30
+++ servers/slapd/back-bdb/passwd.c     2002/04/01 08:46:31
@@ -172,7 +172,7 @@
        }
 
 #ifdef BDB_SUBENTRIES
-       if( is_entry_subentries( e ) ) {
+       if( is_entry_subentry( e ) ) {
                /* entry is an alias, don't allow operation */
                *text = "authorization entry is subentry";
                rc = LDAP_OTHER;
-----