[PC-BSD Commits] r21573 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Fri Feb 15 18:10:38 PST 2013


Author: kenmoore
Date: 2013-02-16 02:10:38 +0000 (Sat, 16 Feb 2013)
New Revision: 21573

Modified:
   pcbsd-projects/PCDM/pcdm-backend.cpp
   pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Start cleaning up the failed login process



Modified: pcbsd-projects/PCDM/pcdm-backend.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-backend.cpp	2013-02-16 02:02:38 UTC (rev 21572)
+++ pcbsd-projects/PCDM/pcdm-backend.cpp	2013-02-16 02:10:38 UTC (rev 21573)
@@ -460,7 +460,7 @@
       if( ret == PAM_SUCCESS ){ result = TRUE; }
     
     }else{
-    	    Backend::log("PAM Authentication Failed with error: " + ret);
+    	    Backend::log("PAM Authentication Failed with error: " + QString::number(ret));
       switch( ret ){
       case PAM_ABORT:
       	      Backend::log(" - PAM abort error");

Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 02:02:38 UTC (rev 21572)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-16 02:10:38 UTC (rev 21573)
@@ -218,6 +218,7 @@
   toolbar->setEnabled(FALSE);
   //Try to login
   bool success = Backend::startUserLogin(username, password, binary); 
+  qDebug() << "Login Status:" << success;
   if(success){
     emit xUserFound(username);
     emit xCmdFound(binary);



More information about the Commits mailing list