Bug#400343: migrationtools: all passwords marked as {crypt}

2006-11-26 Thread Michael Burschik

Steve Langasek wrote:

On Sat, Nov 25, 2006 at 04:40:46PM +0100, Michael Burschik wrote:

  
The command migrate_passwd.pl /etc/passwd marks all passwords 
in /etc/shadow as {crypt} passwords, although they are clearly

{md5} passwords and are marked as such by $1$.



How does this break?  The system crypt() function also supports md5 hashes,
AFAIK, so doesn't this Just Work?

  
Yes, you are right. It does Just Work (TM). Provided that the 
LDAP-Server was linked against glibc2 and that it actually uses the 
glibc2 implementation of crypt (and not that of OpenSSL, for example). 
So this is not really a Debian bug, but it will break on any system that 
uses a crypt implementation without GNU extensions. Sorry about that.


Regards

Michael Burschik



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



Bug#400343: migrationtools: all passwords marked as {crypt}

2006-11-25 Thread Steve Langasek
On Sat, Nov 25, 2006 at 04:40:46PM +0100, Michael Burschik wrote:

 The command migrate_passwd.pl /etc/passwd marks all passwords 
 in /etc/shadow as {crypt} passwords, although they are clearly
 {md5} passwords and are marked as such by $1$.

How does this break?  The system crypt() function also supports md5 hashes,
AFAIK, so doesn't this Just Work?

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


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



Bug#400343: migrationtools: all passwords marked as {crypt}

2006-11-25 Thread Michael Burschik
Package: migrationtools
Version: 46-2.1
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)

Versions of packages migrationtools depends on:
ii  ldap-utils [openldap-utils]   2.3.27-1   OpenLDAP utilities
ii  perl  5.8.8-6.1  Larry Wall's Practical Extraction 

migrationtools recommends no packages.

-- no debconf information

The command migrate_passwd.pl /etc/passwd marks all passwords 
in /etc/shadow as {crypt} passwords, although they are clearly
{md5} passwords and are marked as such by $1$.


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