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

Re: group access "write" in OpenLDAP 2.1.4



On Fri, 13 Sep 2002 14:26:41 +0900
Michiko Nagara <chigu@fjh.fujitsu.com> wrote:

Hello,
 
> When I used OpenLDAP 2.1.3 with same acl as the above-mentioned, 
> I could get all entries.
> Also, I changed group.c v1.9.2.4 to v1.9.2.3 in OpenLDAP 2.1.4
> and rebuilt, I could get all entries.
> 
> When version 2.1.4 is used, should I do anything else?

I'm sorry,
the version of group.c in OpenLDAP 2.1.4 is not v1.9.2.4,
but v1.9.2.5.

I compared group.c of v1.9.2.5 and v1.9.2.4,
added in v1.9.2.5 after line 85,

(please see http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-bdb/group.c)

	LOCK_ID ( bdb->bi_dbenv, &locker );
	switch(rc) {
	case 0:
		break;
	default:
		return 1;
	}

---
In OpenLDAP Commit from Kurt,
(http://www.openldap.org/lists/openldap-commit/200208/msg00262.html)

To: OpenLDAP Commit <openldap-commit2devel@OpenLDAP.org> 
Subject: commit: ldap/servers/slapd/back-bdb attribute.c bind.c compare.c group.c referral.c search.c 
From: kurt@OpenLDAP.org 
Date: Thu, 22 Aug 2002 01:29:46 +0100 (BST)

Update of /repo/OpenLDAP/pkg/ldap/servers/slapd/back-bdb

Modified Files:
      Tag: OPENLDAP_REL_ENG_2_1

	group.c  1.9.2.4 -> 1.9.2.5

Log Message:
Check LOCK_ID() return
---

so, if LOCK_ID on line 85 is corrected as follows,
it might be good.

	rc = LOCK_ID ( bdb->bi_dbenv, &locker );
	switch(rc) {
	case 0:
		break;
	default:
		return 1;
	}


Thanks.
------
Michiko NAGARA