Cyrus Sasl Errors

"can't getkeyhandle"

utility: sasldblistusers2
version: 2.x

description:

the sasldblistusers2 utility reports the following error:

[root@mydomain etc]# sasldblistusers2
can't getkeyhandle
listusers failed

solution:

Presumably sasldblistusers2 can't find/read the sasldb.

Suggestion is to use truss/strace to find out why (permissions? location?)

-- TWikiGuest - 13 Aug 2003

This error can be caused by sasldblistusers2 not liking the permissions on a file it can find and read. I found that when I deleted the /etc/sasldb2 file and then created a new one using saslpasswd2, sasldblistusers2 started working. The new file was mode 640, owner and group readable, and was owned by user root, group root. The old file, which was empty, was in the "sasl" group, and was group writeable. There might be somewhere in a conf file to make it less picky.

-- JRandom - 23-Jun-2004.

"Couldn't update db"

utility: saslpasswd2
version: 2.x

description:

the saslpasswd2 utility reports the following error:

[root@mydomain etc]# saslpasswd2: Couldn't update db
Given:
[root@mydomain etc]# saslpasswd2 -c -u hostname email@domain.org

solution:

unknown. sasldblistusers2 works. but tests don't work; the sasldb.db is modified, but sasldb is not.

Topic revision: r33 - 31 Aug 2005 - 12:33:38 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback