diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-10-24 04:54:42 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-26 10:28:41 +0200 |
commit | 2396e301daf9da49040d300b1e6f01a5f915720d (patch) | |
tree | 9a5cf64fbc36d79acdfdc5b9e5bca47ef0697f28 /meta-oe | |
parent | ce2b1ac78dd95f1034f6ec52888c163234439917 (diff) | |
download | meta-openembedded-2396e301daf9da49040d300b1e6f01a5f915720d.tar.gz |
openldap: use recommended backend mdb
The mdb backend to slapd(8) is the recommended primary backend for a
normal slapd database. Add PACKAGECONFIG 'mdb' to enable it and build
mdb as SLAPD_STATIC_BACKENDS.
This fixes the errors while starting slapd:
$systemctl start slapd
Job for slapd.service failed because the control process exited \
with error code. See "systemctl status slapd.service" and \
"journalctl -xe" for details.
$ systemctl status slapd
...
/etc/openldap/slapd.conf: line 53: <database> failed init (bdb)
Unrecognized database type (bdb)
slapd.service: Control process exited, code=exited status=1
...
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.4.44.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb index 41f753e98..4e95a775c 100644 --- a/meta-oe/recipes-support/openldap/openldap_2.4.44.bb +++ b/meta-oe/recipes-support/openldap/openldap_2.4.44.bb | |||
@@ -53,7 +53,7 @@ EXTRA_OECONF += "--with-yielding-select=yes" | |||
53 | EXTRA_OECONF += "--enable-dynamic" | 53 | EXTRA_OECONF += "--enable-dynamic" |
54 | 54 | ||
55 | PACKAGECONFIG ??= "gnutls modules \ | 55 | PACKAGECONFIG ??= "gnutls modules \ |
56 | ldap meta monitor null passwd shell proxycache dnssrv \ | 56 | mdb ldap meta monitor null passwd shell proxycache dnssrv \ |
57 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ |
58 | " | 58 | " |
59 | #--with-tls with TLS/SSL support auto|openssl|gnutls [auto] | 59 | #--with-tls with TLS/SSL support auto|openssl|gnutls [auto] |
@@ -97,7 +97,7 @@ PACKAGECONFIG[hdb] = "--enable-hdb=yes,--enable-hdb=no,db" | |||
97 | PACKAGECONFIG[ldap] = "--enable-ldap=mod,--enable-ldap=no," | 97 | PACKAGECONFIG[ldap] = "--enable-ldap=mod,--enable-ldap=no," |
98 | 98 | ||
99 | #--enable-mdb enable mdb database backend no|yes|mod [yes] | 99 | #--enable-mdb enable mdb database backend no|yes|mod [yes] |
100 | PACKAGECONFIG[mdb] = "--enable-mdb=mod,--enable-mdb=no," | 100 | PACKAGECONFIG[mdb] = "--enable-mdb=yes,--enable-mdb=no," |
101 | 101 | ||
102 | #--enable-meta enable metadirectory backend no|yes|mod no | 102 | #--enable-meta enable metadirectory backend no|yes|mod no |
103 | PACKAGECONFIG[meta] = "--enable-meta=mod,--enable-meta=no," | 103 | PACKAGECONFIG[meta] = "--enable-meta=mod,--enable-meta=no," |