[Kroupware] slapcat: could not open database

Klaus Vink Slott list-s at andelsweb.dk
Wed Sep 10 23:22:12 CEST 2003


On Wednesday 10 September 2003 20:19, Dieter Kluenter wrote:
> > kolab at tot$ slapcat -b "dc=kubism,dc=ku,dc=dk"
> > slapcat: slap_init no backend for "dc=kubism,dc=ku,dc=dk"
> > kolab at tot$ slapcat -b "dc=tot,dc=kubism,dc=ku,dc=dk"
> > slapcat: could not open database.
> > kolab at tot$ /kolab/sbin/slapcat -l ldif
> > slapcat: could not open database.
>
> For obvious reasons the database is owned by root with mod
> 600. Therefor you have to run slapcat as root.
I didn't realize it accessed the database directly. Was expecting a password 
prompt or something.. silly me :-)

OK now I got this working:
kolab at tot$ sudo slapcat -b "dc=tot,dc=kubism,dc=ku,dc=dk"
[lots of output]

but why is the servername part of the suffix? Based on my limited reading 
about LDAP I'd expected the suffix to be only the domain part.

kolab at tot$ sudo slapcat -b "dc=kubism,dc=ku,dc=dk"
slapcat: slap_init no backend for "dc=kubism,dc=ku,dc=dk"

-- 
Regards
Klaus Vink Slott



More information about the Kroupware mailing list