Date: Mon, 11 Feb 2002 19:04:15 +0300 (MSK) From: Varshavchick Alexander <alex@metrocom.ru> To: Peter Pentchev <roam@ringlet.net> Cc: Miguel Mendez <flynn@energyhq.homeip.net>, questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: crypt function Message-ID: <Pine.GSO.4.21.0202111901530.5924-100000@apache.metrocom.ru> In-Reply-To: <20020211180016.C30217@straylight.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
It's proftpd with mysql module. The passwords in the database are
des-encrypted, and in the line
if (!strcmp((char *) crypt(c_clear, c_hash), c_hash))
success = 1;
it compares des- and md5- strings and fails because of it...
Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)
On Mon, 11 Feb 2002, Peter Pentchev wrote:
> Date: Mon, 11 Feb 2002 18:00:16 +0200
> From: Peter Pentchev <roam@ringlet.net>
> To: Varshavchick Alexander <alex@metrocom.ru>
> Cc: Miguel Mendez <flynn@energyhq.homeip.net>, questions@FreeBSD.ORG,
> freebsd-hackers@FreeBSD.ORG
> Subject: Re: crypt function
>
> On Mon, Feb 11, 2002 at 06:57:01PM +0300, Varshavchick Alexander wrote:
> > Hi again,
> >
> > now my /etc/auth.conf lookes like
> >
> > auth_default = des
> > crypt_default = des
> > auth_list = passwd
> >
> >
> > But nothing seems to have changed, do I need to recompile/reinstall
> > something or should it already work by now? Which libraries are using
> > /etc/auth.conf file?
>
> Again, is there some program that is not working? Which one?
> How does it fail?
>
> G'luck,
> Peter
>
> --
> Peter Pentchev roam@ringlet.net roam@FreeBSD.org
> PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
> Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
> Do you think anybody has ever had *precisely this thought* before?
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0202111901530.5924-100000>
