From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 06:06:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A4F916A4CE for ; Wed, 4 Feb 2004 06:06:09 -0800 (PST) Received: from ovirt.dyndns.ws (ppp129-237.lns1.adl2.internode.on.net [150.101.129.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id B747343D54 for ; Wed, 4 Feb 2004 06:06:05 -0800 (PST) (envelope-from ws+freebsd-questions@au.dyndns.ws) Received: from predatorii ([192.168.100.132]) by ovirt.dyndns.ws (8.12.10/8.12.10) with SMTP id i14E63M0046206 for ; Thu, 5 Feb 2004 00:36:04 +1030 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) Message-ID: <016701c3eb28$070e4220$8464a8c0@ovirt.dyndns.ws> From: "W. Sierke" To: Date: Thu, 5 Feb 2004 00:36:03 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: userdbpw/5.2 producing inconsistent result X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 14:06:09 -0000 # uname -mrsv FreeBSD 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Wed Feb 4 05:44:41 CST 2004 root@:/usr/src/sys/i386/compile/LILLITH-IV i386 # pkg_which /usr/local/sbin/userdbpw courier-imap-2.2.1,1 Every time I run userdbpw it's generating a different result (for the same supplied password). eg: # foreach p ( password password password ) foreach? echo $p | userdbpw foreach? end fA8HQ5zWzV.fM Vkedbdeq0kk7s Lay1EhcWhup/s # Fear not if there's anything wrong with the above because I've tried it manually with a variety of passwords and the result is the same (ie. the results are not! the same). # userdbpw Password: Reenter password: wRkPrfxswnUGo # userdbpw Password: Reenter password: yTBnb7ab/N072 I was using this without issue on 4.8. Can anyone suggest anything I should try/check or is it bug-hunting time? Thanks, Wayne