Index: cgi-bin/ipp-var.c =================================================================== --- cgi-bin/ipp-var.c (revision 9172) +++ cgi-bin/ipp-var.c (working copy) @@ -285,10 +285,14 @@ /* - * See who is logged in... + * Make sure we have a username... */ - user = getenv("REMOTE_USER"); + if ((user = getenv("REMOTE_USER")) == NULL) + { + puts("Status: 401\n"); + exit(0); + } /* * See if the user has already selected a new destination...