From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 12 Jul 2006 18:46:09 -0000 Subject: [Cluster-devel] conga/ricci/ricci Ricci.cpp Message-ID: <20060712184609.5578.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: kupcevic at sourceware.org 2006-07-12 18:46:08 Modified files: ricci/ricci : Ricci.cpp Log message: ricci: 'unauthenticate' function should always succeed Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/ricci/Ricci.cpp.diff?cvsroot=cluster&r1=1.12&r2=1.13 --- conga/ricci/ricci/Ricci.cpp 2006/07/12 18:27:26 1.12 +++ conga/ricci/ricci/Ricci.cpp 2006/07/12 18:46:08 1.13 @@ -152,13 +152,15 @@ } else if (function == "unauthenticate") { if (!authenticated) { // not authenticated - success = RRC_NEED_AUTH; + // success = RRC_NEED_AUTH; + // unauthenticate should always succeed + success = RRC_SUCCESS; } else { // authenticated resp = ricci_header(false); success = RRC_SUCCESS; remove_cert = true; - } // authenticated + } } else if (function == "list_modules") { // available modules @@ -176,7 +178,7 @@ resp.add_child(x); } success = RRC_SUCCESS; - } // authenticated + } } else if (function == "process_batch") {