Search squid archive

Re: Re: ncsa_auth.c:143: undefined reference to `crypt'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Henrik!

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

On 11/4/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> 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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux