Re: [squid-users] Re: ncsa_auth.c:143: undefined reference to `crypt'

From: Xavier O'Neill <xavier.oneill@dont-contact.us>
Date: Sat, 4 Nov 2006 19:57:10 -0600

Thank you Henrik!

For anyone ese stumbling upon this thread, this fix did the trick.

On 11/4/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> lör 2006-11-04 klockan 16:45 -0600 skrev Xavier O'Neill:
>
> > I am attempting to build squid 2.6 from src's on a Windows XP pro system.
>
> You need libcrypt, or to disable the use of UNIX crypt() hashed
> passwords.
>
> To disable the use of UNIX crypt() hashed passwords uncomment the
> following two lines in ncsa_auth.c:
>
> } else if (strcmp(u->passwd, (char *) crypt(passwd, u->passwd)) == 0) {
> printf("OK\n");
>
>
> The password file can be created with htpasswd -m
>
> I have fixed the next release so this (disabling crypt) is not needed to
> be done by hand when not supported by the host platform. Patch should be
> available in the changesets section in a few hours.
>
> Regards
> Henrik
>
>
>
Received on Sat Nov 04 2006 - 18:57:14 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST