Discussion:
slapd: No database support for /var/heimdal/heimdal
(too old to reply)
Francesco Malvezzi
2015-10-16 11:01:04 UTC
Permalink
Raw Message
Content preview: hi all, while adding the smbk5pwd overlay 1) to a mdb database,
on ldapmodify command slapd dies suddently with the following last lines:
[...] 5620d62f >>> dnPrettyNormal: <olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config>
5620d62f <<< dnPrettyNormal: <olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config>,
<olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config> 5620d62f oc_check_required
entry (olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config), objectClass
"olcSmbK5PwdConfig" 5620d62f oc_check_allowed type "objectClass" 5620d62f
oc_check_allowed type "olcOverlay" 5620d62f oc_check_allowed type "olcSmbK5PwdEnable"
5620d62f oc_check_allowed type "structuralObjectClass" slapd: No database
support for /var/heimdal/heimdal [...]

Content analysis details: (-1.9 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]

hi all,

while adding the smbk5pwd overlay 1) to a mdb database, on ldapmodify
command slapd dies suddently with the following last lines:

[...]
5620d62f >>> dnPrettyNormal:
<olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config>
5620d62f <<< dnPrettyNormal:
<olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config>,
<olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config>
5620d62f oc_check_required entry
(olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config), objectClass
"olcSmbK5PwdConfig"
5620d62f oc_check_allowed type "objectClass"
5620d62f oc_check_allowed type "olcOverlay"
5620d62f oc_check_allowed type "olcSmbK5PwdEnable"
5620d62f oc_check_allowed type "structuralObjectClass"
slapd: No database support for /var/heimdal/heimdal

openldap is 2.4.42 compiled on debian jessie, heimdal is compiled too
(heimdal-1-5-branch). The module in contrib/slapd-modules/smbk5pwd
compiles fine apart a few warnings.

I think I am missing a library, but I am not able to figure out which one.

thank you,

Francesco




1)
dn: olcOverlay={3}smbk5pwd,olcDatabase={1}mdb,cn=config
changetype: add
objectClass: olcSmbK5PwdConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: {3}smbk5pwd
olcSmbK5PwdEnable: samba
olcSmbK5PwdEnable: krb5
Francesco Malvezzi
2015-10-16 12:37:02 UTC
Permalink
Raw Message
Content preview: [...] > slapd: No database support for /var/heimdal/heimdal
nevermind, my fault. ldap hdb was missing in: ./libexec/kdc --builtin-hdb
[...]

Content analysis details: (-1.9 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]

[...]
Post by Francesco Malvezzi
slapd: No database support for /var/heimdal/heimdal
nevermind, my fault. ldap hdb was missing in:

./libexec/kdc --builtin-hdb

compiled heimdal with-openldap and now the overlay gets added

sorry for the noise,

Francesco

Loading...