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

Re: (ITS#4574) require none doesn't work




--On Friday, June 02, 2006 7:19 PM +0000 quanah@stanford.edu wrote:

> However, if you set require to "none", which it says is possible in the
> last sentence there, slapd fails to start with the following error:
>
> line 37 (require none)
> /usr/local/etc/openldap/slapd.conf: line 37: <require> unknown feature
> none slapd destroy: freeing system resources.
> slapd stopped.
> connections_destroy: nothing to destroy.


It looks like the problem code is here, in bconfig.c:

static int
config_requires(ConfigArgs *c) {
        slap_mask_t requires = 0;
        int i;
        slap_verbmasks requires_ops[] = {
                { BER_BVC("bind"),              SLAP_REQUIRE_BIND },
                { BER_BVC("LDAPv3"),            SLAP_REQUIRE_LDAP_V3 },
                { BER_BVC("authc"),             SLAP_REQUIRE_AUTHC },
                { BER_BVC("sasl"),              SLAP_REQUIRE_SASL },
                { BER_BVC("strong"),            SLAP_REQUIRE_STRONG },
                { BER_BVNULL, 0 }
        };


It is definitely missing "none" as an option.



--Quanah



--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html