Hello,
Special Thanks to Buddy Lumpkin for pointing out a bug
with saslpasswd. It seems that this command will
always fail the first time it is run. So running a
second time will create the account. In my case I also
had to remove the /etc/sasldb file then run the
saslpasswd command two times in a row. This seems to
be odd behavior caused by a 0 length /etc/sasldb file
prior to initialization.
Thanks
Chirs
--- chirs charter <[EMAIL PROTECTED]> wrote:
> Hello,
> I recently installed sasl 1.5.24 on Solaris 8. For
> the
> Berkeley DB i used the Solaris freeware package for
> DB
> 3.2. I did the following to configure:
>
> env CPPFLAGS="-I/usr/local/BerkeleyDB.3.2/include" \
> LDFLAGS="-L/usr/local/BerkeleyDB.3.2/lib
> -R/usr/local/BerkeleyDB.3.2/lib" \
> ./configure --with-dblib=berkeley
>
> Configure seems to find the Berkely DB just fine and
> make succeeds. Now when I go to run saslpasswd I get
> the following:
>
> catfish# /usr/local/sbin/saslpasswd -c cyrus
> Password:
> Again (for verification):
> saslpasswd: generic failure
>
> Taking a look at the auth.log file I see the
> following:
>
> Aug 15 13:41:40 catfish saslpasswd[2800]: [ID 615471
> auth.error] unable to open
> Berkeley db /etc/sasldb: Invalid argument
> Aug 15 13:41:40 catfish saslpasswd[2800]: [ID 367138
> auth.error] unable to dlope
> n /usr/lib/sasl/libdigestmd5.so: ld.so.1:
> /usr/local/sbin/saslpasswd: fatal: rel
> ocation error: file /usr/lib/sasl/libdigestmd5.so:
> symbol des_ecb_encrypt: refer
> enced symbol not found
> Aug 15 13:41:40 catfish saslpasswd[2800]: [ID 904339
> auth.error] unable to dlope
> n /usr/lib/sasl/libgssapiv2.so: ld.so.1:
> /usr/local/sbin/saslpasswd: fatal: relo
> cation error: file /usr/lib/sasl/libgssapiv2.so:
> symbol GSS_C_NT_HOSTBASED_SERVI
> CE: referenced symbol not found
> Aug 15 13:41:57 catfish saslpasswd[2800]: [ID 615471
> auth.error] unable to open
> Berkeley db /etc/sasldb: Invalid argument
> Aug 15 13:41:57 catfish saslpasswd[2800]: [ID 569582
> auth.error] failed to set p
> laintext secret for cyrus: generic failure
> Aug 15 13:41:57 catfish saslpasswd[2800]: [ID 967561
> auth.error] PLAIN: failed t
> o set secret for cyrus: generic failure
> Aug 15 13:42:00 catfish saslpasswd[2800]: [ID 615471
> auth.error] unable to open
> Berkeley db /etc/sasldb: Invalid argument
> Aug 15 13:42:00 catfish saslpasswd[2800]: [ID 919461
> auth.error] CRAM-MD5: faile
> d to set secret for cyrus: generic failure
>
> Now when I look at the perms on the /etc/sasldb they
> look fine:
>
> -rwxr-xr-x 1 cyrus other 0 Aug 15
> 00:23
> /etc/sasldb
>
> I have looked high and low on how to solve this and
> come up empty. Can somebody please help me with
> this?
> Thank you.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/