Commit 525e1b4a authored by Per Cederqvist's avatar Per Cederqvist

(get_real_username): Always fail, without trying to contact an IDENT

server, if param.authentication_level is 0.
parent 91a69be4
/*
* $Id: rfc931.c,v 1.11 1993/10/18 12:30:43 ceder Exp $
* $Id: rfc931.c,v 1.12 1994/02/27 15:48:20 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -58,6 +58,9 @@ get_real_username(IscSession *scb,
char *result;
time_t before, after;
if (param.authentication_level == 0)
return NULL;
if (auth_fd2(scb->fd, &inlocal, &inremote,
&local, &remote) == -1)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment