Bug 172719: Clean debug out.

This commit is contained in:
Jim Norman 2006-05-04 19:37:46 +00:00
parent 7ee344037a
commit cbd8ab4be0
3 changed files with 27 additions and 11 deletions

View File

@ -1,5 +1,9 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 21:30:25 IST 2006 - smanojna@novell.com Thu May 04 13:32:25 MST 2006 - jnorman@novell.com
- Bug 172719: Clean debug out.
-------------------------------------------------------------------
Thu May 04 21:30:25 IST 2006 - smanojna@novell.com
- Description: - Description:
1. Fixed Bug 152929: Secret with special characters in name causing 1. Fixed Bug 152929: Secret with special characters in name causing
@ -14,7 +18,7 @@ Thu May 4 21:30:25 IST 2006 - smanojna@novell.com
c_gui/Firefox.cs c_gui/Firefox.cs
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 17:38:25 IST 2006 - smanojna@novell.com Thu May 04 17:38:25 IST 2006 - smanojna@novell.com
- Description: - Description:
1. Fixed Bug 170854: CASAGui only allows one edit at a time. 1. Fixed Bug 170854: CASAGui only allows one edit at a time.
@ -35,7 +39,7 @@ Thu May 4 17:38:25 IST 2006 - smanojna@novell.com
c_gui/Common.cs c_gui/Common.cs
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 15:23:17 IST 2006 - smanojna@novell.com Thu May 04 15:23:17 IST 2006 - smanojna@novell.com
- Description: - Description:
1. Added dialog-modal property for change master password dialog. 1. Added dialog-modal property for change master password dialog.
@ -47,7 +51,7 @@ Thu May 4 15:23:17 IST 2006 - smanojna@novell.com
c_gui/CommonGUI.cs c_gui/CommonGUI.cs
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 09:36:04 IST 2006 - smanojna@novell.com Thu May 04 09:36:04 IST 2006 - smanojna@novell.com
- Description: - Description:
1. Removed references to support for Mac OS from rpm spec files. 1. Removed references to support for Mac OS from rpm spec files.
2. Fixed an invalid <href> in Contents.htm file. 2. Fixed an invalid <href> in Contents.htm file.

View File

@ -55,6 +55,7 @@ namespace Novell.CASA.MiCasa.Communication
public const int VERB_GET_KEY_LIST = 17; public const int VERB_GET_KEY_LIST = 17;
public const int VERB_RESET_MASTER_PASSWORD = 18; public const int VERB_RESET_MASTER_PASSWORD = 18;
public const int VERB_GET_SECRETIDS = 19; public const int VERB_GET_SECRETIDS = 19;
public const int VERB_VALIDATE_DESKTOP_PWD = 20;
public const int VERB_DUMP_LINKED_KEYS = 96; public const int VERB_DUMP_LINKED_KEYS = 96;
public const int VERB_CREATE_TEST_SECRETS = 97; public const int VERB_CREATE_TEST_SECRETS = 97;
@ -169,7 +170,7 @@ namespace Novell.CASA.MiCasa.Communication
} }
catch (Exception e1) catch (Exception e1)
{ {
Console.WriteLine(e1.ToString()); //Console.WriteLine(e1.ToString());
//clientConnection.Dispose(); //clientConnection.Dispose();
//throw new Exception(e1.ToString()); //throw new Exception(e1.ToString());
} }

View File

@ -901,7 +901,7 @@ namespace Novell.CASA
catch(Exception e) catch(Exception e)
{ {
rcode = -803; rcode = -803;
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
} }
} }
} }
@ -1105,7 +1105,7 @@ namespace Novell.CASA
} }
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
Marshal.FreeHGlobal(pCredential); Marshal.FreeHGlobal(pCredential);
throw new miCasaException(-803); throw new miCasaException(-803);
} }
@ -1277,7 +1277,7 @@ namespace Novell.CASA
} }
catch(Exception e) catch(Exception e)
{ {
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
} }
return rcode; return rcode;
} }
@ -1309,7 +1309,7 @@ namespace Novell.CASA
} }
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
} }
@ -1408,7 +1408,7 @@ namespace Novell.CASA
} }
catch(Exception e) catch(Exception e)
{ {
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
keyList = null; keyList = null;
} }
return keyList; return keyList;
@ -1438,7 +1438,7 @@ namespace Novell.CASA
catch (Exception e) catch (Exception e)
{ {
// rcode = -803; // rcode = -803;
Console.WriteLine(e.ToString()); //Console.WriteLine(e.ToString());
} }
} }
return value; return value;
@ -1488,6 +1488,17 @@ namespace Novell.CASA
else else
return true; return true;
} }
internal static bool ValidateDesktopPwd(string sPassword)
{
string sResult = (string)MiCasa.Communication.MiCasaRequestReply.Send(MiCasaRequestReply.VERB_VALIDATE_DESKTOP_PWD, null, null, null, sPassword);
if (sResult.Equals("true"))
return true;
else
return false;
}
} }
} }