[csw-users] New sasl breaks saslpasswd2?

Robert Stampfli rob at cboh.org
Mon Jun 20 06:34:34 CEST 2005


Admittedly, I'm no SASL expert, but I have been unable to
get saslpasswd2 to work with the latest SASL package.  Before
updating it, I could "/opt/csw/sbin/saslpasswd2 -c user"
to create a password for "user" in the file /opt/csw/etc/sasldb2.
After installing, /opt/csw/etc/sasldb2 seems to have been
turned into a directory, and saslpasswd2 always gives the
error:  "saslpasswd2: generic failure" (whether or not
the directory /opt/csw/etc/sasldb2 is present.  I see the
following emitted on the console concurrently:

Jun 20 00:27:59 stampfli su: 'su robr' succeeded for res on /dev/pts/9
Jun 20 00:28:03 stampfli saslpasswd2[4520]: sql_select option missing
Jun 20 00:28:03 stampfli saslpasswd2[4520]: auxpropfunc error no mechanism available
Jun 20 00:28:04 stampfli saslpasswd2[4520]: unable to open Berkeley db /opt/csw/etc/sasldb2: Is a directory
Jun 20 00:28:04 stampfli saslpasswd2[4520]: setpass failed for rob: generic failure
Jun 20 00:28:04 stampfli saslpasswd2[4520]: unable to open Berkeley db /opt/csw/etc/sasldb2: Is a directory
Jun 20 00:28:04 stampfli saslpasswd2[4520]: Error putting OTP secret
Jun 20 00:28:04 stampfli saslpasswd2[4520]: OTP: failed to set secret for rob: 

I can create an sasldb2 file elsewhere using the '-f' option,
but I have no idea where the official repository is.
(Perhaps it's in the new directory, but under what name?)

Can someone with a better understanding of how SASL works
say whether this is a real bug that needs to be reported,
whether there is another protocol to follow for creating
the DB now, or whether there is something else that I am
completely missing?

TIA,
Rob



More information about the users mailing list