Re: Password authentication using unix crypt



Y.Wei <y_wei@xxxxxxxxx> wrote:
Sorry for the confusion. I'm okay at the AIX side. But I have
trouble authenticating the password (the single salt ones) generated
by AIX, at the web application which is running on Windows 2003. I
tried using various versions of unixcrypt (c and perl) that I
downloaded but can't produce the same result as AIX. But the two-char
salt works fine.

For example:
the password test1234 encrypted using single-salt key "a" in AIX is:
aakhst1GufYjU

but if I run activeperl crypt in Windows with the same salt, it gave
me: aAQJOTmpwCzbk

I see. You didn't mention Windows...

No idea. Maybe you should ask a Windows forum.

You could port the code yourself: the glibc implementation, which is
open source, works like the AIX version in that respect.

Yours,
Laurenz Albe
.



Relevant Pages

  • Re: How to write files from AIX 4.2.1 to Windows?
    ... AIX box, and Windows users can happily access the AIX box but am ... Try finding a copy of Samba that runs on AIX 4.2 - It lets you copy ... weekday backing up files to tape using the backup command. ...
    (comp.unix.aix)
  • Re: How to write files from AIX 4.2.1 to Windows?
    ... AIX box, and Windows users can happily access the AIX box but am ... any CIFS stuff on my install discs and I'm thinking perhaps it wasn't ... weekday backing up files to tape using the backup command. ...
    (comp.unix.aix)
  • Re: How to write files from AIX 4.2.1 to Windows?
    ... AIX box, and Windows users can happily access the AIX box but am ... any CIFS stuff on my install discs and I'm thinking perhaps it wasn't ... weekday backing up files to tape using the backup command. ...
    (comp.unix.aix)
  • Re: How to write files from AIX 4.2.1 to Windows?
    ... AIX box, and Windows users can happily access the AIX box but am ... any CIFS stuff on my install discs and I'm thinking perhaps it wasn't ... weekday backing up files to tape using the backup command. ...
    (comp.unix.aix)
  • Re: How to write files from AIX 4.2.1 to Windows?
    ... I have samba set up on the ... AIX box, and Windows users can happily access the AIX box but am ... weekday backing up files to tape using the backup command. ...
    (comp.unix.aix)