[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

saslpasswd2: user not found



Hi list,

this seems kind of weird. 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:

root@ndesk-175:~# sasldblistusers2 
cyrus@ndesk-175: userPassword
root@ndesk-175: userPassword
root@ndesk-175:~# echo 'very_long_secret_password' | saslpasswd2 -c
'no:such:user'
root@ndesk-175:~# sasldblistusers2 
no:such:user@ndesk-175: userPassword
cyrus@ndesk-175: userPassword
root@ndesk-175: userPassword
root@ndesk-175:~# saslpasswd2 -d 'no:such:user'
saslpasswd2: user not found
root@ndesk-175:~# sasldblistusers2 
cyrus@ndesk-175: userPassword
root@ndesk-175: userPassword
root@ndesk-175:~# 

Which shows that saslpasswd2 does delete the user but complains anyway.
Any ideas why this is happening?

Deletion with the domain added to the userid  (saslpasswd2 -d
'no:such:user@ndesk-175') works fine.
If possible, i would like to avoid using another 'customized' package.

Cheers

Michael

-- 
Michael Dominok		Tel.: +49 231 61048 - 42
natural computing GmbH	Fax.: +49 231 61048 - 40
Martener Strasse 535 	Mail: michael.dominok@natural-computing.de
44379 Dortmund 		http://www.natural-computing.de/




Reply to: