Subject: sasl2-bin: user not found during initial db-creation
Package: sasl2-bin
Version: 2.1.15-6
Severity: normal
During initial setup sasl2-bin gives this
error:

Setting up sasl2-bin (2.1.15-6) ...
saslpasswd2: user not found
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing: 
 sasl2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

It happens when postinst creates the sasldb.

# Creating /etc/sasldb2:
echo 'very_long_secret_password' | \
saslpasswd2 -c 'no:such:user'
saslpasswd2 -d 'no:such:user'

Using the shell the error can be reproduced like that:

# sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
# echo 'very_long_secret_password' | saslpasswd2 -c
'no:such:user'
# sasldblistusers2
no:such:[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
# saslpasswd2 -d 'no:such:user'
saslpasswd2: user not found
# sasldblistusers2
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword

Which shows that saslpasswd2 does delete the user but complains anyway.

Deletion with the domain added to the userid  (saslpasswd2 -d
'no:such:[EMAIL PROTECTED]') works fine.

System:
Linux ndesk-175 2.4.25-xfs-natural #3 Mon Mar 8 22:53:16 CET 2004 i686
GNU/Linux
libc6           2.3.2.ds1-11
libdb3          3.2.9-20
libpam0g        0.76-19
libsasl2        2.1.18-4.1




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to