From: Adam Dickmeiss Date: Mon, 7 Nov 2005 12:53:47 +0000 (+0000) Subject: For auth failure, use diagnostic 1011: Init/AC: Bad User/password X-Git-Tag: ZEBRA.1.3.32~4 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=0d2bcc7675af4392551dbeeebd674f648c23f882;p=idzebra-moved-to-github.git For auth failure, use diagnostic 1011: Init/AC: Bad User/password --- diff --git a/index/zserver.c b/index/zserver.c index 5a6f129..c07f344 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.117.2.4 2005-05-12 10:03:24 adam Exp $ +/* $Id: zserver.c,v 1.117.2.5 2005-11-07 12:53:47 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -105,7 +105,7 @@ bend_initresult *bend_init (bend_initrequest *q) } if (zebra_auth (zh, user, passwd)) { - r->errcode = 222; + r->errcode = 1011; /* Init/AC: Bad user ID or password */ r->errstring = user; return r; }