diff --git a/CASA/AUTHORS b/CASA/AUTHORS deleted file mode 100644 index e69de29b..00000000 diff --git a/CASA/CMakeLists.txt b/CASA/CMakeLists.txt new file mode 100644 index 00000000..62875825 --- /dev/null +++ b/CASA/CMakeLists.txt @@ -0,0 +1,112 @@ +project(CASA) +cmake_minimum_required(VERSION 2.6.0) + +set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) + +enable_language(C CXX CSharp) + +SET (VERSION_MAJOR "1") +SET (VERSION_MINOR "7") +SET (VERSION_SUB "0") +SET (VERSION_PATCH "0") +# SET (VERSION_DEVEL "1") +# SET (VERSION_SUFFIX "a") + +SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUB}) + +IF (VERSION_PATCH) + SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUB}.${VERSION_PATCH}) +ENDIF (VERSION_PATCH) + +IF (VERSION_DEVEL) + # for snapshot Version Number + find_package(Subversion) + IF (Subversion_FOUND) + Subversion_WC_INFO(${PROJECT_SOURCE_DIR} CASA) + MESSAGE("Current revision is ${CASA_WC_REVISION}") + ENDIF (Subversion_FOUND) + SET (VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUB}.${CASA_WC_REVISION}) +ENDIF (VERSION_DEVEL) + +# Set install locations: +set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" ) +set(EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" CACHE PATH "Base directory for executables and libraries" FORCE) +set(LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) +set(LIBEXEC_INSTALL_DIR "${LIB_INSTALL_DIR}/CASA" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX}/apparmor)" FORCE) +set(BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" CACHE PATH "The bin install dir" FORCE) +set(SBIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/sbin" CACHE PATH "The sbin install dir" FORCE) +set(SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE PATH "Base directory for files which go to share/" FORCE) +set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Base directory for files which go to include/" FORCE) +set(DOC_INSTALL_DIR "${SHARE_INSTALL_DIR}/CASA-${VERSION}" CACHE PATH "Base directory for files which go to doc/" FORCE) +set(MAN_INSTALL_DIR "${SHARE_INSTALL_DIR}/man" CACHE PATH "Base directory for files which go to man/" FORCE) +set(SYSCONF_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/etc" CACHE PATH "Base directory for configuration files" FORCE) +set(LIBROOT_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is /lib${LIB_SUFFIX})" FORCE) + +INCLUDE(${CMAKE_ROOT}/Modules/TestBigEndian.cmake) +TEST_BIG_ENDIAN(WORDS_BIGENDIAN) +include(CMakeJavaInformation) +include(CMakeDetermineJavaCompiler) +include(CPack REQUIRED) + +find_package( PAM REQUIRED) +find_package( Mono REQUIRED) +find_package( PkgConfig REQUIRED) +find_package( JavaExtended REQUIRED) +find_package( JNI REQUIRED) + +pkg_check_modules(GTK-SHARP REQUIRED gtk-sharp-2.0) +pkg_check_modules(GLADE-SHARP REQUIRED glade-sharp-2.0) +pkg_check_modules(GLIB REQUIRED glib) +pkg_check_modules(GNOME-KEYRING REQUIRED gnome-keyring-1) +pkg_check_modules(MONO-NUNIT REQUIRED mono-nunit) + + + +message(STATUS "CASA version: ${VERSION}") +message(STATUS "suffix: ${LIB_SUFFIX}") +message(STATUS "exec pref ${EXEC_INSTALL_PREFIX}") +message(STATUS "bin: ${BIN_INSTALL_DIR}") +message(STATUS "sbin: ${SBIN_INSTALL_DIR}") +message(STATUS "lib: ${LIB_INSTALL_DIR}") +message(STATUS "libroot: ${LIBROOT_INSTALL_DIR}") +message(STATUS "include: ${INCLUDE_INSTALL_DIR}") +message(STATUS "libexec: ${LIBEXEC_INSTALL_DIR}") +message(STATUS "doc: ${DOC_INSTALL_DIR}") +message(STATUS "man: ${MAN_INSTALL_DIR}") +message(STATUS "sysconf: ${SYSCONF_INSTALL_DIR}") + +# put the include dirs which are in the source or build tree +# before all other include dirs, so the headers in the sources +# are prefered over the already installed ones +# since cmake 2.4.1 +set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) + +add_custom_target(uninstall + "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake") + +add_subdirectory(micasadk) +add_subdirectory(micasad/lib) +add_subdirectory(sharp) +add_subdirectory(policy) +add_subdirectory(adlib) +add_subdirectory(micasad) +add_subdirectory(cli) +add_subdirectory(gui) +add_subdirectory(logincapture) +add_subdirectory(jwrapper) + +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Common Authentication Service Adapter (CASA).") +SET(CPACK_PACKAGE_VENDOR "http://code.google.com/p/casa-auth/") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") +SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") +SET(CPACK_PACKAGE_VERSION "${VERSION}") +SET(CPACK_PACKAGE_VERSION_PATCH "${VERSION_SUFFIX}") +SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CASA-${VERSION}${VERSION_SUFFIX}") +SET(CPACK_SOURCE_PACKAGE_FILE_NAME "CASA-${VERSION}${VERSION_SUFFIX}") +SET(CPACK_GENERATOR TGZ) +SET(CPACK_SOURCE_GENERATOR TBZ2) +SET(CPACK_SOURCE_IGNORE_FILES CMakeCache.txt CMakeFiles progress.make cmake_install.cmake CPackConfig.cmake CPackSourceConfig.cmake "\\\\.git" "\\\\.svn" "\\\\.swp$" "\\\\.cvs" "\\\\.tar.gz" "\\\\.o") +SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source") +SET(CPACK_STRIP_FILES "") +SET(CPACK_SYSTEM_NAME "Linux") + diff --git a/CASA/ChangeLog b/CASA/ChangeLog deleted file mode 100644 index e69de29b..00000000 diff --git a/CASA/Makefile.am b/CASA/Makefile.am deleted file mode 100644 index 6f74e07f..00000000 --- a/CASA/Makefile.am +++ /dev/null @@ -1,72 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -else -TARGET_CFG = Release -endif - -if LINUX -SUBDIRS = micasacache common micasadk micasad/lib sharp \ - policy adlib micasad cli gui logincapture jwrapper package - -DIST_SUBDIRS = micasacache common micasadk micasad cli sharp \ - policy adlib gui logincapture jwrapper package -endif - -if WINDOWS -SUBDIRS = package -DIST_SUBDIRS = micasacache common micasadk jwrapper package -endif - -EXTRA_DIST = include include/*.h \ - doc/internal/*.doc doc/internal/*.xsd \ - doc/product/*.pdf doc/product/*.txt \ - readme-folder/readme* autogen.sh - -CASALIBDIR = $(LIB) - -if LIB64 -CASABINDIR = bin64 -else -CASABINDIR = bin -endif - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C package $@ - -installcheck-summary: - $(MAKE) -C src $@ - -clean-local: - rm -rf *.suo $(CASALIBDIR) - rm -rf *.suo $(CASABINDIR) - rm -rf BUILT -maintainer-clean-local: - rm -f configure Makefile.in casa-*.tar.gz - rm -f aclocal.m4 conf*.sh configure.lineno - rm -f config.guess config.sub config.status - rm -f ltmain.sh libtool - rm -f install-sh install-sh.lnk INSTALL INSTALL.lnk - rm -f missing missing.lnk mkinstalldirs mkinstalldir.lnk - rm -rf autom4te.cache diff --git a/CASA/NEWS b/CASA/NEWS deleted file mode 100644 index e69de29b..00000000 diff --git a/CASA/adlib/AssemblyInfo.cs b/CASA/adlib/AssemblyInfo.cs index 26293dba..ab410d04 100644 --- a/CASA/adlib/AssemblyInfo.cs +++ b/CASA/adlib/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.A-D.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.A-D.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/adlib/CMakeLists.txt b/CASA/adlib/CMakeLists.txt new file mode 100644 index 00000000..9ecbba8d --- /dev/null +++ b/CASA/adlib/CMakeLists.txt @@ -0,0 +1,67 @@ +################################# +# Project +############## + +project(adlib) + +enable_language(CSharp) + +IF (UNIX) + add_subdirectory(ad_gk) + add_subdirectory(ad_ff) + add_subdirectory(ad_kw) +ENDIF (UNIX) + +#IF (WIN32) +# add_subdirectory(Novell.Casa.MiCasa) +#ENDIF (WIN32) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + + +SET(SRC_CS AssemblyInfo.cs + Common.cs + IDataEngine.cs + miCASAEngine.cs + AD_Facade.cs + KWalletEngine.cs + GKEngine.cs + FFEngine.cs + ${CMAKE_SOURCE_DIR}/gui/Logger.cs) + +################################# +# Linking +############## + +SET(CS_FLAGS -r:${CMAKE_BINARY_DIR}/micasad/lib/Novell.CASA.Common.dll + -r:${CMAKE_BINARY_DIR}/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.dll + -r:${CMAKE_BINARY_DIR}/policy/Novell.CASA.CASAPolicy.dll + -r:${CMAKE_CURRENT_BINARY_DIR}/ad_gk/Novell.CASA.DataEngines.GnomeKeyring.dll + -r:${CMAKE_CURRENT_BINARY_DIR}/ad_kw/Novell.CASA.DataEngines.KWallet.dll + -r:${CMAKE_CURRENT_BINARY_DIR}/ad_ff/Novell.CASA.DataEngines.FireFox.dll -pkg:gtk-sharp-2.0 /d:LINUX) +#CSHARP_ADD_LIBRARY(Novell.CASA.A-D "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.A-D "${SRC_CS}" REFERENCES Novell.CASA.DataEngines.KWallet Novell.CASA.Common Novell.CASA.miCASAWrapper Novell.CASA.CASAPolicy Novell.CASA.DataEngines.GnomeKeyring Novell.CASA.DataEngines.FireFox COMPILE_FLAGS -pkg:gtk-sharp-2.0 /d:LINUX) +ADD_DEPENDENCIES(Novell.CASA.A-D Novell.CASA.DataEngines.GnomeKeyring Novell.CASA.DataEngines.KWallet Novell.CASA.DataEngines.FireFox.dll) + +################################# +# Install Files +############## + +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.A-D.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/CASA/adlib/Common.cs b/CASA/adlib/Common.cs index 97642d41..58d2e47d 100644 --- a/CASA/adlib/Common.cs +++ b/CASA/adlib/Common.cs @@ -20,75 +20,75 @@ * ***********************************************************************/ -using System; - - -namespace Novell.CASA.DataEngines.Common -{ - - public class ConstStrings - { - - // Error codes - public static int CASA_SUCCESS = 0; - public static int CASA_OPERATION_FAILED = 1; - public static int CASA_STORE_NOT_AVAILABLE = 3; - public static int CASA_DATA_UNAVAILABLE = 4; - - // Store IDs - public static string miCASA = "miCASA"; - public static string KW = "KDE KWallet"; - public static string GK = "GNOME Keyring"; - public static string PM = "Password Manager"; - public static string FF = "Firefox"; - - //Store Types - public static int CASA_STORE_MICASA = 0; - public static int CASA_STORE_FFOX = 1; - public static int CASA_STORE_KWALLET =3; - public static int CASA_STORE_MOZILLA = 2; - public static int CASA_STORE_GK = 4; - - - //CCF Tag Names - - public static string CCF_ID = "ID"; - public static string CCF_GKTAG = "GK"; - public static string CCF_KW = "KWallet"; - public static string CCF_GKKEYRING = "Keyring"; - public static string CCF_SECRET = "Secret"; - public static string CCF_TYPE = "Type"; - public static string CCF_KEY = "Key"; - public static string CCF_VALUE = "Value"; - public static string CCF_TIME = "Time"; - public static string CCF_CRTIME = "Creation"; - public static string CCF_MDTIME = "Modified"; - public static string CCF_ACTIME = "Accessed"; - public static string CCF_LOCK = "Lock"; - public static string CCF_LOCKSTATUS = "LockStatus"; - public static string CCF_LOCKHAND = "LockOnIdle"; - public static string CCF_LOCKTIME = "LockTimeout"; - public static string CCF_WALLET = "Wallet"; - public static string CCF_FOLDER = "Folder"; - public static string CCF_KEYCHAIN = "Keychain"; - public static string CCF_KEYCHAINNAME = "Default"; - public static string CCF_ZONE = "Zone"; - public static string CCF_SYNCH = "Synch"; - public static string CCF_NAME = "Name"; - public static string CCF_FFTAG = "FireFox"; - public static string CCF_FFPROFILE = "Profile"; - public static string CCF_PASSWDSTATUS = "PasswordStatus"; +using System; - //Add Operation Types on CCF + +namespace Novell.CASA.DataEngines.Common +{ + + public class ConstStrings + { + + // Error codes + public static int CASA_SUCCESS = 0; + public static int CASA_OPERATION_FAILED = 1; + public static int CASA_STORE_NOT_AVAILABLE = 3; + public static int CASA_DATA_UNAVAILABLE = 4; + + // Store IDs + public static string miCASA = "miCASA"; + public static string KW = "KDE KWallet"; + public static string GK = "GNOME Keyring"; + public static string PM = "Password Manager"; + public static string FF = "Firefox"; + + //Store Types + public static int CASA_STORE_MICASA = 0; + public static int CASA_STORE_FFOX = 1; + public static int CASA_STORE_KWALLET =3; + public static int CASA_STORE_MOZILLA = 2; + public static int CASA_STORE_GK = 4; + + + //CCF Tag Names + + public static string CCF_ID = "ID"; + public static string CCF_GKTAG = "GK"; + public static string CCF_KW = "KWallet"; + public static string CCF_GKKEYRING = "Keyring"; + public static string CCF_SECRET = "Secret"; + public static string CCF_TYPE = "Type"; + public static string CCF_KEY = "Key"; + public static string CCF_VALUE = "Value"; + public static string CCF_TIME = "Time"; + public static string CCF_CRTIME = "Creation"; + public static string CCF_MDTIME = "Modified"; + public static string CCF_ACTIME = "Accessed"; + public static string CCF_LOCK = "Lock"; + public static string CCF_LOCKSTATUS = "LockStatus"; + public static string CCF_LOCKHAND = "LockOnIdle"; + public static string CCF_LOCKTIME = "LockTimeout"; + public static string CCF_WALLET = "Wallet"; + public static string CCF_FOLDER = "Folder"; + public static string CCF_KEYCHAIN = "Keychain"; + public static string CCF_KEYCHAINNAME = "Default"; + public static string CCF_ZONE = "Zone"; + public static string CCF_SYNCH = "Synch"; + public static string CCF_NAME = "Name"; + public static string CCF_FFTAG = "FireFox"; + public static string CCF_FFPROFILE = "Profile"; + public static string CCF_PASSWDSTATUS = "PasswordStatus"; + + //Add Operation Types on CCF public static int OPERATION_ADD_SECRET = 0; - public static int OPERATION_DELETE_SECRET = 1; - public static int OPERATION_MODIFY_SECRET = 2; - - - } - - - -} - - + public static int OPERATION_DELETE_SECRET = 1; + public static int OPERATION_MODIFY_SECRET = 2; + + + } + + + +} + + diff --git a/CASA/adlib/IDataEngine.cs b/CASA/adlib/IDataEngine.cs index 315ca0f0..d860f351 100644 --- a/CASA/adlib/IDataEngine.cs +++ b/CASA/adlib/IDataEngine.cs @@ -20,36 +20,36 @@ * ***********************************************************************/ -using System; -using System.Collections; -using System.Xml; -using System.Threading; - - -namespace Novell.CASA.DataEngines -{ - - /* - * Defines the interfaces to be implemenetd by all Data Engines. - */ - public interface DataEngine - { - - XmlNode Aggregate(); - - int GetSecret(XmlNode secret); - - int SetSecret(XmlNode secret, int opnType); - - int SetSecret(XmlNode secret); - - int Remove(XmlNode secret); - - - - - } - -} - - +using System; +using System.Collections; +using System.Xml; +using System.Threading; + + +namespace Novell.CASA.DataEngines +{ + + /* + * Defines the interfaces to be implemenetd by all Data Engines. + */ + public interface DataEngine + { + + XmlNode Aggregate(); + + int GetSecret(XmlNode secret); + + int SetSecret(XmlNode secret, int opnType); + + int SetSecret(XmlNode secret); + + int Remove(XmlNode secret); + + + + + } + +} + + diff --git a/CASA/adlib/Makefile.am b/CASA/adlib/Makefile.am deleted file mode 100644 index f8aeb2da..00000000 --- a/CASA/adlib/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = ad_kw ad_gk ad_ff -DIST_SUBDIRS = ad_kw ad_gk ad_ff - -CASAROOT = .. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -EXTRA_DIST = $(CSFILES) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.A-D -MODULE_EXT =dll - -CSFILES = $(srcdir)/AssemblyInfo.cs \ - $(srcdir)/Common.cs \ - $(srcdir)/IDataEngine.cs \ - $(srcdir)/miCASAEngine.cs \ - $(srcdir)/AD_Facade.cs \ - $(srcdir)/KWalletEngine.cs \ - $(srcdir)/GKEngine.cs \ - $(srcdir)/FFEngine.cs \ - $(top_srcdir)/gui/Logger.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = $(CSC_LIBFLAG) -pkg:gtk-sharp-2.0 /d:LINUX -CS_RESOURCES = -CS_LIBS =$(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.DataEngines.GnomeKeyring.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.DataEngines.KWallet.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.DataEngines.FireFox.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.CASAPolicy.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.miCASAWrapper.dll -CS_LIBPATH = $(CASALIBDIR)/$(TARGET_CFG) $(srcdir)/ad_gk/$(TARGET_CFG) $(srcdir)/ad_kw/$(TARGET_CFG) \ - $(srcdir)/ad_ff/$(TARGET_CFG) - - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) $(CS_LIBPATH:%=-lib:%) $(CS_LIBS:%=/r:%) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/Novell.CASA.A-D.csproj b/CASA/adlib/Novell.CASA.A-D.csproj deleted file mode 100644 index d288ad86..00000000 --- a/CASA/adlib/Novell.CASA.A-D.csproj +++ /dev/null @@ -1,172 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {25D49F34-F655-4CCF-93F1-449243AF7A32} - Debug - AnyCPU - - - - - Novell.CASA.DataEngines - - - JScript - Grid - IE50 - false - Library - Novell.CASA.DataEngines - OnBuildSuccess - - - - - - - - - bin\Debug\ - false - 285212672 - false - - - DEBUG;TRACE; WIN32 - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - bin\Release\ - false - 285212672 - false - - - TRACE; WIN32 - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - atk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\atk-sharp.dll - - - gdk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gdk-sharp.dll - - - glade-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\glade-sharp.dll - - - glib-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\glib-sharp.dll - - - gtk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gtk-sharp.dll - - - pango-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\pango-sharp.dll - - - System - - - System.Data - - - System.XML - - - Novell.CASA.Common - {57CD94A2-5B4A-40C3-8189-CB760FB78357} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.CASAPolicy - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.miCASAWrapper - {E21DD887-22F4-4935-9851-409715F663B0} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - - diff --git a/CASA/adlib/Novell.CASA.A-D.csproj.user b/CASA/adlib/Novell.CASA.A-D.csproj.user deleted file mode 100755 index 6872f6b0..00000000 --- a/CASA/adlib/Novell.CASA.A-D.csproj.user +++ /dev/null @@ -1,58 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ProjectFiles - 0 - - - false - false - false - false - false - - - Project - - - - - - - - - - - false - - - false - false - false - false - false - - - Project - - - - - - - - - - - false - - \ No newline at end of file diff --git a/CASA/adlib/ad_ff/AssemblyInfo.cs b/CASA/adlib/ad_ff/AssemblyInfo.cs index cb959b5f..da84439e 100644 --- a/CASA/adlib/ad_ff/AssemblyInfo.cs +++ b/CASA/adlib/ad_ff/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.DataEngines.FireFox.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.6.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.DataEngines.FireFox.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/adlib/ad_ff/CMakeLists.txt b/CASA/adlib/ad_ff/CMakeLists.txt new file mode 100644 index 00000000..539af04a --- /dev/null +++ b/CASA/adlib/ad_ff/CMakeLists.txt @@ -0,0 +1,56 @@ +################################# +# Project +############## + +project(ad_ff) + +enable_language(CXX CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_SOURCE_DIR}/native + ${GLIB_INCLUDE_DIRS} + ${GNOME-KEYRING_INCLUDE_DIRS} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +add_library(ad_ff SHARED native/Common.cpp + native/CryptManager.cpp + native/DataManager.cpp + native/FirefoxPasswordManager.cpp + native/ProfileManager.cpp + native/SignonManager.cpp) + +SET(SRC_CS FireFox.cs AssemblyInfo.cs) + +################################# +# Linking +############## + +set_target_properties(ad_ff PROPERTIES VERSION 1.1.1 SOVERSION 1) +target_link_libraries(ad_ff ${GLIB_LIBRARIES} ${GNOME-KEYRING_LIBRARIES}) + +#SET(CS_FLAGS ${GTK-SHARP_LIBRARIES} /d:LINUX /d:MONO) +#CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.FireFox "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /d:MONO /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.FireFox "${SRC_CS}") +#ADD_DEPENDENCIES(akonadi kde-dotnet akonadi-sharp smokeakonadi) + +################################# +# Install Files +############## + +install(TARGETS ad_ff DESTINATION ${LIB_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.DataEngines.FireFox.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/CASA/adlib/ad_ff/Makefile.am b/CASA/adlib/ad_ff/Makefile.am deleted file mode 100644 index 5e4d7f8e..00000000 --- a/CASA/adlib/ad_ff/Makefile.am +++ /dev/null @@ -1,106 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = native -DIST_SUBDIRS = native - -EXTRA_DIST = $(CSFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.DataEngines.FireFox -MODULE_EXT =dll - -CSFILES = $(srcdir)/FireFox.cs \ - $(srcdir)/AssemblyInfo.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = $(CSC_LIBFLAG) -target:library -CS_RESOURCES = -CS_LIBS = -CS_LIBPATH = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/ad_ff/firefox.vcproj b/CASA/adlib/ad_ff/firefox.vcproj deleted file mode 100644 index a6f4ffb9..00000000 --- a/CASA/adlib/ad_ff/firefox.vcproj +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/adlib/ad_ff/native/Common.h b/CASA/adlib/ad_ff/native/Common.h index f288d649..6cd34fec 100644 --- a/CASA/adlib/ad_ff/native/Common.h +++ b/CASA/adlib/ad_ff/native/Common.h @@ -1,75 +1,75 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -#ifndef __FPM_COMMON_H__ -#define __FPM_COMMON_H__ - -// Common structure declarations... - -struct Host -{ - char *hostName; - struct HostElement *child; - struct Host *next; -}; - - -// Each name/value pair for the Host is represented by HostElement -struct HostElement -{ - char *name; - char *value; - char *formUrl; - int isPassword; - struct HostElement *next; -}; - - -struct RejectHost -{ - char *hostName; - struct RejectHost *next; -}; - - -// Error codes - -#define FPM_PROFILE_NOT_PRESENT -101 // Specified profile does not exist -#define FPM_LIBRARY_LOAD_FAILED -102 // Failed to load the firefox library -#define FPM_LIBRARY_INIT_FAILED -103 // Failed to initialize firefox library -#define FPM_PROFILE_NOT_INITIALIZED -104 // Specified profile not initialized -#define FPM_MASTERPASSWORD_WRONG -105 // Wrong master password is specified -#define FPM_SIGNON_DATASTORE_EMPTY -106 // Internal signon data store is empty -#define FPM_SIGNON_FILE_NOT_PRESENT -107 // Signon file is not present in profile directory -#define FPM_SIGNON_FILE_READ_ERROR -108 // Error in reading signon file -#define FPM_SIGNON_FILE_WRITE_ERROR -109 // Error in writing signon file -#define FPM_SIGNON_FILE_LOCKED -110 // Signon file is locked. -#define FPM_INSUFFICIENT_MEMORY -111 // Insufficient memory. -#define FPM_ILLEGAL_HOSTNAME -112 // Hostname is not in proper form -#define FPM_HOSTNAME_NOT_PRESENT -113 // Specified hostname is not present -#define FPM_NAME_NOT_PRESENT -114 // Specified name is not present -#define FPM_SIGNON_FILE_INVALID_DATA -115 // Invalid data is read from signon file -#define FPM_PROFILE_LIMIT_EXCEEDED -116 // Maximum number of profiles exceeded... - -#endif - - +/*********************************************************************** + * + * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, Novell, Inc. + * + * To contact Novell about this file by physical or electronic mail, + * you may find current contact information at www.novell.com. + * + ***********************************************************************/ + +#ifndef __FPM_COMMON_H__ +#define __FPM_COMMON_H__ + +// Common structure declarations... + +struct Host +{ + char *hostName; + struct HostElement *child; + struct Host *next; +}; + + +// Each name/value pair for the Host is represented by HostElement +struct HostElement +{ + char *name; + char *value; + char *formUrl; + int isPassword; + struct HostElement *next; +}; + + +struct RejectHost +{ + char *hostName; + struct RejectHost *next; +}; + + +// Error codes + +#define FPM_PROFILE_NOT_PRESENT -101 // Specified profile does not exist +#define FPM_LIBRARY_LOAD_FAILED -102 // Failed to load the firefox library +#define FPM_LIBRARY_INIT_FAILED -103 // Failed to initialize firefox library +#define FPM_PROFILE_NOT_INITIALIZED -104 // Specified profile not initialized +#define FPM_MASTERPASSWORD_WRONG -105 // Wrong master password is specified +#define FPM_SIGNON_DATASTORE_EMPTY -106 // Internal signon data store is empty +#define FPM_SIGNON_FILE_NOT_PRESENT -107 // Signon file is not present in profile directory +#define FPM_SIGNON_FILE_READ_ERROR -108 // Error in reading signon file +#define FPM_SIGNON_FILE_WRITE_ERROR -109 // Error in writing signon file +#define FPM_SIGNON_FILE_LOCKED -110 // Signon file is locked. +#define FPM_INSUFFICIENT_MEMORY -111 // Insufficient memory. +#define FPM_ILLEGAL_HOSTNAME -112 // Hostname is not in proper form +#define FPM_HOSTNAME_NOT_PRESENT -113 // Specified hostname is not present +#define FPM_NAME_NOT_PRESENT -114 // Specified name is not present +#define FPM_SIGNON_FILE_INVALID_DATA -115 // Invalid data is read from signon file +#define FPM_PROFILE_LIMIT_EXCEEDED -116 // Maximum number of profiles exceeded... + +#endif + + diff --git a/CASA/adlib/ad_ff/native/DataManager.h b/CASA/adlib/ad_ff/native/DataManager.h index c8496448..45c16036 100644 --- a/CASA/adlib/ad_ff/native/DataManager.h +++ b/CASA/adlib/ad_ff/native/DataManager.h @@ -1,65 +1,65 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -#ifndef __FPM_DATA_MANAGER_H__ -#define __FPM_DATA_MANAGER_H__ - -#include "FirefoxPasswordManager.h" -#include "Common.h" - - -class DataManager -{ - -public: - - Host *hostList; - RejectHost *rejectHostList; - - DataManager(); - virtual ~DataManager(); - - int AddRejectHost(char *hostName); - int RemoveRejectHost(char *hostName); - void PrintAllRejectHosts(); - - - int AddHost(char *hostName); - int AddHost(Host *host); - int ModifyHost(struct Host *host); - int ModifyHost(char *oldHostName, char *newHostName); - int RemoveHost(char *hostName); - void PrintAllHosts(); - - int AddHostElement(char *hostName, char *name, char *value, unsigned char isPassword, char *formUrl); - int RemoveHostElement(char *hostName, char *clearValue); - Host* DuplicateHost(Host *host); - - int RemoveAllData(); - int RemoveAllRejectHosts(); - int RemoveAllHosts(); - -}; - -#endif - - +/*********************************************************************** + * + * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, Novell, Inc. + * + * To contact Novell about this file by physical or electronic mail, + * you may find current contact information at www.novell.com. + * + ***********************************************************************/ + +#ifndef __FPM_DATA_MANAGER_H__ +#define __FPM_DATA_MANAGER_H__ + +#include "FirefoxPasswordManager.h" +#include "Common.h" + + +class DataManager +{ + +public: + + Host *hostList; + RejectHost *rejectHostList; + + DataManager(); + virtual ~DataManager(); + + int AddRejectHost(char *hostName); + int RemoveRejectHost(char *hostName); + void PrintAllRejectHosts(); + + + int AddHost(char *hostName); + int AddHost(Host *host); + int ModifyHost(struct Host *host); + int ModifyHost(char *oldHostName, char *newHostName); + int RemoveHost(char *hostName); + void PrintAllHosts(); + + int AddHostElement(char *hostName, char *name, char *value, unsigned char isPassword, char *formUrl); + int RemoveHostElement(char *hostName, char *clearValue); + Host* DuplicateHost(Host *host); + + int RemoveAllData(); + int RemoveAllRejectHosts(); + int RemoveAllHosts(); + +}; + +#endif + + diff --git a/CASA/adlib/ad_ff/native/Makefile.am b/CASA/adlib/ad_ff/native/Makefile.am deleted file mode 100644 index f5837766..00000000 --- a/CASA/adlib/ad_ff/native/Makefile.am +++ /dev/null @@ -1,123 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CXXFILES) *.h - -CASAROOT = ../../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -CXX = g++ - -MODULE_NAME =libad_ff -MODULE_EXT =so - -CXXFILES = $(srcdir)/Common.cpp \ - $(srcdir)/CryptManager.cpp \ - $(srcdir)/FirefoxPasswordManager.cpp \ - $(srcdir)/ProfileManager.cpp \ - $(srcdir)/SignonManager.cpp \ - $(srcdir)/DataManager.cpp - - -CXXFILES_CXX := -INCLUDES = -I. -I.. -I$(CASAROOT)/include \ --I/opt/gnome/include/gnome-keyring-1 -CXXFLAGS = $(CPP_LIBFLAG) $(INCLUDES) -EXTRA_CXXFLAGS = -fPIC -DPIC -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NANESPACE \ - -DQT_NO_ASCII_CAS -O2 -fmessage-length=0 -Wall -g -D_REENTRANT \ - -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX386 -CXX_RESOURCES = -LIBS = -lpthread -ldl -L/opt/kde3/lib -LDFLAGS = -fno-exception -fno-check-new -Wl,-Bsymbolic -shared -pthread -O2 \ - -Wl,-soname -Wl,libkwallets_rw.so.1 - -EXTRA_LDFLAGS = -L/usr/$(LIB) -lqt-mt -L/usr/X11R6/$(LIB) -L/usr/lib/qt3/$(LIB) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -OBJS = $(addprefix $(OBJDIR)/, $(CXXFILES:%.cpp=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - - -$(OBJDIR)/%.o: %.cpp - $(CXX) -c $(CXXFLAGS) $(EXTRA_CXXFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - c++ -o $@ $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - ln -sf $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).1 - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/ad_ff/native/SignonManager.h b/CASA/adlib/ad_ff/native/SignonManager.h index a7e13102..24d8b678 100644 --- a/CASA/adlib/ad_ff/native/SignonManager.h +++ b/CASA/adlib/ad_ff/native/SignonManager.h @@ -1,78 +1,78 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -// SignonManager.h: interface for the SignonManager class. -// -////////////////////////////////////////////////////////////////////// - -#ifndef __FPM_SIGNON_MANAGER_H__ -#define __FPM_SIGNON_MANAGER_H__ - - - -#include "FirefoxPasswordManager.h" -#include "Common.h" -#include "DataManager.h" -#include "CryptManager.h" - - -class SignonManager -{ - - DataManager dataManager; - CryptManager cryptManager; - FILE *signonFile; - -public: - SignonManager(); - virtual ~SignonManager(); - - int OpenSignonFile(char *firefoxProfileDir, char *fileName, char *accessType, bool create); - int CloseSignonFile(); - - int ReadLine(char *buffer, int size); - char ReadChar(); - Unichar ReadCharUTF8(); - int WriteCharUTF8(Unichar c); - int WriteLine(char *line); - - - int LoadSignonData(char *firefoxProfileDir); - int WriteSignonData(char *firefoxProfileDir); - int RemoveSignonData(); - - int AddUser(char *host, char *userName, char *password); - int RemoveHost(char *hostName); - int ModifyHost(struct Host *host); - int AddHost(struct Host *host); - - - struct Host* GetHostInfo(); - void SetupFunctions(void *funList[]); - - - int CheckSignonPref(); - -}; - -#endif - +/*********************************************************************** + * + * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, Novell, Inc. + * + * To contact Novell about this file by physical or electronic mail, + * you may find current contact information at www.novell.com. + * + ***********************************************************************/ + +// SignonManager.h: interface for the SignonManager class. +// +////////////////////////////////////////////////////////////////////// + +#ifndef __FPM_SIGNON_MANAGER_H__ +#define __FPM_SIGNON_MANAGER_H__ + + + +#include "FirefoxPasswordManager.h" +#include "Common.h" +#include "DataManager.h" +#include "CryptManager.h" + + +class SignonManager +{ + + DataManager dataManager; + CryptManager cryptManager; + FILE *signonFile; + +public: + SignonManager(); + virtual ~SignonManager(); + + int OpenSignonFile(char *firefoxProfileDir, char *fileName, char *accessType, bool create); + int CloseSignonFile(); + + int ReadLine(char *buffer, int size); + char ReadChar(); + Unichar ReadCharUTF8(); + int WriteCharUTF8(Unichar c); + int WriteLine(char *line); + + + int LoadSignonData(char *firefoxProfileDir); + int WriteSignonData(char *firefoxProfileDir); + int RemoveSignonData(); + + int AddUser(char *host, char *userName, char *password); + int RemoveHost(char *hostName); + int ModifyHost(struct Host *host); + int AddHost(struct Host *host); + + + struct Host* GetHostInfo(); + void SetupFunctions(void *funList[]); + + + int CheckSignonPref(); + +}; + +#endif + diff --git a/CASA/adlib/ad_ff/native/link.lux b/CASA/adlib/ad_ff/native/link.lux deleted file mode 100644 index 019f3c26..00000000 --- a/CASA/adlib/ad_ff/native/link.lux +++ /dev/null @@ -1,5 +0,0 @@ -LINK = $(CPP) \ - -shared \ - -Wl \ - -o $(LIBDIR)$(XTRA)/lib$(TARGET).so.$(BLD_VER) \ - $(OBJDIR)*.$(O) diff --git a/CASA/adlib/ad_ff/native/objs.lux b/CASA/adlib/ad_ff/native/objs.lux deleted file mode 100644 index 25e959c6..00000000 --- a/CASA/adlib/ad_ff/native/objs.lux +++ /dev/null @@ -1,7 +0,0 @@ -OBJS=\ - Common.$(O) \ - CryptManager.$(O) \ - FirefoxPasswordManager.$(O) \ - ProfileManager.$(O) \ - SignonManager.$(O) \ - DataManager.$(O) diff --git a/CASA/adlib/ad_ff/objs.lux b/CASA/adlib/ad_ff/objs.lux deleted file mode 100644 index 00431716..00000000 --- a/CASA/adlib/ad_ff/objs.lux +++ /dev/null @@ -1,3 +0,0 @@ -OBJS=\ - AssembyInfo\ - FireFox diff --git a/CASA/adlib/ad_ff/src.lux b/CASA/adlib/ad_ff/src.lux deleted file mode 100644 index 41edb539..00000000 --- a/CASA/adlib/ad_ff/src.lux +++ /dev/null @@ -1,3 +0,0 @@ -SRC=\ - AssemblyInfo.cs\ - FireFox.cs diff --git a/CASA/adlib/ad_gk/AssemblyInfo.cs b/CASA/adlib/ad_gk/AssemblyInfo.cs index 2035548f..870521d1 100644 --- a/CASA/adlib/ad_gk/AssemblyInfo.cs +++ b/CASA/adlib/ad_gk/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.DataEngines.GnomeKeyring.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.6.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.DataEngines.GnomeKeyring.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/adlib/ad_gk/CMakeLists.txt b/CASA/adlib/ad_gk/CMakeLists.txt new file mode 100644 index 00000000..246d8c85 --- /dev/null +++ b/CASA/adlib/ad_gk/CMakeLists.txt @@ -0,0 +1,51 @@ +################################# +# Project +############## + +project(ad_gk) + +enable_language(C CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_SOURCE_DIR}/native + ${GLIB_INCLUDE_DIRS} + ${GNOME-KEYRING_INCLUDE_DIRS} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +add_library(ad_gk SHARED native/ad_gk.c) + +SET(SRC_CS GnomeKeyring.cs AssemblyInfo.cs) + +################################# +# Linking +############## + +set_target_properties(ad_gk PROPERTIES VERSION 1.1.1 SOVERSION 1) +target_link_libraries(ad_gk ${GLIB_LIBRARIES} ${GNOME-KEYRING_LIBRARIES}) + +SET(CS_FLAGS ${GTK-SHARP_LIBRARIES}) +#CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.GnomeKeyring "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /d:MONO /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.GnomeKeyring "${SRC_CS}" COMPILE_FLAGS -pkg:gtk-sharp-2.0) +#ADD_DEPENDENCIES(akonadi kde-dotnet akonadi-sharp smokeakonadi) + +################################# +# Install Files +############## + +install(TARGETS ad_gk DESTINATION ${LIB_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.DataEngines.GnomeKeyring.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/CASA/adlib/ad_gk/Makefile.am b/CASA/adlib/ad_gk/Makefile.am deleted file mode 100644 index 21b8c3f0..00000000 --- a/CASA/adlib/ad_gk/Makefile.am +++ /dev/null @@ -1,105 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = native -DIST_SUBDIRS = native - -EXTRA_DIST = $(CSFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.DataEngines.GnomeKeyring -MODULE_EXT =dll - -CSFILES = $(srcdir)/GnomeKeyring.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = $(CSC_LIBFLAG) /target:library -pkg:gtk-sharp-2.0 -CS_RESOURCES = -CS_LIBS = -CS_LIBPATH = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/ad_gk/native/Makefile.am b/CASA/adlib/ad_gk/native/Makefile.am deleted file mode 100644 index 4feafaf7..00000000 --- a/CASA/adlib/ad_gk/native/Makefile.am +++ /dev/null @@ -1,131 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CFILES) *.h - -CASAROOT = ../../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = libad_gk -MODULE_EXT = so - -CFILES = $(srcdir)/ad_gk.c - -LIBDIR = $(LIB) - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include \ - -I/opt/gnome/include/gnome-keyring-1 \ - -I/opt/gnome/include/glib-2.0 \ - -I/opt/gnome/$(LIBDIR)/glib-2.0/include \ - -I/usr/include/glib-2.0 \ - -I/usr/$(LIBDIR)/glib-2.0/include \ - -L/opt/gnome/$(LIBDIR) -lglib-2.0 - -RESOURCES = -EXTRA_CFLAGS = -CFLAGS += $(INCLUDES) $(DEFINES) - -LIBS = -lpthread -ldl -LDFLAGS = -fno-exceptions -fno-check-new -Wl,-Bsymbolic -shared -pthread -O2 \ - -Wl,-rpath -Wl,/usr/$(LIBDIR) -Wl,-soname -Wl,libad_gk.so.1 - -EXTRA_LDFLAGS = -L/opt/gnome/$(LIBDIR) -L/usr/include -lglib-2.0 -L/$(CASAROOT)/$(LIBDIR) - -OBJDIR = ./$(TARGET_CFG)/$(LIBDIR) - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -EXTRA_DIST = $(CFILES) *.h - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - c++ -o $@ $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - ln -sf $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).1 - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/adlib/ad_gk/native/link.lux b/CASA/adlib/ad_gk/native/link.lux deleted file mode 100644 index 4798177b..00000000 --- a/CASA/adlib/ad_gk/native/link.lux +++ /dev/null @@ -1,15 +0,0 @@ -LINK = $(CPP) \ - -Wl,-Bsymbolic \ - -shared \ - -pthread\ - -O2 -fno-exceptions -fno-check-new\ - -Wl,-rpath -Wl,/usr/lib$(ARC) \ - -L/usr/lib$(ARC) -lpthread -lc -ldl \ - -L/opt/gnome/lib$(ARC) -lglib-2.0 \ - -Wl,-soname -Wl,lib$(TARGET).so.$(PROD_NUM) \ - -o $(LIBDIR)$(XTRA)/lib$(TARGET).so.$(BLD_VER) \ - -L$(LIBDIR)$(XTRA) \ - $(OBJDIR)*.$(O) - - - diff --git a/CASA/adlib/ad_gk/native/objs.lux b/CASA/adlib/ad_gk/native/objs.lux deleted file mode 100644 index 50130ebf..00000000 --- a/CASA/adlib/ad_gk/native/objs.lux +++ /dev/null @@ -1,2 +0,0 @@ -OBJS=\ - ad_gk.$(O) diff --git a/CASA/adlib/ad_gk/objs.lux b/CASA/adlib/ad_gk/objs.lux deleted file mode 100644 index 2d33ddb9..00000000 --- a/CASA/adlib/ad_gk/objs.lux +++ /dev/null @@ -1,3 +0,0 @@ -OBJS=\ - AssembyInfo\ - GnomeKeyring diff --git a/CASA/adlib/ad_gk/src.lux b/CASA/adlib/ad_gk/src.lux deleted file mode 100644 index d17e49ef..00000000 --- a/CASA/adlib/ad_gk/src.lux +++ /dev/null @@ -1,3 +0,0 @@ -SRC=\ - AssemblyInfo.cs\ - GnomeKeyring.cs diff --git a/CASA/adlib/ad_kw/AssemblyInfo.cs b/CASA/adlib/ad_kw/AssemblyInfo.cs index 9d013401..07c6fc89 100644 --- a/CASA/adlib/ad_kw/AssemblyInfo.cs +++ b/CASA/adlib/ad_kw/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.DataEngines.KWallet.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.6.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.DataEngines.KWallet.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/adlib/ad_kw/CMakeLists.txt b/CASA/adlib/ad_kw/CMakeLists.txt new file mode 100644 index 00000000..bf6527e1 --- /dev/null +++ b/CASA/adlib/ad_kw/CMakeLists.txt @@ -0,0 +1,51 @@ +################################# +# Project +############## + +project(kwallets) + +enable_language(CXX CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_SOURCE_DIR}/native + ${GLIB_INCLUDE_DIRS} + ${GNOME-KEYRING_INCLUDE_DIRS} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +#add_library(kwallets_rw SHARED native/kwallets_rw.cpp) + +SET(SRC_CS AssemblyInfo.cs KWalletEnum.cs KWalletNative.cs) + +################################# +# Linking +############## + +#set_target_properties(kwallets_rw PROPERTIES VERSION 1.1.1 SOVERSION 1) +#target_link_libraries(kwallets_rw ${GLIB_LIBRARIES} ${GNOME-KEYRING_LIBRARIES}) + +#SET(CS_FLAGS ${GTK-SHARP_LIBRARIES}) +#CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.KWallet "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /d:MONO /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.DataEngines.KWallet "${SRC_CS}") +#ADD_DEPENDENCIES(akonadi kde-dotnet akonadi-sharp smokeakonadi) + +################################# +# Install Files +############## + +#install(TARGETS kwallets_rw DESTINATION ${LIB_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.DataEngines.KWallet.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) diff --git a/CASA/adlib/ad_kw/Makefile.am b/CASA/adlib/ad_kw/Makefile.am deleted file mode 100644 index f572b9d8..00000000 --- a/CASA/adlib/ad_kw/Makefile.am +++ /dev/null @@ -1,107 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -#SUBDIRS = native -#DIST_SUBDIRS = native - -EXTRA_DIST = $(CSFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.DataEngines.KWallet -MODULE_EXT =dll - -CSFILES = $(srcdir)/AssemblyInfo.cs \ - $(srcdir)/KWalletEnum.cs \ - $(srcdir)/KWalletNative.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = $(CSC_LIBFLAG) -CS_RESOURCES = -CS_LIBS = -CS_LIBPATH = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/ad_kw/native/Makefile.am b/CASA/adlib/ad_kw/native/Makefile.am deleted file mode 100644 index 6bd76e41..00000000 --- a/CASA/adlib/ad_kw/native/Makefile.am +++ /dev/null @@ -1,125 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CXXFILES) $(CXX_MOC_FILES) *.h - -CASAROOT = ../../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -####this needs to be defined in configure.in -MOC = /usr/lib/qt3/bin/moc -CXX = g++ - -MODULE_NAME =libkwallets_rw -MODULE_EXT =so - -CXXFILES = $(srcdir)/kwallets_rw.cpp - -CXX_MOC_FILES = kwallets_rw.moc - -CXXFILES_CXX := -INCLUDES = -I. -I.. -I$(CASAROOT)/include \ --I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -I/opt/gnome/include/gnome-keyring-1/ -CXXFLAGS = $(CPP_LIBFLAG) $(INCLUDES) -EXTRA_CXXFLAGS = -fPIC -DPIC -DSSCS_LINUX_PLAT_F -DQT_THREAD_SUPPORT -DQT_CLEAN_NANESPACE \ - -DQT_NO_ASCII_CAS -O2 -fmessage-length=0 -Wall -g -D_REENTRANT \ - -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX386 -CXX_RESOURCES = -LIBS = -lpthread -ldl -LDFLAGS = -fno-exception -fno-check-new -Wl,-Bsymbolic -shared -pthread -O2 \ - -Wl,-soname -Wl,libkwallets_rw.so.1 - -EXTRA_LDFLAGS = -L/opt/kde3/$(LIB) -lkwalletclient \ - -lqt-mt -L/usr/X11R6/$(LIB) -L/usr/lib/qt3/$(LIB) -lqt-mt - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -OBJS = $(addprefix $(OBJDIR)/, $(CXXFILES:%.cpp=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(CXX_MOC_FILES): kwallets_rw.h - $(MOC) $^ -o $@ - -$(OBJDIR)/%.o: %.cpp -# $(CXX) -c $(CXXFLAGS) $(EXTRA_CXXFLAGS) -o $@ $< - c++ -c -g $(CXXFLAGS) $(EXTRA_CXXFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER):$(CXX_MOC_FILES) $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - c++ -o $@ $(LDFLAGS) $(EXTRA_LDFLAGS) $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - ln -sf $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).1 - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - if [ -f $(CXX_MOC_FILES) ]; then rm -f $(CXX_MOC_FILES); fi -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/adlib/ad_kw/native/link.lux b/CASA/adlib/ad_kw/native/link.lux deleted file mode 100644 index 4f33ed17..00000000 --- a/CASA/adlib/ad_kw/native/link.lux +++ /dev/null @@ -1,14 +0,0 @@ -LINK = $(CPP) \ - -Wl,-Bsymbolic \ - -shared \ - -pthread \ - -O2 -fno-exceptions -fno-check-new \ - -Wl,-rpath -Wl,/usr/lib$(ARC) \ - -L/usr/lib$(ARC) -lpthread -lc -ldl \ - -L/opt/kde3/lib$(ARC) -lkwalletclient -lqt-mt \ - -L/usr/X11R6/lib$(ARC) \ - -L/usr/lib/qt3/lib$(ARC) -lqt-mt \ - -Wl,-soname -Wl,lib$(TARGET).so.$(PROD_NUM) \ - -o $(LIBDIR)$(XTRA)/lib$(TARGET).so.$(BLD_VER) \ - -L$(LIBDIR)$(XTRA) \ - $(OBJDIR)*.$(O) diff --git a/CASA/adlib/ad_kw/native/objs.lux b/CASA/adlib/ad_kw/native/objs.lux deleted file mode 100644 index 94ac84dc..00000000 --- a/CASA/adlib/ad_kw/native/objs.lux +++ /dev/null @@ -1,2 +0,0 @@ -OBJS=\ - kwallets_rw.$(O) diff --git a/CASA/adlib/ad_kw/objs.lux b/CASA/adlib/ad_kw/objs.lux deleted file mode 100644 index 2734643f..00000000 --- a/CASA/adlib/ad_kw/objs.lux +++ /dev/null @@ -1,4 +0,0 @@ -OBJS=\ - AssemblyInfo\ - KWalletEnum\ - KWalletNative diff --git a/CASA/adlib/ad_kw/src.lux b/CASA/adlib/ad_kw/src.lux deleted file mode 100644 index 3f731ec3..00000000 --- a/CASA/adlib/ad_kw/src.lux +++ /dev/null @@ -1,4 +0,0 @@ -SRC=\ - AssemblyInfo.cs\ - KWalletEnum.cs\ - KWalletNative.cs diff --git a/CASA/adlib/miCASAEngine.cs b/CASA/adlib/miCASAEngine.cs index 56ce26c6..55e4c1c2 100644 --- a/CASA/adlib/miCASAEngine.cs +++ b/CASA/adlib/miCASAEngine.cs @@ -83,58 +83,58 @@ namespace Novell.CASA.DataEngines StringEnumerator se = sc.GetEnumerator(); se.Reset(); - while (se.MoveNext()) - { - try - { - - - Secret secret = store.GetSecret(se.Current); - NameValueCollection nvc = secret.GetKeyValueCollection(); - - mi_secret = doc.CreateElement(ConstStrings.CCF_SECRET); - synchAttr = doc.CreateAttribute(ConstStrings.CCF_SYNCH); - //TBD: - synchAttr.Value = "Persistent Secret"; - secidAttr = doc.CreateAttribute(ConstStrings.CCF_ID); - secidAttr.Value = se.Current; - mi_secret.SetAttributeNode(secidAttr); - mi_secret.SetAttributeNode(synchAttr); - - - for (int i = 0; i < nvc.Count; i++) - { - - sKey = nvc.GetKey(i); - sValue = nvc.Get(sKey); - - //Key - key1 = doc.CreateElement(ConstStrings.CCF_KEY); - Atr = doc.CreateAttribute(ConstStrings.CCF_ID); - - Atr.Value = sKey; - key1.SetAttributeNode(Atr); - - //Value - value1 = doc.CreateElement(ConstStrings.CCF_VALUE); - value1.InnerText = sValue; - - key1.AppendChild(value1); - mi_secret.AppendChild(key1); - - } - + while (se.MoveNext()) + { + try + { + + + Secret secret = store.GetSecret(se.Current); + NameValueCollection nvc = secret.GetKeyValueCollection(); + + mi_secret = doc.CreateElement(ConstStrings.CCF_SECRET); + synchAttr = doc.CreateAttribute(ConstStrings.CCF_SYNCH); + //TBD: + synchAttr.Value = "Persistent Secret"; + secidAttr = doc.CreateAttribute(ConstStrings.CCF_ID); + secidAttr.Value = se.Current; + mi_secret.SetAttributeNode(secidAttr); + mi_secret.SetAttributeNode(synchAttr); + + + for (int i = 0; i < nvc.Count; i++) + { + + sKey = nvc.GetKey(i); + sValue = nvc.Get(sKey); + + //Key + key1 = doc.CreateElement(ConstStrings.CCF_KEY); + Atr = doc.CreateAttribute(ConstStrings.CCF_ID); + + Atr.Value = sKey; + key1.SetAttributeNode(Atr); + + //Value + value1 = doc.CreateElement(ConstStrings.CCF_VALUE); + value1.InnerText = sValue; + + key1.AppendChild(value1); + mi_secret.AppendChild(key1); + + } + //Time XmlElement Time1 = doc.CreateElement(ConstStrings.CCF_TIME); - XmlElement zone1 = doc.CreateElement(ConstStrings.CCF_ZONE); + XmlElement zone1 = doc.CreateElement(ConstStrings.CCF_ZONE); zone1.InnerText = DateTime.Today.ToString(); - XmlElement cr1 = doc.CreateElement(ConstStrings.CCF_CRTIME); + XmlElement cr1 = doc.CreateElement(ConstStrings.CCF_CRTIME); cr1.InnerText = secret.GetCreateTime().Ticks.ToString(); - XmlElement mod1 = doc.CreateElement(ConstStrings.CCF_MDTIME); + XmlElement mod1 = doc.CreateElement(ConstStrings.CCF_MDTIME); mod1.InnerText = secret.GetModifiedTime().Ticks.ToString(); //XmlElement acc1 = doc.CreateElement(ConstStrings.CCF_ACTIME); @@ -146,14 +146,14 @@ namespace Novell.CASA.DataEngines //Time1.AppendChild(acc1); mi_secret.AppendChild(Time1); - - - //Finally Add Secret to Elem - keychain.AppendChild(mi_secret); - } - catch (Exception) - { - //Console.WriteLine("Secret Not Found: " + se.Current); + + + //Finally Add Secret to Elem + keychain.AppendChild(mi_secret); + } + catch (Exception) + { + //Console.WriteLine("Secret Not Found: " + se.Current); } } } @@ -189,7 +189,7 @@ namespace Novell.CASA.DataEngines { XmlAttributeCollection atcol = secret.Attributes; - String secretid = atcol["ID"].InnerXml; + String secretid = atcol["ID"].InnerXml; Secret secretVal = store.GetSecret(secretid); NameValueCollection nvc = secretVal.GetKeyValueCollection(); diff --git a/CASA/adlib/objs.lux b/CASA/adlib/objs.lux deleted file mode 100644 index 1c137075..00000000 --- a/CASA/adlib/objs.lux +++ /dev/null @@ -1,11 +0,0 @@ -OBJS=\ - AssemblyInfo\ - Common\ - IDataEngine\ - miCASAEngine\ - AD_Facade\ - KWalletEngine\ - GKEngine \ - FFEngine \ - ../c_gui/Logger - diff --git a/CASA/adlib/objs.w32 b/CASA/adlib/objs.w32 deleted file mode 100644 index 64864e3a..00000000 --- a/CASA/adlib/objs.w32 +++ /dev/null @@ -1,7 +0,0 @@ -OBJS=\ - Common\ - IDataEngine\ - miCASAEngine\ - AD_Facade\ - ..\\c_gui\\Logger.cs - diff --git a/CASA/adlib/src.lux b/CASA/adlib/src.lux deleted file mode 100644 index 7838f7fd..00000000 --- a/CASA/adlib/src.lux +++ /dev/null @@ -1,10 +0,0 @@ -SRC=\ - AssemblyInfo.cs\ - Common.cs\ - IDataEngine.cs\ - miCASAEngine.cs\ - AD_Facade.cs\ - KWalletEngine.cs\ - GKEngine.cs \ - FFEngine.cs \ - ../c_gui/Logger.cs diff --git a/CASA/adlib/src.w32 b/CASA/adlib/src.w32 deleted file mode 100644 index eb2aec9d..00000000 --- a/CASA/adlib/src.w32 +++ /dev/null @@ -1,6 +0,0 @@ -SRC=\ - Common.cs\ - IDataEngine.cs\ - miCASAEngine.cs\ - AD_Facade.cs\ - ..\\c_gui\\Logger.cs diff --git a/CASA/autogen.sh b/CASA/autogen.sh deleted file mode 100755 index c9293b55..00000000 --- a/CASA/autogen.sh +++ /dev/null @@ -1,130 +0,0 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -ORIGDIR=`pwd` -cd $srcdir -PROJECT=CASA -TEST_TYPE=-f -FILE=include/micasa.h - -DIE=0 - -(autoconf --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have autoconf installed to compile $PROJECT." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -AUTOMAKE=automake-1.9 -ACLOCAL=aclocal-1.9 - -($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || { - AUTOMAKE=automake - ACLOCAL=aclocal -} - -($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have automake installed to compile $PROJECT." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -if test "$DIE" -eq 1; then - exit 1 -fi - -test $TEST_TYPE $FILE || { - echo "You must run this script in the top-level $PROJECT directory" - exit 1 -} - -if test -z "$*"; then - echo "I am going to run ./configure with no arguments - if you wish " - echo "to pass any to it, please specify them on the $0 command line." -fi - -case $CC in -*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;; -esac - -for coin in `find $srcdir -name configure.in -print` -do - dr=`dirname $coin` - if test -f $dr/NO-AUTO-GEN; then - echo skipping $dr -- flagged as no auto-gen - else - echo processing $dr - macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin` - ( cd $dr - aclocalinclude="$ACLOCAL_FLAGS" - for k in $macrodirs; do - if test -d $k; then - aclocalinclude="$aclocalinclude -I $k" - ##else - ## echo "**Warning**: No such directory \`$k'. Ignored." - fi - done - if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then - if grep "sed.*POTFILES" configure.in >/dev/null; then - : do nothing -- we still have an old unmodified configure.in - else - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running gettextize... Ignore non-fatal messages." - echo "no" | gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi - fi - if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running gettextize... Ignore non-fatal messages." - echo "no" | gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi - if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running gettextize... Ignore non-fatal messages." - echo "no" | glib-gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then - echo "Running libtoolize..." - libtoolize --force --copy - fi - echo "Running $ACLOCAL $aclocalinclude ..." - $ACLOCAL $aclocalinclude - if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then - echo "Running autoheader..." - autoheader - fi - echo "Running $AUTOMAKE --gnu $am_opt ..." - $AUTOMAKE --add-missing --gnu $am_opt - echo "Running autoconf ..." - autoconf - ) - fi -done - -conf_flags="--config-cache --enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c - -cd "$ORIGDIR" - -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile $PROJECT || exit 1 -else - echo Skipping configure process. -fi diff --git a/CASA/baselibs.conf b/CASA/baselibs.conf deleted file mode 100644 index 97f7fd62..00000000 --- a/CASA/baselibs.conf +++ /dev/null @@ -1,2 +0,0 @@ -CASA - targetarch ia64 block! diff --git a/CASA/build_config/linux/autobuild b/CASA/build_config/linux/autobuild deleted file mode 100755 index df8d1715..00000000 --- a/CASA/build_config/linux/autobuild +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash - -## creating ENV varaibles -SOURCE_DIR=`pwd` -export BUILD_ROOT=$SOURCE_DIR/../autobuild/BUILD -PACKAGE=CASA -VERSION=1.7.$1 -TEMP_DIR=$SOURCE_DIR/SOURCES -BUILT_DIR=$BUILD_ROOT/usr/src/packages/BUILD/CASA-1.7.$1 -RPMS_DIR=$BUILD_ROOT/usr/src/packages - -##creating tar.gz -rm -rf ../bld_tst -mkdir ../bld_tst -mkdir ../bld_tst/CASA-1.7.$1 -cp -R ./* ../bld_tst/CASA-1.7.$1 - -cd ../bld_tst/CASA-1.7.$1 -sed -i "s/\(AM_INIT_AUTOMAKE.*\))/\AM_INIT_AUTOMAKE\(CASA, 1\.7\.$1\)/" ./configure.in - -find . -name "*.lux" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs chmod +x > /dev/null 2>&1 -find . -name "Make*" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.c" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cs" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cpp" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.h" | xargs dos2unix > /dev/null 2>&1 -find . -name "link*" | xargs dos2unix > /dev/null 2>&1 -find . -name ".svn" | xargs rm -rf > /dev/null 2>&1 -find . -name "*.sh" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.sh" | xargs chmod +x > /dev/null 2>&1 -find . -name "*ver.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*build.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.mak" | xargs dos2unix > /dev/null 2>&1 -cd .. -tar cjf ../CASA-1.7.$1.tar.bz2 ./CASA-1.7.$1 - -#creating spec file -cd $SOURCE_DIR -mkdir --parents $PRODUCTS_DIR $TEMP_DIR -cp ../CASA-1.7.$1.tar.bz2 $TEMP_DIR -cp $SOURCE_DIR/package/linux/CASA.spec.in $TEMP_DIR/CASA.spec -sed -i "s/@VERSION@/1.7.$1/" $TEMP_DIR/CASA.spec -sed -i "s/@PACKAGE@/CASA/" $TEMP_DIR/CASA.spec -cp $SOURCE_DIR/CASA.changes $TEMP_DIR -cd $TEMP_DIR - -##call autobuild -. /opt/SuSE/bin/.profile -sudo build --clean - -##copy rpms to temp directoy -cp -rf $RPMS_DIR/RPMS $TEMP_DIR -cp -rf $RPMS_DIR/SRPMS $TEMP_DIR diff --git a/CASA/build_config/linux/autobuild-oes b/CASA/build_config/linux/autobuild-oes deleted file mode 100755 index 10edadd9..00000000 --- a/CASA/build_config/linux/autobuild-oes +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -## creating ENV varaibles -SOURCE_DIR=`pwd` -export BUILD_ROOT=$SOURCE_DIR/../autobuild/BUILD -PACKAGE=CASA -VERSION=1.7.$1 -TEMP_DIR=$SOURCE_DIR/SOURCES -BUILT_DIR=$BUILD_ROOT/usr/src/packages/BUILD/CASA-1.7.$1 -RPMS_DIR=$BUILD_ROOT/usr/src/packages - -##creating tar.gz -rm -rf ../bld_tst -mkdir ../bld_tst -mkdir ../bld_tst/CASA-1.7.$1 -cp -R ./* ../bld_tst/CASA-1.7.$1 - -cd ../bld_tst/CASA-1.7.$1 -sed -i "s/\(AM_INIT_AUTOMAKE.*\))/\AM_INIT_AUTOMAKE\(CASA, 1\.7\.$1\)/" ./configure.in - -find . -name "*.lux" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs chmod +x > /dev/null 2>&1 -find . -name "Make*" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.c" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cs" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cpp" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.h" | xargs dos2unix > /dev/null 2>&1 -find . -name "link*" | xargs dos2unix > /dev/null 2>&1 -find . -name ".svn" | xargs rm -rf > /dev/null 2>&1 -find . -name "*.sh" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.sh" | xargs chmod +x > /dev/null 2>&1 -find . -name "*ver.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*build.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.mak" | xargs dos2unix > /dev/null 2>&1 -cd .. -tar cjf ../CASA-1.7.$1.tar.bz2 ./CASA-1.7.$1 - -#creating spec file -cd $SOURCE_DIR -mkdir --parents $PRODUCTS_DIR $TEMP_DIR -cp ../CASA-1.7.$1.tar.bz2 $TEMP_DIR -cp $SOURCE_DIR/package/linux/CASA.spec.in $TEMP_DIR/CASA.spec -sed -i "s/@VERSION@/1.7.$1/" $TEMP_DIR/CASA.spec -sed -i "s/@PACKAGE@/CASA/" $TEMP_DIR/CASA.spec -sed -i "s/BuildRequires: /BuildRequires: novell-filesystem /" $TEMP_DIR/CASA.spec -cp $SOURCE_DIR/CASA.changes $TEMP_DIR -cd $TEMP_DIR - -##call autobuild -. /opt/SuSE/bin/.profile -sudo build --clean - -##copy rpms to temp directoy -cp -rf $RPMS_DIR/RPMS $TEMP_DIR -cp -rf $RPMS_DIR/SRPMS $TEMP_DIR diff --git a/CASA/build_config/linux/autobuild-oes-linux32 b/CASA/build_config/linux/autobuild-oes-linux32 deleted file mode 100755 index dd9e63ba..00000000 --- a/CASA/build_config/linux/autobuild-oes-linux32 +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash - -## creating ENV varaibles -SOURCE_DIR=`pwd` -export BUILD_ROOT=$SOURCE_DIR/../autobuild/BUILD -PACKAGE=CASA -VERSION=1.7.$1 -TEMP_DIR=$SOURCE_DIR/SOURCES -BUILT_DIR=$BUILD_ROOT/usr/src/packages/BUILD/CASA-1.7.$1 -RPMS_DIR=$BUILD_ROOT/usr/src/packages - -##creating tar.gz -rm -rf ../bld_tst -mkdir ../bld_tst -mkdir ../bld_tst/CASA-1.7.$1 -cp -R ./* ../bld_tst/CASA-1.7.$1 - -cd ../bld_tst/CASA-1.7.$1 -sed -i "s/\(AM_INIT_AUTOMAKE.*\))/\AM_INIT_AUTOMAKE\(CASA, 1\.7\.$1\)/" ./configure.in - -find . -name "*.lux" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs chmod +x > /dev/null 2>&1 -find . -name "Make*" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.c" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cs" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cpp" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.h" | xargs dos2unix > /dev/null 2>&1 -find . -name "link*" | xargs dos2unix > /dev/null 2>&1 -find . -name ".svn" | xargs rm -rf > /dev/null 2>&1 -find . -name "*.sh" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.sh" | xargs chmod +x > /dev/null 2>&1 -find . -name "*ver.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*build.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.mak" | xargs dos2unix > /dev/null 2>&1 -cd .. -tar cjf ../CASA-1.7.$1.tar.bz2 ./CASA-1.7.$1 - -#creating spec file -cd $SOURCE_DIR -mkdir --parents $PRODUCTS_DIR $TEMP_DIR -cp ../CASA-1.7.$1.tar.bz2 $TEMP_DIR -cp $SOURCE_DIR/package/linux/CASA.spec.in $TEMP_DIR/CASA.spec -sed -i "s/@VERSION@/1.7.$1/" $TEMP_DIR/CASA.spec -sed -i "s/@PACKAGE@/CASA/" $TEMP_DIR/CASA.spec -sed -i "s/BuildRequires: /BuildRequires: novell-filesystem /" $TEMP_DIR/CASA.spec -cp $SOURCE_DIR/CASA.changes $TEMP_DIR -cp $SOURCE_DIR/baselibs.conf $TEMP_DIR -cd $TEMP_DIR - -##call autobuild -. /opt/SuSE/bin/.profile -sudo linux32 build --clean -baselibs - -##copy rpms to temp directoy -cp -rf $RPMS_DIR/RPMS $TEMP_DIR -cp -rf $RPMS_DIR/SRPMS $TEMP_DIR diff --git a/CASA/build_config/win64/buildu.sh b/CASA/build_config/win64/buildu.sh deleted file mode 100755 index 74cb0e68..00000000 --- a/CASA/build_config/win64/buildu.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# setup for calling "builduser.cmd and buildkernel.cmd" via cygwin's rsh -# since ssh is having trouble. This is a hack, but we don't any other way -# to solve this at the moment. - -echo "=============================================" -echo " START - Build casa" -echo "=============================================" - -/usr/bin/rsh -n -d -l nds_cm localhost "set SVN_REVISION=$SVN_REVISION&& cd /d c:\cygwin\home\nds_cm\build_win\casa~1.7\CASA\ && build_config\win64\builduser.cmd" - -echo "Status: $?" - -echo "=============================================" -echo " END - Build casa" -echo "=============================================" - diff --git a/CASA/build_config/win64/builduser.cmd b/CASA/build_config/win64/builduser.cmd deleted file mode 100755 index 38ffe561..00000000 --- a/CASA/build_config/win64/builduser.cmd +++ /dev/null @@ -1,27 +0,0 @@ -@echo on -rem setup for calling nmake -rem setlocal -set SVN_REVISION=%1% -set casa_root_dir=%cd% -rem Do a free (retail) build -setlocal -mkdir TEMP -set TEMP=%cd%\TEMP -set TMP=%cd%\TEMP - -call "F:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" -echo "%SVN_REVISION%" - -cd /d %casa_root_dir% -cd package\windows\vs_solutions\CASA32-msi -..\..\..\..\tools\w32\VersionVDProj\bin\VersionVDProj.exe -msi CASA.vdproj version=1.7.%SVN_REVISION% -..\..\..\..\tools\w32\VersionVDProj\bin\VersionVDProj.exe -msi ..\CASA_sdk\CASA_sdk.vdproj version=1.7.%SVN_REVISION% - - -cd /d %casa_root_dir% -cd package\windows\vs_solutions\CASA64-msi -..\..\..\..\tools\w32\VersionVDProj\bin\VersionVDProj.exe -msi CASA64.vdproj version=1.7.%SVN_REVISION% -..\..\..\..\tools\w32\VersionVDProj\bin\VersionVDProj.exe -msi ..\CASA_sdk_x64\CASA_sdk_x64.vdproj version=1.7.%SVN_REVISION% -devenv /rebuild Release CASA-64-32.sln /out build.log - -endlocal diff --git a/CASA/cli/CASAcli b/CASA/cli/CASAcli deleted file mode 100644 index 08ea30c4..00000000 --- a/CASA/cli/CASAcli +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -HOST_ARCH=`uname -a | grep -c x86_64` -if [ $HOST_ARCH -gt 0 ] -then ARCH_LIB=64 -else -ARCH_LIB= -fi - - -export MONO_PATH=/usr/lib$ARCH_LIB/ -mono /usr/bin/CASAcli.exe $1 $2 $3 $4 $5 $6 $7 $8 $9 diff --git a/CASA/cli/CASAcli.vcproj b/CASA/cli/CASAcli.vcproj deleted file mode 100644 index d74c4e71..00000000 --- a/CASA/cli/CASAcli.vcproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/cli/CMakeLists.txt b/CASA/cli/CMakeLists.txt new file mode 100644 index 00000000..47577fc0 --- /dev/null +++ b/CASA/cli/CMakeLists.txt @@ -0,0 +1,45 @@ +################################# +# Project +############## + +project(CASAcli) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/include +) + +link_directories( + ${CMAKE_BINARY_DIR}/micasadk +) + +add_definitions( -DSSCS_LINUX_PLAT_F -O2 -D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX38 ) + +################################# +# Source Files +############## + +IF(UNIX) + add_executable(CASAcli casacli.c) +ENDIF(UNIX) + +################################# +# Linking +############## + +target_link_libraries(CASAcli micasa) + +################################# +# Install Files +############## + +install(TARGETS CASAcli DESTINATION ${BIN_INSTALL_DIR}) \ No newline at end of file diff --git a/CASA/cli/Makefile.am b/CASA/cli/Makefile.am deleted file mode 100644 index fe9c6d06..00000000 --- a/CASA/cli/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CFILES) - -CASAROOT = .. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - - -OBJDIR = $(TARGET_CFG)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = CASAcli -MODULE_EXT = - -CFILES = casacli.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -EXTRA_CFLAGS = -RESOURCES = -CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES) -LIBS = -L$(CASALIBDIR)/$(TARGET_CFG) - -LDFLAGS = -lmicasa - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) -#COMMON_OBJS = -L/../../c_common/linux/$(OBJDIR) ../../c_common/linux/$(OBJDIR)/sscs_ll.o -COMMON_OBJS = $(OBJDIR)/sscs_ll.o -CUR_DIR := $(shell pwd) - -#all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) -all: $(OBJDIR)/$(MODULE_NAME) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - cc $(LDFLAGS) -o $@ $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME) $(CASABINDIR)/$(TARGET_CFG)/$(MODULE_NAME) -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/cli/Properties/AssemblyInfo.cs b/CASA/cli/Properties/AssemblyInfo.cs deleted file mode 100644 index 72de46f5..00000000 --- a/CASA/cli/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("CASAManagerCLI")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASAManagerCLI")] -[assembly: AssemblyCopyright("Copyright © Novell, Inc 2007")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("dc4be258-86ca-4284-bbe1-23b64a01e197")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/CASA/cli/casacli.c b/CASA/cli/casacli.c index a5d89ae0..9136b63c 100644 --- a/CASA/cli/casacli.c +++ b/CASA/cli/casacli.c @@ -39,23 +39,23 @@ #include -/* - * Global data - */ -int optErr = 1; // if error message should be printed -int optIdx = 1; // index into parent argv vector -int optionString = 1; // character checked for validity -char *optArg = NULL; // argument associated with option -char *credName = NULL; -char *value = NULL; -char *keyName = NULL; -char *uid = NULL; - -int iAction = 0; -int iUseSessionKeyChain = 0; - - -#define BADCHAR (int)'?' +/* + * Global data + */ +int optErr = 1; // if error message should be printed +int optIdx = 1; // index into parent argv vector +int optionString = 1; // character checked for validity +char *optArg = NULL; // argument associated with option +char *credName = NULL; +char *value = NULL; +char *keyName = NULL; +char *uid = NULL; + +int iAction = 0; +int iUseSessionKeyChain = 0; + + +#define BADCHAR (int)'?' #define ERRMSG "" #define SETCRED 1 #define GETCRED 2 @@ -74,41 +74,41 @@ void Pause() } /* end of Pause */ -void CloseStore(void *context) -{ - miCASACloseSecretStoreCache(context, 0, NULL); -} - -void* OpenStore(SSCS_KEYCHAIN_ID_T *kc) -{ - SSCS_SECRETSTORE_T store = {0}; - void *context = 0; - - // open secretStore - sscs_Utf8Strcpy(store.ssName, SSCS_DEFAULT_SECRETSTORE_ID); - store.version = 1; - context = miCASAOpenSecretStoreCache(&store, 0, NULL); - - if (context == NULL) - { - printf("Could not open miCASA store\r\n"); - return NULL; // NSSCS_E_SYSTEM_FAILURE; - } - - if (iUseSessionKeyChain) - { - sscs_Utf8Strcpy(kc->keychainID, SSCS_SESSION_KEY_CHAIN_ID); - kc->len = SSCS_S_KC_ID_CHARS; - } - else - { - sscs_Utf8Strcpy(kc->keychainID, SSCS_SERVER_KEY_CHAIN_ID); - kc->len = SSCS_S_KC_ID_SERVER_CHARS; - } - - return context; - -} +void CloseStore(void *context) +{ + miCASACloseSecretStoreCache(context, 0, NULL); +} + +void* OpenStore(SSCS_KEYCHAIN_ID_T *kc) +{ + SSCS_SECRETSTORE_T store = {0}; + void *context = 0; + + // open secretStore + sscs_Utf8Strcpy(store.ssName, SSCS_DEFAULT_SECRETSTORE_ID); + store.version = 1; + context = miCASAOpenSecretStoreCache(&store, 0, NULL); + + if (context == NULL) + { + printf("Could not open miCASA store\r\n"); + return NULL; // NSSCS_E_SYSTEM_FAILURE; + } + + if (iUseSessionKeyChain) + { + sscs_Utf8Strcpy(kc->keychainID, SSCS_SESSION_KEY_CHAIN_ID); + kc->len = SSCS_S_KC_ID_CHARS; + } + else + { + sscs_Utf8Strcpy(kc->keychainID, SSCS_SERVER_KEY_CHAIN_ID); + kc->len = SSCS_S_KC_ID_SERVER_CHARS; + } + + return context; + +} #ifdef LINUX void SetUID(int targetUID) @@ -194,55 +194,55 @@ void DisplaySecretEx(void *context, } -void ListCredentials() -{ - int rcode = 0; - int i = 0; - SSCS_SECRETSTORE_T store = {0}; - SSCS_SECRET_ID_T appSecretId = {0}; - SSCS_SECRET_ID_T sharedSecretId = {0}; - - void *context; - SSCS_KEYCHAIN_ID_T kc = {0}; - - SSCS_SH_SECRET_ID_LIST_T secretIDList = {0}; - context = OpenStore(&kc); - if (context == NULL) - { - printf("Could not open miCASA store\r\n"); - return; // NSSCS_E_SYSTEM_FAILURE; - } - - secretIDList.secIDList = malloc(128 * sizeof(SSCS_SH_SECRET_ID_T)); - if (secretIDList.secIDList == NULL) - { - printf("Memory failure\r\n"); - return; - } - - // set size of buffer - secretIDList.enumHandle = 0; - secretIDList.returnedIDs = 128; - - rcode = miCASAEnumerateSecretIDs(context, - &kc, //SSCS_KEYCHAIN_ID_T * keyChainID, - 0, //uint32_t ssFlags, - NULL, //SSCS_SRCH_KEY_T * searchKey, - &secretIDList, //SSCS_SH_SECRET_ID_LIST_T * secretIDList, - NULL //SSCS_EXT_T * ext - ); - - if (rcode) - { - printf("Enumerate secretIDs returned %x\r\n", rcode); - } - else - { - printf("Found %d credential sets\r\n", secretIDList.returnedIDs); - for (i=0; i= nArgc) || - ((*(place = nArgv[optIdx]) != '-') - && (*(place = nArgv[optIdx]) != '/')) || - (!*++place)) - { - return(-1); - } - - if((*place == '-') || (*place == '/')) - { - ++optIdx; - return(-1); - } - } - - if((optionString = (int)*place++) == (int)'=' || - !(nxtOpt = strchr(optStr, optionString))) - { - if(!*place) - { - ++optIdx; - } - - return(BADCHAR); - } - - if(*++nxtOpt != '=') - { - optArg = NULL; - if(!*place) - { - ++optIdx; - } - } - else - { - if(*place) - { - optArg = place + 1; - } - else if(nArgc <= ++optIdx) - { - place = ERRMSG; - return(BADCHAR); - } - else - { - optArg = nArgv[optIdx]; - } - - place = ERRMSG; - ++optIdx; - } - - //printf("option string %d\r\n", optionString); - return(optionString); - - /* ########################## CODE ENDS HERE ######################### */ +/* */ +/* + * NAME - sss_GetOpt + * + * DESCRIPTION + * An implementation of the Unix getopt() function. + * + */ +int sss_GetOpt( int nArgc, char **nArgv, char *optStr ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + static char *place = ERRMSG; + char *nxtOpt; + +/* ############################## CODE STARTS HERE ############################ */ + + if(!*place) + { + if((optIdx >= nArgc) || + ((*(place = nArgv[optIdx]) != '-') + && (*(place = nArgv[optIdx]) != '/')) || + (!*++place)) + { + return(-1); + } + + if((*place == '-') || (*place == '/')) + { + ++optIdx; + return(-1); + } + } + + if((optionString = (int)*place++) == (int)'=' || + !(nxtOpt = strchr(optStr, optionString))) + { + if(!*place) + { + ++optIdx; + } + + return(BADCHAR); + } + + if(*++nxtOpt != '=') + { + optArg = NULL; + if(!*place) + { + ++optIdx; + } + } + else + { + if(*place) + { + optArg = place + 1; + } + else if(nArgc <= ++optIdx) + { + place = ERRMSG; + return(BADCHAR); + } + else + { + optArg = nArgv[optIdx]; + } + + place = ERRMSG; + ++optIdx; + } + + //printf("option string %d\r\n", optionString); + return(optionString); + + /* ########################## CODE ENDS HERE ######################### */ } /* end of GetOPt */ @@ -501,20 +501,20 @@ int main printf("Try 'CASAcli -h' for more infomation\r\n"); return 0; } -#ifdef WIN32 - while ((c = sss_GetOpt(argc, argv, "lLoOhHsSgGdDrRn=N=k=K=u=U=v=V=")) != -1) -#endif -#ifdef LINUX - while ((c = sss_GetOpt(argc, argv, "lLoOhHsSgGdDrRn=N=k=K=u=U=")) != -1) -#endif - { - //printf("processing arg \r\n"); - switch(c) - { - case 'l': - case 'L': - iAction = LISTCREDS; - //ListCredentials(); +#ifdef WIN32 + while ((c = sss_GetOpt(argc, argv, "lLoOhHsSgGdDrRn=N=k=K=u=U=v=V=")) != -1) +#endif +#ifdef LINUX + while ((c = sss_GetOpt(argc, argv, "lLoOhHsSgGdDrRn=N=k=K=u=U=")) != -1) +#endif + { + //printf("processing arg \r\n"); + switch(c) + { + case 'l': + case 'L': + iAction = LISTCREDS; + //ListCredentials(); break; case 'o': @@ -525,102 +525,102 @@ int main case 'r': case 'R': iAction = REMOVECREDS; - break; - - case 's': - case 'S': - iAction = SETCRED; - break; - - case 'g': - case 'G': - iAction = GETCRED; - break; - - case 'd': - case 'D': - iAction = DELCRED; - break; - - case 'n': - case 'N': - credName = optArg; - break; - - case 'k': - case 'K': - keyName = optArg; - break; - -#ifdef WIN32 - case 'v': - case 'V': - value = optArg; - break; -#endif - case 'u': - case 'U': - uid = optArg; - printf("UID: %s\r\n", uid); - break; - - - default: - printf("\r\n"); -#ifdef WIN32 - printf(" Description:\r\n"); - printf(" This program is a simple utility to display, set, and delete\r\n"); - printf(" credentials used by services on this computer. Because credentials\r\n"); - printf(" are scoped by the LUID of the running process, you must run\r\n"); - printf(" this utility as the same LUID as the service being configured.\r\n"); -#endif -#ifdef LINUX - printf(" Description:\r\n"); - printf(" This program is a simple utility to display, set, and delete\r\n"); - printf(" credentials used by services on this computer. Because credentials\r\n"); - printf(" are scoped by the UID of the running process, you must run\r\n"); - printf(" this utility as the same UID as the service being configured.\r\n"); -#endif - printf("\r\n"); - - printf(" Usage: CASAcli [OPTIONS]\r\n"); - printf(" Options\r\n"); - printf(" -l List all credentials, keys, and values used by services\r\n"); - printf(" -h Displays this help screen\r\n"); - printf("\r\n"); - printf(" -s Sets the key and value of the named credential\r\n"); - printf(" -g Gets and displays the keys and values of the named credential\r\n"); - printf(" -d Delete all keys and values of the named credential\r\n"); + break; + + case 's': + case 'S': + iAction = SETCRED; + break; + + case 'g': + case 'G': + iAction = GETCRED; + break; + + case 'd': + case 'D': + iAction = DELCRED; + break; + + case 'n': + case 'N': + credName = optArg; + break; + + case 'k': + case 'K': + keyName = optArg; + break; + +#ifdef WIN32 + case 'v': + case 'V': + value = optArg; + break; +#endif + case 'u': + case 'U': + uid = optArg; + printf("UID: %s\r\n", uid); + break; + + + default: + printf("\r\n"); +#ifdef WIN32 + printf(" Description:\r\n"); + printf(" This program is a simple utility to display, set, and delete\r\n"); + printf(" credentials used by services on this computer. Because credentials\r\n"); + printf(" are scoped by the LUID of the running process, you must run\r\n"); + printf(" this utility as the same LUID as the service being configured.\r\n"); +#endif +#ifdef LINUX + printf(" Description:\r\n"); + printf(" This program is a simple utility to display, set, and delete\r\n"); + printf(" credentials used by services on this computer. Because credentials\r\n"); + printf(" are scoped by the UID of the running process, you must run\r\n"); + printf(" this utility as the same UID as the service being configured.\r\n"); +#endif + printf("\r\n"); + + printf(" Usage: CASAcli [OPTIONS]\r\n"); + printf(" Options\r\n"); + printf(" -l List all credentials, keys, and values used by services\r\n"); + printf(" -h Displays this help screen\r\n"); + printf("\r\n"); + printf(" -s Sets the key and value of the named credential\r\n"); + printf(" -g Gets and displays the keys and values of the named credential\r\n"); + printf(" -d Delete all keys and values of the named credential\r\n"); printf(" -r Removes all credentials scoped for named UID, or UID of this process\r\n"); - printf("\r\n"); - printf(" -n [name] Specify the credential name\r\n"); - printf(" -k [key] Specify the key name to set\r\n"); -#ifdef WIN32 - printf(" -v [value] Specify the value for this key being set\r\n"); -#endif -#ifdef LINUX - printf(" -u [uid] Specify the UID of the process\r\n"); -#endif - printf("\r\n"); - printf(" -o Override services keychain and use current user(UID) keychain for operation\r\n"); - - printf("\r\n"); - - printf(" Examples\r\n"); - printf(" CASAcli -g -n MyCredential\r\n"); - printf(" CASAcli -d -n MyCredential\r\n"); -#ifdef WIN32 - printf(" CASAcli -s -n MyCredential -k CN -v admin\r\n"); - printf(" CASAcli -s -n MyCredential -k Password -v thepassword\r\n"); -#endif -#ifdef LINUX - printf(" KEYVALUE=admin CASAcli -s -n MyCredential -k CN\r\n"); - printf(" KEYVALUE=password CASAcli -s -n MyCredential -k Password\r\n"); -#endif - printf("\r\n"); - - exit(0); - } + printf("\r\n"); + printf(" -n [name] Specify the credential name\r\n"); + printf(" -k [key] Specify the key name to set\r\n"); +#ifdef WIN32 + printf(" -v [value] Specify the value for this key being set\r\n"); +#endif +#ifdef LINUX + printf(" -u [uid] Specify the UID of the process\r\n"); +#endif + printf("\r\n"); + printf(" -o Override services keychain and use current user(UID) keychain for operation\r\n"); + + printf("\r\n"); + + printf(" Examples\r\n"); + printf(" CASAcli -g -n MyCredential\r\n"); + printf(" CASAcli -d -n MyCredential\r\n"); +#ifdef WIN32 + printf(" CASAcli -s -n MyCredential -k CN -v admin\r\n"); + printf(" CASAcli -s -n MyCredential -k Password -v thepassword\r\n"); +#endif +#ifdef LINUX + printf(" KEYVALUE=admin CASAcli -s -n MyCredential -k CN\r\n"); + printf(" KEYVALUE=password CASAcli -s -n MyCredential -k Password\r\n"); +#endif + printf("\r\n"); + + exit(0); + } } // set the UID if there is one @@ -715,16 +715,16 @@ int main case DELCRED: { printf("Deleting %s\r\n", credName); - tempSecret.type = 2; - tempSecret.len = sscs_Utf8Strlen(credName) + 1; - if (tempSecret.len < NSSCS_MAX_SECRET_ID_LEN) - { - sscs_Utf8Strncpy(tempSecret.name, credName, tempSecret.len); - RemoveSecret(&tempSecret); - } - else - { - printf("Credential name too long\r\n"); + tempSecret.type = 2; + tempSecret.len = sscs_Utf8Strlen(credName) + 1; + if (tempSecret.len < NSSCS_MAX_SECRET_ID_LEN) + { + sscs_Utf8Strncpy(tempSecret.name, credName, tempSecret.len); + RemoveSecret(&tempSecret); + } + else + { + printf("Credential name too long\r\n"); } break; } diff --git a/CASA/cmake/modules/CMakeCSharpCompiler.cmake.in b/CASA/cmake/modules/CMakeCSharpCompiler.cmake.in new file mode 100644 index 00000000..7d17148d --- /dev/null +++ b/CASA/cmake/modules/CMakeCSharpCompiler.cmake.in @@ -0,0 +1,7 @@ +set(CMAKE_CSharp_COMPILER "@CMAKE_CSharp_COMPILER@") +set(CMAKE_CSharp_COMPILER_LOADED @CMAKE_CSharp_COMPILER_LOADED@) +set(GAC_DIR @GAC_DIR@) + +set(_csc_default_lib_path @_csc_default_lib_path@ CACHE INTERNAL "") + +set(CMAKE_CSharp_COMPILER_ENV_VAR "CSC") diff --git a/CASA/cmake/modules/CMakeCSharpInformation.cmake b/CASA/cmake/modules/CMakeCSharpInformation.cmake new file mode 100644 index 00000000..ecb65856 --- /dev/null +++ b/CASA/cmake/modules/CMakeCSharpInformation.cmake @@ -0,0 +1,321 @@ +# copyright (c) 2007, 2009 Arno Rehn arno@arnorehn.de +# copyright (c) 2008 Helio castro helio@kde.org +# +# Redistribution and use is allowed according to the terms of the GPL license. + +# This file adds support for the C# language to cmake. +# +# It adds the following functions: +# +# csharp_add_executable ( [UNSAFE] [WINEXE] [REFERENCES ] +# [COMPILE_FLAGS ] +# [COMPILE_DEFINITIONS ] ) +# +# csharp_add_library ( [UNSAFE] [REFERENCES ] +# [COMPILE_FLAGS ] +# [COMPILE_DEFINITIONS ] ) +# +# install_assembly ( DESTINATION +# [PACKAGE ] ) +# The assembly destination directory is only used if we compile with Visual C# and thus can't use gacutil. +# If a package is specified and a file called .pc.cmake exists in the current source directory, +# this function will configure the template file. All occurences of @assembly@ will be replaced with +# the path to the assembly. The resulting .pc file will be installed to +# /lib/pkgconfig/ . If you want to have a different basename for the template file, +# set the 'pkg-config_template_basename' property of the target with set_property. +# +# Example: +# ------------------------------ +# cmake code: +# ------------------------------ +# csharp_add_library(foo foo.cs) +# install_assembly(foo DESTINATION lib) +# +# ------------------------------ +# contents of foo.pc.cmake file: +# ------------------------------ +# Name: Foo +# Description: Foo library +# Version: 1.0 +# Libs: -r:@assembly@ + +# ----- support macros ----- +macro(GET_LIBRARY_OUTPUT_DIR var) + if (NOT LIBRARY_OUTPUT_PATH) + set(${var} ${CMAKE_CURRENT_BINARY_DIR}) + else (NOT LIBRARY_OUTPUT_PATH) + set(${var} ${LIBRARY_OUTPUT_PATH}) + endif (NOT LIBRARY_OUTPUT_PATH) +endmacro(GET_LIBRARY_OUTPUT_DIR) + +macro(GET_EXECUTABLE_OUTPUT_DIR var) + if (NOT EXECUTABLE_OUTPUT_PATH) + set(${var} ${CMAKE_CURRENT_BINARY_DIR}) + else (NOT EXECUTABLE_OUTPUT_PATH) + set(${var} ${EXECUTABLE_OUTPUT_PATH}) + endif (NOT EXECUTABLE_OUTPUT_PATH) +endmacro(GET_EXECUTABLE_OUTPUT_DIR) + +# This does just not always work... why?! +# macro(MAKE_PROPER_FILE_LIST var) +# foreach(file ${ARGN}) +# if (IS_ABSOLUTE "${file}") +# file(GLOB globbed "${file}") +# else (IS_ABSOLUTE "${file}") +# file(GLOB globbed "${CMAKE_CURRENT_SOURCE_DIR}/${file}") +# endif (IS_ABSOLUTE "${file}") +# +# foreach (glob ${globbed}) +# file(TO_NATIVE_PATH "${glob}" native) +# list(APPEND proper_file_list "${native}") +# endforeach (glob ${globbed}) +# endforeach(file ${ARGN}) +# endmacro(MAKE_PROPER_FILE_LIST) + +# ----- actual functions ----- + +# ----- add an executable ----- +function(csharp_add_executable target) + set(current "s") + set(dotnet_target "exe") + + foreach (arg ${ARGN}) + file(TO_NATIVE_PATH ${arg} native_path) + + if (arg STREQUAL "UNSAFE") + set (unsafe "/unsafe") + elseif (arg STREQUAL "WINEXE") + set (dotnet_target "winexe") + elseif (arg STREQUAL "REFERENCES") + set (current "r") + elseif (arg STREQUAL "COMPILE_FLAGS") + set (current "flags") + elseif (arg STREQUAL "COMPILE_DEFINITIONS") + set (current "defs") + else (arg STREQUAL "UNSAFE") + if (current STREQUAL "s") + # source file + list(APPEND sources ${native_path}) + elseif (current STREQUAL "r") + # reference + if (TARGET ${arg}) + # this is an existing target - get the target assembly + get_property(prop TARGET ${arg} PROPERTY _assembly) + list(APPEND references "/r:${prop}") + list(APPEND deps ${arg}) + else (TARGET ${arg}) + # something different (e.g. assembly name in the gac) + list(APPEND references "/r:${native_path}") + endif (TARGET ${arg}) + elseif (current STREQUAL "flags") + list(APPEND _csc_opts "${arg}") + elseif (current STREQUAL "defs") + list(APPEND _csc_opts "/define:${arg}") + endif (current STREQUAL "s") + endif (arg STREQUAL "UNSAFE") + endforeach (arg ${ARGN}) + + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + list(APPEND _csc_opts "/define:DEBUG") + list(APPEND _csc_opts "/debug") + endif (CMAKE_BUILD_TYPE STREQUAL "Debug") + + get_executable_output_dir(outdir) + if (NOT IS_ABSOLUTE "${outdir}") + message(FATAL_ERROR "Directory \"${outdir}\" is not an absolute path!") + endif (NOT IS_ABSOLUTE "${outdir}") + + file(RELATIVE_PATH relative_path "${CMAKE_BINARY_DIR}" "${outdir}/${target}.exe") + file(TO_NATIVE_PATH "${outdir}/${target}" native_target) + + # inlined - this doesn't work as a macro :( + foreach(file ${sources}) + file(TO_CMAKE_PATH "${file}" cmake_file) + + if (IS_ABSOLUTE "${cmake_file}") + file(GLOB globbed "${cmake_file}") + else (IS_ABSOLUTE "${cmake_file}") + file(GLOB globbed "${CMAKE_CURRENT_SOURCE_DIR}/${cmake_file}") + endif (IS_ABSOLUTE "${cmake_file}") + + foreach (glob ${globbed}) + file(TO_CMAKE_PATH "${glob}" cmake_path) + list(APPEND cmake_file_list "${cmake_path}") + endforeach (glob ${globbed}) + if (NOT globbed) + list(APPEND cmake_file_list "${cmake_file}") + endif (NOT globbed) + list(APPEND compiler_file_list ${file}) + endforeach(file ${sources}) + + get_directory_property(compile_definitions COMPILE_DEFINITIONS) + foreach (def ${compile_definitions}) + # macros with values aren't supported by C# + if (NOT def MATCHES ".*=.*") + list(APPEND _csc_opts "/define:${def}") + endif (NOT def MATCHES ".*=.*") + endforeach (def ${compile_definitions}) + + get_directory_property(link_dirs LINK_DIRECTORIES) + foreach (dir ${link_dirs}) + list(APPEND _csc_opts "/lib:${dir}") + endforeach (dir ${link_dirs}) + + add_custom_command(OUTPUT "${outdir}/${target}.stubexe" + COMMAND "${CMAKE_COMMAND}" -E make_directory "${outdir}" # create the output dir + COMMAND "${CMAKE_CSharp_COMPILER}" /nologo /target:${dotnet_target} "/out:${native_target}.exe" # build the executable + ${_csc_opts} ${unsafe} ${references} ${compiler_file_list} + COMMAND "${CMAKE_COMMAND}" -E touch "${outdir}/${target}.stubexe" # create the stub so that DEPENDS will work + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" # working directory is the source directory, so we don't have to care about relative paths + DEPENDS ${cmake_file_list} + COMMENT "Building ${relative_path}" VERBATIM) # nice comment + add_custom_target(${target} ALL DEPENDS "${outdir}/${target}.stubexe" SOURCES ${cmake_file_list}) # create the actual target + if (deps) + add_dependencies(${target} ${deps}) + endif(deps) +endfunction(csharp_add_executable) + +# ----- add a library ----- +function(csharp_add_library target) + set(current "s") + + foreach (arg ${ARGN}) + file(TO_NATIVE_PATH ${arg} native_path) + + if (arg STREQUAL "UNSAFE") + set (unsafe "/unsafe") + elseif (arg STREQUAL "REFERENCES") + set (current "r") + elseif (arg STREQUAL "COMPILE_FLAGS") + set (current "flags") + elseif (arg STREQUAL "COMPILE_DEFINITIONS") + set (current "defs") + else (arg STREQUAL "UNSAFE") + if (current STREQUAL "s") + # source file + list(APPEND sources ${native_path}) + elseif (current STREQUAL "r") + # reference + if (TARGET ${arg}) + # this is an existing target - get the target assembly + get_property(prop TARGET ${arg} PROPERTY _assembly) + list(APPEND references "/r:${prop}") + list(APPEND deps ${arg}) + else (TARGET ${arg}) + # something different (e.g. assembly name in the gac) + list(APPEND references "/r:${native_path}") + endif (TARGET ${arg}) + elseif (current STREQUAL "flags") + list(APPEND _csc_opts "${arg}") + elseif (current STREQUAL "defs") + list(APPEND _csc_opts "/define:${arg}") + endif (current STREQUAL "s") + endif (arg STREQUAL "UNSAFE") + endforeach (arg ${ARGN}) + + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + list(APPEND _csc_opts "/define:DEBUG") + list(APPEND _csc_opts "/debug") + endif (CMAKE_BUILD_TYPE STREQUAL "Debug") + + get_library_output_dir(outdir) + if (NOT IS_ABSOLUTE "${outdir}") + message(FATAL_ERROR "Directory \"${outdir}\" is not an absolute path!") + endif (NOT IS_ABSOLUTE "${outdir}") + + file(RELATIVE_PATH relative_path "${CMAKE_BINARY_DIR}" "${outdir}/${target}.dll") + file(TO_NATIVE_PATH "${outdir}/${target}" native_target) + + # inlined - this doesn't work as a macro :( + foreach(file ${sources}) + file(TO_CMAKE_PATH "${file}" cmake_file) + + if (IS_ABSOLUTE "${cmake_file}") + file(GLOB globbed "${cmake_file}") + else (IS_ABSOLUTE "${cmake_file}") + file(GLOB globbed "${CMAKE_CURRENT_SOURCE_DIR}/${cmake_file}") + endif (IS_ABSOLUTE "${cmake_file}") + + foreach (glob ${globbed}) + file(TO_CMAKE_PATH "${glob}" cmake_path) + list(APPEND cmake_file_list "${cmake_path}") + endforeach (glob ${globbed}) + if (NOT globbed) + list(APPEND cmake_file_list "${cmake_file}") + endif (NOT globbed) + list(APPEND compiler_file_list ${file}) + endforeach(file ${sources}) + +# message("CMake File List for target ${target}: ${cmake_file_list}") + + get_directory_property(compile_definitions COMPILE_DEFINITIONS) + foreach (def ${compile_definitions}) + # macros with values aren't supported by C# + if (NOT def MATCHES ".*=.*") + list(APPEND _csc_opts "/define:${def}") + endif (NOT def MATCHES ".*=.*") + endforeach (def ${compile_definitions}) + + get_directory_property(link_dirs LINK_DIRECTORIES) + foreach (dir ${link_dirs}) + list(APPEND _csc_opts "/lib:${dir}") + endforeach (dir ${link_dirs}) + + add_custom_command(OUTPUT "${outdir}/${target}.dll" + COMMAND "${CMAKE_COMMAND}" -E make_directory "${outdir}" # create the output dir + COMMAND "${CMAKE_CSharp_COMPILER}" /nologo /target:library "/out:${native_target}.dll" # build the executable + ${_csc_opts} ${unsafe} ${references} ${compiler_file_list} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" # working directory is the source directory, so we don't have to care about relative paths + DEPENDS ${cmake_file_list} + COMMENT "Building ${relative_path}" VERBATIM) # nice comment + add_custom_target(${target} ALL DEPENDS "${outdir}/${target}.dll" SOURCES ${cmake_file_list}) # create the actual target + set_property(TARGET ${target} PROPERTY _assembly "${native_target}.dll") + if (deps) + add_dependencies(${target} ${deps}) + endif(deps) +endfunction(csharp_add_library) + +# ----- install a library assembly ----- +function(install_assembly target DESTINATION destination_dir) + # retrieve the absolute path of the generated assembly + get_property(filename TARGET ${target} PROPERTY _assembly) + get_property(pc_file TARGET ${target} PROPERTY pkg-config_template_basename) + if (NOT pc_file) + set (pc_file ${target}) + endif (NOT pc_file) + + if (NOT filename) + message(FATAL_ERROR "Couldn't retrieve the assembly filename for target ${target}! Are you sure the target is a .NET library assembly?") + endif (NOT filename) + + if (NOT MONO_FOUND) + install(FILES "${filename}" DESTINATION ${destination_dir}) + if (EXISTS "${filename}.config") + install(FILES "${filename}.config" DESTINATION ${destination_dir}) + endif (EXISTS "${filename}.config") + return() + endif (NOT MONO_FOUND) + + if (ARGV3 STREQUAL "PACKAGE" AND ARGV4) + set (package_option "-package ${ARGV4}") + + if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${pc_file}.pc.cmake") + set(assembly "${GAC_DIR}/${ARGV4}/${target}.dll") + configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${pc_file}.pc.cmake" "${CMAKE_CURRENT_BINARY_DIR}/${pc_file}.pc") + + if (NOT LIB_INSTALL_DIR) + set (LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib) + endif (NOT LIB_INSTALL_DIR) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${pc_file}.pc" DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) + endif (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${pc_file}.pc.cmake") + + endif (ARGV3 STREQUAL "PACKAGE" AND ARGV4) + + # So we have the mono runtime and we can use gacutil (it has the -root option, which the MS version doesn't have). + install(CODE "execute_process(COMMAND ${GACUTIL_EXECUTABLE} -i ${filename} ${package_option} -root ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac)") + file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono) + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono) + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/tmp_gac/mono/ DESTINATION ${GAC_DIR} ) +endfunction(install_assembly) + +set(CMAKE_CSharp_INFORMATION_LOADED 1) diff --git a/CASA/cmake/modules/CMakeDetermineCSharpCompiler.cmake b/CASA/cmake/modules/CMakeDetermineCSharpCompiler.cmake new file mode 100644 index 00000000..b0fdd617 --- /dev/null +++ b/CASA/cmake/modules/CMakeDetermineCSharpCompiler.cmake @@ -0,0 +1,85 @@ +# copyright (c) 2007, 2009 Arno Rehn arno@arnorehn.de +# copyright (c) 2008 Helio castro helio@kde.org +# +# Redistribution and use is allowed according to the terms of the GPL license. + +# determine the compiler to use for C# programs +# NOTE, a generator may set CMAKE_CSharp_COMPILER before +# loading this file to force a compiler. + +if(NOT CMAKE_CSharp_COMPILER) + # prefer the environment variable CSC + if($ENV{CSC} MATCHES ".+") + if (EXISTS $ENV{CSC}) + message(STATUS "Found compiler set in environment variable CSC: $ENV{CSC}.") + set(CMAKE_CSharp_COMPILER $ENV{CSC}) + else (EXISTS $ENV{CSC}) + message(SEND_ERROR "Could not find compiler set in environment variable CSC:\n$ENV{CSC}.") + endif (EXISTS $ENV{CSC}) + endif($ENV{CSC} MATCHES ".+") + + # if no compiler has been specified yet, then look for one + if (NOT CMAKE_CSharp_COMPILER) + find_package(Mono) + set (CMAKE_CSharp_COMPILER "${GMCS_EXECUTABLE}") + + # still not found, try csc.exe + if (NOT CMAKE_CSharp_COMPILER) + get_filename_component(dotnet_path "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework;InstallRoot]" PATH) + find_program(CMAKE_CSharp_COMPILER NAMES csc PATHS "${dotnet_path}/Framework/v2.0.50727") + file(TO_NATIVE_PATH "${dotnet_path}/Framework/v2.0.50727" native_path) + message(STATUS "Looking for csc: ${CMAKE_CSharp_COMPILER}") + + # give up + if (NOT CMAKE_CSharp_COMPILER) + message (STATUS "Couldn't find a valid C# compiler. Set either CMake_CSharp_COMPILER or the CSC environment variable to a valid path.") + endif (NOT CMAKE_CSharp_COMPILER) + endif (NOT CMAKE_CSharp_COMPILER) + endif (NOT CMAKE_CSharp_COMPILER) + +endif(NOT CMAKE_CSharp_COMPILER) + +# now try to find the gac location +if (CMAKE_CSharp_COMPILER AND NOT GAC_DIR AND MONO_FOUND) + find_package(PkgConfig) + + if (PKG_CONFIG_FOUND) + pkg_search_module(MONO_CECIL mono-cecil) + if(MONO_CECIL_FOUND) + execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} mono-cecil --variable=assemblies_dir OUTPUT_VARIABLE GAC_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) + endif(MONO_CECIL_FOUND) + + pkg_search_module(CECIL cecil) + if(CECIL_FOUND) + execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} cecil --variable=assemblies_dir OUTPUT_VARIABLE GAC_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) + endif(CECIL_FOUND) + + if (NOT GAC_DIR) + execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} mono --variable=libdir OUTPUT_VARIABLE MONO_LIB_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) + if (MONO_LIB_DIR) + set (GAC_DIR "${MONO_LIB_DIR}/mono") + message (STATUS "Could not find cecil, guessing GAC dir from mono prefix: ${GAC_DIR}") + endif (MONO_LIB_DIR) + endif (NOT GAC_DIR) + endif (PKG_CONFIG_FOUND) + + if (NOT GAC_DIR) + set (GAC_DIR "/usr/lib/mono") + message(STATUS "Could not find cecil or mono. Using default GAC dir: ${GAC_DIR}") + endif (NOT GAC_DIR) +endif (CMAKE_CSharp_COMPILER AND NOT GAC_DIR AND MONO_FOUND) + +# Create a cache entry so the user can modify this. +set(GAC_DIR "${GAC_DIR}" CACHE PATH "Location of the GAC") +message(STATUS "Using GAC dir: ${GAC_DIR}") + +mark_as_advanced(CMAKE_CSharp_COMPILER) + +if (CMAKE_CSharp_COMPILER) + set (CMAKE_CSharp_COMPILER_LOADED 1) +endif (CMAKE_CSharp_COMPILER) + +# configure variables set in this file for fast reload later on +configure_file(${CMAKE_SOURCE_DIR}/cmake/modules/CMakeCSharpCompiler.cmake.in + ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeCSharpCompiler.cmake IMMEDIATE @ONLY) +set(CMAKE_CSharp_COMPILER_ENV_VAR "CSC") diff --git a/CASA/cmake/modules/CMakeTestCSharpCompiler.cmake b/CASA/cmake/modules/CMakeTestCSharpCompiler.cmake new file mode 100644 index 00000000..63f51272 --- /dev/null +++ b/CASA/cmake/modules/CMakeTestCSharpCompiler.cmake @@ -0,0 +1 @@ +SET(CMAKE_CSharp_COMPILER_WORKS 1 CACHE INTERNAL "") diff --git a/CASA/cmake/modules/FindJavaExtended.cmake b/CASA/cmake/modules/FindJavaExtended.cmake new file mode 100644 index 00000000..98f4d30c --- /dev/null +++ b/CASA/cmake/modules/FindJavaExtended.cmake @@ -0,0 +1,41 @@ +# - Find Java Header Compiler +# This module finds if Java is installed and determines where the +# include files and libraries are. This code sets the following +# variables: +# +# JAVA_HEADER_COMPILE = the full path to the Java Header compiler +# + +# Call cmake default version +FIND_PACKAGE( Java ) + +SET(JAVA_BIN_PATH + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\2.0;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.9;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.8;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.7;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.6;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.5;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" + $ENV{JAVA_HOME}/bin + /usr/bin + /usr/lib/java/bin + /usr/share/java/bin + /usr/local/bin + /usr/local/java/bin + /usr/local/java/share/bin + /usr/java/j2sdk1.4.2_04 + /usr/lib/j2sdk1.4-sun/bin + /usr/java/j2sdk1.4.2_09/bin + /usr/lib/j2sdk1.5-sun/bin + /opt/sun-jdk-1.5.0.04/bin + ) +FIND_PROGRAM(JAVA_HEADER_COMPILE + NAMES javah + PATHS ${JAVA_BIN_PATH} +) + +MARK_AS_ADVANCED( +JAVA_HEADER_COMPILE +) diff --git a/CASA/cmake/modules/FindMono.cmake b/CASA/cmake/modules/FindMono.cmake new file mode 100644 index 00000000..7a87c091 --- /dev/null +++ b/CASA/cmake/modules/FindMono.cmake @@ -0,0 +1,36 @@ +# - Try to find the mono, mcs, gmcs and gacutil +# +# defines +# +# MONO_FOUND - system has mono, mcs, gmcs and gacutil +# MONO_PATH - where to find 'mono' +# GMCS_PATH - where to find 'gmcs' +# GACUTIL_PATH - where to find 'gacutil' +# +# copyright (c) 2007 Arno Rehn arno@arnorehn.de +# +# Redistribution and use is allowed according to the terms of the GPL license. + +FIND_PROGRAM (MONO_EXECUTABLE mono) +FIND_PROGRAM (GMCS_EXECUTABLE gmcs) +FIND_PROGRAM (GACUTIL_EXECUTABLE gacutil) + +SET (MONO_FOUND FALSE CACHE INTERNAL "") + +IF (MONO_EXECUTABLE AND GMCS_EXECUTABLE AND GACUTIL_EXECUTABLE) + SET (MONO_FOUND TRUE CACHE INTERNAL "") +ENDIF (MONO_EXECUTABLE AND GMCS_EXECUTABLE AND GACUTIL_EXECUTABLE) + +IF (NOT Mono_FIND_QUIETLY) + MESSAGE(STATUS "Path of mono: ${MONO_EXECUTABLE}") + MESSAGE(STATUS "Path of gmcs: ${GMCS_EXECUTABLE}") + MESSAGE(STATUS "Path of gacutil: ${GACUTIL_EXECUTABLE}") +ENDIF (NOT Mono_FIND_QUIETLY) + +IF (NOT MONO_FOUND) + IF (Mono_FIND_REQUIRED) + MESSAGE(FATAL_ERROR "Could not find one or more of the following programs: mono, gmcs, gacutil") + ENDIF (Mono_FIND_REQUIRED) +ENDIF (NOT MONO_FOUND) + +MARK_AS_ADVANCED(MONO_EXECUTABLE GMCS_EXECUTABLE GACUTIL_EXECUTABLE) diff --git a/CASA/cmake/modules/FindPAM.cmake b/CASA/cmake/modules/FindPAM.cmake new file mode 100644 index 00000000..34998365 --- /dev/null +++ b/CASA/cmake/modules/FindPAM.cmake @@ -0,0 +1,74 @@ +# - Try to find the PAM libraries +# Once done this will define +# +# PAM_FOUND - system has pam +# PAM_INCLUDE_DIR - the pam include directory +# PAM_LIBRARIES - libpam library + +if (PAM_INCLUDE_DIR AND PAM_LIBRARY) + # Already in cache, be silent + set(PAM_FIND_QUIETLY TRUE) +endif (PAM_INCLUDE_DIR AND PAM_LIBRARY) + +find_path(PAM_INCLUDE_DIR NAMES security/pam_appl.h pam/pam_appl.h) +find_library(PAM_LIBRARY pam) +find_library(DL_LIBRARY dl) + +if (PAM_INCLUDE_DIR AND PAM_LIBRARY) + set(PAM_FOUND TRUE) + if (DL_LIBRARY) + set(PAM_LIBRARIES ${PAM_LIBRARY} ${DL_LIBRARY}) + else (DL_LIBRARY) + set(PAM_LIBRARIES ${PAM_LIBRARY}) + endif (DL_LIBRARY) + + if (EXISTS ${PAM_INCLUDE_DIR}/pam/pam_appl.h) + # darwin claims to be something special + set(HAVE_PAM_PAM_APPL_H 1) + endif (EXISTS ${PAM_INCLUDE_DIR}/pam/pam_appl.h) + + if (NOT DEFINED PAM_MESSAGE_CONST) + include(CheckCXXSourceCompiles) + # XXX does this work with plain c? + check_cxx_source_compiles(" +#if ${HAVE_PAM_PAM_APPL_H}+0 +# include +#else +# include +#endif + +static int PAM_conv( + int num_msg, + const struct pam_message **msg, /* this is the culprit */ + struct pam_response **resp, + void *ctx) +{ + return 0; +} + +int main(void) +{ + struct pam_conv PAM_conversation = { + &PAM_conv, /* this bombs out if the above does not match */ + 0 + }; + + return 0; +} +" PAM_MESSAGE_CONST) + endif (NOT DEFINED PAM_MESSAGE_CONST) + set(PAM_MESSAGE_CONST ${PAM_MESSAGE_CONST} CACHE BOOL "PAM expects a conversation function with const pam_message") + +endif (PAM_INCLUDE_DIR AND PAM_LIBRARY) + +if (PAM_FOUND) + if (NOT PAM_FIND_QUIETLY) + message(STATUS "Found PAM: ${PAM_LIBRARIES}") + endif (NOT PAM_FIND_QUIETLY) +else (PAM_FOUND) + if (PAM_FIND_REQUIRED) + message(FATAL_ERROR "PAM was not found") + endif(PAM_FIND_REQUIRED) +endif (PAM_FOUND) + +mark_as_advanced(PAM_INCLUDE_DIR PAM_LIBRARY DL_LIBRARY PAM_MESSAGE_CONST) diff --git a/CASA/cmake/modules/FindXmlTo.cmake b/CASA/cmake/modules/FindXmlTo.cmake new file mode 100644 index 00000000..8d041d75 --- /dev/null +++ b/CASA/cmake/modules/FindXmlTo.cmake @@ -0,0 +1,94 @@ +# - Convert XML docBook files to various formats +# This will convert XML docBook files to various formats like: +# man html txt dvi ps pdf +# macro XMLTO(outfiles infiles... MODES modes...) + +set ( XMLTO_FOUND false ) + +find_program ( XMLTO_EXECUTABLE + NAMES xmlto + DOC "path to the xmlto docbook xslt frontend" +) +mark_as_advanced ( XMLTO_EXECUTABLE ) + +if ( XMLTO_EXECUTABLE ) + set ( XMLTO_FOUND true ) +endif ( XMLTO_EXECUTABLE ) + +if ( NOT XMLTO_FIND_QUIETLY ) + if ( XMLTO_FIND_REQUIRED ) + MESSAGE(FATAL_ERROR "xmlto not found" ) + endif ( XMLTO_FIND_REQUIRED ) +endif ( NOT XMLTO_FIND_QUIETLY ) + +macro ( _XMLTO_FILE outfiles mode) + #special settings + set ( XMLTO_FILEEXT_man 1 ) + set ( XMLTO_MODE_html xhtml-nochunks ) + + if ( NOT XMLTO_MODE_${mode}) + set ( XMLTO_MODE_${mode} ${mode} ) + endif ( NOT XMLTO_MODE_${mode} ) + if ( NOT XMLTO_FILEEXT_${mode} ) + set ( XMLTO_FILEEXT_${mode} ${mode} ) + endif ( NOT XMLTO_FILEEXT_${mode} ) + + foreach ( dbFile ${ARGN} ) + if ( "${mode}" STREQUAL "man" ) + file ( READ "${dbFile}" _DB_FILE_CONTENTS ) + string ( REGEX MATCH "[^<]*" XMLTO_FILEEXT_${mode} "${_DB_FILE_CONTENTS}" ) + string ( REGEX REPLACE "^" "" XMLTO_FILEEXT_${mode} "${XMLTO_FILEEXT_${mode}}" ) + string ( REGEX REPLACE "[[:space:]]" "" XMLTO_FILEEXT_${mode} "${XMLTO_FILEEXT_${mode}}" ) + endif ( "${mode}" STREQUAL "man" ) + + get_filename_component ( dbFilePath ${CMAKE_CURRENT_BINARY_DIR}/${dbFile} PATH ) + get_filename_component ( dbFileWE ${dbFile} NAME_WE ) + get_filename_component ( dbFileAbsWE ${dbFilePath}/${dbFileWE} ABSOLUTE ) + + add_custom_command ( + OUTPUT ${dbFileAbsWE}.${XMLTO_FILEEXT_${mode}} + COMMAND ${XMLTO_EXECUTABLE} ${XMLTO_COMMAND_ARGS} -o ${CMAKE_CURRENT_BINARY_DIR} + ${XMLTO_MODE_${mode}} "${dbFile}" + MAIN_DEPENDENCY ${dbFile} + VERBATIM + ) + + list ( APPEND ${outfiles} + ${dbFileAbsWE}.${XMLTO_FILEEXT_${mode}} + ) + endforeach ( dbFile ) +endmacro ( _XMLTO_FILE outfiles ) + +macro ( XMLTO ) + set ( XMLTO_MODES ) + set ( XMLTO_FILES ) + set ( XMLTO_HAS_MODES false ) + set ( XMLTO_ADD_DEFAULT "" ) + foreach ( arg ${ARGN} ) + if ( ${arg} STREQUAL "MODES" ) + set ( XMLTO_HAS_MODES true ) + elseif ( ${arg} STREQUAL "ALL" ) + set ( XMLTO_ADD_DEFAULT ALL ) + else ( ${arg} STREQUAL "MODES" ) + if ( XMLTO_HAS_MODES ) + list ( APPEND XMLTO_MODES ${arg} ) + else ( XMLTO_HAS_MODES ) + list ( APPEND XMLTO_FILES ${arg} ) + endif ( XMLTO_HAS_MODES ) + endif ( ${arg} STREQUAL "MODES" ) + endforeach ( arg ${ARGN} ) + if ( NOT XMLTO_MODES ) + set ( XMLTO_MODES html ) + endif ( NOT XMLTO_MODES ) + + foreach ( mode ${XMLTO_MODES} ) + _xmlto_file ( XMLTO_FILES_${mode} ${mode} ${XMLTO_FILES} ) + add_custom_target ( ${mode} ${XMLTO_ADD_DEFAULT} + DEPENDS ${XMLTO_FILES_${mode}} + VERBATIM + ) + endforeach ( mode ) + + set ( XMLTO_MODES ) + set ( XMLTO_FILES ) +endmacro ( XMLTO ) diff --git a/CASA/cmake/modules/cmake_uninstall.cmake.in b/CASA/cmake/modules/cmake_uninstall.cmake.in new file mode 100644 index 00000000..36dd9ba8 --- /dev/null +++ b/CASA/cmake/modules/cmake_uninstall.cmake.in @@ -0,0 +1,22 @@ +IF(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") + MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR@/install_manifest.txt\"") +ENDIF(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") + +FILE(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) +STRING(REGEX REPLACE "\n" ";" files "${files}") +FOREACH(file ${files}) + MESSAGE(STATUS "Uninstalling \"${file}\"") + IF(EXISTS "${file}") + EXEC_PROGRAM( + "@CMAKE_COMMAND@" ARGS "-E remove \"${file}\"" + OUTPUT_VARIABLE rm_out + RETURN_VALUE rm_retval + ) + IF("${rm_retval}" STREQUAL 0) + ELSE("${rm_retval}" STREQUAL 0) + MESSAGE(FATAL_ERROR "Problem when removing \"${file}\"") + ENDIF("${rm_retval}" STREQUAL 0) + ELSE(EXISTS "${file}") + MESSAGE(STATUS "File \"${file}\" does not exist.") + ENDIF(EXISTS "${file}") +ENDFOREACH(file) diff --git a/CASA/common/Makefile.am b/CASA/common/Makefile.am deleted file mode 100644 index 7e9836f6..00000000 --- a/CASA/common/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -CFILES = - -EXTRA_DIST = $(CFILES) - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/common/linux/Makefile.am b/CASA/common/linux/Makefile.am deleted file mode 100644 index bd384d65..00000000 --- a/CASA/common/linux/Makefile.am +++ /dev/null @@ -1,114 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =sscs_ll -MODULE_EXT =o - -CFILES = ../sscs_ll.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I/opt/gnome/include/gnome-keyring-1/ -EXTRA_CFLAGS = -RESOURCES = -CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES) -LIBS = -lpthread -ldl -LDFLAGS = -Bsymbolic -shared -Wl,-soname=$(MODULE_NAME).$(MODULE_EXT) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - - - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): - @echo [======== Creating symlink $@ ========] - ln -f $(CFILES) $(CASAROOT)/micasadk - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/common/windows/Makefile.am b/CASA/common/windows/Makefile.am deleted file mode 100755 index bd384d65..00000000 --- a/CASA/common/windows/Makefile.am +++ /dev/null @@ -1,114 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =sscs_ll -MODULE_EXT =o - -CFILES = ../sscs_ll.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I/opt/gnome/include/gnome-keyring-1/ -EXTRA_CFLAGS = -RESOURCES = -CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES) -LIBS = -lpthread -ldl -LDFLAGS = -Bsymbolic -shared -Wl,-soname=$(MODULE_NAME).$(MODULE_EXT) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - - - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): - @echo [======== Creating symlink $@ ========] - ln -f $(CFILES) $(CASAROOT)/micasadk - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/config/nt/build b/CASA/config/nt/build deleted file mode 100644 index bb2ed9c6..00000000 --- a/CASA/config/nt/build +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Convert the batch files to dos format -cd $BUILD_LOCATION/$NAME~$VERSION/$NAME -find . -name "*.bat" | xargs unix2dos - -rsh $BUILD_CLIENT "cd /d c:\\ccm_wa\\security\\$NAME~$VERSION\\$NAME && config\\build.cmd" - -# Doesn't work because this project uses the P: drive... -#ssh $BUILD_CLIENT "cmd /c 'cd /d d:\\$VERSION\\$PROJECT_NAME~$VERSION\\$PROJECT_NAME && config\\build.cmd'" - diff --git a/CASA/config/nt/build.cmd b/CASA/config/nt/build.cmd deleted file mode 100644 index 1673210e..00000000 --- a/CASA/config/nt/build.cmd +++ /dev/null @@ -1,22 +0,0 @@ -@echo on - -setlocal - -rem Set some compiler specific options -set MSC=p:/Tools/msc7.00/Vc7/ -set WATCOM=p:/Tools/WCC/v11.0/ - -set TMP=%CCM_WORK_AREA% -call getpath.bat . -set CURRENT_DIR=%CWD% -cd .. -call %CURRENT_DIR%\getpath.bat . -set CCM_WORK_AREA=%CWD% -cd %CURRENT_DIR% - -rem add path to some dll files in the MS compiler -set PATH=%PATH%;.;%MSC%../Common7/IDE;%MSC%../SDK/v1.1/Bin/ - -c:\cygwin\bin\bash mk-cai-all - -endlocal diff --git a/CASA/config/unix/build b/CASA/config/unix/build deleted file mode 100644 index 8b54b74e..00000000 --- a/CASA/config/unix/build +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ "$PLATFORM" = "AIX" ]; then - NEW_PATH=/usr/local/bin:/usr/ccs/lib -fi - - -ssh $BUILD_CLIENT "cd ccm_wa/security/$NAME~$VERSION/$NAME; export PATH=.:$NEW_PATH:\$PATH; echo PATH=\$PATH; mk-cai-all;" - diff --git a/CASA/config/unix/clean b/CASA/config/unix/clean deleted file mode 100644 index e207839f..00000000 --- a/CASA/config/unix/clean +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Script %name: clean % -# Instance: security_1 -# %version: 1 % -# Description: -# %created_by: nds_cm % -# %date_created: Fri Apr 01 16:29:28 2005 % - - diff --git a/CASA/configure.in b/CASA/configure.in deleted file mode 100644 index c71cae1e..00000000 --- a/CASA/configure.in +++ /dev/null @@ -1,329 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -AC_INIT(include/micasa.h) -AC_CANONICAL_SYSTEM -AM_INIT_AUTOMAKE(CASA, 1.6.1137) -RELEASE=`date +%Y%m%d_%H%M` -AC_SUBST(RELEASE) -AM_MAINTAINER_MODE - -# -# Check for a valid C# compiler -# -#AC_CHECK_PROG(CSC, csc, csc) -#test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs) -#test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH]) - -# -# Check for valid C# compiler in linux -# -case $host_os in - cygwin*) - ;; - *) - AC_CHECK_PROG(CSC, csc, csc) - test -z "$CSC" && AC_CHECK_PROG(CSC, gmcs, gmcs) - test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH]) - - ;; -esac - -case $CSC in - # - # Mono-specific configuration - # - gmcs) - CSC_EXEFLAG=/target:exe - CSC_LIBFLAG=/target:library - CSC_EXEFLAG=/target:exe - CSC_WINEXEFLAG=/target:winexe - CSCFLAGS='/d:MONO /warn:4 /d:TRACE -d:LINUX' - CSCFLAGS_DEBUG="/debug+ /d:DEBUG" - CSCFLAGS_OPTIMIZE="/optimize+" - MONO=mono - MONO_DEBUG='mono --debug' - MONO_PATH= - SYSTEM_XML='System.Xml.dll' - ;; - # - # .NET-specific configuration - # - csc) - CSC_EXEFLAG=/target:exe - CSC_LIBFLAG=/target:library - CSC_EXEFLAG=/target:exe - CSC_WINEXEFLAG=/target:winexe - CSCFLAGS='/d:DOTNET /warn:4 /d:TRACE /nologo' - CSCFLAGS_DEBUG="/debug+ /d:DEBUG" - CSCFLAGS_OPTIMIZE="/optimize+" - MONO= - MONO_DEBUG= - MONO_PATH= - SYSTEM_XML='System.XML.dll' - ;; -esac - -AC_SUBST(CSC) -AC_SUBST(CSC_EXEFLAG) -AC_SUBST(CSC_LIBFLAG) -AC_SUBST(CSC_WINEXEFLAG) -AC_SUBST(CSCFLAGS) -AC_SUBST(CSCFLAGS_DEBUG) -AC_SUBST(MONO) -AC_SUBST(MONO_PATH) -AC_SUBST(SYSTEM_XML) - -SRCDIR='$(top_srcdir)' -DOCDIR="$SRCDIR/doc" -TOOLDIR='$(top_srcdir)/tools' -AC_SUBST(SRCDIR) -AC_SUBST(DOCDIR) -AC_SUBST(TOOLDIR) -EMPTY= -SPACE='$(EMPTY) $(EMPTY)' - -AC_SUBST(EMPTY) -AC_SUBST(SPACE) - -# -# Check for operating system and set TARGET_OS -# -case $host_os in - cygwin*) - TARGET_OS='windows' - ;; - *) - TARGET_OS='linux' - ;; -esac - -AC_SUBST(TARGET_OS) -AM_CONDITIONAL(LINUX, test "$TARGET_OS" = "linux") -AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows") - -# -# Check for architecture and set TARGET_ARCH -# ia64 needs to be treated as non64. - -case $target_cpu in - x86_64*|p*pc64|s390x) - LIB=lib64 - ;; - *ia64|*) - LIB=lib - ;; -esac - -#Check for architecture in cygwin -#check for PROCESSOR_IDENTIFIER for 64bit architecture -case $host_os in - cygwin*) -if test "`echo $PROCESSOR_IDENTIFIER | grep 64`"; then - LIB="lib64" -fi -;; -*) -;; -esac - -AC_SUBST(LIB) -AM_CONDITIONAL(LIB64, test "$LIB" = lib64) - -# -# -# Set platform-specific variables -# -case $TARGET_OS in - # - # Linux-specific configuration - # - linux) - # - # Set variables - # - COMMON_CLEAN_FILES='' - ICON_EXT='.ico' - ICON_FLAG='/resource:' - PLATFORM_SUBDIRS=$LINUX_SUBDIRS - SEP='/' - LINK=gcc - ;; - # - # Windows-specific configuration - # - windows) - COMMON_CLEAN_FILES='*.suo */*.suo *.csproj.user */*.csproj.user bin obj */bin */obj *.xml */*.xml *.pdb */*.pdb' - ICON_EXT='.ico' - ICON_FLAG='/win32icon:' - PLATFORM_SUBDIRS=$WINDOWS_SUBDIRS - SEP='$(EMPTY)\\$(EMPTY)' - LINK=link.exe - ;; -esac -AC_SUBST(COMMON_CLEAN_FILES) -AC_SUBST(ICON_EXT) -AC_SUBST(ICON_FLAG) -AC_SUBST(PLATFORM_SUBDIRS) -AC_SUBST(SEP) -AC_SUBST(LINK) - -# -# Run standard macros -# -AM_PROG_CC_STDC -AC_PROG_INSTALL -AC_HEADER_STDC - -####### -# -# set CFLAGS -# -case $host_os in - linux*) - CFLAGS="$CFLAGS" - ;; - cygwin*) - CC=cl.exe - CFLAGS="-D WIN32 -D SSCS_WIN32_PLAT_F -D N_PLAT_CLIENT -MT -Ox" - ;; -esac - -# -# Handle --enable-debug -# -AC_ARG_ENABLE(debug, [ - --enable-debug configure the Makefiles to build in DEBUG mode], - [case "${enableval}" in - yes) enable_debug=true ;; - no) enable_debug=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;; - esac],[enable_debug=false]) -AM_CONDITIONAL(DEBUG, test x$enable_debug = xtrue) -if test "$enable_debug" = "true" -then - # Build debug version. - # CFLAGS="$CFLAGS_DEBUG $CFLAGS -DDBG -DDEBUG" - CFLAGS="$CFLAGS_DEBUG $CFLAGS -g -DDBG -DDEBUG \ --fPIC -DPIC -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \ --D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \ --DUNIX -DLINUX -DIAPX38" - CSCFLAGS="$CSCFLAGS_DEBUG $CSCFLAGS" - CXXFLAGS="$CXXFLAGS_DEBUG $CXXFLAGS" - DEVENV_CONFIGURATION=Debug - MONO=$MONO_DEBUG -else - # Build optimized version. - CFLAGS="$CFLAGS_OPTIMIZE $CFLAGS -g -fPIC -DPIC \ --DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \ --D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \ --DUNIX -DLINUX -DIAPX38" - CSCFLAGS="$CSCFLAGS_OPTIMIZE $CSCFLAGS" - CXXFLAGS="$CXXFLAGS_OPTIMIZE $CXXFLAGS" - DEVENV_CONFIGURATION=Release -fi -AC_SUBST(CSCFLAGS) -AC_SUBST(DEVENV_CONFIGURATION) - -##comment out due to build failure -# Check for GCC version to add fstack-protector flag -# -#GCC_VER="`gcc -dumpversion`" -#case "$GCC_VER" in -# 3*) -# ;; -# 4*) -# CFLAGS="$CFLAGS -fstack-protector" -# ;; -# *) -# ;; -#esac -#AC_SUBST(GCC_VER) - -# Check for WIN PLATFORM by $PROCESSOR_IDENTIFIER -#case $host_os in -# cygwin*) -# WIN_VER="` echo $PROCESSOR_IDENTIFIER | cut -d ' ' -f1 `" -# WIN_VER=` echo $PROCESSOR_IDENTIFIER | cut -d " " -f1 |\[sed -e 's/[^0-9]*//'] | \[sed -e 's/[^0-9].*//']` -# ;; -# *) -# ;; -#esac -#AC_SUBST(WIN_VER) - - -# -# Configure PKG_CONFIG -# -AC_PATH_PROG(PKG_CONFIG, pkg-config, no) -if test "x$PKG_CONFIG" = "xno"; then - AC_MSG_ERROR([You need to install pkg-config]) -fi - -# -# Configure files -# -AC_OUTPUT([ -Makefile -micasacache/Makefile -micasacache/linux/Makefile -micasacache/windows/Makefile -common/Makefile -common/linux/Makefile -common/windows/Makefile -micasadk/Makefile -micasadk/linux/Makefile -micasadk/windows/Makefile -micasad/lib/Makefile -micasad/lib/common/Makefile -micasad/lib/communication/Makefile -micasad/startup/Makefile -sharp/Makefile -sharp/NSSCSWrapper/Makefile -micasad/Makefile -cli/Makefile -policy/Makefile -adlib/ad_kw/Makefile -adlib/ad_gk/native/Makefile -adlib/ad_gk/Makefile -adlib/ad_ff/native/Makefile -adlib/ad_ff/Makefile -adlib/Makefile -gui/Makefile -logincapture/Makefile -logincapture/linux/Makefile -logincapture/windows/Makefile -logincapture/linux/PAM/Makefile -logincapture/linux/PAM/linux/Makefile -jwrapper/Makefile -jwrapper/src/Makefile -jwrapper/jnsscs/Makefile -jwrapper/jnsscs/linux/Makefile -jwrapper/jnsscs/windows/Makefile -package/Makefile -package/linux/Makefile -package/windows/Makefile -package/windows/vs_solutions/Makefile -package/windows/vs_solutions/CASA32-msi/Makefile -package/windows/vs_solutions/CASA64-msi/Makefile -package/linux/CASA.spec -]) - diff --git a/CASA/dependencies/autobuild.tar.gz b/CASA/dependencies/autobuild.tar.gz deleted file mode 100644 index 21d44ab3..00000000 Binary files a/CASA/dependencies/autobuild.tar.gz and /dev/null differ diff --git a/CASA/dependencies/cygwin/ReadMe.1st b/CASA/dependencies/cygwin/ReadMe.1st deleted file mode 100644 index e8541d7e..00000000 --- a/CASA/dependencies/cygwin/ReadMe.1st +++ /dev/null @@ -1,143 +0,0 @@ - - -To provide full compatibility with all Unix flavors the project scripts were converted to use -cygwin Bourne shell product by Redhat Inc. instead of MKS. Mortis Kern Korn Shell is expensive -and requires a license per machine. Cygwin is available for download from www.cywin.com for -free. - -To install CYGWIN you have to use the Internet Explorer and go to "www.cygwin.com" and -install the Latest cygwin from the web ("http://www.cygwin.com/setup.exe"). Follow the -instruchtions and just accept all of the defaults and that should install cygwin in -c:\cygwin directory. - -Once the installation is complete -copy the "profile" shell script file from \dependencies\cygwin to your c:\cygwin\etc. - -To make the drive mappings match your project directory structure you would need to define -the following SYSTEM VARIABLES in your environment by right clicking on "My Computer" Icon on your desktop -and following order: -My Computer -> Properties -> Advanced -> Environment Variables -> New... - -OPTIONAL SHORT HAND PARAMETERS -============================== -The parameters DEVDRV_* below are short hand parameters for substituing the long directory -structure names in CCM. The build woks fine as long as you go to the root directory of your -project and run mk-ca-all or mk-cai-all or from the root change dir to shrc and use individual -build scripts for building the components. - -[/cygwin/c] cd dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src -[/cygwin/c/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src> mk-ca-all - -or - -[/cygwin/c] cd dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src -[/cygwin/c/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src] cd shsrc -[/cygwin/c/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src] mk-sss-dw clean all - - -To use the short hand drives and avoid having to -type long names to go the project root the following parameters in your environment should be -set to the root of the projects you have. You can use up to 5 drives by default. For more drives -you would need to edit the "/etc/profile" shell script and add more DEVDRV_* parameters to satisfy -your needs. If you have less than 5 drives just set as many parameters as you need. - -define the following parameters as it applies to your environment like the example below: -DEVDRV_I = c:/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src -DEVDRV_J = c:/dev/SecretStore_src~cameron3/SecretStore_src -DEVDRV_K = c:/dev/SecretStore_src~cameron2/SecretStore_src -DEVDRV_L = c:/dev/SecretStore_doc~cameron_ss20/SecretStore_doc -DEVDRV_M = c:/dev/SecretStore_doc~cameron/SecretStore_doc - - -After defining your project directory variables run cygwin shell and your drives will automatically -be mapped to your build environment. Then, from the root of the project or shsrc directory under the -root of the project "cygwin/j" or "cygwin/j/shsrc" run the script as it was explained above. Use the -build scripts to build components. - -The example above will become the following. -[/cygwin/j] mk-ca-all - -or - -cd c:/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src -[/cygwin/j] cd shsrc -[/cygwin/j] mk-sss-dw clean all - - -This shell also allows for ssh sessions to Unix and Linux servers for build and development -using our Unix build scripts. - - -LOOK AT THE LIST OF PROJECT VARIABLES BELOW - - -*********** NOTE ABOUT GNU DIRECTORY UNDER CYGWIN ********************* -SecretStore project uses GNU Make for building components. GNU Make is a component of -cygwin but it is not downloaded by default so we supply a copy of it here in the gnu direcotry -under cygwin. If so desired during installation you can add extra components such as GNU Make -to be downloaded with cygwin. This would require a download from web site and install from local -cygwin directory will only supply the default components of the Bourn Shell. - -cvpackz.exe is not a components of the cygwin product but it is required for -NetWare builds so it is supplied here. - -Paths to cvpackz.exe and GNU make.exe should be defined thru environment variables as described -in \make\tools.mak. - -(variable is GNU and by default it should be set to "j:/dependencies/cygwin/gnu/" assuming that -j:/ is the project root directory). - - -# -# Path to the Continuus configuration management tool (necessary for build -# manager builds only). -# example: CONTINUUS=c:/ccm51/bin/ -# -CONTINUUS - -# -# Path to the configuration management build area (necessary for build -# manager builds only). Defaults to build manager's machine. -# example: CCM_WORK_AREA=c:/SecretStore_main~PREP/SecretStore_main/ -# -CCM_WORK_AREA - -# -# Path to the tools directory where WATCOM and MSVC compilers -# are installed. -# example: TOOLS=c:/tools/ -# -TOOLS - -# -# Path to the open source gnu make utility and cvpackz. -# example: GNU=j:/dependencies/cygwin/gnu/ -# -GNU - -# -# Path to Microsoft's Visual C++ compiler main directory. -# example: MSC=$(TOOLS)msc6.00/vc/ -# -MSC - -# -# Path to Microsoft's Visual Studio common components directory. On the -# network (hence, on many developer's machines) this has been copied to -# the same location as the Visual C++ executables. However, Microsoft's -# installation puts it in the Visual Studio common components directory -# structure. Either way you installed it, it should still work. -# example: MSVS = $(MSC) -# -MSVS - - -# -# Path to Watcom's C/C++ compiler for building NLMs. -# example: WATCOM=$(TOOLS)wcc/v11.0a/ -# -WATCOM - - -Updated by: Cameron Mashayekhi -On: 1/28/2002 \ No newline at end of file diff --git a/CASA/dependencies/cygwin/gnu/Cvpackz.exe b/CASA/dependencies/cygwin/gnu/Cvpackz.exe deleted file mode 100644 index 72129115..00000000 Binary files a/CASA/dependencies/cygwin/gnu/Cvpackz.exe and /dev/null differ diff --git a/CASA/dependencies/cygwin/gnu/Readme.txt b/CASA/dependencies/cygwin/gnu/Readme.txt deleted file mode 100644 index 405fed7a..00000000 --- a/CASA/dependencies/cygwin/gnu/Readme.txt +++ /dev/null @@ -1,6 +0,0 @@ - -cvpackz.exe and gnumake.exe are not components of the cygwin product but they are required for -NetWare and Windows builds. - -Paths to cvpackz.exe and gnumake.exe should be defined thru environment variables as described -in \make\tools.mak. \ No newline at end of file diff --git a/CASA/dependencies/cygwin/gnu/make.exe b/CASA/dependencies/cygwin/gnu/make.exe deleted file mode 100644 index dd13a02b..00000000 Binary files a/CASA/dependencies/cygwin/gnu/make.exe and /dev/null differ diff --git a/CASA/dependencies/cygwin/profile b/CASA/dependencies/cygwin/profile deleted file mode 100644 index ccca4a14..00000000 --- a/CASA/dependencies/cygwin/profile +++ /dev/null @@ -1,71 +0,0 @@ - -PATH="/usr/local/bin:/usr/bin:/bin:$PATH" -USER="`id -un`" - -# The following is the standard idiom for processing ENVIRON in -# *interactive* shells only. -export ENV='${ENVIRON[(_$-=1)+(_=0)-(_$-!=_${-%%*i*})]}' - -# The following is a simple definition that will process ENVIRON in -# *all* shells. -export ENV="$ENVIRON" - -# Set up USER's home directory -if [ -z "$HOME" ]; then - HOME="/home/$USER" -fi - -if [ ! -d "$HOME" ]; then - mkdir -p "$HOME" -fi - -export HOME USER - -for i in /etc/profile.d/*.sh ; do - if [ -f $i ]; then - . $i - fi -done - -export MAKE_MODE=unix -export PS1='\[\033]0;\w\007 -\033[32m\]\u@\h \[\033[33m\w\033[0m\] -$ ' - -#cd "$HOME" - -# Automated form using the environment variables -# set the development paths in the original form and the script will -# automatically pick them up. -subst i: $DEVDRV_I> /dev/null 2>&1 -subst j: $DEVDRV_J> /dev/null 2>&1 -subst k: $DEVDRV_K> /dev/null 2>&1 -subst l: $DEVDRV_L> /dev/null 2>&1 -subst m: $DEVDRV_M> /dev/null 2>&1 - -# The original form -#subst k: c:/dev/SecretStore~security#IndiaRO/SecretStore/SecretStore_src> /dev/null 2>&1 -#subst j: c:/dev/SecretStore_src~cameron3/SecretStore_src> /dev/null 2>&1 -#subst i: c:/dev/SecretStore_src~cameron2/SecretStore_src> /dev/null 2>&1 -#subst l: c:/dev/SecretStore_doc~cameron_ss20/SecretStore_doc> /dev/null 2>&1 -#subst m: c:/dev/SecretStore_doc~cameron/SecretStore_doc> /dev/null 2>&1 - - -test -f ./.bashrc && . ./.bashrc - -alias a:="cd a:" b:="cd b:" c:="cd c:" d:="cd d:" e:="cd e:" j:="cd j:" -alias md=mkdir rd=rmdir i:="cd i:" h:="cd h:" f:="cd f:" k:="cd k:" "n:=cd n:" -alias "o:=cd o:" -export SWITCHAR=${SWITCHAR:=/} # if not already defined -export COMSPEC="${COMSPEC:=$ComSpec}" -export TOOLS="c:/tools/" - -for arg in cls copy del dir erase move path ren type ver verify vol -do - alias $arg="'${COMSPEC}' ${SWITCHAR}c $arg" -done - -PS1='[$PWD] ' -set -o emacs -cd j: - diff --git a/CASA/dependencies/gnutools/sux/gstrip b/CASA/dependencies/gnutools/sux/gstrip deleted file mode 100644 index 61f75cdd..00000000 Binary files a/CASA/dependencies/gnutools/sux/gstrip and /dev/null differ diff --git a/CASA/gui/AssemblyInfo.cs b/CASA/gui/AssemblyInfo.cs index d07ac91c..c7d7ed1b 100644 --- a/CASA/gui/AssemblyInfo.cs +++ b/CASA/gui/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("CASAManager.exe")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("CASAManager.exe")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/gui/CASAManager.csproj b/CASA/gui/CASAManager.csproj deleted file mode 100644 index 848f3f97..00000000 --- a/CASA/gui/CASAManager.csproj +++ /dev/null @@ -1,247 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {A1A805D0-B400-4D11-A772-348CE13F1046} - Debug - AnyCPU - - - - - CASAManager - - - JScript - Grid - IE50 - false - WinExe - - - OnBuildSuccess - - - - - - - - - Debug\ - false - 285212672 - false - - - W32 - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - Release\ - false - 285212672 - false - - - W32 - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - atk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\atk-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - gdk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gdk-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - glade-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\glade-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - glib-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\glib-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - gnome-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gnome-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - gtk-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gtk-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - pango-sharp - F:\Program Files\Mono-2.0.1\lib\mono\gtk-sharp-2.0\pango-sharp.dll - hklm\dn\gtk-sharp-2.0 - - - System - - - System.Data - - - System.Drawing - - - System.Windows.Forms - - - System.XML - - - Novell.CASA.A-D - {25D49F34-F655-4CCF-93F1-449243AF7A32} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.Common - {57CD94A2-5B4A-40C3-8189-CB760FB78357} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.CASAPolicy - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.miCASAWrapper - {E21DD887-22F4-4935-9851-409715F663B0} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Form - - - - - - - - - - - - - - - - - - NoGTKSharpForm.cs - - - - - - - - - - diff --git a/CASA/gui/CASAManager.csproj.user b/CASA/gui/CASAManager.csproj.user deleted file mode 100644 index 46ad2714..00000000 --- a/CASA/gui/CASAManager.csproj.user +++ /dev/null @@ -1,57 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ProjectFiles - 0 - - - false - false - false - false - false - - - Project - -debug - - - - - - - - - true - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - \ No newline at end of file diff --git a/CASA/gui/CASAManager.sh b/CASA/gui/CASAManager.sh deleted file mode 100644 index 6785d397..00000000 --- a/CASA/gui/CASAManager.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -HOST_ARCH=`uname -a | grep -c x86_64` -if [ $HOST_ARCH -gt 0 ] -then ARCH_LIB=64 -else -ARCH_LIB= -fi - - -export MONO_PATH=/usr/lib$ARCH_LIB/ -mono /usr/bin/CASAManager.exe $1 $2 $3 $4 diff --git a/CASA/gui/CASAManager.sh.cmake b/CASA/gui/CASAManager.sh.cmake new file mode 100644 index 00000000..7c907490 --- /dev/null +++ b/CASA/gui/CASAManager.sh.cmake @@ -0,0 +1,3 @@ +#!/bin/sh +export MONO_PATH=@LIBEXEC_INSTALL_DIR@ +mono @LIBEXEC_INSTALL_DIR@/CASAManager.exe $1 $2 $3 $4 diff --git a/CASA/gui/CMakeLists.txt b/CASA/gui/CMakeLists.txt new file mode 100644 index 00000000..5a54464d --- /dev/null +++ b/CASA/gui/CMakeLists.txt @@ -0,0 +1,88 @@ +################################# +# Project +############## + +project(CASAManager) + +enable_language(CSharp) + +################################# +# Dependencies +############## + +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/CASAManager.sh.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/CASAManager" + IMMEDIATE @ONLY) + +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/Common.cs.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/Common.cs" + IMMEDIATE @ONLY) + + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + + +SET(SRC_CS AssemblyInfo.cs + CasaMain.cs + CasaTray.cs + CopySecret.cs + DbgFileChooser.cs + TrayLib.cs + ExportSecrets.cs + FileChooser.cs + ImportSecrets.cs + FindAndReplace.cs + Firefox.cs + GnomeKeyring.cs + KdeWallet.cs + Logger.cs + MiCasa.cs + Mozilla.cs + Store.cs + StoreDataInterface.cs + StorePolicyInterface.cs + CommonGUI.cs + ${CMAKE_CURRENT_BINARY_DIR}/Common.cs + PersistentPolicyDialog.cs + Config.cs) + +################################# +# Linking +############## + +SET(CS_FLAGS -r:${CMAKE_BINARY_DIR}/micasad/lib/Novell.CASA.Common.dll + -r:${CMAKE_BINARY_DIR}/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.dll + -r:${CMAKE_BINARY_DIR}/policy/Novell.CASA.CASAPolicy.dll + -r:${CMAKE_BINARY_DIR}/adlib/Novell.CASA.A-D.dll + ${GLADE-SHARP_LIBRARIES} -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -d:LINUX -nowarn:169) +#CSHARP_ADD_LIBRARY(CASAManager "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_EXECUTABLE(CASAManager "${SRC_CS}" REFERENCES Novell.CASA.Common Novell.CASA.miCASAWrapper Mono.Posix System.Security + Novell.CASA.CASAPolicy Novell.CASA.A-D COMPILE_FLAGS -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -d:LINUX -nowarn:169) +ADD_DEPENDENCIES(CASAManager Novell.CASA.Common Novell.CASA.miCASAWrapper Novell.CASA.CASAPolicy Novell.CASA.A-D) + +################################# +# Install Files +############## + +FILE(GLOB help_files "${CMAKE_CURRENT_SOURCE_DIR}/help/en/*") +INSTALL(FILES ${help_files} DESTINATION ${LIBEXEC_INSTALL_DIR}/help/en/) +FILE(GLOB images_files "${CMAKE_CURRENT_SOURCE_DIR}/images/*") +INSTALL(FILES ${images_files} DESTINATION ${LIBEXEC_INSTALL_DIR}/images/) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/CASAManager.exe.config DESTINATION ${LIBEXEC_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/CASAManager.exe DESTINATION ${LIBEXEC_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/CASAManager DESTINATION ${BIN_INSTALL_DIR}) diff --git a/CASA/gui/CasaTray.cs b/CASA/gui/CasaTray.cs index 3720c974..0237b749 100644 --- a/CASA/gui/CasaTray.cs +++ b/CASA/gui/CasaTray.cs @@ -42,13 +42,13 @@ namespace Novell.CASA.GUI public static System.Drawing.Icon m_iconNormal; public static System.Drawing.Icon m_iconLocked; - private System.Windows.Forms.ToolStripMenuItem cmOpen; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; - private System.Windows.Forms.ToolStripMenuItem cmLock; - private System.Windows.Forms.ToolStripMenuItem cmUnlock; - private System.Windows.Forms.ToolStripMenuItem cmDestroySecrets; + private System.Windows.Forms.ToolStripMenuItem cmOpen; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem cmLock; + private System.Windows.Forms.ToolStripMenuItem cmUnlock; + private System.Windows.Forms.ToolStripMenuItem cmDestroySecrets; private System.Windows.Forms.ToolStripMenuItem cmExit; #endif #if LINUX @@ -152,99 +152,99 @@ namespace Novell.CASA.GUI icon.ShowAll(); #endif - } - - -#if W32 - - private void ShowContextMenu() - { - - try - { - System.Windows.Forms.ContextMenuStrip cm = new System.Windows.Forms.ContextMenuStrip(); - notifyIcon.ContextMenuStrip = cm; - - toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - - cmOpen = new System.Windows.Forms.ToolStripMenuItem("Manage Secrets"); - cmLock = new System.Windows.Forms.ToolStripMenuItem("Lock Secrets"); - cmUnlock = new System.Windows.Forms.ToolStripMenuItem("Unlock Secrets"); - cmDestroySecrets = new System.Windows.Forms.ToolStripMenuItem("Destroy Secrets"); - cmExit = new System.Windows.Forms.ToolStripMenuItem("Exit"); - - cmOpen.Click += new EventHandler(cmOpen_Click); - cmLock.Click += new EventHandler(cmLock_Click); - cmUnlock.Click += new EventHandler(cmUnlock_Click); - cmDestroySecrets.Click += new EventHandler(cmDestroySecrets_Click); - cmExit.Click += new EventHandler(cmExit_Click); - - cmUnlock.Enabled = false; - - cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] - { - cmOpen, - toolStripSeparator1, - cmLock, - cmUnlock, - toolStripSeparator2, - cmDestroySecrets, - toolStripSeparator3, - cmExit}); - - cm.Name = "contextMenuStripNotify"; - cm.ShowImageMargin = false; - cm.Size = new System.Drawing.Size(143, 104); - - if (MiCASAStore.IsLocked()) - { - cmDestroySecrets.Enabled = false; - cmLock.Enabled = false; - cmUnlock.Enabled = true; - } - else - { - cmDestroySecrets.Enabled = true; - cmLock.Enabled = true; - cmUnlock.Enabled = false; - } - - - } - catch (Exception e) - { - Logger.DbgLog(e.ToString()); - } - - } - - void cmOpen_Click(object sender, EventArgs e) - { - menuLaunchGUI_Activated(null, null); - } - - void cmLock_Click(object sender, EventArgs e) - { - menuLockMiCasa_Activated(null, null); - } - - void cmUnlock_Click(object sender, EventArgs e) - { - menuLockMiCasa_Activated(null, null); - } - - void cmDestroySecrets_Click(object sender, EventArgs e) - { - menuDestroyMiCasa_Activated(null, null); - } - - void cmExit_Click(object sender, EventArgs e) - { - OnPopupClick(sender, e); - } - + } + + +#if W32 + + private void ShowContextMenu() + { + + try + { + System.Windows.Forms.ContextMenuStrip cm = new System.Windows.Forms.ContextMenuStrip(); + notifyIcon.ContextMenuStrip = cm; + + toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + + cmOpen = new System.Windows.Forms.ToolStripMenuItem("Manage Secrets"); + cmLock = new System.Windows.Forms.ToolStripMenuItem("Lock Secrets"); + cmUnlock = new System.Windows.Forms.ToolStripMenuItem("Unlock Secrets"); + cmDestroySecrets = new System.Windows.Forms.ToolStripMenuItem("Destroy Secrets"); + cmExit = new System.Windows.Forms.ToolStripMenuItem("Exit"); + + cmOpen.Click += new EventHandler(cmOpen_Click); + cmLock.Click += new EventHandler(cmLock_Click); + cmUnlock.Click += new EventHandler(cmUnlock_Click); + cmDestroySecrets.Click += new EventHandler(cmDestroySecrets_Click); + cmExit.Click += new EventHandler(cmExit_Click); + + cmUnlock.Enabled = false; + + cm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] + { + cmOpen, + toolStripSeparator1, + cmLock, + cmUnlock, + toolStripSeparator2, + cmDestroySecrets, + toolStripSeparator3, + cmExit}); + + cm.Name = "contextMenuStripNotify"; + cm.ShowImageMargin = false; + cm.Size = new System.Drawing.Size(143, 104); + + if (MiCASAStore.IsLocked()) + { + cmDestroySecrets.Enabled = false; + cmLock.Enabled = false; + cmUnlock.Enabled = true; + } + else + { + cmDestroySecrets.Enabled = true; + cmLock.Enabled = true; + cmUnlock.Enabled = false; + } + + + } + catch (Exception e) + { + Logger.DbgLog(e.ToString()); + } + + } + + void cmOpen_Click(object sender, EventArgs e) + { + menuLaunchGUI_Activated(null, null); + } + + void cmLock_Click(object sender, EventArgs e) + { + menuLockMiCasa_Activated(null, null); + } + + void cmUnlock_Click(object sender, EventArgs e) + { + menuLockMiCasa_Activated(null, null); + } + + void cmDestroySecrets_Click(object sender, EventArgs e) + { + menuDestroyMiCasa_Activated(null, null); + } + + void cmExit_Click(object sender, EventArgs e) + { + OnPopupClick(sender, e); + } + #else private void ShowContextMenu() @@ -336,10 +336,10 @@ namespace Novell.CASA.GUI ShowContextMenu(); } if (args.Event.Button == 1) - { + { if (m_config.GetConfigSetting(Common.CONFIG_DISPLAY_CASA_MANAGER, true)) menuLaunchGUI_Activated(null, null); - else + else menuLockMiCasa_Activated(null, null); } } @@ -353,11 +353,11 @@ namespace Novell.CASA.GUI Application.Quit(); // quits the application when the users clicks the popup menu } #if W32 - - private void notifyIcon_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) - { + + private void notifyIcon_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) + { if (e.Button == System.Windows.Forms.MouseButtons.Right) - ShowContextMenu(); + ShowContextMenu(); } #endif @@ -474,6 +474,6 @@ namespace Novell.CASA.GUI #endif Application.Quit(); - } + } } } diff --git a/CASA/gui/Common.cs b/CASA/gui/Common.cs.cmake similarity index 97% rename from CASA/gui/Common.cs rename to CASA/gui/Common.cs.cmake index b4b81282..e2f0f939 100644 --- a/CASA/gui/Common.cs +++ b/CASA/gui/Common.cs.cmake @@ -125,25 +125,25 @@ public class Common INDEX_NATIVEINFO_WALLETLASTACCESSEDTIME = 7; - public static string LINUX_HELP_PATH = "file:///usr/share/doc/packages/CASA/help/"; + public static string LINUX_HELP_PATH = "file://@LIBEXEC_INSTALL_DIR@/help/"; public static string WINDOWS_HELP_PATH = "..\\help\\"; #if W32 public static string IMAGE_PATH = "..\\images\\"; #else - public static string IMAGE_PATH = "/usr/share/doc/packages/CASA/images/"; + public static string IMAGE_PATH = "@LIBEXEC_INSTALL_DIR@/images/"; #endif ///############################################################## /// ARG CONSTANTS /// public const string ARG_NO_TRAY_ICON = "-notray"; - public const string ARG_DEBUG = "-debug"; - public const string ARG_MINIMIZE_ON_START = "-min"; - public const string ARG_HELP = "-help"; - - public static bool bArgShowTrayIcon = true; - public static bool bArgDebug = false; + public const string ARG_DEBUG = "-debug"; + public const string ARG_MINIMIZE_ON_START = "-min"; + public const string ARG_HELP = "-help"; + + public static bool bArgShowTrayIcon = true; + public static bool bArgDebug = false; public static bool bArgStartMinimized = false; // config settings @@ -162,7 +162,7 @@ public class Common public static string CASAICONS = "../images/CASAicons.ico"; #endif #if LINUX - public static string CASAICONS = "/usr/share/doc/packages/CASA/images/CASAicons.ico"; + public static string CASAICONS = "@LIBEXEC_INSTALL_DIR@/images/CASAicons.ico"; #endif ///############################################################## @@ -217,7 +217,7 @@ public class Common if ( (128 == platform) || (4 == platform) ) { IS_LINUX = true; - GladeFile = "/usr/share/doc/packages/CASA/images/casa.glade"; + GladeFile = "@LIBEXEC_INSTALL_DIR@/images/casa.glade"; if( !File.Exists(GladeFile) ) { @@ -335,40 +335,40 @@ public class Common return true; else return false; - } - - public static void ParseArgs(string[] args) - { - foreach (string arg in args) - { - - switch (arg) - { - case Common.ARG_NO_TRAY_ICON: - bArgShowTrayIcon = false; - break; - - case Common.ARG_DEBUG: - bArgDebug = true; - break; - - case Common.ARG_MINIMIZE_ON_START: - bArgStartMinimized = true; - break; - - case Common.ARG_HELP: - Console.WriteLine("Usage options"); - Console.WriteLine(Common.ARG_NO_TRAY_ICON + " do not show tray icon"); - Console.WriteLine(Common.ARG_MINIMIZE_ON_START + " start minimized"); - Console.WriteLine(Common.ARG_HELP + " show help options"); - Application.Quit(); - break; - - //default: - Console.WriteLine("Unsupported argument {0}", arg); - - } - } + } + + public static void ParseArgs(string[] args) + { + foreach (string arg in args) + { + + switch (arg) + { + case Common.ARG_NO_TRAY_ICON: + bArgShowTrayIcon = false; + break; + + case Common.ARG_DEBUG: + bArgDebug = true; + break; + + case Common.ARG_MINIMIZE_ON_START: + bArgStartMinimized = true; + break; + + case Common.ARG_HELP: + Console.WriteLine("Usage options"); + Console.WriteLine(Common.ARG_NO_TRAY_ICON + " do not show tray icon"); + Console.WriteLine(Common.ARG_MINIMIZE_ON_START + " start minimized"); + Console.WriteLine(Common.ARG_HELP + " show help options"); + Application.Quit(); + break; + + //default: + Console.WriteLine("Unsupported argument {0}", arg); + + } + } } private static string GetLocale() @@ -466,14 +466,14 @@ public class Common } internal static string GetUserName() - { - if (Common.IS_LINUX) - { - return Environment.GetEnvironmentVariable("USER"); - } - else - { - return Environment.GetEnvironmentVariable("USERNAME"); + { + if (Common.IS_LINUX) + { + return Environment.GetEnvironmentVariable("USER"); + } + else + { + return Environment.GetEnvironmentVariable("USERNAME"); } } diff --git a/CASA/gui/CommonGUI.cs b/CASA/gui/CommonGUI.cs index bb069be7..d351114a 100644 --- a/CASA/gui/CommonGUI.cs +++ b/CASA/gui/CommonGUI.cs @@ -20,7 +20,7 @@ * ***********************************************************************/ -using System; +using System; using System.Threading; using Gtk; @@ -41,9 +41,9 @@ namespace Novell.CASA.GUI public class CommonGUI { - public static string HINT_DIR = "Export Directory"; + public static string HINT_DIR = "Export Directory"; public static string HINT_FILENAME = "Export Filename"; - public static string REMEMBER_SETTING = "Remember_Master_Password_Time"; + public static string REMEMBER_SETTING = "Remember_Master_Password_Time"; private static string CASA_REG_KEY = "SOFTWARE\\Novell\\CASA"; [Glade.Widget] @@ -90,20 +90,20 @@ namespace Novell.CASA.GUI gxmlTemp.Autoconnect (this); - dialogLogin.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); - if (CommonGUI.UseMasterPassword()) - { - dialogLogin.Title = "CASA - Master Password"; - label85.Markup = "Master Password Authentication"; - label86.Text = "Enter your Master Password to unlock your secrets."; - label87.Text = "Master Password:"; - } - else - { - dialogLogin.Title = "CASA - Desktop Password"; - label85.Markup = "Password Authentication"; - label86.Text = "Enter your Desktop Password to unlock your secrets."; - label87.Text = "Desktop Password:"; + dialogLogin.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); + if (CommonGUI.UseMasterPassword()) + { + dialogLogin.Title = "CASA - Master Password"; + label85.Markup = "Master Password Authentication"; + label86.Text = "Enter your Master Password to unlock your secrets."; + label87.Text = "Master Password:"; + } + else + { + dialogLogin.Title = "CASA - Desktop Password"; + label85.Markup = "Password Authentication"; + label86.Text = "Enter your Desktop Password to unlock your secrets."; + label87.Text = "Desktop Password:"; } entryMasterPassword3.Text=""; @@ -167,64 +167,64 @@ namespace Novell.CASA.GUI } public void okbuttonLogin_clicked(object abj, EventArgs args) - { - if (CommonGUI.UseMasterPassword()) - { - if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) - { - // unlock it - MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text); - m_bPasswordVerified = true; - dialogLogin.Destroy(); - - //signal now - m_bIsVerifing = false; - - } - else - { - // prompt user - MessageDialog md = new MessageDialog( - mainWindow, Gtk.DialogFlags.Modal, - Gtk.MessageType.Warning, - Gtk.ButtonsType.Ok, - "Master Password entered is incorrect"); - - md.Response += new ResponseHandler(md_Response2); - md.SetPosition(Gtk.WindowPosition.CenterOnParent); - md.Modal = true; - md.SetIconFromFile(Common.CASAICONS); - md.Show(); - } - } - else - { - - if (Novell.CASA.miCASA.ValidateDesktopPwd(entryMasterPassword3.Text)) - { - MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text); - m_bPasswordVerified = true; - dialogLogin.Destroy(); - - //signal now - m_bIsVerifing = false; - - } - else - { - // prompt user - MessageDialog md = new MessageDialog( - mainWindow, Gtk.DialogFlags.Modal, - Gtk.MessageType.Warning, - Gtk.ButtonsType.Ok, - "Password entered is incorrect"); - - md.Response += new ResponseHandler(md_Response2); - md.SetPosition(Gtk.WindowPosition.CenterOnParent); - md.Modal = true; - md.SetIconFromFile(Common.CASAICONS); - md.Show(); - } + { + if (CommonGUI.UseMasterPassword()) + { + if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) + { + // unlock it + MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text); + m_bPasswordVerified = true; + dialogLogin.Destroy(); + + //signal now + m_bIsVerifing = false; + + } + else + { + // prompt user + MessageDialog md = new MessageDialog( + mainWindow, Gtk.DialogFlags.Modal, + Gtk.MessageType.Warning, + Gtk.ButtonsType.Ok, + "Master Password entered is incorrect"); + + md.Response += new ResponseHandler(md_Response2); + md.SetPosition(Gtk.WindowPosition.CenterOnParent); + md.Modal = true; + md.SetIconFromFile(Common.CASAICONS); + md.Show(); + } + } + else + { + + if (Novell.CASA.miCASA.ValidateDesktopPwd(entryMasterPassword3.Text)) + { + MiCasaRequestReply.Send(MiCasaRequestReply.VERB_UNLOCK_STORE, entryMasterPassword3.Text); + m_bPasswordVerified = true; + dialogLogin.Destroy(); + + //signal now + m_bIsVerifing = false; + + } + else + { + // prompt user + MessageDialog md = new MessageDialog( + mainWindow, Gtk.DialogFlags.Modal, + Gtk.MessageType.Warning, + Gtk.ButtonsType.Ok, + "Password entered is incorrect"); + + md.Response += new ResponseHandler(md_Response2); + md.SetPosition(Gtk.WindowPosition.CenterOnParent); + md.Modal = true; + md.SetIconFromFile(Common.CASAICONS); + md.Show(); + } } } @@ -270,8 +270,8 @@ namespace Novell.CASA.GUI mTrayInstance.UpdateTrayIcon(true); else mTrayInstance.UpdateTrayIcon(false); - } - + } + m_bIsVerifing = false; } @@ -289,52 +289,52 @@ namespace Novell.CASA.GUI #if GTK2x - public static string FileChooser(FileChooserAction action, String sWindowTitle, String sCurrentFolder, String sHintFileName) - { - FileChooserDialog chooser = new FileChooserDialog (sWindowTitle, - null, - action); - - if (sCurrentFolder != null) - chooser.SetCurrentFolder(sCurrentFolder); - - if (sHintFileName != null) - chooser.SetFilename(sCurrentFolder+sHintFileName); - - - // set location - chooser.SetPosition(Gtk.WindowPosition.CenterAlways); - chooser.AddButton (Stock.Cancel, ResponseType.Cancel); - - if (action == FileChooserAction.Open) - chooser.AddButton (Stock.Open, ResponseType.Ok); - else - chooser.AddButton(Stock.Save, ResponseType.Ok); - - int response = chooser.Run (); - - string ret = null; - if ((ResponseType) response == ResponseType.Ok) - { - ret = chooser.Uri; - } - -/* - // if the action is SAVE, and the file that is choosen exists, prompt the user for overwrite - if (action == FileChooserAction.Save) - { - string sFilename = ret.Substring(8); - if (System.IO.File.Exists(sFilename)) - { - // prompt user for overwrite - - - - } - } -*/ - chooser.Destroy(); - return ret; + public static string FileChooser(FileChooserAction action, String sWindowTitle, String sCurrentFolder, String sHintFileName) + { + FileChooserDialog chooser = new FileChooserDialog (sWindowTitle, + null, + action); + + if (sCurrentFolder != null) + chooser.SetCurrentFolder(sCurrentFolder); + + if (sHintFileName != null) + chooser.SetFilename(sCurrentFolder+sHintFileName); + + + // set location + chooser.SetPosition(Gtk.WindowPosition.CenterAlways); + chooser.AddButton (Stock.Cancel, ResponseType.Cancel); + + if (action == FileChooserAction.Open) + chooser.AddButton (Stock.Open, ResponseType.Ok); + else + chooser.AddButton(Stock.Save, ResponseType.Ok); + + int response = chooser.Run (); + + string ret = null; + if ((ResponseType) response == ResponseType.Ok) + { + ret = chooser.Uri; + } + +/* + // if the action is SAVE, and the file that is choosen exists, prompt the user for overwrite + if (action == FileChooserAction.Save) + { + string sFilename = ret.Substring(8); + if (System.IO.File.Exists(sFilename)) + { + // prompt user for overwrite + + + + } + } +*/ + chooser.Destroy(); + return ret; } #endif /// @@ -346,41 +346,41 @@ namespace Novell.CASA.GUI private bool m_bIsVerifing = true; public bool VerifyMasterPasswordWithUser() - { - if (UseMasterPassword()) - { - //Logger.DbgLog("GUI:CasaMain.Login() - IsMasterPasswordSet returned false"); -#if W32 - Glade.XML gxmlTemp = new Glade.XML("../images/casa.glade", "dialogLogin", null); -#endif + { + if (UseMasterPassword()) + { + //Logger.DbgLog("GUI:CasaMain.Login() - IsMasterPasswordSet returned false"); +#if W32 + Glade.XML gxmlTemp = new Glade.XML("../images/casa.glade", "dialogLogin", null); +#endif #if LINUX Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogLogin", null); -#endif - - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); ; - - label86.Text = "Enter your Master Password to continue."; - entryMasterPassword3.Text = ""; - label88.Hide(); - entryMasterPassword4.Hide(); - //dialogLogin.SetPosition(Gtk.WindowPosition.Center); - dialogLogin.Destroyed += new EventHandler(dialogLogin_Destroyed); - dialogLogin.Modal = true; - dialogLogin.Show(); - - while (m_bIsVerifing) - { - // Flush pending events to keep the GUI reponsive - while (Gtk.Application.EventsPending()) - Gtk.Application.RunIteration(); - Thread.Sleep(100); - } - return m_bPasswordVerified; - } - else - { - return true; +#endif + + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); ; + + label86.Text = "Enter your Master Password to continue."; + entryMasterPassword3.Text = ""; + label88.Hide(); + entryMasterPassword4.Hide(); + //dialogLogin.SetPosition(Gtk.WindowPosition.Center); + dialogLogin.Destroyed += new EventHandler(dialogLogin_Destroyed); + dialogLogin.Modal = true; + dialogLogin.Show(); + + while (m_bIsVerifing) + { + // Flush pending events to keep the GUI reponsive + while (Gtk.Application.EventsPending()) + Gtk.Application.RunIteration(); + Thread.Sleep(100); + } + return m_bPasswordVerified; + } + else + { + return true; } } @@ -405,62 +405,62 @@ namespace Novell.CASA.GUI { md.Destroy(); } - } - - internal static bool UseMasterPassword() - { - string sSettingValue; - sSettingValue = GetGlobalConfSetting("UseMasterPassword", "false"); - if (sSettingValue.Equals("true")) - { - return true; - } - else - { - return false; - } - } - - internal static string GetGlobalConfSetting(string sSettingName, string sDefaultValue) - { - string sSettingValue = null; - - if (sSettingName != null) - { - sSettingValue = (string)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_GLOBAL_SETTING, null, null, null, sSettingName); - } - - if ((sSettingValue == null) && (sDefaultValue != null)) - { - sSettingValue = sDefaultValue; - } - - return sSettingValue; + } + + internal static bool UseMasterPassword() + { + string sSettingValue; + sSettingValue = GetGlobalConfSetting("UseMasterPassword", "false"); + if (sSettingValue.Equals("true")) + { + return true; + } + else + { + return false; + } + } + + internal static string GetGlobalConfSetting(string sSettingName, string sDefaultValue) + { + string sSettingValue = null; + + if (sSettingName != null) + { + sSettingValue = (string)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_GLOBAL_SETTING, null, null, null, sSettingName); + } + + if ((sSettingValue == null) && (sDefaultValue != null)) + { + sSettingValue = sDefaultValue; + } + + return sSettingValue; } -#if W32 - - private static bool IsRegKeySet(string sPath, string sValue) - { - Microsoft.Win32.RegistryKey key; - - try - { - key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(sPath); - string sTemp = (string)key.GetValue(sValue); - key.Close(); - - if (sTemp.Equals("true")) - { - return true; - } - } - catch (Exception e) - { - - } - return false; +#if W32 + + private static bool IsRegKeySet(string sPath, string sValue) + { + Microsoft.Win32.RegistryKey key; + + try + { + key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(sPath); + string sTemp = (string)key.GetValue(sValue); + key.Close(); + + if (sTemp.Equals("true")) + { + return true; + } + } + catch (Exception e) + { + + } + return false; } public static bool IsGTKSharpInstalled() diff --git a/CASA/gui/Config.cs b/CASA/gui/Config.cs index f680880d..3361f49b 100644 --- a/CASA/gui/Config.cs +++ b/CASA/gui/Config.cs @@ -1,76 +1,76 @@ -using System; -using Novell.CASA.CASAPolicy; - -namespace Novell.CASA.GUI -{ - /// - /// Summary description for Config. - /// - public class Config - { - private UIPol uiPolicy = null; - public Config() - { - if (uiPolicy == null) - { - uiPolicy = (UIPol)ICASAPol.GetPolicy(CASAPolType.UI_POL); - } - - // if there is no uiPolicy, create one - if (uiPolicy == null) - { - uiPolicy = new UIPol(false, false, false, "", null); - ICASAPol.SetPolicy(uiPolicy); - } - } - - public void SetConfigSetting(string sName, bool bValue) - { - if (bValue) - SetConfigSetting(sName, "1"); - else - SetConfigSetting(sName, "0"); - } - - public void SetConfigSetting(string sName, string sValue) - { - uiPolicy.SetConfigSetting(sName, sValue); - } - - - public bool GetConfigSetting(string sName, bool bDefaultValue) - { - string sDefault = "0"; - if (bDefaultValue) - sDefault = "1"; - - string sValue = GetConfigSetting(sName, sDefault); - { - if (sValue != null) - { - if (sValue.Equals("1")) - return true; - else - return false; - } - else - return bDefaultValue; - } - } - - public string GetConfigSetting(string sName, string sDefaultValue) - { - string sValue = uiPolicy.GetConfigSetting(sName); - if (sValue == null) - return sDefaultValue; - else - return sValue; - } - - // used to write current configsettings to disk. - public void WriteConfig() - { - uiPolicy.WriteConfig(); - } - } -} +using System; +using Novell.CASA.CASAPolicy; + +namespace Novell.CASA.GUI +{ + /// + /// Summary description for Config. + /// + public class Config + { + private UIPol uiPolicy = null; + public Config() + { + if (uiPolicy == null) + { + uiPolicy = (UIPol)ICASAPol.GetPolicy(CASAPolType.UI_POL); + } + + // if there is no uiPolicy, create one + if (uiPolicy == null) + { + uiPolicy = new UIPol(false, false, false, "", null); + ICASAPol.SetPolicy(uiPolicy); + } + } + + public void SetConfigSetting(string sName, bool bValue) + { + if (bValue) + SetConfigSetting(sName, "1"); + else + SetConfigSetting(sName, "0"); + } + + public void SetConfigSetting(string sName, string sValue) + { + uiPolicy.SetConfigSetting(sName, sValue); + } + + + public bool GetConfigSetting(string sName, bool bDefaultValue) + { + string sDefault = "0"; + if (bDefaultValue) + sDefault = "1"; + + string sValue = GetConfigSetting(sName, sDefault); + { + if (sValue != null) + { + if (sValue.Equals("1")) + return true; + else + return false; + } + else + return bDefaultValue; + } + } + + public string GetConfigSetting(string sName, string sDefaultValue) + { + string sValue = uiPolicy.GetConfigSetting(sName); + if (sValue == null) + return sDefaultValue; + else + return sValue; + } + + // used to write current configsettings to disk. + public void WriteConfig() + { + uiPolicy.WriteConfig(); + } + } +} diff --git a/CASA/gui/CopySecret.cs b/CASA/gui/CopySecret.cs index 2268c6a7..495108ca 100644 --- a/CASA/gui/CopySecret.cs +++ b/CASA/gui/CopySecret.cs @@ -1,118 +1,118 @@ -using System; -using System.Text; -using System.Collections; - +using System; +using System.Text; +using System.Collections; + using Gtk; -using Glade; - - -namespace Novell.CASA.GUI -{ - /// - /// Summary description for CopySecret. - /// - public class CopySecret - { - #region Glade Widgets - +using Glade; + + +namespace Novell.CASA.GUI +{ + /// + /// Summary description for CopySecret. + /// + public class CopySecret + { + #region Glade Widgets + [Glade.Widget] - Gtk.Dialog dialogCopySecret; - - [Glade.Widget] - Gtk.CheckButton checkbuttonMiCASA, - checkbuttonFPM, - checkbuttonMPM, - checkbuttonKDE, - checkbuttonGNOME; - - [Glade.Widget] - Gtk.Entry - entryMiCASA, - entryFPM, - entryMPM, - entryKDE, - entryGNOME; - - [Glade.Widget] - Gtk.Label - labelMiCASA, - labelFPM, - labelMPM, - labelKDE, - labelGNOME; - - #endregion - - private string m_sSecretID = "http://www.novell.com"; - private string[] m_saKeys; - private string[] m_saValues; - - public CopySecret(string sSrcSecretID, string[] saKeys, string[] saValues) - { - m_sSecretID = sSrcSecretID; - m_saKeys = saKeys; - m_saValues = saValues; - } - - public void Show() - { + Gtk.Dialog dialogCopySecret; + + [Glade.Widget] + Gtk.CheckButton checkbuttonMiCASA, + checkbuttonFPM, + checkbuttonMPM, + checkbuttonKDE, + checkbuttonGNOME; + + [Glade.Widget] + Gtk.Entry + entryMiCASA, + entryFPM, + entryMPM, + entryKDE, + entryGNOME; + + [Glade.Widget] + Gtk.Label + labelMiCASA, + labelFPM, + labelMPM, + labelKDE, + labelGNOME; + + #endregion + + private string m_sSecretID = "http://www.novell.com"; + private string[] m_saKeys; + private string[] m_saValues; + + public CopySecret(string sSrcSecretID, string[] saKeys, string[] saValues) + { + m_sSecretID = sSrcSecretID; + m_saKeys = saKeys; + m_saValues = saValues; + } + + public void Show() + { Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogCopySecret", null); - gxmlTemp.Autoconnect (this); - InitDialog(); - dialogCopySecret.Show(); - } - - private void InitDialog() - { - if (Common.IS_MICASA) - { - checkbuttonMiCASA.Visible = checkbuttonMiCASA.Sensitive = Common.IS_MICASA_AVAILABLE; - checkbuttonMiCASA.Toggled += new EventHandler(checkbuttonMiCASA_Toggled); - labelMiCASA.Visible = entryMiCASA.Visible = Common.IS_MICASA_AVAILABLE; - - if (m_sSecretID.StartsWith("http:")) - entryMiCASA.Text = m_sSecretID.Substring(7); - else - entryMiCASA.Text = m_sSecretID; - } - - if (Common.IS_FIREFOX) - { - checkbuttonFPM.Visible = checkbuttonFPM.Sensitive = Common.IS_FIREFOX_AVAILABLE; - checkbuttonFPM.Toggled += new EventHandler(checkbuttonFPM_Toggled); - labelFPM.Visible = entryFPM.Visible = Common.IS_FIREFOX_AVAILABLE; - - if (!m_sSecretID.StartsWith("http:")) - entryFPM.Text = "http://"+m_sSecretID; - else - entryFPM.Text = m_sSecretID; - } - - if (Common.IS_MOZILLA) - { - checkbuttonMPM.Visible = checkbuttonMPM.Sensitive = Common.IS_MOZILLA_AVAILABLE; - checkbuttonMPM.Toggled += new EventHandler(checkbuttonMPM_Toggled); - labelMPM.Visible = entryMPM.Visible = Common.IS_MOZILLA_AVAILABLE; - entryMPM.Text = m_sSecretID; - } - - if (Common.IS_KDEWALLET) - { - checkbuttonKDE.Visible = checkbuttonKDE.Sensitive = Common.IS_KDEWALLET_AVAILABLE; - checkbuttonKDE.Toggled += new EventHandler(checkbuttonKDE_Toggled); - labelKDE.Visible = entryKDE.Visible = Common.IS_KDEWALLET_AVAILABLE; - entryKDE.Text = m_sSecretID; - } - - if (Common.IS_GNOMEKEYRING) - { - checkbuttonGNOME.Visible = checkbuttonGNOME.Sensitive = Common.IS_GNOMEKEYRING_AVAILABLE; - checkbuttonGNOME.Toggled += new EventHandler(checkbuttonGNOME_Toggled); - labelGNOME.Visible = entryGNOME.Visible = Common.IS_GNOMEKEYRING_AVAILABLE; - entryGNOME.Text = m_sSecretID; - } - } - + gxmlTemp.Autoconnect (this); + InitDialog(); + dialogCopySecret.Show(); + } + + private void InitDialog() + { + if (Common.IS_MICASA) + { + checkbuttonMiCASA.Visible = checkbuttonMiCASA.Sensitive = Common.IS_MICASA_AVAILABLE; + checkbuttonMiCASA.Toggled += new EventHandler(checkbuttonMiCASA_Toggled); + labelMiCASA.Visible = entryMiCASA.Visible = Common.IS_MICASA_AVAILABLE; + + if (m_sSecretID.StartsWith("http:")) + entryMiCASA.Text = m_sSecretID.Substring(7); + else + entryMiCASA.Text = m_sSecretID; + } + + if (Common.IS_FIREFOX) + { + checkbuttonFPM.Visible = checkbuttonFPM.Sensitive = Common.IS_FIREFOX_AVAILABLE; + checkbuttonFPM.Toggled += new EventHandler(checkbuttonFPM_Toggled); + labelFPM.Visible = entryFPM.Visible = Common.IS_FIREFOX_AVAILABLE; + + if (!m_sSecretID.StartsWith("http:")) + entryFPM.Text = "http://"+m_sSecretID; + else + entryFPM.Text = m_sSecretID; + } + + if (Common.IS_MOZILLA) + { + checkbuttonMPM.Visible = checkbuttonMPM.Sensitive = Common.IS_MOZILLA_AVAILABLE; + checkbuttonMPM.Toggled += new EventHandler(checkbuttonMPM_Toggled); + labelMPM.Visible = entryMPM.Visible = Common.IS_MOZILLA_AVAILABLE; + entryMPM.Text = m_sSecretID; + } + + if (Common.IS_KDEWALLET) + { + checkbuttonKDE.Visible = checkbuttonKDE.Sensitive = Common.IS_KDEWALLET_AVAILABLE; + checkbuttonKDE.Toggled += new EventHandler(checkbuttonKDE_Toggled); + labelKDE.Visible = entryKDE.Visible = Common.IS_KDEWALLET_AVAILABLE; + entryKDE.Text = m_sSecretID; + } + + if (Common.IS_GNOMEKEYRING) + { + checkbuttonGNOME.Visible = checkbuttonGNOME.Sensitive = Common.IS_GNOMEKEYRING_AVAILABLE; + checkbuttonGNOME.Toggled += new EventHandler(checkbuttonGNOME_Toggled); + labelGNOME.Visible = entryGNOME.Visible = Common.IS_GNOMEKEYRING_AVAILABLE; + entryGNOME.Text = m_sSecretID; + } + } + public void on_buttonCopyCancel_clicked(object obj, EventArgs args) { if (dialogCopySecret != null) @@ -175,114 +175,114 @@ namespace Novell.CASA.GUI dialogCopySecret.Destroy(); } - } - - private void checkbuttonMiCASA_Toggled(object sender, EventArgs e) - { - entryMiCASA.Sensitive = checkbuttonMiCASA.Active; - } - - private void checkbuttonFPM_Toggled(object sender, EventArgs e) - { - entryFPM.Sensitive = checkbuttonFPM.Active; - } - - private void checkbuttonMPM_Toggled(object sender, EventArgs e) - { - entryMPM.Sensitive = checkbuttonMPM.Active; - } - - private void checkbuttonKDE_Toggled(object sender, EventArgs e) - { - entryKDE.Sensitive = checkbuttonKDE.Active; - } - - private void checkbuttonGNOME_Toggled(object sender, EventArgs e) - { - entryGNOME.Sensitive = checkbuttonGNOME.Active; - } - + } - private string DoCopy(string sNewSecretName, int iTargetStore) - { - Logger.DbgLog("GUI:CopySecret.DoCopy() - BEGIN"); - - TreeModel model; - TreeIter iter; - - TreeModel modelSecret; - TreeIter iterSecret, iterKey; - - string[] NativeKeys = null, - NativeValues = null; - - try - { - NativeKeys = new string[Common.MAX_NATIVE_ELEMENTS]; - NativeValues = new string[Common.MAX_NATIVE_ELEMENTS]; - NativeKeys[Common.INDEX_NATIVEINFO_FOLDERNAME] = Common.NATIVEINFO_FOLDERNAME; - NativeKeys[Common.INDEX_NATIVEINFO_TYPEID] = Common.NATIVEINFO_TYPEID; - NativeKeys[Common.INDEX_NATIVEINFO_SYNC] = Common.NATIVEINFO_SYNC; - NativeKeys[Common.INDEX_NATIVEINFO_SYNCTYPE] = Common.NATIVEINFO_SYNCTYPE; - NativeKeys[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = Common.NATIVEINFO_MODIFIEDTIME; - NativeValues[Common.INDEX_NATIVEINFO_FOLDERNAME] = null; - - if (iTargetStore == Common.STORE_FIREFOX) - { - NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = "Signon"; - } - else if (iTargetStore == Common.STORE_GNOMEKEYRING) - { - NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = "Network Password"; - } - else - { - NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = null; - } - - NativeValues[Common.INDEX_NATIVEINFO_SYNC] = null; - NativeValues[Common.INDEX_NATIVEINFO_SYNCTYPE] = null; - NativeValues[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = null; - - TreeStore tsTargetSecret; - TreeView tvTargetSecret = new TreeView(); - if (iTargetStore == Common.STORE_FIREFOX) - { - ArrayList arrIsPassword = new ArrayList(); - for (int i=0; i -1) - arrIsPassword.Add(true); - else - arrIsPassword.Add(false); - } - - bool[] IsPassword = (bool[])arrIsPassword.ToArray(typeof(bool)); - tsTargetSecret = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[]), typeof(bool[])); - iterSecret = tsTargetSecret.AppendValues(sNewSecretName, m_saKeys, m_saValues, DataEngines.AD.GetDefaultProfileName(Common.STORE_FIREFOX), NativeKeys, NativeValues, IsPassword); - } - else - { - tsTargetSecret = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[])); - iterSecret = tsTargetSecret.AppendValues(sNewSecretName, m_saKeys, m_saValues, "Default", NativeKeys, NativeValues); - } - - modelSecret = tvTargetSecret.Model = tsTargetSecret; - - if( Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(iTargetStore, Common.OPERATION_ADD_SECRET, "", "", ref modelSecret, ref iterSecret) ) - { - return Common.saStoreNameList[iTargetStore] + " Success"; - } - else - { - return Common.saStoreNameList[iTargetStore] + " Failed"; - } - - } - catch (Exception e) - { - return (Common.saStoreNameList[iTargetStore] + " : " + e.ToString()); - } - } - } -} + private void checkbuttonMiCASA_Toggled(object sender, EventArgs e) + { + entryMiCASA.Sensitive = checkbuttonMiCASA.Active; + } + + private void checkbuttonFPM_Toggled(object sender, EventArgs e) + { + entryFPM.Sensitive = checkbuttonFPM.Active; + } + + private void checkbuttonMPM_Toggled(object sender, EventArgs e) + { + entryMPM.Sensitive = checkbuttonMPM.Active; + } + + private void checkbuttonKDE_Toggled(object sender, EventArgs e) + { + entryKDE.Sensitive = checkbuttonKDE.Active; + } + + private void checkbuttonGNOME_Toggled(object sender, EventArgs e) + { + entryGNOME.Sensitive = checkbuttonGNOME.Active; + } + + + private string DoCopy(string sNewSecretName, int iTargetStore) + { + Logger.DbgLog("GUI:CopySecret.DoCopy() - BEGIN"); + + TreeModel model; + TreeIter iter; + + TreeModel modelSecret; + TreeIter iterSecret, iterKey; + + string[] NativeKeys = null, + NativeValues = null; + + try + { + NativeKeys = new string[Common.MAX_NATIVE_ELEMENTS]; + NativeValues = new string[Common.MAX_NATIVE_ELEMENTS]; + NativeKeys[Common.INDEX_NATIVEINFO_FOLDERNAME] = Common.NATIVEINFO_FOLDERNAME; + NativeKeys[Common.INDEX_NATIVEINFO_TYPEID] = Common.NATIVEINFO_TYPEID; + NativeKeys[Common.INDEX_NATIVEINFO_SYNC] = Common.NATIVEINFO_SYNC; + NativeKeys[Common.INDEX_NATIVEINFO_SYNCTYPE] = Common.NATIVEINFO_SYNCTYPE; + NativeKeys[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = Common.NATIVEINFO_MODIFIEDTIME; + NativeValues[Common.INDEX_NATIVEINFO_FOLDERNAME] = null; + + if (iTargetStore == Common.STORE_FIREFOX) + { + NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = "Signon"; + } + else if (iTargetStore == Common.STORE_GNOMEKEYRING) + { + NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = "Network Password"; + } + else + { + NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = null; + } + + NativeValues[Common.INDEX_NATIVEINFO_SYNC] = null; + NativeValues[Common.INDEX_NATIVEINFO_SYNCTYPE] = null; + NativeValues[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = null; + + TreeStore tsTargetSecret; + TreeView tvTargetSecret = new TreeView(); + if (iTargetStore == Common.STORE_FIREFOX) + { + ArrayList arrIsPassword = new ArrayList(); + for (int i=0; i -1) + arrIsPassword.Add(true); + else + arrIsPassword.Add(false); + } + + bool[] IsPassword = (bool[])arrIsPassword.ToArray(typeof(bool)); + tsTargetSecret = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[]), typeof(bool[])); + iterSecret = tsTargetSecret.AppendValues(sNewSecretName, m_saKeys, m_saValues, DataEngines.AD.GetDefaultProfileName(Common.STORE_FIREFOX), NativeKeys, NativeValues, IsPassword); + } + else + { + tsTargetSecret = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[])); + iterSecret = tsTargetSecret.AppendValues(sNewSecretName, m_saKeys, m_saValues, "Default", NativeKeys, NativeValues); + } + + modelSecret = tvTargetSecret.Model = tsTargetSecret; + + if( Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(iTargetStore, Common.OPERATION_ADD_SECRET, "", "", ref modelSecret, ref iterSecret) ) + { + return Common.saStoreNameList[iTargetStore] + " Success"; + } + else + { + return Common.saStoreNameList[iTargetStore] + " Failed"; + } + + } + catch (Exception e) + { + return (Common.saStoreNameList[iTargetStore] + " : " + e.ToString()); + } + } + } +} diff --git a/CASA/gui/DbgFileChooser.cs b/CASA/gui/DbgFileChooser.cs index f0da5424..3612c7b2 100644 --- a/CASA/gui/DbgFileChooser.cs +++ b/CASA/gui/DbgFileChooser.cs @@ -1,78 +1,78 @@ -using System; - -namespace Novell.CASA.GUI -{ - /// - /// Summary description for DbgFileChooser. - /// - public class DbgFileChooser - { - #region widgets +using System; + +namespace Novell.CASA.GUI +{ + /// + /// Summary description for DbgFileChooser. + /// + public class DbgFileChooser + { + #region widgets [Glade.Widget] - Gtk.Dialog dialogDebugFileChooser; - - [Glade.Widget] - Gtk.Entry entrySaveFile, - entryOpenFile, - entryChooseDirectory; - - - #endregion - - public DbgFileChooser() - { - - } - - public void Run() - { + Gtk.Dialog dialogDebugFileChooser; + + [Glade.Widget] + Gtk.Entry entrySaveFile, + entryOpenFile, + entryChooseDirectory; + + + #endregion + + public DbgFileChooser() + { + + } + + public void Run() + { Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogDebugFileChooser", null); gxmlTemp.Autoconnect (this); - //dialogDebugFileChooser.TransientFor = windowMain; - } - - public void on_buttonSaveFile_clicked(object obj, EventArgs args) - { - FileChooser fc = new FileChooser(FileChooser.ACTION_SAVE); - string sFile = fc.GetFile(null, null, "*.casa"); - if (sFile != null) - { - entrySaveFile.Text = sFile; - } - else - { - entrySaveFile.Text = "Null"; - } - - } - - public void on_buttonOpenFile_clicked(object obj, EventArgs args) - { - FileChooser fc = new FileChooser(FileChooser.ACTION_OPEN); - string sFile = fc.GetFile(null, null, "*.casa"); - if (sFile != null) - { - entryOpenFile.Text = sFile; - } - else - { - entryOpenFile.Text = "Null"; - } - } - public void on_buttonChooseDirectory_clicked(object obj, EventArgs args) - { - FileChooser fc = new FileChooser(FileChooser.ACTION_CHOOSE_DIR); - string sFile = fc.GetFile(null, null, "*.casa"); - if (sFile != null) - { - entryChooseDirectory.Text = sFile; - } - else - { - entryChooseDirectory.Text = "Null"; - } - } - - - } -} + //dialogDebugFileChooser.TransientFor = windowMain; + } + + public void on_buttonSaveFile_clicked(object obj, EventArgs args) + { + FileChooser fc = new FileChooser(FileChooser.ACTION_SAVE); + string sFile = fc.GetFile(null, null, "*.casa"); + if (sFile != null) + { + entrySaveFile.Text = sFile; + } + else + { + entrySaveFile.Text = "Null"; + } + + } + + public void on_buttonOpenFile_clicked(object obj, EventArgs args) + { + FileChooser fc = new FileChooser(FileChooser.ACTION_OPEN); + string sFile = fc.GetFile(null, null, "*.casa"); + if (sFile != null) + { + entryOpenFile.Text = sFile; + } + else + { + entryOpenFile.Text = "Null"; + } + } + public void on_buttonChooseDirectory_clicked(object obj, EventArgs args) + { + FileChooser fc = new FileChooser(FileChooser.ACTION_CHOOSE_DIR); + string sFile = fc.GetFile(null, null, "*.casa"); + if (sFile != null) + { + entryChooseDirectory.Text = sFile; + } + else + { + entryChooseDirectory.Text = "Null"; + } + } + + + } +} diff --git a/CASA/gui/ExportSecrets.cs b/CASA/gui/ExportSecrets.cs index 5ff66744..d36692e6 100644 --- a/CASA/gui/ExportSecrets.cs +++ b/CASA/gui/ExportSecrets.cs @@ -1,22 +1,22 @@ -using System; -using System.IO; - +using System; +using System.IO; + using Novell.CASA.MiCasa.Communication; -using Novell.CASA.MiCasa.Common; - +using Novell.CASA.MiCasa.Common; + using Gtk; -using Glade; - -namespace Novell.CASA.GUI -{ - /// - /// Summary description for ExportSecrets. - /// - public class ExportSecrets - { - - private Config m_config = null; - +using Glade; + +namespace Novell.CASA.GUI +{ + /// + /// Summary description for ExportSecrets. + /// + public class ExportSecrets + { + + private Config m_config = null; + [Glade.Widget] Gtk.Label labelExportDialogDesc1, labelExportDialogDesc2, @@ -28,22 +28,22 @@ namespace Novell.CASA.GUI Gtk.Entry entryMasterPassword; [Glade.Widget] - Gtk.Dialog dialogExport; - - [Glade.Widget] - Gtk.CheckButton checkbuttonNoEncrypt; - - [Glade.Widget] - Gtk.Button buttonNewFolder; - - public ExportSecrets(Config config) - { - m_config = config; - } - - public void Run() - { - // prompt for master password, and optional passphrase to encrypt + Gtk.Dialog dialogExport; + + [Glade.Widget] + Gtk.CheckButton checkbuttonNoEncrypt; + + [Glade.Widget] + Gtk.Button buttonNewFolder; + + public ExportSecrets(Config config) + { + m_config = config; + } + + public void Run() + { + // prompt for master password, and optional passphrase to encrypt //Logger.DbgLog("GUI:CasaMain.Login() - IsMasterPasswordSet returned false"); #if W32 Glade.XML gxmlTemp = new Glade.XML ("../images/casa.glade", "dialogExport", null); @@ -52,46 +52,46 @@ namespace Novell.CASA.GUI Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogExport", null); #endif - gxmlTemp.Autoconnect (this); - - if (CommonGUI.UseMasterPassword()) - { - labelExportDialogDesc1.Visible = true; - } - else - { - labelExportDialogDesc2.Visible = true; - labelExportDialogPrompt.Text = "Encryption string:"; + gxmlTemp.Autoconnect (this); + + if (CommonGUI.UseMasterPassword()) + { + labelExportDialogDesc1.Visible = true; + } + else + { + labelExportDialogDesc2.Visible = true; + labelExportDialogPrompt.Text = "Encryption string:"; } dialogExport.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); dialogExport.Destroyed += new EventHandler(dialogExport_Destroyed); - dialogExport.Modal = true; - dialogExport.Show(); - } + dialogExport.Modal = true; + dialogExport.Show(); + } private void dialogExport_Destroyed(object sender, EventArgs e) { - } - - private void on_buttonHelpExportSecrets_clicked(object sender, EventArgs args) - { - Common.ShowHelpUrl("ExportingSecrets.htm"); - } - - - private void on_buttonCloseExportSecrets_clicked(object sender, EventArgs args) - { + } + + private void on_buttonHelpExportSecrets_clicked(object sender, EventArgs args) + { + Common.ShowHelpUrl("ExportingSecrets.htm"); + } + + + private void on_buttonCloseExportSecrets_clicked(object sender, EventArgs args) + { if (dialogExport != null) { dialogExport.Destroy(); - } - } - - private void on_buttonOkExportSecrets_clicked(object sender, EventArgs args) - { - bool bUseMasterPassword = CommonGUI.UseMasterPassword(); - + } + } + + private void on_buttonOkExportSecrets_clicked(object sender, EventArgs args) + { + bool bUseMasterPassword = CommonGUI.UseMasterPassword(); + if ( ((bUseMasterPassword) && (0 == miCASA.SetMasterPassword(0, entryMasterPassword.Text) )) || (!bUseMasterPassword)) { @@ -99,11 +99,11 @@ namespace Novell.CASA.GUI string sEncryptString = entryMasterPassword.Text; if (checkbuttonNoEncrypt.Active) - sEncryptString = null; - - if (entryMasterPassword.Text.Length < 1) - { - sEncryptString = null; + sEncryptString = null; + + if (entryMasterPassword.Text.Length < 1) + { + sEncryptString = null; } if (dialogExport != null) @@ -150,27 +150,27 @@ namespace Novell.CASA.GUI m_config.WriteConfig(); // call our daemon to get the users secrets - ExportXMLSecrets exportSecrets = new ExportXMLSecrets(sMasterPWD, sEncryptString, null); - byte[] baSecrets = (byte[])Novell.CASA.MiCasa.Communication.MiCasaRequestReply.Send(MiCasaRequestReply.VERB_EXPORT_SECRETS, null, null, null, exportSecrets); - - if (baSecrets != null) - { - try - { - FileStream fs = new FileStream(sFileName, FileMode.Create); - fs.Write(baSecrets, 0, baSecrets.Length); - fs.Flush(); - fs.Close(); - CommonGUI.DisplayMessage(MessageType.Info, "Secrets saved to: \r\n" + sFileName); - } - catch - { - CommonGUI.DisplayMessage(MessageType.Error, "Failed to save secrets"); - } - } - else - { - CommonGUI.DisplayMessage(MessageType.Error, "No Secrets found"); + ExportXMLSecrets exportSecrets = new ExportXMLSecrets(sMasterPWD, sEncryptString, null); + byte[] baSecrets = (byte[])Novell.CASA.MiCasa.Communication.MiCasaRequestReply.Send(MiCasaRequestReply.VERB_EXPORT_SECRETS, null, null, null, exportSecrets); + + if (baSecrets != null) + { + try + { + FileStream fs = new FileStream(sFileName, FileMode.Create); + fs.Write(baSecrets, 0, baSecrets.Length); + fs.Flush(); + fs.Close(); + CommonGUI.DisplayMessage(MessageType.Info, "Secrets saved to: \r\n" + sFileName); + } + catch + { + CommonGUI.DisplayMessage(MessageType.Error, "Failed to save secrets"); + } + } + else + { + CommonGUI.DisplayMessage(MessageType.Error, "No Secrets found"); } } } @@ -186,26 +186,26 @@ namespace Novell.CASA.GUI md.SetPosition(Gtk.WindowPosition.CenterOnParent); md.Modal = true; md.Show(); - } - } - - private string GetStorageFileName(string sHintDir, string sHintFile) - { - - FileChooser fc = new FileChooser(FileChooser.ACTION_SAVE); - String sFileName = fc.GetFile(sHintDir, sHintFile, "*.casa"); - -/* -#if W32 - String sFileName = CommonGUI.FileChooser(FileChooserAction.Save, "Select filename and location for secrets", sHintDir, sHintFile); -#else - String sFileName = null; - CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Not implemented"); -#endif -*/ - return sFileName; - } - + } + } + + private string GetStorageFileName(string sHintDir, string sHintFile) + { + + FileChooser fc = new FileChooser(FileChooser.ACTION_SAVE); + String sFileName = fc.GetFile(sHintDir, sHintFile, "*.casa"); + +/* +#if W32 + String sFileName = CommonGUI.FileChooser(FileChooserAction.Save, "Select filename and location for secrets", sHintDir, sHintFile); +#else + String sFileName = null; + CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Not implemented"); +#endif +*/ + return sFileName; + } + private void md_Response2(object o, ResponseArgs args) { MessageDialog md = (MessageDialog)o; @@ -213,6 +213,6 @@ namespace Novell.CASA.GUI { md.Destroy(); } - } - } -} + } + } +} diff --git a/CASA/gui/FindAndReplace.cs b/CASA/gui/FindAndReplace.cs index f5655315..11d99c78 100644 --- a/CASA/gui/FindAndReplace.cs +++ b/CASA/gui/FindAndReplace.cs @@ -1,412 +1,412 @@ -using System; -using System.Text; - -using Gtk; -using Glade; - -namespace Novell.CASA.GUI -{ - class FindAndReplace - { - #region Glade Widgets - - [Glade.Widget] - Gtk.TreeView tvResults; - - - [Glade.Widget] - Gtk.Dialog dialogFindAndReplace, - dialogLogin; - - [Glade.Widget] - Gtk.Button bttnFind, - bttnReplaceAll, - bttnApply, - bttnCancel, - bttnRevert, - bttnOk, - bttnHelp; - - [Glade.Widget] - Gtk.Entry entryFind, - entryNewValue, - entryMasterPassword3, - entryMasterPassword4; - - [Glade.Widget] - Gtk.CheckButton cbShowValues; - - [Glade.Widget] - Gtk.Label label86, - label88, - labelRememberFor, - labelSeconds; - - [Glade.Widget] - Gtk.SpinButton spinbuttonRememberFor; - - #endregion - - private TreeModel m_tmCASA; - private TreeStore m_tsCASA; - private TreeStore tsResults; - private Store m_store; - - private int m_iRememberSeconds = 5; - - public FindAndReplace(Store store, TreeModel tmCASA, TreeStore tsCASA) - { - m_store = store; - m_tmCASA = tmCASA; - m_tsCASA = tsCASA; - } - - public void ShowDialog() - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogFindAndReplace", null); - gxmlTemp.Autoconnect(this); - - dialogFindAndReplace.SetPosition(WindowPosition.CenterOnParent); - - tvResults.AppendColumn("SecretID", new Gtk.CellRendererText(), "text", 0); - tvResults.AppendColumn("Key", new Gtk.CellRendererText(), "text", 1); - tvResults.AppendColumn("Value", new Gtk.CellRendererText(), "text", 2); - - tvResults.Selection.Mode = SelectionMode.Multiple; - - // 0:secretID, 1:Key, 2:Value****, 3:ValueClear, 4:dirtyBit - tsResults = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(bool)); - tvResults.Model = tsResults; - - // hook up event handles - bttnApply.Clicked += new EventHandler(bttnApply_Clicked); - bttnCancel.Clicked += new EventHandler(bttnCancel_Clicked); - bttnRevert.Clicked += new EventHandler(bttnRevert_Clicked); - bttnFind.Clicked += new EventHandler(bttnFind_Clicked); - bttnOk.Clicked += new EventHandler(bttnOk_Clicked); - bttnReplaceAll.Clicked += new EventHandler(bttnReplaceAll_Clicked); - bttnHelp.Clicked += new EventHandler(bttnHelp_Clicked); - - cbShowValues.Toggled += new EventHandler(cbShowValues_Toggled); - - } - - void bttnHelp_Clicked(object sender, EventArgs e) - { - Common.ShowHelpUrl("FindReplace.htm"); - } - - - - public void okbuttonLogin_clicked(object abj, EventArgs args) - { - TreeViewColumn tvCol; - - if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) - { - tvResults.RemoveColumn(tvResults.GetColumn(2)); - tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); - tvResults.InsertColumn(tvCol, 2); - - // get seconds to remember - //m_sRememberFor = spinbuttonRememberFor.Text; - - //if (m_sRememberFor != null) - //{ - // DateTime dtNow = DateTime.Now; - // m_iRememberSeconds = int.Parse(m_sRememberFor); - // CommonGUI.SetRememberMPUntil(dtNow.AddSeconds(m_iRememberSeconds)); - //} - - // save off remember time if user changed it - //string sSaveTimed = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, "5"); - //if (!sSaveTimed.Equals(m_sRememberFor)) - // { - // m_config.SetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - // m_config.WriteConfig(); - //} - - dialogLogin.Destroy(); - - //if (m_iRememberSeconds > 0) - // StartRememberTimer(); - } - else - { - // warn user - CommonGUI.DisplayMessage(MessageType.Warning, "Master Password incorrect"); - } - } - - public void on_entryMasterPassword3_activate(object obj, EventArgs args) - { - if ("" != entryMasterPassword3.Text) - okbuttonLogin_clicked(obj, args); - } - - public void on_entryMasterPassword4_activate(object obj, EventArgs args) - { - okbuttonLogin_clicked(obj, args); +using System; +using System.Text; + +using Gtk; +using Glade; + +namespace Novell.CASA.GUI +{ + class FindAndReplace + { + #region Glade Widgets + + [Glade.Widget] + Gtk.TreeView tvResults; + + + [Glade.Widget] + Gtk.Dialog dialogFindAndReplace, + dialogLogin; + + [Glade.Widget] + Gtk.Button bttnFind, + bttnReplaceAll, + bttnApply, + bttnCancel, + bttnRevert, + bttnOk, + bttnHelp; + + [Glade.Widget] + Gtk.Entry entryFind, + entryNewValue, + entryMasterPassword3, + entryMasterPassword4; + + [Glade.Widget] + Gtk.CheckButton cbShowValues; + + [Glade.Widget] + Gtk.Label label86, + label88, + labelRememberFor, + labelSeconds; + + [Glade.Widget] + Gtk.SpinButton spinbuttonRememberFor; + + #endregion + + private TreeModel m_tmCASA; + private TreeStore m_tsCASA; + private TreeStore tsResults; + private Store m_store; + + private int m_iRememberSeconds = 5; + + public FindAndReplace(Store store, TreeModel tmCASA, TreeStore tsCASA) + { + m_store = store; + m_tmCASA = tmCASA; + m_tsCASA = tsCASA; } - - - public void on_helpbuttonAuthentication_clicked(object obj, EventArgs args) - { - Common.ShowHelpUrl("CASAMasterPasswordAuthentication.htm"); + + public void ShowDialog() + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogFindAndReplace", null); + gxmlTemp.Autoconnect(this); + + dialogFindAndReplace.SetPosition(WindowPosition.CenterOnParent); + + tvResults.AppendColumn("SecretID", new Gtk.CellRendererText(), "text", 0); + tvResults.AppendColumn("Key", new Gtk.CellRendererText(), "text", 1); + tvResults.AppendColumn("Value", new Gtk.CellRendererText(), "text", 2); + + tvResults.Selection.Mode = SelectionMode.Multiple; + + // 0:secretID, 1:Key, 2:Value****, 3:ValueClear, 4:dirtyBit + tsResults = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(bool)); + tvResults.Model = tsResults; + + // hook up event handles + bttnApply.Clicked += new EventHandler(bttnApply_Clicked); + bttnCancel.Clicked += new EventHandler(bttnCancel_Clicked); + bttnRevert.Clicked += new EventHandler(bttnRevert_Clicked); + bttnFind.Clicked += new EventHandler(bttnFind_Clicked); + bttnOk.Clicked += new EventHandler(bttnOk_Clicked); + bttnReplaceAll.Clicked += new EventHandler(bttnReplaceAll_Clicked); + bttnHelp.Clicked += new EventHandler(bttnHelp_Clicked); + + cbShowValues.Toggled += new EventHandler(cbShowValues_Toggled); + } - - - void cbShowValues_Toggled(object sender, EventArgs e) - { - TreeViewColumn tvCol; - - if ((true == cbShowValues.Active) - && (CommonGUI.GetRememberMPUntil().CompareTo(DateTime.Now) > 0)) - { - // set and start the timer if needed - TimeSpan ts = CommonGUI.GetRememberMPUntil().Subtract(DateTime.Now); - m_iRememberSeconds = ts.Seconds; - //StartRememberTimer(); - - // display the values - tvResults.RemoveColumn(tvResults.GetColumn(2)); - tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); - tvResults.InsertColumn(tvCol, 2); - } - else if (true == cbShowValues.Active) - { - // prompt user for MasterPassword - if (CommonGUI.UseMasterPassword()) - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = dialogFindAndReplace; - - label86.Text = "Enter your Master Password to view values"; - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - label88.Hide(); - entryMasterPassword4.Hide(); - - labelRememberFor.Visible = false; - labelSeconds.Visible = false; - spinbuttonRememberFor.Visible = false; - //spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - //dialogLogin.Show(); - } - else - { - // display the values - tvResults.RemoveColumn(tvResults.GetColumn(2)); - tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); - tvResults.InsertColumn(tvCol, 2); - } - } - else - { - tvResults.RemoveColumn(tvResults.GetColumn(2)); - tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 2); - tvResults.InsertColumn(tvCol, 2); - } - } - - public void closebuttonLogin_clicked(object abj, EventArgs args) - { - cbShowValues.Active = false; - dialogLogin.Destroy(); - } - - - public void OnDialogLoginDeleted(object obj, DeleteEventArgs args) - { - cbShowValues.Active = false; - dialogLogin.Destroy(); - args.RetVal = true; - } - - - - void bttnOk_Clicked(object sender, EventArgs e) - { - if (bttnApply.Sensitive) - { - bttnApply_Clicked(sender, e); - } - CloseDialog(); - } - - void bttnFind_Clicked(object sender, EventArgs e) - { - if (entryFind.Text != null && entryFind.Text.Length > 0) - { - DoFind(); - } - else - { - CommonGUI.DisplayMessage(MessageType.Error, "You must enter a value to find"); - } - } - - void bttnRevert_Clicked(object sender, EventArgs e) - { - // show cancel - bttnCancel.Visible = true; - - // hide revert - bttnRevert.Visible = false; - - bttnApply.Sensitive = bttnOk.Sensitive = false; - - // reload - DoFind(); - } - - void bttnCancel_Clicked(object sender, EventArgs e) - { - CloseDialog(); - } - - void bttnApply_Clicked(object sender, EventArgs e) - { - TreeIter iter; - - // iterate thru store, update all values with dirtybit=true - if (tsResults.GetIterFirst(out iter)) - { - do - { - bool bDirty = (bool)tsResults.GetValue(iter, 4); - if (bDirty) - { - String sID = (string)tsResults.GetValue(iter, 0); - String sKey = (string)tsResults.GetValue(iter, 1); - String sValue = (string)tsResults.GetValue(iter, 3); - - if (StoreDataInterface.ModifyCASASecretKey(sID, sKey, sValue)) - { - Console.WriteLine("Updating {0} : {1} : {2}", sID, sKey, sValue); - } - - // Update CASAManager view - m_store.AggregateStore(); - - } - } while (tsResults.IterNext(ref iter)); - - } - - - // hide revert - bttnRevert.Visible = false; - bttnCancel.Visible = true; - - bttnApply.Sensitive = false; - bttnOk.Sensitive = false; - - } - - private void CloseDialog() - { - if (dialogFindAndReplace != null) - { - dialogFindAndReplace.Destroy(); - } - } - - private void DoFind() - { - - string selected = null; - string[] keys = null, - values = null; - - // clear current vies - tsResults.Clear(); - - // iterate thru CASA TreeStore, finding matches - TreeIter iter; - - if (m_tsCASA.GetIterFirst(out iter)) - { - do - { - selected = (string)m_tmCASA.GetValue(iter, 0); - keys = (string[])m_tmCASA.GetValue(iter, 1); - values = (string[])m_tmCASA.GetValue(iter, 2); - - // add matches to the results - for (int i = 0; i < keys.Length; i++) - { - if ((entryFind.Text.Equals("*")) || - (values[i].IndexOf(entryFind.Text) > -1)) - { - tsResults.AppendValues(selected, keys[i], "*******", values[i], false); - } - } - } while (m_tsCASA.IterNext(ref iter)); - - //tvResults.Selection.SelectAll(); - } - } - - void bttnReplaceAll_Clicked(object sender, EventArgs e) - { - TreeModel model; - TreeIter iter; - TreePath[] treePaths = tvResults.Selection.GetSelectedRows(out model); - - - if (entryNewValue.Text == null || entryNewValue.Text.Length == 0) - { - CommonGUI.DisplayMessage(MessageType.Warning, "Enter a new value"); - return; - } - - if (treePaths.Length == 0) - { - CommonGUI.DisplayMessage(MessageType.Warning, "You must select at least one row"); - return; - } - - if (entryNewValue.Text != null && entryNewValue.Text.Length > 0) - { - // iterate thru those to change - for (int i = 0; i < treePaths.Length; i++) - { - if (tsResults.GetIter(out iter, treePaths[i])) - { - string sCurrentValue = (string)tsResults.GetValue(iter, 3); - - // change if newValue is different - if (!sCurrentValue.Equals(entryNewValue.Text)) - { - tsResults.SetValue(iter, 2, entryNewValue.Text); - tsResults.SetValue(iter, 3, entryNewValue.Text); - - // set the dirty bit - tsResults.SetValue(iter, 4, true); - } - } - } - - bttnApply.Sensitive = bttnOk.Sensitive = true; - - bttnRevert.Visible = true; - bttnCancel.Visible = false; - } - } - - /* - private bool bTimerActive = false; - public void StartRememberTimer() - { - if (!bTimerActive) - { - GLib.Timeout.Add((uint)(m_iRememberSeconds * 1000), new GLib.TimeoutHandler(update_gui)); - bTimerActive = true; - } - } - * */ - } - -} + + void bttnHelp_Clicked(object sender, EventArgs e) + { + Common.ShowHelpUrl("FindReplace.htm"); + } + + + + public void okbuttonLogin_clicked(object abj, EventArgs args) + { + TreeViewColumn tvCol; + + if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) + { + tvResults.RemoveColumn(tvResults.GetColumn(2)); + tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); + tvResults.InsertColumn(tvCol, 2); + + // get seconds to remember + //m_sRememberFor = spinbuttonRememberFor.Text; + + //if (m_sRememberFor != null) + //{ + // DateTime dtNow = DateTime.Now; + // m_iRememberSeconds = int.Parse(m_sRememberFor); + // CommonGUI.SetRememberMPUntil(dtNow.AddSeconds(m_iRememberSeconds)); + //} + + // save off remember time if user changed it + //string sSaveTimed = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, "5"); + //if (!sSaveTimed.Equals(m_sRememberFor)) + // { + // m_config.SetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + // m_config.WriteConfig(); + //} + + dialogLogin.Destroy(); + + //if (m_iRememberSeconds > 0) + // StartRememberTimer(); + } + else + { + // warn user + CommonGUI.DisplayMessage(MessageType.Warning, "Master Password incorrect"); + } + } + + public void on_entryMasterPassword3_activate(object obj, EventArgs args) + { + if ("" != entryMasterPassword3.Text) + okbuttonLogin_clicked(obj, args); + } + + public void on_entryMasterPassword4_activate(object obj, EventArgs args) + { + okbuttonLogin_clicked(obj, args); + } + + + public void on_helpbuttonAuthentication_clicked(object obj, EventArgs args) + { + Common.ShowHelpUrl("CASAMasterPasswordAuthentication.htm"); + } + + + void cbShowValues_Toggled(object sender, EventArgs e) + { + TreeViewColumn tvCol; + + if ((true == cbShowValues.Active) + && (CommonGUI.GetRememberMPUntil().CompareTo(DateTime.Now) > 0)) + { + // set and start the timer if needed + TimeSpan ts = CommonGUI.GetRememberMPUntil().Subtract(DateTime.Now); + m_iRememberSeconds = ts.Seconds; + //StartRememberTimer(); + + // display the values + tvResults.RemoveColumn(tvResults.GetColumn(2)); + tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); + tvResults.InsertColumn(tvCol, 2); + } + else if (true == cbShowValues.Active) + { + // prompt user for MasterPassword + if (CommonGUI.UseMasterPassword()) + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = dialogFindAndReplace; + + label86.Text = "Enter your Master Password to view values"; + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + label88.Hide(); + entryMasterPassword4.Hide(); + + labelRememberFor.Visible = false; + labelSeconds.Visible = false; + spinbuttonRememberFor.Visible = false; + //spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + //dialogLogin.Show(); + } + else + { + // display the values + tvResults.RemoveColumn(tvResults.GetColumn(2)); + tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 3); + tvResults.InsertColumn(tvCol, 2); + } + } + else + { + tvResults.RemoveColumn(tvResults.GetColumn(2)); + tvCol = new TreeViewColumn("Value", new CellRendererText(), "text", 2); + tvResults.InsertColumn(tvCol, 2); + } + } + + public void closebuttonLogin_clicked(object abj, EventArgs args) + { + cbShowValues.Active = false; + dialogLogin.Destroy(); + } + + + public void OnDialogLoginDeleted(object obj, DeleteEventArgs args) + { + cbShowValues.Active = false; + dialogLogin.Destroy(); + args.RetVal = true; + } + + + + void bttnOk_Clicked(object sender, EventArgs e) + { + if (bttnApply.Sensitive) + { + bttnApply_Clicked(sender, e); + } + CloseDialog(); + } + + void bttnFind_Clicked(object sender, EventArgs e) + { + if (entryFind.Text != null && entryFind.Text.Length > 0) + { + DoFind(); + } + else + { + CommonGUI.DisplayMessage(MessageType.Error, "You must enter a value to find"); + } + } + + void bttnRevert_Clicked(object sender, EventArgs e) + { + // show cancel + bttnCancel.Visible = true; + + // hide revert + bttnRevert.Visible = false; + + bttnApply.Sensitive = bttnOk.Sensitive = false; + + // reload + DoFind(); + } + + void bttnCancel_Clicked(object sender, EventArgs e) + { + CloseDialog(); + } + + void bttnApply_Clicked(object sender, EventArgs e) + { + TreeIter iter; + + // iterate thru store, update all values with dirtybit=true + if (tsResults.GetIterFirst(out iter)) + { + do + { + bool bDirty = (bool)tsResults.GetValue(iter, 4); + if (bDirty) + { + String sID = (string)tsResults.GetValue(iter, 0); + String sKey = (string)tsResults.GetValue(iter, 1); + String sValue = (string)tsResults.GetValue(iter, 3); + + if (StoreDataInterface.ModifyCASASecretKey(sID, sKey, sValue)) + { + Console.WriteLine("Updating {0} : {1} : {2}", sID, sKey, sValue); + } + + // Update CASAManager view + m_store.AggregateStore(); + + } + } while (tsResults.IterNext(ref iter)); + + } + + + // hide revert + bttnRevert.Visible = false; + bttnCancel.Visible = true; + + bttnApply.Sensitive = false; + bttnOk.Sensitive = false; + + } + + private void CloseDialog() + { + if (dialogFindAndReplace != null) + { + dialogFindAndReplace.Destroy(); + } + } + + private void DoFind() + { + + string selected = null; + string[] keys = null, + values = null; + + // clear current vies + tsResults.Clear(); + + // iterate thru CASA TreeStore, finding matches + TreeIter iter; + + if (m_tsCASA.GetIterFirst(out iter)) + { + do + { + selected = (string)m_tmCASA.GetValue(iter, 0); + keys = (string[])m_tmCASA.GetValue(iter, 1); + values = (string[])m_tmCASA.GetValue(iter, 2); + + // add matches to the results + for (int i = 0; i < keys.Length; i++) + { + if ((entryFind.Text.Equals("*")) || + (values[i].IndexOf(entryFind.Text) > -1)) + { + tsResults.AppendValues(selected, keys[i], "*******", values[i], false); + } + } + } while (m_tsCASA.IterNext(ref iter)); + + //tvResults.Selection.SelectAll(); + } + } + + void bttnReplaceAll_Clicked(object sender, EventArgs e) + { + TreeModel model; + TreeIter iter; + TreePath[] treePaths = tvResults.Selection.GetSelectedRows(out model); + + + if (entryNewValue.Text == null || entryNewValue.Text.Length == 0) + { + CommonGUI.DisplayMessage(MessageType.Warning, "Enter a new value"); + return; + } + + if (treePaths.Length == 0) + { + CommonGUI.DisplayMessage(MessageType.Warning, "You must select at least one row"); + return; + } + + if (entryNewValue.Text != null && entryNewValue.Text.Length > 0) + { + // iterate thru those to change + for (int i = 0; i < treePaths.Length; i++) + { + if (tsResults.GetIter(out iter, treePaths[i])) + { + string sCurrentValue = (string)tsResults.GetValue(iter, 3); + + // change if newValue is different + if (!sCurrentValue.Equals(entryNewValue.Text)) + { + tsResults.SetValue(iter, 2, entryNewValue.Text); + tsResults.SetValue(iter, 3, entryNewValue.Text); + + // set the dirty bit + tsResults.SetValue(iter, 4, true); + } + } + } + + bttnApply.Sensitive = bttnOk.Sensitive = true; + + bttnRevert.Visible = true; + bttnCancel.Visible = false; + } + } + + /* + private bool bTimerActive = false; + public void StartRememberTimer() + { + if (!bTimerActive) + { + GLib.Timeout.Add((uint)(m_iRememberSeconds * 1000), new GLib.TimeoutHandler(update_gui)); + bTimerActive = true; + } + } + * */ + } + +} diff --git a/CASA/gui/Firefox.cs b/CASA/gui/Firefox.cs index 7675792e..37ba7965 100644 --- a/CASA/gui/Firefox.cs +++ b/CASA/gui/Firefox.cs @@ -767,30 +767,30 @@ public class Firefox : Store tvKeyValue.InsertColumn(tvCol, 1); } else if (true == cbuttonShowPassword.Active) - { - if (CommonGUI.UseMasterPassword()) - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = dialogManageSecret; - - label86.Text = "Enter your Master Password to view passwords"; - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - label88.Hide(); - entryMasterPassword4.Hide(); - labelRememberFor.Visible = true; - labelSeconds.Visible = true; - spinbuttonRememberFor.Visible = true; - spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - dialogLogin.Show(); - } - else - { - // display the values - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); + { + if (CommonGUI.UseMasterPassword()) + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = dialogManageSecret; + + label86.Text = "Enter your Master Password to view passwords"; + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + label88.Hide(); + entryMasterPassword4.Hide(); + labelRememberFor.Visible = true; + labelSeconds.Visible = true; + spinbuttonRememberFor.Visible = true; + spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + dialogLogin.Show(); + } + else + { + // display the values + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); } } else @@ -1220,22 +1220,22 @@ public class Firefox : Store /// public void OnCopyActivated(object obj, EventArgs args) { - TreeModel model; + TreeModel model; TreeIter iter; - try - { - if( tvSecretIDFirefox.Selection.GetSelected (out model, out iter) ) + try + { + if( tvSecretIDFirefox.Selection.GetSelected (out model, out iter) ) { string selected = null; string[] saKeys, saValues; selected = (string) model.GetValue (iter, 0); - saKeys = (string[]) model.GetValue(iter, 1); + saKeys = (string[]) model.GetValue(iter, 1); saValues = (string[]) model.GetValue(iter, 2); CopySecret cs = new CopySecret(selected, saKeys, saValues); - cs.Show(); + cs.Show(); } } catch diff --git a/CASA/gui/GnomeKeyring.cs b/CASA/gui/GnomeKeyring.cs index 293c4fe4..8b6b6d4d 100644 --- a/CASA/gui/GnomeKeyring.cs +++ b/CASA/gui/GnomeKeyring.cs @@ -499,31 +499,31 @@ public class GnomeKeyring : Store tvKeyValue.InsertColumn(tvCol, 1); } else if (true == cbuttonShowPassword.Active) - { - if (CommonGUI.UseMasterPassword()) - { - - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = dialogManageSecret; - - label86.Text = "Enter your Master Password to view passwords"; - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - label88.Hide(); - entryMasterPassword4.Hide(); - labelRememberFor.Visible = true; - labelSeconds.Visible = true; - spinbuttonRememberFor.Visible = true; - spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - dialogLogin.Show(); - } - else - { - // display the values - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); + { + if (CommonGUI.UseMasterPassword()) + { + + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = dialogManageSecret; + + label86.Text = "Enter your Master Password to view passwords"; + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + label88.Hide(); + entryMasterPassword4.Hide(); + labelRememberFor.Visible = true; + labelSeconds.Visible = true; + spinbuttonRememberFor.Visible = true; + spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + dialogLogin.Show(); + } + else + { + // display the values + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); } } else @@ -943,22 +943,22 @@ public class GnomeKeyring : Store /// public void OnCopyActivated(object obj, EventArgs args) { - Logger.DbgLog("GUI:GnomeKeyring.OnCopyActivated() - BEGIN"); - if( 0 != tvSecretIDGnomeKeyring.Selection.CountSelectedRows() ) - { - TreeModel model; - TreeIter iter; - string selected = null; - if( tvSecretIDGnomeKeyring.Selection.GetSelected (out model, out iter) ) - { - selected = (string) model.GetValue (iter, 0); - string[] saKeys = (string[]) model.GetValue(iter, 1); - string[] saValues = (string[]) model.GetValue(iter, 2); - - CopySecret cs = new CopySecret(selected, saKeys, saValues); - cs.Show(); - } - } + Logger.DbgLog("GUI:GnomeKeyring.OnCopyActivated() - BEGIN"); + if( 0 != tvSecretIDGnomeKeyring.Selection.CountSelectedRows() ) + { + TreeModel model; + TreeIter iter; + string selected = null; + if( tvSecretIDGnomeKeyring.Selection.GetSelected (out model, out iter) ) + { + selected = (string) model.GetValue (iter, 0); + string[] saKeys = (string[]) model.GetValue(iter, 1); + string[] saValues = (string[]) model.GetValue(iter, 2); + + CopySecret cs = new CopySecret(selected, saKeys, saValues); + cs.Show(); + } + } Logger.DbgLog("GUI:GnomeKeyring.OnCopyActivated() - END"); } diff --git a/CASA/gui/ImportSecrets.cs b/CASA/gui/ImportSecrets.cs index 44383775..dd83695c 100644 --- a/CASA/gui/ImportSecrets.cs +++ b/CASA/gui/ImportSecrets.cs @@ -1,7 +1,7 @@ using System; -using System.IO; -using System.Collections.Specialized; - +using System.IO; +using System.Collections.Specialized; + using Gtk; using Novell.CASA.MiCasa.Communication; @@ -17,34 +17,34 @@ namespace Novell.CASA.GUI Config m_config = null; public MiCasa m_objMiCasa = null; string sFile = null; - byte[] buffer = null; - TreeStore tsConflicts; - - SecretStore m_ss = null; - StringCollection m_scConflicts; - - #region GladeWidgets + byte[] buffer = null; + TreeStore tsConflicts; + + SecretStore m_ss = null; + StringCollection m_scConflicts; + + #region GladeWidgets [Glade.Widget] Gtk.Entry entryMasterPassword; [Glade.Widget] Gtk.Dialog dialogImport, - dialogLogin, - dialogResolveConflict; - - [Glade.Widget] - Gtk.TreeView tvConflicts; - - [Glade.Widget] - Gtk.Button bttnImport, - bttnIgnore; - - [Glade.Widget] - Gtk.CheckButton cbShowValues; - #endregion - + dialogLogin, + dialogResolveConflict; + + [Glade.Widget] + Gtk.TreeView tvConflicts; + + [Glade.Widget] + Gtk.Button bttnImport, + bttnIgnore; + + [Glade.Widget] + Gtk.CheckButton cbShowValues; + #endregion + public ImportSecrets(SecretStore ss, Config config, MiCasa objMiCasa) - { + { m_ss = ss; m_config = config; m_objMiCasa = objMiCasa; @@ -97,18 +97,18 @@ namespace Novell.CASA.GUI ImportXMLSecrets addSecrets = new ImportXMLSecrets(null, null, sFile); MiCasaRequestReply.Send(MiCasaRequestReply.VERB_ADD_XML_SECRETS, null, null, null, addSecrets); - // check for conflicts - if (m_ss == null) - m_ss = SecretStore.GetInstance(); - - m_scConflicts = m_ss.EnumerateSecretIDs(SecretStore.SSCS_CONFLICT_KEYCHAIN); - if (m_scConflicts.Count > 0) - { - HandleConficts(m_ss, m_scConflicts); - } - else - { - CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Import complete"); + // check for conflicts + if (m_ss == null) + m_ss = SecretStore.GetInstance(); + + m_scConflicts = m_ss.EnumerateSecretIDs(SecretStore.SSCS_CONFLICT_KEYCHAIN); + if (m_scConflicts.Count > 0) + { + HandleConficts(m_ss, m_scConflicts); + } + else + { + CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Import complete"); } } else @@ -185,23 +185,23 @@ namespace Novell.CASA.GUI if (m_objMiCasa != null) { m_objMiCasa.AggregateStore(); - } - - // check for conflicts - if (m_ss == null) - m_ss = SecretStore.GetInstance(); - - m_scConflicts = m_ss.EnumerateSecretIDs(SecretStore.SSCS_CONFLICT_KEYCHAIN); - if (m_scConflicts.Count > 0) - { - HandleConficts(m_ss, m_scConflicts); - } - else - { - if (addSecrets.GetStatus().Equals("Success")) - CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Import complete"); - else - CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Failed: " + addSecrets.GetStatus()); + } + + // check for conflicts + if (m_ss == null) + m_ss = SecretStore.GetInstance(); + + m_scConflicts = m_ss.EnumerateSecretIDs(SecretStore.SSCS_CONFLICT_KEYCHAIN); + if (m_scConflicts.Count > 0) + { + HandleConficts(m_ss, m_scConflicts); + } + else + { + if (addSecrets.GetStatus().Equals("Success")) + CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Import complete"); + else + CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Failed: " + addSecrets.GetStatus()); } } } @@ -212,220 +212,220 @@ namespace Novell.CASA.GUI { dialogImport.Destroy(); } - } - - private void HandleConficts(SecretStore store, StringCollection scConflicts) - { - - bool bShowConflictDialog = false; - - // 0:secretID, 1:keyID, 2:importValue, 3:currentValue - tsConflicts = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string)); - - StringEnumerator sEnum = scConflicts.GetEnumerator(); - { - while (sEnum.MoveNext()) - { - string sSecretID = sEnum.Current; - Secret currentSecret = store.GetSecret(sSecretID); - - string sConflictSecretID; - if (sSecretID.StartsWith("SS_CredSet")) - { - sConflictSecretID = sSecretID.Substring(11); - } - else - { - sConflictSecretID = sSecretID; - } - Secret conflictSecret = store.GetSecret(SecretStore.SSCS_CONFLICT_KEYCHAIN, 0, sConflictSecretID, Secret.SS_CREDSET, ""); - - // add this conflict to the treestore - NameValueCollection nvcConflict = conflictSecret.GetKeyValueCollection(); - NameValueCollection nvcCurrent = currentSecret.GetKeyValueCollection(); - for (int i = 0; i < nvcConflict.Count; i++) - { - String sConflictKey = nvcConflict.GetKey(i); - String sConflictValue = nvcConflict.Get(sConflictKey); - String sCurrentValue = nvcCurrent.Get(sConflictKey); - - if (sCurrentValue != null) - { - if (sCurrentValue != sConflictValue) - { - tsConflicts.AppendValues(sSecretID, sConflictKey, sConflictValue, sCurrentValue, "*********"); - bShowConflictDialog = true; - } - } - else - { - tsConflicts.AppendValues(sSecretID, sConflictKey, sConflictValue, "", "*********"); - bShowConflictDialog = true; - } - } - } - - if (bShowConflictDialog == true) - { - // show dialog - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogResolveConflict", null); - gxmlTemp.Autoconnect(this); - - dialogResolveConflict.SetPosition(WindowPosition.CenterOnParent); - - tvConflicts.AppendColumn("SecretID", new Gtk.CellRendererText(), "text", 0); - tvConflicts.AppendColumn("Key", new Gtk.CellRendererText(), "text", 1); - if (cbShowValues.Active) - { - tvConflicts.AppendColumn("Import value", new Gtk.CellRendererText(), "text", 2); - tvConflicts.AppendColumn("Current value", new Gtk.CellRendererText(), "text", 3); - } - else - { - tvConflicts.AppendColumn("Import value", new Gtk.CellRendererText(), "text", 4); - tvConflicts.AppendColumn("Current value", new Gtk.CellRendererText(), "text", 4); - } - - tvConflicts.Selection.Mode = SelectionMode.Multiple; - - // hook up event handlers - bttnImport.Clicked += new EventHandler(bttnImport_Clicked); - bttnIgnore.Clicked += new EventHandler(bttnIgnore_Clicked); - cbShowValues.Toggled += new EventHandler(cbShowValues_Toggled); - - tvConflicts.Model = tsConflicts; - dialogResolveConflict.Show(); - } - else - { - ClearConflicts(); - CommonGUI.DisplayMessage(MessageType.Info, "Import complete"); - } - } - } - - void cbShowValues_Toggled(object sender, EventArgs e) - { - TreeViewColumn tvCol; - - if (cbShowValues.Active) - { - // verify MasterPassword - CommonGUI cg = new CommonGUI(); - if (cg.VerifyMasterPasswordWithUser()) - { - tvConflicts.RemoveColumn(tvConflicts.GetColumn(3)); - tvConflicts.RemoveColumn(tvConflicts.GetColumn(2)); - - // add columns - tvCol = new TreeViewColumn("Import value", new CellRendererText(), "text", 2); - tvConflicts.InsertColumn(tvCol, 2); - - tvCol = new TreeViewColumn("Current value", new CellRendererText(), "text", 3); - tvConflicts.InsertColumn(tvCol, 3); - } - else - { - cbShowValues.Active = false; - } - } - else - { - tvConflicts.RemoveColumn(tvConflicts.GetColumn(3)); - tvConflicts.RemoveColumn(tvConflicts.GetColumn(2)); - - // add columns - tvCol = new TreeViewColumn("Import value", new CellRendererText(), "text", 4); - tvConflicts.InsertColumn(tvCol, 2); - - tvCol = new TreeViewColumn("Current value", new CellRendererText(), "text", 4); - tvConflicts.InsertColumn(tvCol, 3); - } - } - - void bttnIgnore_Clicked(object sender, EventArgs e) - { - ClearConflicts(); - dialogResolveConflict.Destroy(); - } - - void bttnImport_Clicked(object sender, EventArgs e) - { - DoImport(); - } - - void DoImport() - { - // get selected rows - TreeModel model; - TreeIter iter; - TreePath[] treePaths = tvConflicts.Selection.GetSelectedRows(out model); - - - if (treePaths.Length > 0) - { - // iterate thru those to change - for (int i = 0; i < treePaths.Length; i++) - { - if (tsConflicts.GetIter(out iter, treePaths[i])) - { - string sSecretID = (string)tsConflicts.GetValue(iter, 0); - string sKey = (string)tsConflicts.GetValue(iter, 1); - string sNewValue = (string)tsConflicts.GetValue(iter, 2); - string sCurValue = (string)tsConflicts.GetValue(iter, 3); - - if ((sCurValue == null) || (sCurValue.Length == 0)) - { - StoreDataInterface.AddCASASecretKey(sSecretID, sKey, sNewValue); - } - else - { - StoreDataInterface.ModifyCASASecretKey(sSecretID, sKey, sNewValue); - } - - tsConflicts.SetValue(iter, 3, sNewValue); - } - } - - for (int i = 0; i < treePaths.Length; i++) - { - if (tsConflicts.GetIter(out iter, treePaths[i])) - { - tsConflicts.Remove(ref iter); - } - } - - // refresh the store - //ClearConflicts(); - m_objMiCasa.AggregateStore(); - } - else - { - CommonGUI.DisplayMessage(MessageType.Error, "Select the values you want to import"); - } - } - - private void ClearConflicts() - { - // enumerate thru conflicts, clearing each one - if (m_ss != null) - { - if (m_scConflicts != null) - { - StringEnumerator sEnum = m_scConflicts.GetEnumerator(); - while (sEnum.MoveNext()) - { - string sSecretID = (string)sEnum.Current; - if (sSecretID.StartsWith("SS_CredSet")) - { - sSecretID = sSecretID.Substring(11); - } - m_ss.RemoveSecret(0, SecretStore.SSCS_CONFLICT_KEYCHAIN, null, sSecretID, Secret.SS_CREDSET); - } - } - } - - tsConflicts.Clear(); + } + + private void HandleConficts(SecretStore store, StringCollection scConflicts) + { + + bool bShowConflictDialog = false; + + // 0:secretID, 1:keyID, 2:importValue, 3:currentValue + tsConflicts = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(string), typeof(string)); + + StringEnumerator sEnum = scConflicts.GetEnumerator(); + { + while (sEnum.MoveNext()) + { + string sSecretID = sEnum.Current; + Secret currentSecret = store.GetSecret(sSecretID); + + string sConflictSecretID; + if (sSecretID.StartsWith("SS_CredSet")) + { + sConflictSecretID = sSecretID.Substring(11); + } + else + { + sConflictSecretID = sSecretID; + } + Secret conflictSecret = store.GetSecret(SecretStore.SSCS_CONFLICT_KEYCHAIN, 0, sConflictSecretID, Secret.SS_CREDSET, ""); + + // add this conflict to the treestore + NameValueCollection nvcConflict = conflictSecret.GetKeyValueCollection(); + NameValueCollection nvcCurrent = currentSecret.GetKeyValueCollection(); + for (int i = 0; i < nvcConflict.Count; i++) + { + String sConflictKey = nvcConflict.GetKey(i); + String sConflictValue = nvcConflict.Get(sConflictKey); + String sCurrentValue = nvcCurrent.Get(sConflictKey); + + if (sCurrentValue != null) + { + if (sCurrentValue != sConflictValue) + { + tsConflicts.AppendValues(sSecretID, sConflictKey, sConflictValue, sCurrentValue, "*********"); + bShowConflictDialog = true; + } + } + else + { + tsConflicts.AppendValues(sSecretID, sConflictKey, sConflictValue, "", "*********"); + bShowConflictDialog = true; + } + } + } + + if (bShowConflictDialog == true) + { + // show dialog + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogResolveConflict", null); + gxmlTemp.Autoconnect(this); + + dialogResolveConflict.SetPosition(WindowPosition.CenterOnParent); + + tvConflicts.AppendColumn("SecretID", new Gtk.CellRendererText(), "text", 0); + tvConflicts.AppendColumn("Key", new Gtk.CellRendererText(), "text", 1); + if (cbShowValues.Active) + { + tvConflicts.AppendColumn("Import value", new Gtk.CellRendererText(), "text", 2); + tvConflicts.AppendColumn("Current value", new Gtk.CellRendererText(), "text", 3); + } + else + { + tvConflicts.AppendColumn("Import value", new Gtk.CellRendererText(), "text", 4); + tvConflicts.AppendColumn("Current value", new Gtk.CellRendererText(), "text", 4); + } + + tvConflicts.Selection.Mode = SelectionMode.Multiple; + + // hook up event handlers + bttnImport.Clicked += new EventHandler(bttnImport_Clicked); + bttnIgnore.Clicked += new EventHandler(bttnIgnore_Clicked); + cbShowValues.Toggled += new EventHandler(cbShowValues_Toggled); + + tvConflicts.Model = tsConflicts; + dialogResolveConflict.Show(); + } + else + { + ClearConflicts(); + CommonGUI.DisplayMessage(MessageType.Info, "Import complete"); + } + } + } + + void cbShowValues_Toggled(object sender, EventArgs e) + { + TreeViewColumn tvCol; + + if (cbShowValues.Active) + { + // verify MasterPassword + CommonGUI cg = new CommonGUI(); + if (cg.VerifyMasterPasswordWithUser()) + { + tvConflicts.RemoveColumn(tvConflicts.GetColumn(3)); + tvConflicts.RemoveColumn(tvConflicts.GetColumn(2)); + + // add columns + tvCol = new TreeViewColumn("Import value", new CellRendererText(), "text", 2); + tvConflicts.InsertColumn(tvCol, 2); + + tvCol = new TreeViewColumn("Current value", new CellRendererText(), "text", 3); + tvConflicts.InsertColumn(tvCol, 3); + } + else + { + cbShowValues.Active = false; + } + } + else + { + tvConflicts.RemoveColumn(tvConflicts.GetColumn(3)); + tvConflicts.RemoveColumn(tvConflicts.GetColumn(2)); + + // add columns + tvCol = new TreeViewColumn("Import value", new CellRendererText(), "text", 4); + tvConflicts.InsertColumn(tvCol, 2); + + tvCol = new TreeViewColumn("Current value", new CellRendererText(), "text", 4); + tvConflicts.InsertColumn(tvCol, 3); + } + } + + void bttnIgnore_Clicked(object sender, EventArgs e) + { + ClearConflicts(); + dialogResolveConflict.Destroy(); + } + + void bttnImport_Clicked(object sender, EventArgs e) + { + DoImport(); + } + + void DoImport() + { + // get selected rows + TreeModel model; + TreeIter iter; + TreePath[] treePaths = tvConflicts.Selection.GetSelectedRows(out model); + + + if (treePaths.Length > 0) + { + // iterate thru those to change + for (int i = 0; i < treePaths.Length; i++) + { + if (tsConflicts.GetIter(out iter, treePaths[i])) + { + string sSecretID = (string)tsConflicts.GetValue(iter, 0); + string sKey = (string)tsConflicts.GetValue(iter, 1); + string sNewValue = (string)tsConflicts.GetValue(iter, 2); + string sCurValue = (string)tsConflicts.GetValue(iter, 3); + + if ((sCurValue == null) || (sCurValue.Length == 0)) + { + StoreDataInterface.AddCASASecretKey(sSecretID, sKey, sNewValue); + } + else + { + StoreDataInterface.ModifyCASASecretKey(sSecretID, sKey, sNewValue); + } + + tsConflicts.SetValue(iter, 3, sNewValue); + } + } + + for (int i = 0; i < treePaths.Length; i++) + { + if (tsConflicts.GetIter(out iter, treePaths[i])) + { + tsConflicts.Remove(ref iter); + } + } + + // refresh the store + //ClearConflicts(); + m_objMiCasa.AggregateStore(); + } + else + { + CommonGUI.DisplayMessage(MessageType.Error, "Select the values you want to import"); + } + } + + private void ClearConflicts() + { + // enumerate thru conflicts, clearing each one + if (m_ss != null) + { + if (m_scConflicts != null) + { + StringEnumerator sEnum = m_scConflicts.GetEnumerator(); + while (sEnum.MoveNext()) + { + string sSecretID = (string)sEnum.Current; + if (sSecretID.StartsWith("SS_CredSet")) + { + sSecretID = sSecretID.Substring(11); + } + m_ss.RemoveSecret(0, SecretStore.SSCS_CONFLICT_KEYCHAIN, null, sSecretID, Secret.SS_CREDSET); + } + } + } + + tsConflicts.Clear(); } } } diff --git a/CASA/gui/KdeWallet.cs b/CASA/gui/KdeWallet.cs index 68d4dedb..8921f8f9 100644 --- a/CASA/gui/KdeWallet.cs +++ b/CASA/gui/KdeWallet.cs @@ -499,30 +499,30 @@ public class KdeWallet : Store tvKeyValue.InsertColumn(tvCol, 1); } else if (true == cbuttonShowPassword.Active) - { - if (CommonGUI.UseMasterPassword()) - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = dialogManageSecret; - - label86.Text = "Enter your Master Password to view passwords"; - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - label88.Hide(); - entryMasterPassword4.Hide(); - labelRememberFor.Visible = true; - labelSeconds.Visible = true; - spinbuttonRememberFor.Visible = true; - spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - dialogLogin.Show(); - } - else - { - // display the values - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); + { + if (CommonGUI.UseMasterPassword()) + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = dialogManageSecret; + + label86.Text = "Enter your Master Password to view passwords"; + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + label88.Hide(); + entryMasterPassword4.Hide(); + labelRememberFor.Visible = true; + labelSeconds.Visible = true; + spinbuttonRememberFor.Visible = true; + spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + dialogLogin.Show(); + } + else + { + // display the values + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); } } else @@ -939,22 +939,22 @@ public class KdeWallet : Store /// public void OnCopyActivated(object obj, EventArgs args) { - Logger.DbgLog("GUI:KdeWallet.OnCopyActivated() - BEGIN"); - if( 0 != tvSecretIDKdeWallet.Selection.CountSelectedRows() ) - { - TreeModel model; - TreeIter iter; - string selected = null; - if( tvSecretIDKdeWallet.Selection.GetSelected (out model, out iter) ) - { - selected = (string) model.GetValue (iter, 0); - string[] saKeys = (string[]) model.GetValue(iter, 1); - string[] saValues = (string[]) model.GetValue(iter, 2); - - CopySecret cs = new CopySecret(selected, saKeys, saValues); - cs.Show(); - } - } + Logger.DbgLog("GUI:KdeWallet.OnCopyActivated() - BEGIN"); + if( 0 != tvSecretIDKdeWallet.Selection.CountSelectedRows() ) + { + TreeModel model; + TreeIter iter; + string selected = null; + if( tvSecretIDKdeWallet.Selection.GetSelected (out model, out iter) ) + { + selected = (string) model.GetValue (iter, 0); + string[] saKeys = (string[]) model.GetValue(iter, 1); + string[] saValues = (string[]) model.GetValue(iter, 2); + + CopySecret cs = new CopySecret(selected, saKeys, saValues); + cs.Show(); + } + } Logger.DbgLog("GUI:KdeWallet.OnCopyActivated() - END"); } diff --git a/CASA/gui/Makefile.am b/CASA/gui/Makefile.am deleted file mode 100644 index 199cee52..00000000 --- a/CASA/gui/Makefile.am +++ /dev/null @@ -1,144 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CSFILES) *.sh CASAManager.* help/en/*.htm help/en/*.gif \ - images/*.png images/*.ico images/*.glade* \ - images/*.bmp windows - -#EXTRA_DIST = $(CSFILES) help/en help/en/*.htm help/en/*.gif \ -# images/*.png images/*.ico images/*.glade* \ -# images/*.bmp - -CASAROOT = .. - -CASALIBDIR = $(CASAROOT)/$(LIB)/$(TARGET_CFG) - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =CASAManager -MODULE_EXT =exe - -CSFILES =$(srcdir)/AssemblyInfo.cs \ - $(srcdir)/CasaMain.cs \ - $(srcdir)/CasaTray.cs \ - $(srcdir)/CopySecret.cs \ - $(srcdir)/DbgFileChooser.cs \ - $(srcdir)/TrayLib.cs \ - $(srcdir)/ExportSecrets.cs \ - $(srcdir)/FileChooser.cs \ - $(srcdir)/ImportSecrets.cs \ - $(srcdir)/FindAndReplace.cs \ - $(srcdir)/Firefox.cs \ - $(srcdir)/GnomeKeyring.cs \ - $(srcdir)/KdeWallet.cs \ - $(srcdir)/Logger.cs \ - $(srcdir)/MiCasa.cs \ - $(srcdir)/Mozilla.cs \ - $(srcdir)/Store.cs \ - $(srcdir)/StoreDataInterface.cs \ - $(srcdir)/StorePolicyInterface.cs \ - $(srcdir)/CommonGUI.cs \ - $(srcdir)/Common.cs \ - $(srcdir)/PersistentPolicyDialog.cs \ - $(srcdir)/Config.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -d:LINUX -nowarn:169 -CS_RESOURCES = -CS_LIBS = Mono.Posix.dll \ - $(CASALIBDIR)/Novell.CASA.Common.dll \ - $(CASALIBDIR)/Novell.CASA.miCASAWrapper.dll \ - $(CASALIBDIR)/Novell.CASA.A-D.dll \ - $(CASALIBDIR)/Novell.CASA.CASAPolicy.dll -CS_LIBPATH = ../c_micasad/test/dependencies \ - $(CASALIBDIR) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) $(CS_LIBPATH:%=-lib:%) $(CS_LIBS:%=/r:%) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASABINDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR) - [ -d $(CASABINDIR)/$(TARGET_CFG) ] || mkdir -p $(CASABINDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/gui/MiCasa.cs b/CASA/gui/MiCasa.cs index 7f006053..84bb5d14 100644 --- a/CASA/gui/MiCasa.cs +++ b/CASA/gui/MiCasa.cs @@ -18,895 +18,895 @@ * To contact Novell about this file by physical or electronic mail, * you may find current contact information at www.novell.com. * - ***********************************************************************/ - -namespace Novell.CASA.GUI -{ - - - using System; - using System.Collections; - using System.Collections.Specialized; - using System.Threading; - - using Gtk; - using Glade; - using Novell.CASA.MiCasa.Common; - using Novell.CASA.MiCasa.Communication; - - - public class MiCasa : Store - { - Gtk.TreeStore tsSecretIDMiCasa, - tsNativeInfoMiCasa, - tsKeyValue, - tsAvailableSecrets, - tsAvailableKeys, - tsLinkedKeys; - - CellRendererText cellEditable; - - ArrayList arrDeletedKeys = null; - - private SecretStore m_store = null; - - private int m_iRememberSeconds = 5; - private String m_sRememberFor = "5"; - - - private Config m_config = null; - #region Glade Widgets - - [Glade.Widget] - public Gtk.Window windowMain; - - [Glade.Widget] - public Gtk.TreeView tvSecretIDMiCasa; - - [Glade.Widget] - Gtk.TreeView tvNativeInfoMiCasa, - tvKeyValue, - tvAvailableSecrets, - tvAvailableKeys, - tvLinkedKeys; - - [Glade.Widget] - Gtk.Dialog dialogNewSecret, - dialogManageSecret, - dialogConfirmDelete, - dialogLogin, - dialogLinkKeyValue, - dialogSpecialCharacter, - dialogDecode; - - [Glade.Widget] - Gtk.Menu menuRightClick, - menuRightClickKeyValue; - - [Glade.Widget] - Gtk.Entry entrySecretID, - entryKey, - entryValue, - entryDeleteSecretID, - entryLinkValue, - entryMasterPassword3, - entryMasterPassword4; - - [Glade.Widget] - Gtk.CheckButton cbuttonShowPassword, - checkbuttonShowDeleteDialog; - - [Glade.Widget] - Gtk.MenuItem cmiNewKey, - cmiDelete, - cmiView, - cmiLink, - cmiCopy, - menuItemLinkKey, - menuItemDecodeValue; - - - [Glade.Widget] - Gtk.Notebook notebook2; - - [Glade.Widget] - Gtk.Label labelLinkSecretID, - labelLinkKeyID, - label86, - label88, - labelRememberFor, - labelSeconds; - - [Glade.Widget] - Gtk.SpinButton spinbuttonRememberFor; - - [Glade.Widget] - Gtk.TextView textviewEncoded, - textviewClear; - - [Glade.Widget] - Gtk.Button bttnDecode, - bttnEncode, - bttnExpand, - bttnCloseDecode; - - [Glade.Widget] - Gtk.ScrolledWindow scrolledwindowEncoded; - #endregion - - - - ///####################################################################### - /// CONSTRUCTOR - - /// - /// - /// - public MiCasa(Config config) - { - Logger.DbgLog("GUI:MiCasa.MiCasa() - BEGIN"); - - m_config = config; - - /// SecretID TreeStore - tvSecretIDMiCasa = (Gtk.TreeView)CasaMain.gxmlMain.GetWidget("tvSecretIDMiCasa"); - tsSecretIDMiCasa = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[])); - tvSecretIDMiCasa.AppendColumn("Secret ID", new CellRendererText(), "text", 0); - tvSecretIDMiCasa.Model = tsSecretIDMiCasa; - tsSecretIDMiCasa.SetSortColumnId(0, Gtk.SortType.Ascending); - tvSecretIDMiCasa.RowActivated += new RowActivatedHandler(OntvSecretIDMiCasaRowActivated); - tvSecretIDMiCasa.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClicked); - tvSecretIDMiCasa.CursorChanged += new EventHandler(OnCursorChanged); - - - /// NativeInfo TreeStore - tvNativeInfoMiCasa = (Gtk.TreeView)CasaMain.gxmlMain.GetWidget("tvNativeInfoMiCasa"); - tsNativeInfoMiCasa = new TreeStore(typeof(string), typeof(string)); - tvNativeInfoMiCasa.AppendColumn("NativeKey", new CellRendererText(), "text", 0); - tvNativeInfoMiCasa.AppendColumn("NativeValue", new CellRendererText(), "text", 1); - tvNativeInfoMiCasa.Model = tsNativeInfoMiCasa; - tvNativeInfoMiCasa.ModifyBase(StateType.Normal, new Gdk.Color(0xff, 0xff, 0xe6)); - /// Aggregate the store - AggregateStore(); - Logger.DbgLog("GUI:MiCasa.MiCasa() - END"); - } - - - - ///####################################################################### - /// AGGREGATE STORE - - /// - /// - /// - public override void AggregateStore() - { - Logger.DbgLog("GUI:MiCasa.AggregateStore() - BEGIN"); - - try - { - tsSecretIDMiCasa.Clear(); - tsNativeInfoMiCasa.Clear(); - StoreDataInterface.AggregateStore(Common.STORE_MICASA); - StoreDataInterface.ReadStore(Common.STORE_MICASA, ref tsSecretIDMiCasa); - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.AggregateStore() - EXCEPTION:" + exp.ToString()); - } - - Logger.DbgLog("GUI:MiCasa.AggregateStore() - END"); - } - - public override void ClearViewOnStore() - { - tsSecretIDMiCasa.Clear(); - tsNativeInfoMiCasa.Clear(); - } - - - - ///####################################################################### - /// DISPLAY NATIVE INFO - - /// - /// For Native Information display. - /// - private void OnCursorChanged(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnCursorChanged() - BEGIN"); - - TreeModel model; - TreeIter iter; - string selected = null; - string[] NativeKeys = null, - NativeValues = null; - - if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) - selected = (string)model.GetValue(iter, 0); - - if ((null != selected) && (selected.Length > 0)) - { - tsNativeInfoMiCasa.Clear(); - /// Populate NativeInfo - tsNativeInfoMiCasa.AppendValues("Keychain Name", "= " + model.GetValue(iter, 3)); - NativeKeys = (string[])model.GetValue(iter, 4); - NativeValues = (string[])model.GetValue(iter, 5); - for (int i = 0; i < NativeKeys.Length; i++) - if ((null != NativeValues[i]) && ("" != NativeValues[i])) - tsNativeInfoMiCasa.AppendValues(NativeKeys[i], "= " + NativeValues[i]); - tvNativeInfoMiCasa.ShowAll(); - } - - Logger.DbgLog("GUI:MiCasa.OnCursorChanged() - END"); - } - - ///####################################################################### - /// RIGHT-CLICK CONTEXT MENU - - /// - /// - /// - public void OnRightClicked(object obj, ButtonReleaseEventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnRightClicked() - BEGIN"); - - if (3 == args.Event.Button) - { - try - { - Logger.DbgLog("GUI:MiCasa.OnRightClicked() - Context menu opened."); - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "menuRightClick", null); - gxmlTemp.Autoconnect(this); - menuRightClick.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime); - - if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) - cmiCopy.Sensitive = true; - else - cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false; - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.OnRightClicked() - EXCEPTION:" + exp.ToString()); - } - } - Logger.DbgLog("GUI:MiCasa.OnRightClicked() - BEGIN"); - } - - - - ///####################################################################### - /// VIEW KEY-VALUES - - /// - /// - /// - public override void ViewKeyValues() - { - Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - BEGIN"); - - TreeModel model; - TreeIter iter; - string selected = null; - string[] keys = null, - values = null; - - try - { - if (null == arrDeletedKeys) - arrDeletedKeys = new ArrayList(); - else - arrDeletedKeys.Clear(); - - if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) - { - selected = (string)model.GetValue(iter, 0); - keys = (string[])model.GetValue(iter, 1); - values = (string[])model.GetValue(iter, 2); - - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogManageSecret", null); - gxmlTemp.Autoconnect(this); - dialogManageSecret.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); - dialogManageSecret.Title = "miCASA - Manage Secret"; - - cellEditable = new CellRendererText(); - cellEditable.Editable = true; - cellEditable.Edited += new EditedHandler(OnKeyValueEdited); - /// KEY:0 VALUE:1 VALUE-DUP:2 DIRTY-BIT:3 LINK:4 - tsKeyValue = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(bool), typeof(string), typeof(string), typeof(string)); - tvKeyValue.AppendColumn("Key", new CellRendererText(), "text", 0); - tvKeyValue.AppendColumn("Value", cellEditable, "text", 2); - tvKeyValue.AppendColumn("Linked", new CellRendererText(), "text", 4); - tvKeyValue.AppendColumn("Created", new CellRendererText(), "text", 5); - tvKeyValue.AppendColumn("Modified", new CellRendererText(), "text", 6); - - tvKeyValue.RowActivated += new RowActivatedHandler(tvKeyValue_RowActivated); - - - //tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); - - entrySecretID.Text = selected; - SecretStore ss = GetMiCasaStore(); - bool bHasLinks = false; - - for (int i = 0; i < keys.Length; i++) - { - try - { - Secret secret = ss.GetSecret(selected); - - Hashtable ht = secret.GetLinkedKeys(keys[i]); - - DateTime dtCreated = secret.GetCreateTimeForKey(keys[i]); - DateTime dtModified = secret.GetModifiedTimeForKey(keys[i]); - - if (ht != null && ht.Count > 0) - bHasLinks = true; - else - bHasLinks = false; - - if ((null != keys[i]) && (null != values[i])) - if (bHasLinks) - { - tsKeyValue.AppendValues(keys[i], - values[i], - "********", - false, - "Yes", - dtCreated.ToShortDateString() + " " + dtCreated.ToShortTimeString(), - dtModified.ToShortDateString() + " " + dtModified.ToShortTimeString()); - } - else - { - tsKeyValue.AppendValues(keys[i], - values[i], - "********", - false, - "No", - dtCreated.ToShortDateString() + " " + dtCreated.ToShortTimeString(), - dtModified.ToShortDateString() + " " + dtModified.ToShortTimeString()); - } - } - catch (Exception e) - { - Logger.DbgLog(e.ToString()); - } - } - - - - tvKeyValue.Model = tsKeyValue; - entryKey.HasFocus = true; - } - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - EXCEPTION:" + exp.ToString()); - } - - Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - END"); - } - - - /// - /// EDIT KEY-VALUE - /// - public void OnKeyValueEdited(object obj, EditedArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - BEGIN"); - - TreeModel model; - TreeIter iter; - object val; - string KeyName = null, - KeyValue = null; - string[] Keys = null, - Values = null; - - try - { - tvKeyValue.Selection.GetSelected(out model, out iter); - val = tsKeyValue.GetValue(iter, 0); - KeyName = val.ToString(); - if (true == cbuttonShowPassword.Active) - val = tsKeyValue.GetValue(iter, 1); - else - val = tsKeyValue.GetValue(iter, 2); - KeyValue = val.ToString(); - - tvSecretIDMiCasa.Selection.GetSelected(out model, out iter); - - if (false == entrySecretID.Editable) - { - if (("" != args.NewText) && (Common.MAX_LEN >= args.NewText.Length) && (KeyValue != args.NewText)) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_MODIFY_KEY, KeyName, args.NewText, ref model, ref iter)) - { - Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - StoreDataInterface.UpdateStore() succeeded"); - tvKeyValue.Selection.GetSelected(out model, out iter); - tsKeyValue.SetValue(iter, 1, args.NewText); - tsKeyValue.SetValue(iter, 2, "********"); - - tvSecretIDMiCasa.Selection.GetSelected(out model, out iter); - Keys = (string[])model.GetValue(iter, 1); - Values = (string[])model.GetValue(iter, 2); - for (int i = 0; i < Keys.Length; i++) - { - if (Keys[i] == KeyName) - { - Values[i] = args.NewText; - tsSecretIDMiCasa.SetValue(iter, 2, Values); - break; - } - } - //AggregateStore(); - } - else - Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - ERROR: STATUS_STORE_UPDATEFAILED"); - } - - } - else if ((Common.MAX_LEN >= args.NewText.Length)) - { - tvKeyValue.Selection.GetSelected(out model, out iter); - tsKeyValue.SetValue(iter, 1, args.NewText); - tsKeyValue.SetValue(iter, 2, "********"); - } - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - EXCEPTION:" + exp.ToString()); - } - - Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - END"); - } - - public void on_buttonhelpEditSecret_clicked(object obj, EventArgs args) - { - Common.ShowHelpUrl("EditingSecrets.html"); - } - - /// - /// ADD BUTTON CLICKED - /// - public void on_buttonNewAdd_clicked(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.on_buttonNewAdd_clicked() - BEGIN"); - - if (("" != entryKey.Text) && ("" != entryValue.Text)) - { - TreeIter iterKey; - object val = null; - ArrayList arrKeys = new ArrayList(); - ArrayList arrValues = new ArrayList(); - - if (tsKeyValue.GetIterFirst(out iterKey)) - { - do - { - val = tsKeyValue.GetValue(iterKey, 0); - arrKeys.Add(val.ToString()); - val = tsKeyValue.GetValue(iterKey, 1); - arrValues.Add(val.ToString()); - } - while (tsKeyValue.IterNext(ref iterKey)); - } - if (-1 == arrKeys.IndexOf(entryKey.Text)) - if (true == Common.ValidateString(entryKey.Text)) - { - iterKey = tsKeyValue.AppendValues(entryKey.Text, entryValue.Text, "********", true, "No"); - entryKey.Text = entryValue.Text = ""; - } - else - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogSpecialCharacter", null); - gxmlTemp.Autoconnect(this); - //dialogSpecialCharacter.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogNewSecret"); - } - //tvKeyValue.Selection.SelectIter(iterKey); - entryKey.HasFocus = true; - } - - Logger.DbgLog("GUI:MiCasa.on_buttonNewAdd_clicked() - END"); - } - - public void on_buttonSCClose_clicked(object obj, EventArgs args) - { - dialogSpecialCharacter.Destroy(); - } - - /// - /// REMOVE BUTTON CLICKED - /// - public void on_buttonNewRemove_clicked(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.on_buttonNewRemove_clicked() - BEGIN"); - - TreeModel modelKey; - TreeIter iterKey; - - if (tvKeyValue.Selection.GetSelected(out modelKey, out iterKey)) - if (false == (bool)tsKeyValue.GetValue(iterKey, 3)) - arrDeletedKeys.Add(tsKeyValue.GetValue(iterKey, 0)); - - if (0 != tvKeyValue.Selection.CountSelectedRows()) - { - TreeModel model; - TreeIter iter; - - tvKeyValue.Selection.GetSelected(out model, out iter); - tsKeyValue.Remove(ref iter); - tvKeyValue.ColumnsAutosize(); - } - - Logger.DbgLog("GUI:MiCasa.on_buttonNewRemove_clicked() - END"); - } - - - /// - /// SHOW PASSWORD CHECK BUTTON CLICKED - /// - public void on_cbuttonShowPassword_toggled(object obj, EventArgs args) - { - TreeViewColumn tvCol; - - if (tvKeyValue.Model.IterNChildren() > 0) - { - if ((true == cbuttonShowPassword.Active) - && (CommonGUI.GetRememberMPUntil().CompareTo(DateTime.Now) > 0)) - { - // set and start the timer if needed - TimeSpan ts = CommonGUI.GetRememberMPUntil().Subtract(DateTime.Now); - m_iRememberSeconds = ts.Seconds; - StartRememberTimer(); - - // display the values - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); - tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); - } - else if (true == cbuttonShowPassword.Active) - { - if (CommonGUI.UseMasterPassword()) - { - // prompt user for MasterPassword - - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); - gxmlTemp.Autoconnect(this); - dialogLogin.TransientFor = dialogManageSecret; - - label86.Text = "Enter your Master Password to view values"; - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - label88.Hide(); - entryMasterPassword4.Hide(); - - labelRememberFor.Visible = true; - labelSeconds.Visible = true; - spinbuttonRememberFor.Visible = true; - spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - - dialogLogin.Show(); - } - else - { - // display the values - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); - tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); - } - } - else - { - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 2); - tvKeyValue.InsertColumn(tvCol, 1); - tvKeyValue.ButtonReleaseEvent -= (OnRightClickedKeyValue); - } - } - } - - public void okbuttonLogin_clicked(object abj, EventArgs args) - { - TreeViewColumn tvCol; - - if (tvKeyValue.Model.IterNChildren() > 0) - - if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) - { - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); - tvKeyValue.InsertColumn(tvCol, 1); - tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); - - // get seconds to remember - m_sRememberFor = spinbuttonRememberFor.Text; - if (m_sRememberFor != null) - { - DateTime dtNow = DateTime.Now; - m_iRememberSeconds = int.Parse(m_sRememberFor); - CommonGUI.SetRememberMPUntil(dtNow.AddSeconds(m_iRememberSeconds)); - } - - // save off remember time if user changed it - string sSaveTimed = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, "5"); - if (!sSaveTimed.Equals(m_sRememberFor)) - { - m_config.SetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); - m_config.WriteConfig(); - } - - dialogLogin.Destroy(); - - if (m_iRememberSeconds > 0) - StartRememberTimer(); - } - else - { - // prompt user - MessageDialog md = new MessageDialog(dialogLogin, Gtk.DialogFlags.Modal, - Gtk.MessageType.Warning, - Gtk.ButtonsType.Ok, - "Master Password incorrect"); - - md.Response += new ResponseHandler(md_Response2); - md.SetPosition(Gtk.WindowPosition.CenterOnParent); - md.Modal = true; - md.Show(); - } - } - - public void closebuttonLogin_clicked(object abj, EventArgs args) - { - cbuttonShowPassword.Active = false; - dialogLogin.Destroy(); - } - - - public void OnDialogLoginDeleted(object obj, DeleteEventArgs args) - { - cbuttonShowPassword.Active = false; - dialogLogin.Destroy(); - args.RetVal = true; - } - - private bool bTimerActive = false; - public void StartRememberTimer() - { - if (!bTimerActive) - { - GLib.Timeout.Add((uint)(m_iRememberSeconds * 1000), new GLib.TimeoutHandler(update_gui)); - bTimerActive = true; - } - } - - private bool update_gui() - { - TreeViewColumn tvCol; - try - { - tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); - tvCol = new TreeViewColumn("Value", cellEditable, "text", 2); - tvKeyValue.InsertColumn(tvCol, 1); - cbuttonShowPassword.Active = false; - tvKeyValue.ButtonReleaseEvent -= (OnRightClickedKeyValue); - } - catch (Exception e) - { - //Console.WriteLine(e.ToString()); - } - bTimerActive = false; - - return false; - } - - - public void on_entryMasterPassword3_activate(object obj, EventArgs args) - { - if ("" != entryMasterPassword3.Text) - okbuttonLogin_clicked(obj, args); - } - - public void on_entryMasterPassword4_activate(object obj, EventArgs args) - { - okbuttonLogin_clicked(obj, args); - } - - - private void md_Response2(object o, ResponseArgs args) - { - MessageDialog md = (MessageDialog)o; - if (md != null) - { - md.Destroy(); - entryMasterPassword3.Text = ""; - entryMasterPassword3.HasFocus = true; - } - } - - public void on_helpbuttonAuthentication_clicked(object obj, EventArgs args) - { - Common.ShowHelpUrl("CASAMasterPasswordAuthentication.htm"); - } - - /// - /// MANAGE SECRET-ID DIALOG OK-BUTTON CLICKED - /// - public void on_buttonManageOk_clicked(object obj, EventArgs args) - { - TreeModel modelSecret; - TreeIter iterSecret, - iterKey; - string NewKey = null, - NewValue = null; - string[] strDeletedKeys = null; - bool dirtyBit = false; - //ArrayList arrKeys = null, - // arrValues = null; - - try - { - if ((0 == tvKeyValue.Model.IterNChildren()) && tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret)) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref modelSecret, ref iterSecret)) - { - tsSecretIDMiCasa.Remove(ref iterSecret); - tvSecretIDMiCasa.ColumnsAutosize(); - tsNativeInfoMiCasa.Clear(); - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_SECRET_SUCCEEDED"); - } - else - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_SECRET_FAILED"); - AggregateStore(); - } - else - { - if ((null != arrDeletedKeys) && (arrDeletedKeys.Count > 0)) - { - tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret); - strDeletedKeys = (string[])arrDeletedKeys.ToArray(typeof(string)); - for (int i = 0; i < strDeletedKeys.Length; i++) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_KEY, strDeletedKeys[i], null, ref modelSecret, ref iterSecret)) - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_KEY_SUCCEEDED."); - else - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_KEY_FAILED."); - } - arrDeletedKeys.Clear(); - - } - - if (tsKeyValue.GetIterFirst(out iterKey) && tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret)) - { - do - { - NewKey = (string)tsKeyValue.GetValue(iterKey, 0); - NewValue = (string)tsKeyValue.GetValue(iterKey, 1); - dirtyBit = (bool)tsKeyValue.GetValue(iterKey, 3); - - if (true == dirtyBit) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_ADD_KEY, NewKey, NewValue, ref modelSecret, ref iterSecret)) - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - ADD_KEY_VALUE_SUCCEEDED."); - else - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - ADD_KEY_VALUE_FAILED."); - } - } - while (tsKeyValue.IterNext(ref iterKey)); - - } - AggregateStore(); - } - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - EXCEPTION:" + exp.ToString()); - } - - tsKeyValue.Dispose(); - dialogManageSecret.Destroy(); - } - - /// - /// MANAGE SECRET-ID DIALOG CANCEL-BUTTON CLICKED - /// - public void on_buttonManageCancel_clicked(object obj, EventArgs args) - { - tsKeyValue.Dispose(); - arrDeletedKeys.Clear(); - dialogManageSecret.Destroy(); - } - - /// - /// SECRET-ID DOUBLE CLICKED - /// - private void OntvSecretIDMiCasaRowActivated(object obj, RowActivatedArgs args) - { - Logger.DbgLog("GUI:MiCasa.OntvSecretIDMiCasaRowActivated() - SecretID doubled clicked."); - ViewKeyValues(); - } - - /// - /// VIEW KEY-VALUES CALLED VIA MAIN-MENU/CONTEXT-MENU - /// - public void OnViewActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnViewActivated() - ViewKeyValues() called."); - ViewKeyValues(); - } - - ///####################################################################### - /// ADD NEW SECRET - - /// - /// - /// - public void OnNewSecretActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnNewSecretActivated() - BEGIN"); - - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogNewSecret", null); - gxmlTemp.Autoconnect(this); - dialogNewSecret.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); - dialogNewSecret.Title = "miCASA - New Secret"; - - cellEditable = new CellRendererText(); - cellEditable.Editable = true; - cellEditable.Edited += new EditedHandler(OnKeyValueEdited); - /// KEY:0 VALUE:1 VALUE-DUP:2 DIRTY-BIT:3 LINK:4 - tsKeyValue = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(bool), typeof(string)); - tvKeyValue.AppendColumn("Key", new CellRendererText(), "text", 0); - tvKeyValue.AppendColumn("Value", cellEditable, "text", 2); - tvKeyValue.AppendColumn("Linked", new CellRendererText(), "text", 4); - tvKeyValue.Model = tsKeyValue; - tsKeyValue.Clear(); - entrySecretID.HasFocus = true; - entrySecretID.Text = ""; - - Logger.DbgLog("GUI:MiCasa.OnNewSecretActivated() - END"); - } - - - - ///####################################################################### - /// ADD NEW KEY-VALUES TO EXISTING SECRET - - /// - /// - /// - public void OnNewKeyActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnNewKeyActivated() - BEGIN"); - - ViewKeyValues(); - - Logger.DbgLog("GUI:MiCasa.OnNewKeyActivated() - END"); - } - - - - - public void on_buttonNewOk_clicked(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - BEGIN"); - - TreeModel modelSecret; - TreeIter iterSecret, - iterKey; - string NewKey = null, - NewValue = null; - string[] Keys = null, - Values = null, - NativeKeys = null, - NativeValues = null; - object val = null; - ArrayList arrKeys = null, - arrValues = null; - - if (true == entrySecretID.Editable && false == Common.ValidateString(entrySecretID.Text)) - { + ***********************************************************************/ + +namespace Novell.CASA.GUI +{ + + + using System; + using System.Collections; + using System.Collections.Specialized; + using System.Threading; + + using Gtk; + using Glade; + using Novell.CASA.MiCasa.Common; + using Novell.CASA.MiCasa.Communication; + + + public class MiCasa : Store + { + Gtk.TreeStore tsSecretIDMiCasa, + tsNativeInfoMiCasa, + tsKeyValue, + tsAvailableSecrets, + tsAvailableKeys, + tsLinkedKeys; + + CellRendererText cellEditable; + + ArrayList arrDeletedKeys = null; + + private SecretStore m_store = null; + + private int m_iRememberSeconds = 5; + private String m_sRememberFor = "5"; + + + private Config m_config = null; + #region Glade Widgets + + [Glade.Widget] + public Gtk.Window windowMain; + + [Glade.Widget] + public Gtk.TreeView tvSecretIDMiCasa; + + [Glade.Widget] + Gtk.TreeView tvNativeInfoMiCasa, + tvKeyValue, + tvAvailableSecrets, + tvAvailableKeys, + tvLinkedKeys; + + [Glade.Widget] + Gtk.Dialog dialogNewSecret, + dialogManageSecret, + dialogConfirmDelete, + dialogLogin, + dialogLinkKeyValue, + dialogSpecialCharacter, + dialogDecode; + + [Glade.Widget] + Gtk.Menu menuRightClick, + menuRightClickKeyValue; + + [Glade.Widget] + Gtk.Entry entrySecretID, + entryKey, + entryValue, + entryDeleteSecretID, + entryLinkValue, + entryMasterPassword3, + entryMasterPassword4; + + [Glade.Widget] + Gtk.CheckButton cbuttonShowPassword, + checkbuttonShowDeleteDialog; + + [Glade.Widget] + Gtk.MenuItem cmiNewKey, + cmiDelete, + cmiView, + cmiLink, + cmiCopy, + menuItemLinkKey, + menuItemDecodeValue; + + + [Glade.Widget] + Gtk.Notebook notebook2; + + [Glade.Widget] + Gtk.Label labelLinkSecretID, + labelLinkKeyID, + label86, + label88, + labelRememberFor, + labelSeconds; + + [Glade.Widget] + Gtk.SpinButton spinbuttonRememberFor; + + [Glade.Widget] + Gtk.TextView textviewEncoded, + textviewClear; + + [Glade.Widget] + Gtk.Button bttnDecode, + bttnEncode, + bttnExpand, + bttnCloseDecode; + + [Glade.Widget] + Gtk.ScrolledWindow scrolledwindowEncoded; + #endregion + + + + ///####################################################################### + /// CONSTRUCTOR + + /// + /// + /// + public MiCasa(Config config) + { + Logger.DbgLog("GUI:MiCasa.MiCasa() - BEGIN"); + + m_config = config; + + /// SecretID TreeStore + tvSecretIDMiCasa = (Gtk.TreeView)CasaMain.gxmlMain.GetWidget("tvSecretIDMiCasa"); + tsSecretIDMiCasa = new TreeStore(typeof(string), typeof(string[]), typeof(string[]), typeof(string), typeof(string[]), typeof(string[])); + tvSecretIDMiCasa.AppendColumn("Secret ID", new CellRendererText(), "text", 0); + tvSecretIDMiCasa.Model = tsSecretIDMiCasa; + tsSecretIDMiCasa.SetSortColumnId(0, Gtk.SortType.Ascending); + tvSecretIDMiCasa.RowActivated += new RowActivatedHandler(OntvSecretIDMiCasaRowActivated); + tvSecretIDMiCasa.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClicked); + tvSecretIDMiCasa.CursorChanged += new EventHandler(OnCursorChanged); + + + /// NativeInfo TreeStore + tvNativeInfoMiCasa = (Gtk.TreeView)CasaMain.gxmlMain.GetWidget("tvNativeInfoMiCasa"); + tsNativeInfoMiCasa = new TreeStore(typeof(string), typeof(string)); + tvNativeInfoMiCasa.AppendColumn("NativeKey", new CellRendererText(), "text", 0); + tvNativeInfoMiCasa.AppendColumn("NativeValue", new CellRendererText(), "text", 1); + tvNativeInfoMiCasa.Model = tsNativeInfoMiCasa; + tvNativeInfoMiCasa.ModifyBase(StateType.Normal, new Gdk.Color(0xff, 0xff, 0xe6)); + /// Aggregate the store + AggregateStore(); + Logger.DbgLog("GUI:MiCasa.MiCasa() - END"); + } + + + + ///####################################################################### + /// AGGREGATE STORE + + /// + /// + /// + public override void AggregateStore() + { + Logger.DbgLog("GUI:MiCasa.AggregateStore() - BEGIN"); + + try + { + tsSecretIDMiCasa.Clear(); + tsNativeInfoMiCasa.Clear(); + StoreDataInterface.AggregateStore(Common.STORE_MICASA); + StoreDataInterface.ReadStore(Common.STORE_MICASA, ref tsSecretIDMiCasa); + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.AggregateStore() - EXCEPTION:" + exp.ToString()); + } + + Logger.DbgLog("GUI:MiCasa.AggregateStore() - END"); + } + + public override void ClearViewOnStore() + { + tsSecretIDMiCasa.Clear(); + tsNativeInfoMiCasa.Clear(); + } + + + + ///####################################################################### + /// DISPLAY NATIVE INFO + + /// + /// For Native Information display. + /// + private void OnCursorChanged(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnCursorChanged() - BEGIN"); + + TreeModel model; + TreeIter iter; + string selected = null; + string[] NativeKeys = null, + NativeValues = null; + + if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) + selected = (string)model.GetValue(iter, 0); + + if ((null != selected) && (selected.Length > 0)) + { + tsNativeInfoMiCasa.Clear(); + /// Populate NativeInfo + tsNativeInfoMiCasa.AppendValues("Keychain Name", "= " + model.GetValue(iter, 3)); + NativeKeys = (string[])model.GetValue(iter, 4); + NativeValues = (string[])model.GetValue(iter, 5); + for (int i = 0; i < NativeKeys.Length; i++) + if ((null != NativeValues[i]) && ("" != NativeValues[i])) + tsNativeInfoMiCasa.AppendValues(NativeKeys[i], "= " + NativeValues[i]); + tvNativeInfoMiCasa.ShowAll(); + } + + Logger.DbgLog("GUI:MiCasa.OnCursorChanged() - END"); + } + + ///####################################################################### + /// RIGHT-CLICK CONTEXT MENU + + /// + /// + /// + public void OnRightClicked(object obj, ButtonReleaseEventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnRightClicked() - BEGIN"); + + if (3 == args.Event.Button) + { + try + { + Logger.DbgLog("GUI:MiCasa.OnRightClicked() - Context menu opened."); + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "menuRightClick", null); + gxmlTemp.Autoconnect(this); + menuRightClick.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime); + + if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) + cmiCopy.Sensitive = true; + else + cmiNewKey.Sensitive = cmiView.Sensitive = cmiLink.Sensitive = cmiCopy.Sensitive = cmiDelete.Sensitive = false; + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.OnRightClicked() - EXCEPTION:" + exp.ToString()); + } + } + Logger.DbgLog("GUI:MiCasa.OnRightClicked() - BEGIN"); + } + + + + ///####################################################################### + /// VIEW KEY-VALUES + + /// + /// + /// + public override void ViewKeyValues() + { + Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - BEGIN"); + + TreeModel model; + TreeIter iter; + string selected = null; + string[] keys = null, + values = null; + + try + { + if (null == arrDeletedKeys) + arrDeletedKeys = new ArrayList(); + else + arrDeletedKeys.Clear(); + + if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) + { + selected = (string)model.GetValue(iter, 0); + keys = (string[])model.GetValue(iter, 1); + values = (string[])model.GetValue(iter, 2); + + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogManageSecret", null); + gxmlTemp.Autoconnect(this); + dialogManageSecret.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); + dialogManageSecret.Title = "miCASA - Manage Secret"; + + cellEditable = new CellRendererText(); + cellEditable.Editable = true; + cellEditable.Edited += new EditedHandler(OnKeyValueEdited); + /// KEY:0 VALUE:1 VALUE-DUP:2 DIRTY-BIT:3 LINK:4 + tsKeyValue = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(bool), typeof(string), typeof(string), typeof(string)); + tvKeyValue.AppendColumn("Key", new CellRendererText(), "text", 0); + tvKeyValue.AppendColumn("Value", cellEditable, "text", 2); + tvKeyValue.AppendColumn("Linked", new CellRendererText(), "text", 4); + tvKeyValue.AppendColumn("Created", new CellRendererText(), "text", 5); + tvKeyValue.AppendColumn("Modified", new CellRendererText(), "text", 6); + + tvKeyValue.RowActivated += new RowActivatedHandler(tvKeyValue_RowActivated); + + + //tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); + + entrySecretID.Text = selected; + SecretStore ss = GetMiCasaStore(); + bool bHasLinks = false; + + for (int i = 0; i < keys.Length; i++) + { + try + { + Secret secret = ss.GetSecret(selected); + + Hashtable ht = secret.GetLinkedKeys(keys[i]); + + DateTime dtCreated = secret.GetCreateTimeForKey(keys[i]); + DateTime dtModified = secret.GetModifiedTimeForKey(keys[i]); + + if (ht != null && ht.Count > 0) + bHasLinks = true; + else + bHasLinks = false; + + if ((null != keys[i]) && (null != values[i])) + if (bHasLinks) + { + tsKeyValue.AppendValues(keys[i], + values[i], + "********", + false, + "Yes", + dtCreated.ToShortDateString() + " " + dtCreated.ToShortTimeString(), + dtModified.ToShortDateString() + " " + dtModified.ToShortTimeString()); + } + else + { + tsKeyValue.AppendValues(keys[i], + values[i], + "********", + false, + "No", + dtCreated.ToShortDateString() + " " + dtCreated.ToShortTimeString(), + dtModified.ToShortDateString() + " " + dtModified.ToShortTimeString()); + } + } + catch (Exception e) + { + Logger.DbgLog(e.ToString()); + } + } + + + + tvKeyValue.Model = tsKeyValue; + entryKey.HasFocus = true; + } + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - EXCEPTION:" + exp.ToString()); + } + + Logger.DbgLog("GUI:MiCasa.dialogManageSecret() - END"); + } + + + /// + /// EDIT KEY-VALUE + /// + public void OnKeyValueEdited(object obj, EditedArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - BEGIN"); + + TreeModel model; + TreeIter iter; + object val; + string KeyName = null, + KeyValue = null; + string[] Keys = null, + Values = null; + + try + { + tvKeyValue.Selection.GetSelected(out model, out iter); + val = tsKeyValue.GetValue(iter, 0); + KeyName = val.ToString(); + if (true == cbuttonShowPassword.Active) + val = tsKeyValue.GetValue(iter, 1); + else + val = tsKeyValue.GetValue(iter, 2); + KeyValue = val.ToString(); + + tvSecretIDMiCasa.Selection.GetSelected(out model, out iter); + + if (false == entrySecretID.Editable) + { + if (("" != args.NewText) && (Common.MAX_LEN >= args.NewText.Length) && (KeyValue != args.NewText)) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_MODIFY_KEY, KeyName, args.NewText, ref model, ref iter)) + { + Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - StoreDataInterface.UpdateStore() succeeded"); + tvKeyValue.Selection.GetSelected(out model, out iter); + tsKeyValue.SetValue(iter, 1, args.NewText); + tsKeyValue.SetValue(iter, 2, "********"); + + tvSecretIDMiCasa.Selection.GetSelected(out model, out iter); + Keys = (string[])model.GetValue(iter, 1); + Values = (string[])model.GetValue(iter, 2); + for (int i = 0; i < Keys.Length; i++) + { + if (Keys[i] == KeyName) + { + Values[i] = args.NewText; + tsSecretIDMiCasa.SetValue(iter, 2, Values); + break; + } + } + //AggregateStore(); + } + else + Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - ERROR: STATUS_STORE_UPDATEFAILED"); + } + + } + else if ((Common.MAX_LEN >= args.NewText.Length)) + { + tvKeyValue.Selection.GetSelected(out model, out iter); + tsKeyValue.SetValue(iter, 1, args.NewText); + tsKeyValue.SetValue(iter, 2, "********"); + } + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - EXCEPTION:" + exp.ToString()); + } + + Logger.DbgLog("GUI:MiCasa.OnKeyValueEdited() - END"); + } + + public void on_buttonhelpEditSecret_clicked(object obj, EventArgs args) + { + Common.ShowHelpUrl("EditingSecrets.html"); + } + + /// + /// ADD BUTTON CLICKED + /// + public void on_buttonNewAdd_clicked(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.on_buttonNewAdd_clicked() - BEGIN"); + + if (("" != entryKey.Text) && ("" != entryValue.Text)) + { + TreeIter iterKey; + object val = null; + ArrayList arrKeys = new ArrayList(); + ArrayList arrValues = new ArrayList(); + + if (tsKeyValue.GetIterFirst(out iterKey)) + { + do + { + val = tsKeyValue.GetValue(iterKey, 0); + arrKeys.Add(val.ToString()); + val = tsKeyValue.GetValue(iterKey, 1); + arrValues.Add(val.ToString()); + } + while (tsKeyValue.IterNext(ref iterKey)); + } + if (-1 == arrKeys.IndexOf(entryKey.Text)) + if (true == Common.ValidateString(entryKey.Text)) + { + iterKey = tsKeyValue.AppendValues(entryKey.Text, entryValue.Text, "********", true, "No"); + entryKey.Text = entryValue.Text = ""; + } + else + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogSpecialCharacter", null); + gxmlTemp.Autoconnect(this); + //dialogSpecialCharacter.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogNewSecret"); + } + //tvKeyValue.Selection.SelectIter(iterKey); + entryKey.HasFocus = true; + } + + Logger.DbgLog("GUI:MiCasa.on_buttonNewAdd_clicked() - END"); + } + + public void on_buttonSCClose_clicked(object obj, EventArgs args) + { + dialogSpecialCharacter.Destroy(); + } + + /// + /// REMOVE BUTTON CLICKED + /// + public void on_buttonNewRemove_clicked(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.on_buttonNewRemove_clicked() - BEGIN"); + + TreeModel modelKey; + TreeIter iterKey; + + if (tvKeyValue.Selection.GetSelected(out modelKey, out iterKey)) + if (false == (bool)tsKeyValue.GetValue(iterKey, 3)) + arrDeletedKeys.Add(tsKeyValue.GetValue(iterKey, 0)); + + if (0 != tvKeyValue.Selection.CountSelectedRows()) + { + TreeModel model; + TreeIter iter; + + tvKeyValue.Selection.GetSelected(out model, out iter); + tsKeyValue.Remove(ref iter); + tvKeyValue.ColumnsAutosize(); + } + + Logger.DbgLog("GUI:MiCasa.on_buttonNewRemove_clicked() - END"); + } + + + /// + /// SHOW PASSWORD CHECK BUTTON CLICKED + /// + public void on_cbuttonShowPassword_toggled(object obj, EventArgs args) + { + TreeViewColumn tvCol; + + if (tvKeyValue.Model.IterNChildren() > 0) + { + if ((true == cbuttonShowPassword.Active) + && (CommonGUI.GetRememberMPUntil().CompareTo(DateTime.Now) > 0)) + { + // set and start the timer if needed + TimeSpan ts = CommonGUI.GetRememberMPUntil().Subtract(DateTime.Now); + m_iRememberSeconds = ts.Seconds; + StartRememberTimer(); + + // display the values + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); + tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); + } + else if (true == cbuttonShowPassword.Active) + { + if (CommonGUI.UseMasterPassword()) + { + // prompt user for MasterPassword + + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLogin", null); + gxmlTemp.Autoconnect(this); + dialogLogin.TransientFor = dialogManageSecret; + + label86.Text = "Enter your Master Password to view values"; + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + label88.Hide(); + entryMasterPassword4.Hide(); + + labelRememberFor.Visible = true; + labelSeconds.Visible = true; + spinbuttonRememberFor.Visible = true; + spinbuttonRememberFor.Text = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + + dialogLogin.Show(); + } + else + { + // display the values + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); + tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); + } + } + else + { + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 2); + tvKeyValue.InsertColumn(tvCol, 1); + tvKeyValue.ButtonReleaseEvent -= (OnRightClickedKeyValue); + } + } + } + + public void okbuttonLogin_clicked(object abj, EventArgs args) + { + TreeViewColumn tvCol; + + if (tvKeyValue.Model.IterNChildren() > 0) + + if (0 == miCASA.SetMasterPassword(0, entryMasterPassword3.Text)) + { + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 1); + tvKeyValue.InsertColumn(tvCol, 1); + tvKeyValue.ButtonReleaseEvent += new ButtonReleaseEventHandler(OnRightClickedKeyValue); + + // get seconds to remember + m_sRememberFor = spinbuttonRememberFor.Text; + if (m_sRememberFor != null) + { + DateTime dtNow = DateTime.Now; + m_iRememberSeconds = int.Parse(m_sRememberFor); + CommonGUI.SetRememberMPUntil(dtNow.AddSeconds(m_iRememberSeconds)); + } + + // save off remember time if user changed it + string sSaveTimed = m_config.GetConfigSetting(CommonGUI.REMEMBER_SETTING, "5"); + if (!sSaveTimed.Equals(m_sRememberFor)) + { + m_config.SetConfigSetting(CommonGUI.REMEMBER_SETTING, m_sRememberFor); + m_config.WriteConfig(); + } + + dialogLogin.Destroy(); + + if (m_iRememberSeconds > 0) + StartRememberTimer(); + } + else + { + // prompt user + MessageDialog md = new MessageDialog(dialogLogin, Gtk.DialogFlags.Modal, + Gtk.MessageType.Warning, + Gtk.ButtonsType.Ok, + "Master Password incorrect"); + + md.Response += new ResponseHandler(md_Response2); + md.SetPosition(Gtk.WindowPosition.CenterOnParent); + md.Modal = true; + md.Show(); + } + } + + public void closebuttonLogin_clicked(object abj, EventArgs args) + { + cbuttonShowPassword.Active = false; + dialogLogin.Destroy(); + } + + + public void OnDialogLoginDeleted(object obj, DeleteEventArgs args) + { + cbuttonShowPassword.Active = false; + dialogLogin.Destroy(); + args.RetVal = true; + } + + private bool bTimerActive = false; + public void StartRememberTimer() + { + if (!bTimerActive) + { + GLib.Timeout.Add((uint)(m_iRememberSeconds * 1000), new GLib.TimeoutHandler(update_gui)); + bTimerActive = true; + } + } + + private bool update_gui() + { + TreeViewColumn tvCol; + try + { + tvKeyValue.RemoveColumn(tvKeyValue.GetColumn(1)); + tvCol = new TreeViewColumn("Value", cellEditable, "text", 2); + tvKeyValue.InsertColumn(tvCol, 1); + cbuttonShowPassword.Active = false; + tvKeyValue.ButtonReleaseEvent -= (OnRightClickedKeyValue); + } + catch (Exception e) + { + //Console.WriteLine(e.ToString()); + } + bTimerActive = false; + + return false; + } + + + public void on_entryMasterPassword3_activate(object obj, EventArgs args) + { + if ("" != entryMasterPassword3.Text) + okbuttonLogin_clicked(obj, args); + } + + public void on_entryMasterPassword4_activate(object obj, EventArgs args) + { + okbuttonLogin_clicked(obj, args); + } + + + private void md_Response2(object o, ResponseArgs args) + { + MessageDialog md = (MessageDialog)o; + if (md != null) + { + md.Destroy(); + entryMasterPassword3.Text = ""; + entryMasterPassword3.HasFocus = true; + } + } + + public void on_helpbuttonAuthentication_clicked(object obj, EventArgs args) + { + Common.ShowHelpUrl("CASAMasterPasswordAuthentication.htm"); + } + + /// + /// MANAGE SECRET-ID DIALOG OK-BUTTON CLICKED + /// + public void on_buttonManageOk_clicked(object obj, EventArgs args) + { + TreeModel modelSecret; + TreeIter iterSecret, + iterKey; + string NewKey = null, + NewValue = null; + string[] strDeletedKeys = null; + bool dirtyBit = false; + //ArrayList arrKeys = null, + // arrValues = null; + + try + { + if ((0 == tvKeyValue.Model.IterNChildren()) && tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret)) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref modelSecret, ref iterSecret)) + { + tsSecretIDMiCasa.Remove(ref iterSecret); + tvSecretIDMiCasa.ColumnsAutosize(); + tsNativeInfoMiCasa.Clear(); + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_SECRET_SUCCEEDED"); + } + else + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_SECRET_FAILED"); + AggregateStore(); + } + else + { + if ((null != arrDeletedKeys) && (arrDeletedKeys.Count > 0)) + { + tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret); + strDeletedKeys = (string[])arrDeletedKeys.ToArray(typeof(string)); + for (int i = 0; i < strDeletedKeys.Length; i++) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_KEY, strDeletedKeys[i], null, ref modelSecret, ref iterSecret)) + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_KEY_SUCCEEDED."); + else + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - DELETE_KEY_FAILED."); + } + arrDeletedKeys.Clear(); + + } + + if (tsKeyValue.GetIterFirst(out iterKey) && tvSecretIDMiCasa.Selection.GetSelected(out modelSecret, out iterSecret)) + { + do + { + NewKey = (string)tsKeyValue.GetValue(iterKey, 0); + NewValue = (string)tsKeyValue.GetValue(iterKey, 1); + dirtyBit = (bool)tsKeyValue.GetValue(iterKey, 3); + + if (true == dirtyBit) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_ADD_KEY, NewKey, NewValue, ref modelSecret, ref iterSecret)) + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - ADD_KEY_VALUE_SUCCEEDED."); + else + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - ADD_KEY_VALUE_FAILED."); + } + } + while (tsKeyValue.IterNext(ref iterKey)); + + } + AggregateStore(); + } + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.on_buttonManageOk_clicked() - EXCEPTION:" + exp.ToString()); + } + + tsKeyValue.Dispose(); + dialogManageSecret.Destroy(); + } + + /// + /// MANAGE SECRET-ID DIALOG CANCEL-BUTTON CLICKED + /// + public void on_buttonManageCancel_clicked(object obj, EventArgs args) + { + tsKeyValue.Dispose(); + arrDeletedKeys.Clear(); + dialogManageSecret.Destroy(); + } + + /// + /// SECRET-ID DOUBLE CLICKED + /// + private void OntvSecretIDMiCasaRowActivated(object obj, RowActivatedArgs args) + { + Logger.DbgLog("GUI:MiCasa.OntvSecretIDMiCasaRowActivated() - SecretID doubled clicked."); + ViewKeyValues(); + } + + /// + /// VIEW KEY-VALUES CALLED VIA MAIN-MENU/CONTEXT-MENU + /// + public void OnViewActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnViewActivated() - ViewKeyValues() called."); + ViewKeyValues(); + } + + ///####################################################################### + /// ADD NEW SECRET + + /// + /// + /// + public void OnNewSecretActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnNewSecretActivated() - BEGIN"); + + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogNewSecret", null); + gxmlTemp.Autoconnect(this); + dialogNewSecret.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); + dialogNewSecret.Title = "miCASA - New Secret"; + + cellEditable = new CellRendererText(); + cellEditable.Editable = true; + cellEditable.Edited += new EditedHandler(OnKeyValueEdited); + /// KEY:0 VALUE:1 VALUE-DUP:2 DIRTY-BIT:3 LINK:4 + tsKeyValue = new TreeStore(typeof(string), typeof(string), typeof(string), typeof(bool), typeof(string)); + tvKeyValue.AppendColumn("Key", new CellRendererText(), "text", 0); + tvKeyValue.AppendColumn("Value", cellEditable, "text", 2); + tvKeyValue.AppendColumn("Linked", new CellRendererText(), "text", 4); + tvKeyValue.Model = tsKeyValue; + tsKeyValue.Clear(); + entrySecretID.HasFocus = true; + entrySecretID.Text = ""; + + Logger.DbgLog("GUI:MiCasa.OnNewSecretActivated() - END"); + } + + + + ///####################################################################### + /// ADD NEW KEY-VALUES TO EXISTING SECRET + + /// + /// + /// + public void OnNewKeyActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnNewKeyActivated() - BEGIN"); + + ViewKeyValues(); + + Logger.DbgLog("GUI:MiCasa.OnNewKeyActivated() - END"); + } + + + + + public void on_buttonNewOk_clicked(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - BEGIN"); + + TreeModel modelSecret; + TreeIter iterSecret, + iterKey; + string NewKey = null, + NewValue = null; + string[] Keys = null, + Values = null, + NativeKeys = null, + NativeValues = null; + object val = null; + ArrayList arrKeys = null, + arrValues = null; + + if (true == entrySecretID.Editable && false == Common.ValidateString(entrySecretID.Text)) + { /*// prompt user MessageDialog md=new MessageDialog(this.windowMain,Gtk.DialogFlags.Modal, Gtk.MessageType.Warning, @@ -916,458 +916,458 @@ namespace Novell.CASA.GUI md.Response += new ResponseHandler(md_Response); md.SetPosition(Gtk.WindowPosition.CenterOnParent); md.Modal = true; - md.Show();*/ - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogSpecialCharacter", null); - gxmlTemp.Autoconnect(this); - entrySecretID.HasFocus = true; - return; - } - - if ((true == entrySecretID.Editable) && ("" != entrySecretID.Text) && (tvKeyValue.Model.IterNChildren() > 0)) - { - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - Adding New Secrets and KeyValues."); - - arrKeys = new ArrayList(); - arrValues = new ArrayList(); - - try - { - if (tsKeyValue.GetIterFirst(out iterKey)) - { - do - { - val = tsKeyValue.GetValue(iterKey, 0); - NewKey = val.ToString(); - val = tsKeyValue.GetValue(iterKey, 1); - NewValue = val.ToString(); - - if (-1 == (arrKeys.IndexOf(NewKey))) - { - arrKeys.Add(NewKey); - arrValues.Add(NewValue); - } - } - while (tsKeyValue.IterNext(ref iterKey)); - - Keys = (string[])arrKeys.ToArray(typeof(string)); - Values = (string[])arrValues.ToArray(typeof(string)); - NativeKeys = new string[Common.MAX_NATIVE_ELEMENTS]; - NativeValues = new string[Common.MAX_NATIVE_ELEMENTS]; - NativeKeys[Common.INDEX_NATIVEINFO_FOLDERNAME] = Common.NATIVEINFO_FOLDERNAME; - NativeKeys[Common.INDEX_NATIVEINFO_TYPEID] = Common.NATIVEINFO_TYPEID; - NativeKeys[Common.INDEX_NATIVEINFO_SYNC] = Common.NATIVEINFO_SYNC; - NativeKeys[Common.INDEX_NATIVEINFO_SYNCTYPE] = Common.NATIVEINFO_SYNCTYPE; - NativeKeys[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = Common.NATIVEINFO_MODIFIEDTIME; - NativeValues[Common.INDEX_NATIVEINFO_FOLDERNAME] = null; - NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = null; - NativeValues[Common.INDEX_NATIVEINFO_SYNC] = null; - NativeValues[Common.INDEX_NATIVEINFO_SYNCTYPE] = null; - NativeValues[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = null; - - iterSecret = tsSecretIDMiCasa.AppendValues(entrySecretID.Text, Keys, Values, "Default", NativeKeys, NativeValues); - modelSecret = tvSecretIDMiCasa.Model; - - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_ADD_SECRET, "", "", ref modelSecret, ref iterSecret)) - { - AggregateStore(); - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - ADD_NEW_SECRET_SUCCEEDED."); - } - else - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - ERROR: ADD_NEW_SECRET_FAILED"); - } - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - EXCEPTION:" + exp.ToString()); - } - tsKeyValue.Dispose(); - dialogNewSecret.Destroy(); - } - - - Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - END"); - } - - - public void on_buttonNewCancel_clicked(object obj, EventArgs args) - { - dialogNewSecret.Destroy(); - } - - public void on_helpbuttonNewSecret_clicked(object obj, EventArgs args) - { - Common.ShowHelpUrl("AddNewSecrets.htm"); - } - - - ///####################################################################### - /// LINK - - /// - /// LINK Key-Values - /// - public void OnLinkActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnLinkActivated() - ViewKeyValues() called."); - ViewKeyValues(); - } - - - - ///####################################################################### - /// COPY - - /// - /// COPY Key-Values - /// - public void OnCopyActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnCopyActivated() - BEGIN"); - - if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) - { - - TreeModel model; - TreeIter iter; - string selected = null; - string[] saKeys, saValues; - - if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) - { - selected = (string)model.GetValue(iter, 0); - if (selected.StartsWith("SS_CredSet")) - selected = selected.Substring(11); - - saKeys = (string[])model.GetValue(iter, 1); - saValues = (string[])model.GetValue(iter, 2); - - CopySecret cs = new CopySecret(selected, saKeys, saValues); - cs.Show(); - } - } - } - - public void on_helpbuttonLinkKeys_clicked(object obj, EventArgs args) - { - Common.ShowHelpUrl("LinkingSecrets.htm"); - } - - - internal void FindAndReplaceValues() - { - CommonGUI cg = new CommonGUI(); - if (cg.VerifyMasterPasswordWithUser()) - { - FindAndReplace fr = new FindAndReplace(this, tvSecretIDMiCasa.Model, tsSecretIDMiCasa); - fr.ShowDialog(); - } - } - - ///####################################################################### - // DELETE SECRET - - /// - /// DELETE Secret - /// - public void OnDeleteActivated(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnDeleteActivated() - BEGIN"); - - if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) - { - - TreeModel model; - TreeIter iter; - string selected = null; - if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) - { - selected = (string)model.GetValue(iter, 0); - } - - if (m_config.GetConfigSetting(Common.CONFIG_SHOW_DELETE_DIALOG, true)) - { - - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogConfirmDelete", null); - gxmlTemp.Autoconnect(this); - dialogConfirmDelete.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); - dialogConfirmDelete.Title = "miCASA - Delete Secret"; - checkbuttonShowDeleteDialog.Visible = true; - - if ((null != selected) && (selected.Length > 0)) - entryDeleteSecretID.Text = selected; - - } - else - { - if ((null != selected) && (selected.Length > 0)) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref model, ref iter)) - { - tsSecretIDMiCasa.Remove(ref iter); - tvSecretIDMiCasa.ColumnsAutosize(); - tsNativeInfoMiCasa.Clear(); - } - } - } - } - - Logger.DbgLog("GUI:MiCasa.OnDeleteActivated() - END"); - } - - public void on_buttonYes_clicked(object obj, EventArgs args) - { - Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - BEGIN"); - - TreeModel model; - TreeIter iter; - - try - { - if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) - { - if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref model, ref iter)) - { - tsSecretIDMiCasa.Remove(ref iter); - tvSecretIDMiCasa.ColumnsAutosize(); - tsNativeInfoMiCasa.Clear(); - dialogConfirmDelete.Destroy(); - Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - DELETE_SECRET_SUCCEEDED"); - - } - else - Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - DELETE_SECRET_FAILED"); - } - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - EXCEPTION:" + exp.ToString()); - } - - if ((checkbuttonShowDeleteDialog != null) && (checkbuttonShowDeleteDialog.Active)) - { - m_config.SetConfigSetting(Common.CONFIG_SHOW_DELETE_DIALOG, false); - m_config.WriteConfig(); - } - - Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - END"); - } - - public void on_buttonNo_clicked(object obj, EventArgs args) - { - dialogConfirmDelete.Destroy(); - } - - /// LINK - - private void tvKeyValue_RowActivated(object o, RowActivatedArgs args) - { - TreeModel model; - TreeIter iter; - string selected = null; - - if (tvKeyValue.Selection.GetSelected(out model, out iter)) - { - selected = (string)model.GetValue(iter, 0); - if (selected != null && selected.Length > 0) - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLinkKeyValue", null); - gxmlTemp.Autoconnect(this); - dialogLinkKeyValue.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogNewSecret"); - dialogLinkKeyValue.Title = "miCASA - Link Keys"; - dialogLinkKeyValue.Modal = true; - - - // show MICASA tab only - (notebook2.GetNthPage(Common.STORE_MICASA)).Visible = true; - (notebook2.GetNthPage(Common.STORE_FIREFOX)).Visible = false; - (notebook2.GetNthPage(Common.STORE_MOZILLA)).Visible = false; - (notebook2.GetNthPage(Common.STORE_KDEWALLET)).Visible = false; - (notebook2.GetNthPage(Common.STORE_GNOMEKEYRING)).Visible = false; - - // show available secrets - tsAvailableSecrets = new TreeStore(typeof(string), typeof(string)); - tsAvailableSecrets.SetSortColumnId(0, Gtk.SortType.Ascending); - - tvAvailableSecrets.AppendColumn("Secret ID", new CellRendererText(), "text", 0); - tvAvailableSecrets.Model = tsAvailableSecrets; - tvAvailableSecrets.ButtonReleaseEvent += new ButtonReleaseEventHandler(tvAvailableSecrets_ButtonReleaseEvent); - - // show secretIDs - SecretStore ss = GetMiCasaStore(); - StringCollection sc = ss.EnumerateSecretIDs(); - StringEnumerator se = sc.GetEnumerator(); - se.Reset(); - while (se.MoveNext()) - { - tsAvailableSecrets.AppendValues(se.Current); - } - - // show available keys - tsAvailableKeys = new TreeStore(typeof(string), typeof(string)); - tvAvailableKeys.AppendColumn("Key", new CellRendererText(), "text", 0); - //tvAvailableKeys.AppendColumn("Value", new CellRendererText(), "text", 1); - tvAvailableKeys.Model = tsAvailableKeys; - tvAvailableKeys.Show(); - - - // populate current linked keys - tsLinkedKeys = new TreeStore(typeof(string), typeof(string)); - tsLinkedKeys.SetSortColumnId(0, Gtk.SortType.Descending); - - tvLinkedKeys.AppendColumn("Secret ID", new CellRendererText(), "text", 0); - tvLinkedKeys.AppendColumn("Key", new CellRendererText(), "text", 1); - tvLinkedKeys.Model = tsLinkedKeys; - - Secret secret = ss.GetSecret(entrySecretID.Text); - ShowLinkedKeys(secret, selected); - - // display info on this secret - labelLinkSecretID.Text = entrySecretID.Text; - labelLinkKeyID.Text = selected; - //entryLinkValue.Text = secret.getKeyValue(selected); - entryLinkValue.Sensitive = false; - entryLinkValue.Text = "********"; - entryLinkValue.Changed += new EventHandler(entryLinkValue_Changed); - entryLinkValue.LeaveNotifyEvent += new LeaveNotifyEventHandler(entryLinkValue_LeaveNotifyEvent); - - } - } - } - - private void ShowLinkedKeys(Secret secret, string keyID) - { - - Hashtable htLinkKeys = secret.GetLinkedKeys(keyID); - if (htLinkKeys != null) - { - tsLinkedKeys.Clear(); - IDictionaryEnumerator ienum = (IDictionaryEnumerator)htLinkKeys.GetEnumerator(); - ienum.Reset(); - while (ienum.MoveNext()) - { - LinkedKeyInfo lki = (LinkedKeyInfo)ienum.Value; - tsLinkedKeys.AppendValues(lki.GetLinkedSecretID(true), lki.GetLinkedKeyID()); - } - } - } - - private void tvAvailableSecrets_ButtonReleaseEvent(object o, ButtonReleaseEventArgs args) - { - TreeModel model; - TreeIter iter; - string selected = null; - - if (tvAvailableSecrets.Selection.GetSelected(out model, out iter)) - selected = (string)model.GetValue(iter, 0); - - tsAvailableKeys.Clear(); - - if (selected != null && selected.Length > 0) - { - SecretStore ss = GetMiCasaStore(); - Secret secret = ss.GetSecret(selected); - NameValueCollection nvc = secret.GetKeyValueCollection(); - for (int i = 0; i < nvc.Count; i++) - { - // don't allow linking this key to ourself. - if (labelLinkSecretID.Text.Equals(selected) - && labelLinkKeyID.Text.Equals(nvc.GetKey(i))) - continue; - - tsAvailableKeys.AppendValues(nvc.GetKey(i), nvc.GetValues(i)[0]); - } - } - } - - public void on_buttonLinkAdd_clicked(object obj, EventArgs args) - { - TreeModel model; - TreeIter iter; - string selectedSecret = null; - - if (tvAvailableSecrets.Selection.GetSelected(out model, out iter)) - { - selectedSecret = (string)model.GetValue(iter, 0); - - TreeModel modelKey; - TreeIter iterKey; - string selectedKey = null; - - if (tvAvailableKeys.Selection.GetSelected(out modelKey, out iterKey)) - { - selectedKey = (string)modelKey.GetValue(iterKey, 0); - //tsLinkedKeys.AppendValues(selectedSecret, selectedKey); - - // add a null terminator to the secretid - //selectedSecret = selectedSecret + '\0'; - - LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey); - MiCasaRequestReply.Send(MiCasaRequestReply.VERB_SET_LINKED_KEY, null, labelLinkSecretID.Text, labelLinkKeyID.Text, lki); - - Secret secret = GetMiCasaStore().GetSecret(entrySecretID.Text); - ShowLinkedKeys(secret, labelLinkKeyID.Text); - AggregateStore(); - } - } - } - - public void on_buttonLinkRemove_clicked(object obj, EventArgs args) - { - TreeModel model; - TreeIter iter; - string selectedSecret = null; - string selectedKey = null; - if (tvLinkedKeys.Selection.GetSelected(out model, out iter)) - { - selectedSecret = (string)model.GetValue(iter, 0); - // add NULL - //selectedSecret = selectedSecret; - selectedKey = (string)model.GetValue(iter, 1); - - LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey); - MiCasaRequestReply.Send(MiCasaRequestReply.VERB_REMOVE_LINKED_KEY, null, labelLinkSecretID.Text, labelLinkKeyID.Text, lki); - - Secret secret = GetMiCasaStore().GetSecret(entrySecretID.Text); - ShowLinkedKeys(secret, labelLinkKeyID.Text); - AggregateStore(); - } - } - - private SecretStore GetMiCasaStore() - { - if (m_store == null) - m_store = SecretStore.GetInstance(); - - return m_store; - } - - - private string sNewKeyValue = null; - private void entryLinkValue_Changed(object sender, EventArgs e) - { - //update the value for this key - Gtk.Entry entry = (Gtk.Entry)sender; - sNewKeyValue = entry.Text; - - } - - private void entryLinkValue_LeaveNotifyEvent(object o, LeaveNotifyEventArgs args) - { - if (sNewKeyValue != null) - { - SecretStore ss = GetMiCasaStore(); - Secret secret = ss.GetSecret(labelLinkSecretID.Text); - secret.SetKeyValuePair(labelLinkKeyID.Text, sNewKeyValue); - ss.SetSecret(0, secret, Secret.SS_CREDSET); - sNewKeyValue = null; - } - } - - public void on_button32_clicked(object obj, EventArgs args) - { - //string[] keys = null, - - dialogLinkKeyValue.Destroy(); + md.Show();*/ + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogSpecialCharacter", null); + gxmlTemp.Autoconnect(this); + entrySecretID.HasFocus = true; + return; + } + + if ((true == entrySecretID.Editable) && ("" != entrySecretID.Text) && (tvKeyValue.Model.IterNChildren() > 0)) + { + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - Adding New Secrets and KeyValues."); + + arrKeys = new ArrayList(); + arrValues = new ArrayList(); + + try + { + if (tsKeyValue.GetIterFirst(out iterKey)) + { + do + { + val = tsKeyValue.GetValue(iterKey, 0); + NewKey = val.ToString(); + val = tsKeyValue.GetValue(iterKey, 1); + NewValue = val.ToString(); + + if (-1 == (arrKeys.IndexOf(NewKey))) + { + arrKeys.Add(NewKey); + arrValues.Add(NewValue); + } + } + while (tsKeyValue.IterNext(ref iterKey)); + + Keys = (string[])arrKeys.ToArray(typeof(string)); + Values = (string[])arrValues.ToArray(typeof(string)); + NativeKeys = new string[Common.MAX_NATIVE_ELEMENTS]; + NativeValues = new string[Common.MAX_NATIVE_ELEMENTS]; + NativeKeys[Common.INDEX_NATIVEINFO_FOLDERNAME] = Common.NATIVEINFO_FOLDERNAME; + NativeKeys[Common.INDEX_NATIVEINFO_TYPEID] = Common.NATIVEINFO_TYPEID; + NativeKeys[Common.INDEX_NATIVEINFO_SYNC] = Common.NATIVEINFO_SYNC; + NativeKeys[Common.INDEX_NATIVEINFO_SYNCTYPE] = Common.NATIVEINFO_SYNCTYPE; + NativeKeys[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = Common.NATIVEINFO_MODIFIEDTIME; + NativeValues[Common.INDEX_NATIVEINFO_FOLDERNAME] = null; + NativeValues[Common.INDEX_NATIVEINFO_TYPEID] = null; + NativeValues[Common.INDEX_NATIVEINFO_SYNC] = null; + NativeValues[Common.INDEX_NATIVEINFO_SYNCTYPE] = null; + NativeValues[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = null; + + iterSecret = tsSecretIDMiCasa.AppendValues(entrySecretID.Text, Keys, Values, "Default", NativeKeys, NativeValues); + modelSecret = tvSecretIDMiCasa.Model; + + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_ADD_SECRET, "", "", ref modelSecret, ref iterSecret)) + { + AggregateStore(); + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - ADD_NEW_SECRET_SUCCEEDED."); + } + else + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - ERROR: ADD_NEW_SECRET_FAILED"); + } + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - EXCEPTION:" + exp.ToString()); + } + tsKeyValue.Dispose(); + dialogNewSecret.Destroy(); + } + + + Logger.DbgLog("GUI:MiCasa.on_buttonNewOk_clicked() - END"); + } + + + public void on_buttonNewCancel_clicked(object obj, EventArgs args) + { + dialogNewSecret.Destroy(); + } + + public void on_helpbuttonNewSecret_clicked(object obj, EventArgs args) + { + Common.ShowHelpUrl("AddNewSecrets.htm"); + } + + + ///####################################################################### + /// LINK + + /// + /// LINK Key-Values + /// + public void OnLinkActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnLinkActivated() - ViewKeyValues() called."); + ViewKeyValues(); + } + + + + ///####################################################################### + /// COPY + + /// + /// COPY Key-Values + /// + public void OnCopyActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnCopyActivated() - BEGIN"); + + if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) + { + + TreeModel model; + TreeIter iter; + string selected = null; + string[] saKeys, saValues; + + if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) + { + selected = (string)model.GetValue(iter, 0); + if (selected.StartsWith("SS_CredSet")) + selected = selected.Substring(11); + + saKeys = (string[])model.GetValue(iter, 1); + saValues = (string[])model.GetValue(iter, 2); + + CopySecret cs = new CopySecret(selected, saKeys, saValues); + cs.Show(); + } + } + } + + public void on_helpbuttonLinkKeys_clicked(object obj, EventArgs args) + { + Common.ShowHelpUrl("LinkingSecrets.htm"); + } + + + internal void FindAndReplaceValues() + { + CommonGUI cg = new CommonGUI(); + if (cg.VerifyMasterPasswordWithUser()) + { + FindAndReplace fr = new FindAndReplace(this, tvSecretIDMiCasa.Model, tsSecretIDMiCasa); + fr.ShowDialog(); + } + } + + ///####################################################################### + // DELETE SECRET + + /// + /// DELETE Secret + /// + public void OnDeleteActivated(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnDeleteActivated() - BEGIN"); + + if (0 != tvSecretIDMiCasa.Selection.CountSelectedRows()) + { + + TreeModel model; + TreeIter iter; + string selected = null; + if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) + { + selected = (string)model.GetValue(iter, 0); + } + + if (m_config.GetConfigSetting(Common.CONFIG_SHOW_DELETE_DIALOG, true)) + { + + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogConfirmDelete", null); + gxmlTemp.Autoconnect(this); + dialogConfirmDelete.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("windowMain"); + dialogConfirmDelete.Title = "miCASA - Delete Secret"; + checkbuttonShowDeleteDialog.Visible = true; + + if ((null != selected) && (selected.Length > 0)) + entryDeleteSecretID.Text = selected; + + } + else + { + if ((null != selected) && (selected.Length > 0)) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref model, ref iter)) + { + tsSecretIDMiCasa.Remove(ref iter); + tvSecretIDMiCasa.ColumnsAutosize(); + tsNativeInfoMiCasa.Clear(); + } + } + } + } + + Logger.DbgLog("GUI:MiCasa.OnDeleteActivated() - END"); + } + + public void on_buttonYes_clicked(object obj, EventArgs args) + { + Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - BEGIN"); + + TreeModel model; + TreeIter iter; + + try + { + if (tvSecretIDMiCasa.Selection.GetSelected(out model, out iter)) + { + if (Common.STATUS_SUCCESS == StoreDataInterface.UpdateStore(Common.STORE_MICASA, Common.OPERATION_DELETE_SECRET, "", "", ref model, ref iter)) + { + tsSecretIDMiCasa.Remove(ref iter); + tvSecretIDMiCasa.ColumnsAutosize(); + tsNativeInfoMiCasa.Clear(); + dialogConfirmDelete.Destroy(); + Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - DELETE_SECRET_SUCCEEDED"); + + } + else + Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - DELETE_SECRET_FAILED"); + } + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - EXCEPTION:" + exp.ToString()); + } + + if ((checkbuttonShowDeleteDialog != null) && (checkbuttonShowDeleteDialog.Active)) + { + m_config.SetConfigSetting(Common.CONFIG_SHOW_DELETE_DIALOG, false); + m_config.WriteConfig(); + } + + Logger.DbgLog("GUI:MiCasa.on_buttonYes_clicked() - END"); + } + + public void on_buttonNo_clicked(object obj, EventArgs args) + { + dialogConfirmDelete.Destroy(); + } + + /// LINK + + private void tvKeyValue_RowActivated(object o, RowActivatedArgs args) + { + TreeModel model; + TreeIter iter; + string selected = null; + + if (tvKeyValue.Selection.GetSelected(out model, out iter)) + { + selected = (string)model.GetValue(iter, 0); + if (selected != null && selected.Length > 0) + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogLinkKeyValue", null); + gxmlTemp.Autoconnect(this); + dialogLinkKeyValue.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogNewSecret"); + dialogLinkKeyValue.Title = "miCASA - Link Keys"; + dialogLinkKeyValue.Modal = true; + + + // show MICASA tab only + (notebook2.GetNthPage(Common.STORE_MICASA)).Visible = true; + (notebook2.GetNthPage(Common.STORE_FIREFOX)).Visible = false; + (notebook2.GetNthPage(Common.STORE_MOZILLA)).Visible = false; + (notebook2.GetNthPage(Common.STORE_KDEWALLET)).Visible = false; + (notebook2.GetNthPage(Common.STORE_GNOMEKEYRING)).Visible = false; + + // show available secrets + tsAvailableSecrets = new TreeStore(typeof(string), typeof(string)); + tsAvailableSecrets.SetSortColumnId(0, Gtk.SortType.Ascending); + + tvAvailableSecrets.AppendColumn("Secret ID", new CellRendererText(), "text", 0); + tvAvailableSecrets.Model = tsAvailableSecrets; + tvAvailableSecrets.ButtonReleaseEvent += new ButtonReleaseEventHandler(tvAvailableSecrets_ButtonReleaseEvent); + + // show secretIDs + SecretStore ss = GetMiCasaStore(); + StringCollection sc = ss.EnumerateSecretIDs(); + StringEnumerator se = sc.GetEnumerator(); + se.Reset(); + while (se.MoveNext()) + { + tsAvailableSecrets.AppendValues(se.Current); + } + + // show available keys + tsAvailableKeys = new TreeStore(typeof(string), typeof(string)); + tvAvailableKeys.AppendColumn("Key", new CellRendererText(), "text", 0); + //tvAvailableKeys.AppendColumn("Value", new CellRendererText(), "text", 1); + tvAvailableKeys.Model = tsAvailableKeys; + tvAvailableKeys.Show(); + + + // populate current linked keys + tsLinkedKeys = new TreeStore(typeof(string), typeof(string)); + tsLinkedKeys.SetSortColumnId(0, Gtk.SortType.Descending); + + tvLinkedKeys.AppendColumn("Secret ID", new CellRendererText(), "text", 0); + tvLinkedKeys.AppendColumn("Key", new CellRendererText(), "text", 1); + tvLinkedKeys.Model = tsLinkedKeys; + + Secret secret = ss.GetSecret(entrySecretID.Text); + ShowLinkedKeys(secret, selected); + + // display info on this secret + labelLinkSecretID.Text = entrySecretID.Text; + labelLinkKeyID.Text = selected; + //entryLinkValue.Text = secret.getKeyValue(selected); + entryLinkValue.Sensitive = false; + entryLinkValue.Text = "********"; + entryLinkValue.Changed += new EventHandler(entryLinkValue_Changed); + entryLinkValue.LeaveNotifyEvent += new LeaveNotifyEventHandler(entryLinkValue_LeaveNotifyEvent); + + } + } + } + + private void ShowLinkedKeys(Secret secret, string keyID) + { + + Hashtable htLinkKeys = secret.GetLinkedKeys(keyID); + if (htLinkKeys != null) + { + tsLinkedKeys.Clear(); + IDictionaryEnumerator ienum = (IDictionaryEnumerator)htLinkKeys.GetEnumerator(); + ienum.Reset(); + while (ienum.MoveNext()) + { + LinkedKeyInfo lki = (LinkedKeyInfo)ienum.Value; + tsLinkedKeys.AppendValues(lki.GetLinkedSecretID(true), lki.GetLinkedKeyID()); + } + } + } + + private void tvAvailableSecrets_ButtonReleaseEvent(object o, ButtonReleaseEventArgs args) + { + TreeModel model; + TreeIter iter; + string selected = null; + + if (tvAvailableSecrets.Selection.GetSelected(out model, out iter)) + selected = (string)model.GetValue(iter, 0); + + tsAvailableKeys.Clear(); + + if (selected != null && selected.Length > 0) + { + SecretStore ss = GetMiCasaStore(); + Secret secret = ss.GetSecret(selected); + NameValueCollection nvc = secret.GetKeyValueCollection(); + for (int i = 0; i < nvc.Count; i++) + { + // don't allow linking this key to ourself. + if (labelLinkSecretID.Text.Equals(selected) + && labelLinkKeyID.Text.Equals(nvc.GetKey(i))) + continue; + + tsAvailableKeys.AppendValues(nvc.GetKey(i), nvc.GetValues(i)[0]); + } + } + } + + public void on_buttonLinkAdd_clicked(object obj, EventArgs args) + { + TreeModel model; + TreeIter iter; + string selectedSecret = null; + + if (tvAvailableSecrets.Selection.GetSelected(out model, out iter)) + { + selectedSecret = (string)model.GetValue(iter, 0); + + TreeModel modelKey; + TreeIter iterKey; + string selectedKey = null; + + if (tvAvailableKeys.Selection.GetSelected(out modelKey, out iterKey)) + { + selectedKey = (string)modelKey.GetValue(iterKey, 0); + //tsLinkedKeys.AppendValues(selectedSecret, selectedKey); + + // add a null terminator to the secretid + //selectedSecret = selectedSecret + '\0'; + + LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey); + MiCasaRequestReply.Send(MiCasaRequestReply.VERB_SET_LINKED_KEY, null, labelLinkSecretID.Text, labelLinkKeyID.Text, lki); + + Secret secret = GetMiCasaStore().GetSecret(entrySecretID.Text); + ShowLinkedKeys(secret, labelLinkKeyID.Text); + AggregateStore(); + } + } + } + + public void on_buttonLinkRemove_clicked(object obj, EventArgs args) + { + TreeModel model; + TreeIter iter; + string selectedSecret = null; + string selectedKey = null; + if (tvLinkedKeys.Selection.GetSelected(out model, out iter)) + { + selectedSecret = (string)model.GetValue(iter, 0); + // add NULL + //selectedSecret = selectedSecret; + selectedKey = (string)model.GetValue(iter, 1); + + LinkedKeyInfo lki = new LinkedKeyInfo(selectedSecret, selectedKey); + MiCasaRequestReply.Send(MiCasaRequestReply.VERB_REMOVE_LINKED_KEY, null, labelLinkSecretID.Text, labelLinkKeyID.Text, lki); + + Secret secret = GetMiCasaStore().GetSecret(entrySecretID.Text); + ShowLinkedKeys(secret, labelLinkKeyID.Text); + AggregateStore(); + } + } + + private SecretStore GetMiCasaStore() + { + if (m_store == null) + m_store = SecretStore.GetInstance(); + + return m_store; + } + + + private string sNewKeyValue = null; + private void entryLinkValue_Changed(object sender, EventArgs e) + { + //update the value for this key + Gtk.Entry entry = (Gtk.Entry)sender; + sNewKeyValue = entry.Text; + + } + + private void entryLinkValue_LeaveNotifyEvent(object o, LeaveNotifyEventArgs args) + { + if (sNewKeyValue != null) + { + SecretStore ss = GetMiCasaStore(); + Secret secret = ss.GetSecret(labelLinkSecretID.Text); + secret.SetKeyValuePair(labelLinkKeyID.Text, sNewKeyValue); + ss.SetSecret(0, secret, Secret.SS_CREDSET); + sNewKeyValue = null; + } + } + + public void on_button32_clicked(object obj, EventArgs args) + { + //string[] keys = null, + + dialogLinkKeyValue.Destroy(); /* SecretStore ss = GetMiCasaStore(); bool bHasLinks = false; @@ -1391,80 +1391,80 @@ namespace Novell.CASA.GUI tsKeyValue.AppendValues(keys[i], values[i], "********", false, "No"); } - }*/ - - } - /// LINK - - private void md_Response(object o, ResponseArgs args) - { - MessageDialog md = (MessageDialog)o; - if (md != null) - { - md.Destroy(); - } - } - - // handlers for keyvalue context menu - public void OnRightClickedKeyValue(object obj, ButtonReleaseEventArgs args) - { - Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - BEGIN"); - - if (3 == args.Event.Button) - { - try - { - Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - Context menu opened."); - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "menuRightClickKeyValue", null); - gxmlTemp.Autoconnect(this); - menuRightClickKeyValue.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime); - } - catch (Exception exp) - { - Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - EXCEPTION:" + exp.ToString()); - } - } - Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - BEGIN"); - } - - private void on_menuItemLinkKey_activate(object o, EventArgs args) - { - // display link dialog - tvKeyValue_RowActivated(o, null); - - } - - private void on_menuItemDecodeValue_activate(object o, EventArgs args) - { - // get selected key/value - // display decode window - TreeModel model; - TreeIter iter; - string selected = null; - string value = null; - - if (tvKeyValue.Selection.GetSelected(out model, out iter)) - { - byte[] baValue = new byte[0]; - byte[] baTarget = new byte[0]; - - selected = (string)model.GetValue(iter, 0); - value = (string)model.GetValue(iter, 1); - - if ((value == null) || (value.Length < 1)) - { - // read value from store - SecretStore ss = GetMiCasaStore(); - Secret secret = ss.GetSecret(entrySecretID.Text); - value = secret.GetKeyValue(selected); - - // strip of header data - baValue = System.Text.Encoding.ASCII.GetBytes(value); - if (baValue.Length > 16) - { - baTarget = new byte[baValue.Length - 16]; - Array.Copy(baValue, 13, baTarget, 0, baValue.Length - 16); - } + }*/ + + } + /// LINK + + private void md_Response(object o, ResponseArgs args) + { + MessageDialog md = (MessageDialog)o; + if (md != null) + { + md.Destroy(); + } + } + + // handlers for keyvalue context menu + public void OnRightClickedKeyValue(object obj, ButtonReleaseEventArgs args) + { + Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - BEGIN"); + + if (3 == args.Event.Button) + { + try + { + Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - Context menu opened."); + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "menuRightClickKeyValue", null); + gxmlTemp.Autoconnect(this); + menuRightClickKeyValue.Popup(null, null, null, IntPtr.Zero, 3, Gtk.Global.CurrentEventTime); + } + catch (Exception exp) + { + Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - EXCEPTION:" + exp.ToString()); + } + } + Logger.DbgLog("GUI:MiCasa.OnRightClickedKeyValue() - BEGIN"); + } + + private void on_menuItemLinkKey_activate(object o, EventArgs args) + { + // display link dialog + tvKeyValue_RowActivated(o, null); + + } + + private void on_menuItemDecodeValue_activate(object o, EventArgs args) + { + // get selected key/value + // display decode window + TreeModel model; + TreeIter iter; + string selected = null; + string value = null; + + if (tvKeyValue.Selection.GetSelected(out model, out iter)) + { + byte[] baValue = new byte[0]; + byte[] baTarget = new byte[0]; + + selected = (string)model.GetValue(iter, 0); + value = (string)model.GetValue(iter, 1); + + if ((value == null) || (value.Length < 1)) + { + // read value from store + SecretStore ss = GetMiCasaStore(); + Secret secret = ss.GetSecret(entrySecretID.Text); + value = secret.GetKeyValue(selected); + + // strip of header data + baValue = System.Text.Encoding.ASCII.GetBytes(value); + if (baValue.Length > 16) + { + baTarget = new byte[baValue.Length - 16]; + Array.Copy(baValue, 13, baTarget, 0, baValue.Length - 16); + } /* try { baValue = Convert.FromBase64String(System.Text.Encoding.ASCII.GetString(baTarget)); @@ -1474,109 +1474,109 @@ namespace Novell.CASA.GUI { value = e.ToString(); } - */ - } - - if (selected != null && selected.Length > 0) - { - Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogDecode", null); - gxmlTemp.Autoconnect(this); - - // display decoded value - //textviewClear.Buffer.Text = value; - //char[] array = value.ToCharArray(); - - try - { - if (baTarget.Length > 0) - { - baValue = Convert.FromBase64String(System.Text.Encoding.ASCII.GetString(baTarget)); - value = System.Text.Encoding.ASCII.GetString(baValue); - textviewClear.Buffer.Text = value; - } - else - { - textviewClear.Buffer.Text = value; - } - - //byte[] bytes = Convert.FromBase64CharArray(array, 0, array.Length); - //textviewClear.Buffer.Text = System.Text.Encoding.ASCII.GetString(bytes); - } - catch (Exception e) - { - // decode failed, open it all - textviewClear.Buffer.Text = e.ToString(); - - bttnExpand_Clicked(null, null); - textviewEncoded.Buffer.Text = value; - } - - // hook up button handlers - bttnDecode.Clicked += new EventHandler(bttnDecode_Clicked); - bttnEncode.Clicked += new EventHandler(bttnEncode_Clicked); - bttnExpand.Clicked += new EventHandler(bttnExpand_Clicked); - dialogDecode.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogManageSecret"); - dialogDecode.Modal = true; - dialogDecode.Show(); - } - } - } - - void bttnExpand_Clicked(object sender, EventArgs e) - { - bttnDecode.Visible = - bttnEncode.Visible = - textviewEncoded.Visible = - scrolledwindowEncoded.Visible = !bttnDecode.Visible; - - if (bttnDecode.Visible) - { - bttnExpand.Label = " << "; - } - else - { - bttnExpand.Label = " >> "; - } - } - - void bttnEncode_Clicked(object sender, EventArgs e) - { - string sClear = textviewClear.Buffer.Text.Trim(); - if (sClear.Length > 0) - { - textviewEncoded.Buffer.Clear(); - textviewEncoded.Buffer.Text = Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes(sClear)); - } - } - - void bttnDecode_Clicked(object sender, EventArgs e) - { - string sEncoded = textviewEncoded.Buffer.Text.Trim(); - if (sEncoded.Length > 0) - { - char[] array = sEncoded.ToCharArray(); - byte[] bytes = Convert.FromBase64CharArray(array, 0, array.Length); - textviewClear.Buffer.Text = System.Text.Encoding.ASCII.GetString(bytes); - } - } - - private void on_bttnCloseDecode_clicked(object sender, EventArgs args) - { - if (dialogDecode != null) - { - dialogDecode.Destroy(); - } - - } - - internal void DoFileImport(Config config) - { - ImportSecrets importSecrets = new ImportSecrets(GetMiCasaStore(), config, this); - importSecrets.Run(); - } - - } -} -///################################################################## -/// END OF FILE -///################################################################## + */ + } + + if (selected != null && selected.Length > 0) + { + Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogDecode", null); + gxmlTemp.Autoconnect(this); + + // display decoded value + //textviewClear.Buffer.Text = value; + //char[] array = value.ToCharArray(); + + try + { + if (baTarget.Length > 0) + { + baValue = Convert.FromBase64String(System.Text.Encoding.ASCII.GetString(baTarget)); + value = System.Text.Encoding.ASCII.GetString(baValue); + textviewClear.Buffer.Text = value; + } + else + { + textviewClear.Buffer.Text = value; + } + + //byte[] bytes = Convert.FromBase64CharArray(array, 0, array.Length); + //textviewClear.Buffer.Text = System.Text.Encoding.ASCII.GetString(bytes); + } + catch (Exception e) + { + // decode failed, open it all + textviewClear.Buffer.Text = e.ToString(); + + bttnExpand_Clicked(null, null); + textviewEncoded.Buffer.Text = value; + } + + // hook up button handlers + bttnDecode.Clicked += new EventHandler(bttnDecode_Clicked); + bttnEncode.Clicked += new EventHandler(bttnEncode_Clicked); + bttnExpand.Clicked += new EventHandler(bttnExpand_Clicked); + dialogDecode.TransientFor = (Gtk.Window)CasaMain.gxmlMain.GetWidget("dialogManageSecret"); + dialogDecode.Modal = true; + dialogDecode.Show(); + } + } + } + + void bttnExpand_Clicked(object sender, EventArgs e) + { + bttnDecode.Visible = + bttnEncode.Visible = + textviewEncoded.Visible = + scrolledwindowEncoded.Visible = !bttnDecode.Visible; + + if (bttnDecode.Visible) + { + bttnExpand.Label = " << "; + } + else + { + bttnExpand.Label = " >> "; + } + } + + void bttnEncode_Clicked(object sender, EventArgs e) + { + string sClear = textviewClear.Buffer.Text.Trim(); + if (sClear.Length > 0) + { + textviewEncoded.Buffer.Clear(); + textviewEncoded.Buffer.Text = Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes(sClear)); + } + } + + void bttnDecode_Clicked(object sender, EventArgs e) + { + string sEncoded = textviewEncoded.Buffer.Text.Trim(); + if (sEncoded.Length > 0) + { + char[] array = sEncoded.ToCharArray(); + byte[] bytes = Convert.FromBase64CharArray(array, 0, array.Length); + textviewClear.Buffer.Text = System.Text.Encoding.ASCII.GetString(bytes); + } + } + + private void on_bttnCloseDecode_clicked(object sender, EventArgs args) + { + if (dialogDecode != null) + { + dialogDecode.Destroy(); + } + + } + + internal void DoFileImport(Config config) + { + ImportSecrets importSecrets = new ImportSecrets(GetMiCasaStore(), config, this); + importSecrets.Run(); + } + + } +} +///################################################################## +/// END OF FILE +///################################################################## diff --git a/CASA/gui/PersistentPolicyDialog.cs b/CASA/gui/PersistentPolicyDialog.cs index 3bc1e217..c6033e0e 100644 --- a/CASA/gui/PersistentPolicyDialog.cs +++ b/CASA/gui/PersistentPolicyDialog.cs @@ -1,131 +1,131 @@ -using System; -using System.Collections; -using System.Collections.Specialized; - -using Gtk; -using Glade; - - -using Novell.CASA; -using Novell.CASA.CASAPolicy; - -namespace Novell.CASA.GUI -{ - /// - /// Summary description for PolicyDialog. - /// - public class PersistentPolicyDialog - { - - private TreeStore tsPersistentList = new TreeStore(typeof(string)); - private TreeStore tsNonPersistentList = new TreeStore(typeof(string)); - - private PersistencePol policy = null; - private bool bChanged = false; - +using System; +using System.Collections; +using System.Collections.Specialized; + +using Gtk; +using Glade; + + +using Novell.CASA; +using Novell.CASA.CASAPolicy; + +namespace Novell.CASA.GUI +{ + /// + /// Summary description for PolicyDialog. + /// + public class PersistentPolicyDialog + { + + private TreeStore tsPersistentList = new TreeStore(typeof(string)); + private TreeStore tsNonPersistentList = new TreeStore(typeof(string)); + + private PersistencePol policy = null; + private bool bChanged = false; + #region Glade Widgets - [Glade.Widget] - Gtk.TreeView tvPersistentList, - tvNonPersistentList; - - [Glade.Widget] - Gtk.Dialog dialogPersistentPolicy; - - [Glade.Widget] - Gtk.Button applybuttonPersistent, - buttonMakeNonPersistent, - buttonMakePersistent, - helpbuttonPolicy; - - #endregion - - public PersistentPolicyDialog() - { - // - // TODO: Add constructor logic here - // - } - - public void ShowDialog() - { + [Glade.Widget] + Gtk.TreeView tvPersistentList, + tvNonPersistentList; + + [Glade.Widget] + Gtk.Dialog dialogPersistentPolicy; + + [Glade.Widget] + Gtk.Button applybuttonPersistent, + buttonMakeNonPersistent, + buttonMakePersistent, + helpbuttonPolicy; + + #endregion + + public PersistentPolicyDialog() + { + // + // TODO: Add constructor logic here + // + } + + public void ShowDialog() + { Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogPersistentPolicy", null); - gxmlTemp.Autoconnect(this); - - activateMoveButtons(false, false); - applybuttonPersistent.Sensitive = false; - - // load store - SecretStore ss = SecretStore.GetInstance(); - StringCollection sc = ss.EnumerateSecretIDs(); - StringEnumerator senum = sc.GetEnumerator(); - - // load policy - policy = (PersistencePol)ICASAPol.GetPolicy(CASAPolType.PERSISTENCE_POL); - if (policy == null) - { - policy = new PersistencePol("Platform", "PersistentPath_NOT USED", 10); - } - - while (senum.MoveNext()) - { - string sSecretID = senum.Current; - if (policy.GetSecretPolicy(sSecretID, "Persistent", true)) - { - tsPersistentList.AppendValues(sSecretID); - } - else - { - //tsNonPersistentList.AppendValues(sSecretID); - } - } - - // display non-persistent IDs - ArrayList al = policy.GetNonpersistentSecretIDs(); - for (int i=0; i - /// Summary description for SingleApp. - /// - public class SingleApplication - { - public SingleApplication() - { - - } - /// - /// Imports - /// - - [DllImport("user32.dll")] - private static extern int ShowWindow(IntPtr hWnd, int nCmdShow); - - [DllImport("user32.dll")] - private static extern int SetForegroundWindow(IntPtr hWnd); - - [DllImport("user32.dll")] - private static extern int IsIconic(IntPtr hWnd); - - /// - /// GetCurrentInstanceWindowHandle - /// - /// - private static IntPtr GetCurrentInstanceWindowHandle() - { - IntPtr hWnd = IntPtr.Zero; - Process process = Process.GetCurrentProcess(); - Process[] processes = Process.GetProcessesByName(process.ProcessName); - foreach(Process _process in processes) - { - // Get the first instance that is not this instance, has the - // same process name and was started from the same file name - // and location. Also check that the process has a valid - // window handle in this session to filter out other user's - // processes. - if (_process.Id != process.Id && - _process.MainModule.FileName == process.MainModule.FileName && - _process.MainWindowHandle != IntPtr.Zero) - { - hWnd = _process.MainWindowHandle; - break; - } - } - Console.WriteLine("Window Handle: " + hWnd.ToString()); - return hWnd; - } - /// - /// SwitchToCurrentInstance - /// - public static bool SwitchToCurrentInstance() - { - IntPtr hWnd = GetCurrentInstanceWindowHandle(); - if (hWnd != IntPtr.Zero) - { - // Restore window if minimised. Do not restore if already in - // normal or maximised window state, since we don't want to - // change the current state of the window. - if (IsIconic(hWnd) != 0) - { - ShowWindow(hWnd, SW_RESTORE); - } - - // Set foreground window. - SetForegroundWindow(hWnd); - return true; - } - else - return false; - } - - /// - /// Execute a form base application if another instance already running on - /// the system activate previous one - /// - /// main form - /// true if no previous instance is running - public static bool Run(System.Windows.Forms.Form frmMain) - { - if(IsAlreadyRunning()) - { - //set focus on previously running app - SwitchToCurrentInstance(); - return false; - } - Application.Run(frmMain); - return true; - } - - /// - /// for GUI - /// - /// - public static bool Run() - { - if(IsAlreadyRunning()) - { - return true; - } - return false; - } - - /// - /// check if given exe alread running or not - /// - /// returns true if already running - private static bool IsAlreadyRunning() - { - string strLoc = Assembly.GetExecutingAssembly().Location; - FileSystemInfo fileInfo = new FileInfo(strLoc); - string sExeName = fileInfo.Name; - bool bCreatedNew; - - mutex = new Mutex(true, "Global\\"+sExeName, out bCreatedNew); - if (bCreatedNew) - mutex.ReleaseMutex(); - - return !bCreatedNew; - } - - static Mutex mutex; - const int SW_RESTORE = 9; - } -} +using System; +using System.Windows.Forms; +using System.Runtime.InteropServices; +using System.Text; +using System.Diagnostics; +using System.Threading; +using System.Reflection; +using System.IO; + +namespace SingleInstance +{ + /// + /// Summary description for SingleApp. + /// + public class SingleApplication + { + public SingleApplication() + { + + } + /// + /// Imports + /// + + [DllImport("user32.dll")] + private static extern int ShowWindow(IntPtr hWnd, int nCmdShow); + + [DllImport("user32.dll")] + private static extern int SetForegroundWindow(IntPtr hWnd); + + [DllImport("user32.dll")] + private static extern int IsIconic(IntPtr hWnd); + + /// + /// GetCurrentInstanceWindowHandle + /// + /// + private static IntPtr GetCurrentInstanceWindowHandle() + { + IntPtr hWnd = IntPtr.Zero; + Process process = Process.GetCurrentProcess(); + Process[] processes = Process.GetProcessesByName(process.ProcessName); + foreach(Process _process in processes) + { + // Get the first instance that is not this instance, has the + // same process name and was started from the same file name + // and location. Also check that the process has a valid + // window handle in this session to filter out other user's + // processes. + if (_process.Id != process.Id && + _process.MainModule.FileName == process.MainModule.FileName && + _process.MainWindowHandle != IntPtr.Zero) + { + hWnd = _process.MainWindowHandle; + break; + } + } + Console.WriteLine("Window Handle: " + hWnd.ToString()); + return hWnd; + } + /// + /// SwitchToCurrentInstance + /// + public static bool SwitchToCurrentInstance() + { + IntPtr hWnd = GetCurrentInstanceWindowHandle(); + if (hWnd != IntPtr.Zero) + { + // Restore window if minimised. Do not restore if already in + // normal or maximised window state, since we don't want to + // change the current state of the window. + if (IsIconic(hWnd) != 0) + { + ShowWindow(hWnd, SW_RESTORE); + } + + // Set foreground window. + SetForegroundWindow(hWnd); + return true; + } + else + return false; + } + + /// + /// Execute a form base application if another instance already running on + /// the system activate previous one + /// + /// main form + /// true if no previous instance is running + public static bool Run(System.Windows.Forms.Form frmMain) + { + if(IsAlreadyRunning()) + { + //set focus on previously running app + SwitchToCurrentInstance(); + return false; + } + Application.Run(frmMain); + return true; + } + + /// + /// for GUI + /// + /// + public static bool Run() + { + if(IsAlreadyRunning()) + { + return true; + } + return false; + } + + /// + /// check if given exe alread running or not + /// + /// returns true if already running + private static bool IsAlreadyRunning() + { + string strLoc = Assembly.GetExecutingAssembly().Location; + FileSystemInfo fileInfo = new FileInfo(strLoc); + string sExeName = fileInfo.Name; + bool bCreatedNew; + + mutex = new Mutex(true, "Global\\"+sExeName, out bCreatedNew); + if (bCreatedNew) + mutex.ReleaseMutex(); + + return !bCreatedNew; + } + + static Mutex mutex; + const int SW_RESTORE = 9; + } +} diff --git a/CASA/gui/Store.cs b/CASA/gui/Store.cs index 533de320..5417b197 100644 --- a/CASA/gui/Store.cs +++ b/CASA/gui/Store.cs @@ -45,8 +45,8 @@ public abstract class Store ///####################################################################### - /// - /// + /// + /// /// public abstract void ViewKeyValues(); diff --git a/CASA/gui/StoreDataInterface.cs b/CASA/gui/StoreDataInterface.cs index 7e6e3280..465b501c 100644 --- a/CASA/gui/StoreDataInterface.cs +++ b/CASA/gui/StoreDataInterface.cs @@ -316,20 +316,20 @@ namespace Novell.CASA.GUI { { while( secIter.MoveNext() ) {//Enumerate the Time Nodes of this secret - if( secIter.Current.Name.Equals(CCFXML_ELEMENT_TIME_MODIFIED) ) - + if( secIter.Current.Name.Equals(CCFXML_ELEMENT_TIME_MODIFIED) ) + //miCASA-KeyChain-Secret-Key-Value-Time-modified - { - string sTicks = secIter.Current.Value; - - try - { - DateTime dt = new DateTime(long.Parse(sTicks)); - modifiedTime = secIter.Current.Value; - } - catch (Exception) - { - modifiedTime = "unknown"; + { + string sTicks = secIter.Current.Value; + + try + { + DateTime dt = new DateTime(long.Parse(sTicks)); + modifiedTime = secIter.Current.Value; + } + catch (Exception) + { + modifiedTime = "unknown"; } } } @@ -412,31 +412,31 @@ namespace Novell.CASA.GUI { strNativeValueArray[Common.INDEX_NATIVEINFO_SYNC] = synch; strNativeValueArray[Common.INDEX_NATIVEINFO_SYNCTYPE] = synchType; strNativeValueArray[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = modifiedTime; - //Console.WriteLine("folderName="+folderName+"\n"+"typeID="+typeID+"\n"+"synch="+synch+"\n"+"synchType="+synchType+"\n"+"modifiedTime="+modifiedTime); - if (storeIDentifier == Common.STORE_FIREFOX) - { - ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray, boolIsPassArray); - } - else if (storeIDentifier == Common.STORE_MICASA) - { - // convert modifiedTime to human readable - DateTime dt; - try - { - dt = new DateTime(long.Parse(modifiedTime)); - strNativeValueArray[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = dt.ToShortDateString() + " " + dt.ToShortTimeString(); - } - catch - { - strNativeValueArray[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = modifiedTime; - } - - ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray); - - } - else - { - ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray); + //Console.WriteLine("folderName="+folderName+"\n"+"typeID="+typeID+"\n"+"synch="+synch+"\n"+"synchType="+synchType+"\n"+"modifiedTime="+modifiedTime); + if (storeIDentifier == Common.STORE_FIREFOX) + { + ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray, boolIsPassArray); + } + else if (storeIDentifier == Common.STORE_MICASA) + { + // convert modifiedTime to human readable + DateTime dt; + try + { + dt = new DateTime(long.Parse(modifiedTime)); + strNativeValueArray[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = dt.ToShortDateString() + " " + dt.ToShortTimeString(); + } + catch + { + strNativeValueArray[Common.INDEX_NATIVEINFO_MODIFIEDTIME] = modifiedTime; + } + + ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray); + + } + else + { + ls.AppendValues(secretID, strKeyArray, strValueArray, storeID, strNativeKeyArray, strNativeValueArray); } //Re-Initialize for next iteration @@ -1044,66 +1044,66 @@ namespace Novell.CASA.GUI { } return( Common.STATUS_SUCCESS ); - } - - public static bool ModifyCASASecretKey(string SecretID, string keyID, string sValue) - { - return ModifySecretKey(Common.STORE_MICASA, "Default", SecretID, keyID, sValue); - } - + } + + public static bool ModifyCASASecretKey(string SecretID, string keyID, string sValue) + { + return ModifySecretKey(Common.STORE_MICASA, "Default", SecretID, keyID, sValue); + } + private static bool ModifySecretKey(int StoreID, string keyChainID, string SecretID, string keyID, string sValue) - { + { string ccfSecretPath = "//CCF/miCASA/Keychain[@ID='" + keyChainID + "']/Secret[@ID='" + SecretID + "']/Key[@ID='" + keyID + "']"; - - //For Modify operation get to the Node in the tree which needs to be modified - XmlNode root = ccfDoc.DocumentElement; - XmlNodeList keylist = root.SelectNodes(ccfSecretPath); - foreach ( XmlNode key in keylist ) - { - key.ChildNodes[0].InnerText = sValue; - ad.SetSecret(key.ParentNode, Common.OPERATION_MODIFY_KEY, StoreID); - } - + + //For Modify operation get to the Node in the tree which needs to be modified + XmlNode root = ccfDoc.DocumentElement; + XmlNodeList keylist = root.SelectNodes(ccfSecretPath); + foreach ( XmlNode key in keylist ) + { + key.ChildNodes[0].InnerText = sValue; + ad.SetSecret(key.ParentNode, Common.OPERATION_MODIFY_KEY, StoreID); + } + return true; - } - - - // TODO: Make this store independant - public static bool AddCASASecretKey(string SecretID, string keyID, string sValue) - { - XmlElement newKeyElement; - string ccfKeyChainPath = "//CCF/miCASA/Keychain[@ID='Default']/Secret[@ID='" + SecretID + "']"; - string ccfSecretPath = ""; - - //Create the Key element - newKeyElement = ccfDoc.CreateElement(CCFXML_ELEMENT_KEY); - newKeyElement.SetAttribute(CCFXML_ATTRIBUTE_ID, keyID); - XmlElement newValue = ccfDoc.CreateElement(CCFXML_ELEMENT_VALUE); - newValue.InnerText = sValue; - newKeyElement.AppendChild(newValue); - - XmlNode root = ccfDoc.DocumentElement; - XmlNodeList keyNodeList = root.SelectNodes(ccfKeyChainPath); - XmlNode keyNode = keyNodeList.Item(0); - XmlNode lastChild = keyNode.LastChild; - keyNode.InsertBefore(newKeyElement, lastChild); - try - { - int errcode = ad.SetSecret(keyNode, Common.OPERATION_ADD_KEY, Common.STORE_MICASA); - if (errcode == Common.STATUS_SUCCESS) - { - return true; - } - else - { - return false; - } - } - catch (Exception) - { - return false; - } - } + } + + + // TODO: Make this store independant + public static bool AddCASASecretKey(string SecretID, string keyID, string sValue) + { + XmlElement newKeyElement; + string ccfKeyChainPath = "//CCF/miCASA/Keychain[@ID='Default']/Secret[@ID='" + SecretID + "']"; + string ccfSecretPath = ""; + + //Create the Key element + newKeyElement = ccfDoc.CreateElement(CCFXML_ELEMENT_KEY); + newKeyElement.SetAttribute(CCFXML_ATTRIBUTE_ID, keyID); + XmlElement newValue = ccfDoc.CreateElement(CCFXML_ELEMENT_VALUE); + newValue.InnerText = sValue; + newKeyElement.AppendChild(newValue); + + XmlNode root = ccfDoc.DocumentElement; + XmlNodeList keyNodeList = root.SelectNodes(ccfKeyChainPath); + XmlNode keyNode = keyNodeList.Item(0); + XmlNode lastChild = keyNode.LastChild; + keyNode.InsertBefore(newKeyElement, lastChild); + try + { + int errcode = ad.SetSecret(keyNode, Common.OPERATION_ADD_KEY, Common.STORE_MICASA); + if (errcode == Common.STATUS_SUCCESS) + { + return true; + } + else + { + return false; + } + } + catch (Exception) + { + return false; + } + } ///####################################################################### diff --git a/CASA/gui/TrayLib.cs b/CASA/gui/TrayLib.cs index 9d667b7d..50238bd7 100644 --- a/CASA/gui/TrayLib.cs +++ b/CASA/gui/TrayLib.cs @@ -20,246 +20,246 @@ * ***********************************************************************/ -using System; -using System.Runtime.InteropServices; - -using Gtk; -using Gdk; - -namespace Egg -{ - public class TrayIcon : Plug - { - int stamp; - Orientation orientation; - - int selection_atom; - int manager_atom; - int system_tray_opcode_atom; - int orientation_atom; - IntPtr manager_window; - FilterFunc filter; - - public TrayIcon (string name) - { - Title = name; - stamp = 1; - orientation = Orientation.Horizontal; - AddEvents ((int)EventMask.PropertyChangeMask); - filter = new FilterFunc (ManagerFilter); - } - - protected override void OnRealized () - { - base.OnRealized (); - Display display = Screen.Display; - IntPtr xdisplay = gdk_x11_display_get_xdisplay (display.Handle); - selection_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_S" + Screen.Number.ToString (), false); - manager_atom = XInternAtom (xdisplay, "MANAGER", false); - system_tray_opcode_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_OPCODE", false); - orientation_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_ORIENTATION", false); - UpdateManagerWindow (); - //Screen.RootWindow.AddFilter (filter); - } - - protected override void OnUnrealized () - { - if (manager_window != IntPtr.Zero) - { - Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); - //gdkwin.RemoveFilter (filter); - } - - //Screen.RootWindow.RemoveFilter (filter); - base.OnUnrealized (); - } - - private void UpdateManagerWindow () - { - IntPtr xdisplay = gdk_x11_display_get_xdisplay (Display.Handle); - if (manager_window != IntPtr.Zero) - { - Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); - //gdkwin.RemoveFilter (filter); - } - - XGrabServer (xdisplay); - - manager_window = XGetSelectionOwner (xdisplay, selection_atom); - if (manager_window != IntPtr.Zero) - XSelectInput (xdisplay, manager_window, EventMask.StructureNotifyMask | EventMask.PropertyChangeMask); - XUngrabServer (xdisplay); - XFlush (xdisplay); - - if (manager_window != IntPtr.Zero) - { - Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); - //gdkwin.AddFilter (filter); - SendDockRequest (); - GetOrientationProperty (); - } - } - - private void SendDockRequest () - { - SendManagerMessage (SystemTrayMessage.RequestDock, manager_window, Id, 0, 0); - } - - private void SendManagerMessage (SystemTrayMessage message, IntPtr window, uint data1, uint data2, uint data3) - { - XClientMessageEvent ev = new XClientMessageEvent (); - IntPtr display; - - ev.type = XEventName.ClientMessage; - ev.window = window; - ev.message_type = (IntPtr)system_tray_opcode_atom; - ev.format = 32; - ev.ptr1 = gdk_x11_get_server_time (GdkWindow.Handle); - ev.ptr2 = (IntPtr)message; - ev.ptr3 = (IntPtr)data1; - ev.ptr4 = (IntPtr)data2; - ev.ptr5 = (IntPtr)data3; - - display = gdk_x11_display_get_xdisplay (Display.Handle); - gdk_error_trap_push (); - XSendEvent (display, manager_window, false, EventMask.NoEventMask, ref ev); - gdk_error_trap_pop (); - } - - private FilterReturn ManagerFilter (IntPtr xevent, Event evnt) - { - //TODO: Implement; - return FilterReturn.Continue; - } - - private void GetOrientationProperty () - { - //TODO: Implement; - } - - [DllImport ("gdk-x11-2.0")] - static extern IntPtr gdk_x11_display_get_xdisplay (IntPtr display); - [DllImport ("gdk-x11-2.0")] - static extern IntPtr gdk_x11_get_server_time (IntPtr window); - [DllImport ("gdk-x11-2.0")] - static extern void gdk_error_trap_push (); - [DllImport ("gdk-x11-2.0")] - static extern void gdk_error_trap_pop (); - - [DllImport ("libX11", EntryPoint="XInternAtom")] - extern static int XInternAtom(IntPtr display, string atom_name, bool only_if_exists); - [DllImport ("libX11")] - extern static void XGrabServer (IntPtr display); - [DllImport ("libX11")] - extern static void XUngrabServer (IntPtr display); - [DllImport ("libX11")] - extern static int XFlush (IntPtr display); - [DllImport ("libX11")] - extern static IntPtr XGetSelectionOwner (IntPtr display, int atom); - [DllImport ("libX11")] - extern static IntPtr XSelectInput (IntPtr window, IntPtr display, EventMask mask); - [DllImport ("libX11", EntryPoint="XSendEvent")] - extern static int XSendEvent(IntPtr display, IntPtr window, bool propagate, EventMask event_mask, ref XClientMessageEvent send_event); - } - - [Flags] - internal enum EventMask - { - NoEventMask = 0, - KeyPressMask = 1<<0, - KeyReleaseMask = 1<<1, - ButtonPressMask = 1<<2, - ButtonReleaseMask = 1<<3, - EnterWindowMask = 1<<4, - LeaveWindowMask = 1<<5, - PointerMotionMask = 1<<6, - PointerMotionHintMask = 1<<7, - Button1MotionMask = 1<<8, - Button2MotionMask = 1<<9, - Button3MotionMask = 1<<10, - Button4MotionMask = 1<<11, - Button5MotionMask = 1<<12, - ButtonMotionMask = 1<<13, - KeymapStateMask = 1<<14, - ExposureMask = 1<<15, - VisibilityChangeMask = 1<<16, - StructureNotifyMask = 1<<17, - ResizeRedirectMask = 1<<18, - SubstructureNotifyMask = 1<<19, - SubstructureRedirectMask= 1<<20, - FocusChangeMask = 1<<21, - PropertyChangeMask = 1<<22, - ColormapChangeMask = 1<<23, - OwnerGrabButtonMask = 1<<24 - } - - internal enum SystemTrayMessage - { - RequestDock, - BeginMessage, - CancelMessage - } - - internal enum SystemTrayOrientation - { - Horz, - Vert - } - - [StructLayout(LayoutKind.Sequential)] - internal struct XClientMessageEvent - { - internal XEventName type; - internal IntPtr serial; - internal bool send_event; - internal IntPtr display; - internal IntPtr window; - internal IntPtr message_type; - internal int format; - internal IntPtr ptr1; - internal IntPtr ptr2; - internal IntPtr ptr3; - internal IntPtr ptr4; - internal IntPtr ptr5; - } - - internal enum XEventName - { - KeyPress = 2, - KeyRelease = 3, - ButtonPress = 4, - ButtonRelease = 5, - MotionNotify = 6, - EnterNotify = 7, - LeaveNotify = 8, - FocusIn = 9, - FocusOut = 10, - KeymapNotify = 11, - Expose = 12, - GraphicsExpose = 13, - NoExpose = 14, - VisibilityNotify = 15, - CreateNotify = 16, - DestroyNotify = 17, - UnmapNotify = 18, - MapNotify = 19, - MapRequest = 20, - ReparentNotify = 21, - ConfigureNotify = 22, - ConfigureRequest = 23, - GravityNotify = 24, - ResizeRequest = 25, - CirculateNotify = 26, - CirculateRequest = 27, - PropertyNotify = 28, - SelectionClear = 29, - SelectionRequest = 30, - SelectionNotify = 31, - ColormapNotify = 32, - ClientMessage = 33, - MappingNotify = 34, - TimerNotify = 100, - - LASTEvent - } +using System; +using System.Runtime.InteropServices; + +using Gtk; +using Gdk; + +namespace Egg +{ + public class TrayIcon : Plug + { + int stamp; + Orientation orientation; + + int selection_atom; + int manager_atom; + int system_tray_opcode_atom; + int orientation_atom; + IntPtr manager_window; + FilterFunc filter; + + public TrayIcon (string name) + { + Title = name; + stamp = 1; + orientation = Orientation.Horizontal; + AddEvents ((int)EventMask.PropertyChangeMask); + filter = new FilterFunc (ManagerFilter); + } + + protected override void OnRealized () + { + base.OnRealized (); + Display display = Screen.Display; + IntPtr xdisplay = gdk_x11_display_get_xdisplay (display.Handle); + selection_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_S" + Screen.Number.ToString (), false); + manager_atom = XInternAtom (xdisplay, "MANAGER", false); + system_tray_opcode_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_OPCODE", false); + orientation_atom = XInternAtom (xdisplay, "_NET_SYSTEM_TRAY_ORIENTATION", false); + UpdateManagerWindow (); + //Screen.RootWindow.AddFilter (filter); + } + + protected override void OnUnrealized () + { + if (manager_window != IntPtr.Zero) + { + Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); + //gdkwin.RemoveFilter (filter); + } + + //Screen.RootWindow.RemoveFilter (filter); + base.OnUnrealized (); + } + + private void UpdateManagerWindow () + { + IntPtr xdisplay = gdk_x11_display_get_xdisplay (Display.Handle); + if (manager_window != IntPtr.Zero) + { + Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); + //gdkwin.RemoveFilter (filter); + } + + XGrabServer (xdisplay); + + manager_window = XGetSelectionOwner (xdisplay, selection_atom); + if (manager_window != IntPtr.Zero) + XSelectInput (xdisplay, manager_window, EventMask.StructureNotifyMask | EventMask.PropertyChangeMask); + XUngrabServer (xdisplay); + XFlush (xdisplay); + + if (manager_window != IntPtr.Zero) + { + Gdk.Window gdkwin = Gdk.Window.LookupForDisplay (Display, (uint)manager_window); + //gdkwin.AddFilter (filter); + SendDockRequest (); + GetOrientationProperty (); + } + } + + private void SendDockRequest () + { + SendManagerMessage (SystemTrayMessage.RequestDock, manager_window, Id, 0, 0); + } + + private void SendManagerMessage (SystemTrayMessage message, IntPtr window, uint data1, uint data2, uint data3) + { + XClientMessageEvent ev = new XClientMessageEvent (); + IntPtr display; + + ev.type = XEventName.ClientMessage; + ev.window = window; + ev.message_type = (IntPtr)system_tray_opcode_atom; + ev.format = 32; + ev.ptr1 = gdk_x11_get_server_time (GdkWindow.Handle); + ev.ptr2 = (IntPtr)message; + ev.ptr3 = (IntPtr)data1; + ev.ptr4 = (IntPtr)data2; + ev.ptr5 = (IntPtr)data3; + + display = gdk_x11_display_get_xdisplay (Display.Handle); + gdk_error_trap_push (); + XSendEvent (display, manager_window, false, EventMask.NoEventMask, ref ev); + gdk_error_trap_pop (); + } + + private FilterReturn ManagerFilter (IntPtr xevent, Event evnt) + { + //TODO: Implement; + return FilterReturn.Continue; + } + + private void GetOrientationProperty () + { + //TODO: Implement; + } + + [DllImport ("gdk-x11-2.0")] + static extern IntPtr gdk_x11_display_get_xdisplay (IntPtr display); + [DllImport ("gdk-x11-2.0")] + static extern IntPtr gdk_x11_get_server_time (IntPtr window); + [DllImport ("gdk-x11-2.0")] + static extern void gdk_error_trap_push (); + [DllImport ("gdk-x11-2.0")] + static extern void gdk_error_trap_pop (); + + [DllImport ("libX11", EntryPoint="XInternAtom")] + extern static int XInternAtom(IntPtr display, string atom_name, bool only_if_exists); + [DllImport ("libX11")] + extern static void XGrabServer (IntPtr display); + [DllImport ("libX11")] + extern static void XUngrabServer (IntPtr display); + [DllImport ("libX11")] + extern static int XFlush (IntPtr display); + [DllImport ("libX11")] + extern static IntPtr XGetSelectionOwner (IntPtr display, int atom); + [DllImport ("libX11")] + extern static IntPtr XSelectInput (IntPtr window, IntPtr display, EventMask mask); + [DllImport ("libX11", EntryPoint="XSendEvent")] + extern static int XSendEvent(IntPtr display, IntPtr window, bool propagate, EventMask event_mask, ref XClientMessageEvent send_event); + } + + [Flags] + internal enum EventMask + { + NoEventMask = 0, + KeyPressMask = 1<<0, + KeyReleaseMask = 1<<1, + ButtonPressMask = 1<<2, + ButtonReleaseMask = 1<<3, + EnterWindowMask = 1<<4, + LeaveWindowMask = 1<<5, + PointerMotionMask = 1<<6, + PointerMotionHintMask = 1<<7, + Button1MotionMask = 1<<8, + Button2MotionMask = 1<<9, + Button3MotionMask = 1<<10, + Button4MotionMask = 1<<11, + Button5MotionMask = 1<<12, + ButtonMotionMask = 1<<13, + KeymapStateMask = 1<<14, + ExposureMask = 1<<15, + VisibilityChangeMask = 1<<16, + StructureNotifyMask = 1<<17, + ResizeRedirectMask = 1<<18, + SubstructureNotifyMask = 1<<19, + SubstructureRedirectMask= 1<<20, + FocusChangeMask = 1<<21, + PropertyChangeMask = 1<<22, + ColormapChangeMask = 1<<23, + OwnerGrabButtonMask = 1<<24 + } + + internal enum SystemTrayMessage + { + RequestDock, + BeginMessage, + CancelMessage + } + + internal enum SystemTrayOrientation + { + Horz, + Vert + } + + [StructLayout(LayoutKind.Sequential)] + internal struct XClientMessageEvent + { + internal XEventName type; + internal IntPtr serial; + internal bool send_event; + internal IntPtr display; + internal IntPtr window; + internal IntPtr message_type; + internal int format; + internal IntPtr ptr1; + internal IntPtr ptr2; + internal IntPtr ptr3; + internal IntPtr ptr4; + internal IntPtr ptr5; + } + + internal enum XEventName + { + KeyPress = 2, + KeyRelease = 3, + ButtonPress = 4, + ButtonRelease = 5, + MotionNotify = 6, + EnterNotify = 7, + LeaveNotify = 8, + FocusIn = 9, + FocusOut = 10, + KeymapNotify = 11, + Expose = 12, + GraphicsExpose = 13, + NoExpose = 14, + VisibilityNotify = 15, + CreateNotify = 16, + DestroyNotify = 17, + UnmapNotify = 18, + MapNotify = 19, + MapRequest = 20, + ReparentNotify = 21, + ConfigureNotify = 22, + ConfigureRequest = 23, + GravityNotify = 24, + ResizeRequest = 25, + CirculateNotify = 26, + CirculateRequest = 27, + PropertyNotify = 28, + SelectionClear = 29, + SelectionRequest = 30, + SelectionNotify = 31, + ColormapNotify = 32, + ClientMessage = 33, + MappingNotify = 34, + TimerNotify = 100, + + LASTEvent + } } \ No newline at end of file diff --git a/CASA/gui/objs.lux b/CASA/gui/objs.lux deleted file mode 100644 index b7595065..00000000 --- a/CASA/gui/objs.lux +++ /dev/null @@ -1,16 +0,0 @@ -OBJS=\ - AssemblyInfo \ - CasaMain \ - CasaTray \ - TrayLib \ - Firefox \ - GnomeKeyring \ - KdeWallet \ - Logger \ - MiCasa \ - Mozilla \ - Store \ - StoreDataInterface \ - StorePolicyInterface \ - CommonGUI \ - Common diff --git a/CASA/gui/src.lux b/CASA/gui/src.lux deleted file mode 100644 index 090fcb95..00000000 --- a/CASA/gui/src.lux +++ /dev/null @@ -1,17 +0,0 @@ -SRC=\ - AssemblyInfo.cs \ - CasaMain.cs \ - CasaTray.cs \ - TrayLib.cs \ - Firefox.cs \ - GnomeKeyring.cs \ - KdeWallet.cs \ - Logger.cs \ - MiCasa.cs \ - Mozilla.cs \ - Store.cs \ - StoreDataInterface.cs \ - StorePolicyInterface.cs \ - CommonGUI.cs \ - Common.cs - diff --git a/CASA/include/cardselector.h b/CASA/include/cardselector.h index 5efc38fc..53fca304 100644 --- a/CASA/include/cardselector.h +++ b/CASA/include/cardselector.h @@ -25,5 +25,5 @@ int launchSelector( char *pSecretID, void *secretHandle, - SSCS_BASIC_CREDENTIAL *basicCred); - + SSCS_BASIC_CREDENTIAL *basicCred); + diff --git a/CASA/include/micasa_types.h b/CASA/include/micasa_types.h index de9581f4..1b1a342f 100644 --- a/CASA/include/micasa_types.h +++ b/CASA/include/micasa_types.h @@ -20,62 +20,62 @@ * ***********************************************************************/ - - -#ifndef _MICASA_TYPES_H_ -#define _MICASA_TYPES_H_ - - -#if defined(WIN32) - -#include - - #define SSCS_CALL __stdcall - #define SSCS_GLOBAL_LIBCALL_PTR(RET) RET * __stdcall - #define SSCS_GLOBAL_LIBCALL(RET) RET __stdcall - #define SSCS_EXTERN_LIBCALL_PTR(RET) extern RET * __stdcall - #define SSCS_EXTERN_LIBCALL(RET) extern RET __stdcall - #define SSCS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (__stdcall *PTR) - #define SSCS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (__stdcall *PTR) - - typedef unsigned __int64 uint64_t; - typedef signed __int64 int64_t; - typedef unsigned int uint32_t; - typedef signed int int32_t; - typedef unsigned short uint16_t; - typedef signed short int16_t; - typedef unsigned char uint8_t; - typedef signed char int8_t; - -#else - -#include -#include - - #define SSCS_CALL - #define SSCS_GLOBAL_LIBCALL_PTR(RET) RET * - #define SSCS_GLOBAL_LIBCALL(RET) RET - #define SSCS_EXTERN_LIBCALL_PTR(RET) extern RET * - #define SSCS_EXTERN_LIBCALL(RET) extern RET - #define SSCS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (*PTR) - #define SSCS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (*PTR) - -#endif // if defined(WIN32) - -// -// Defines to make API descriptions more readable -// -#ifndef IN - #define IN -#endif - -#ifndef OUT - #define OUT -#endif - -#ifndef INOUT - #define INOUT -#endif - - -#endif // ifndef _MICASA_TYPES_H_ + + +#ifndef _MICASA_TYPES_H_ +#define _MICASA_TYPES_H_ + + +#if defined(WIN32) + +#include + + #define SSCS_CALL __stdcall + #define SSCS_GLOBAL_LIBCALL_PTR(RET) RET * __stdcall + #define SSCS_GLOBAL_LIBCALL(RET) RET __stdcall + #define SSCS_EXTERN_LIBCALL_PTR(RET) extern RET * __stdcall + #define SSCS_EXTERN_LIBCALL(RET) extern RET __stdcall + #define SSCS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (__stdcall *PTR) + #define SSCS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (__stdcall *PTR) + + typedef unsigned __int64 uint64_t; + typedef signed __int64 int64_t; + typedef unsigned int uint32_t; + typedef signed int int32_t; + typedef unsigned short uint16_t; + typedef signed short int16_t; + typedef unsigned char uint8_t; + typedef signed char int8_t; + +#else + +#include +#include + + #define SSCS_CALL + #define SSCS_GLOBAL_LIBCALL_PTR(RET) RET * + #define SSCS_GLOBAL_LIBCALL(RET) RET + #define SSCS_EXTERN_LIBCALL_PTR(RET) extern RET * + #define SSCS_EXTERN_LIBCALL(RET) extern RET + #define SSCS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (*PTR) + #define SSCS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (*PTR) + +#endif // if defined(WIN32) + +// +// Defines to make API descriptions more readable +// +#ifndef IN + #define IN +#endif + +#ifndef OUT + #define OUT +#endif + +#ifndef INOUT + #define INOUT +#endif + + +#endif // ifndef _MICASA_TYPES_H_ diff --git a/CASA/include/resource.h b/CASA/include/resource.h index 74aa5f1a..7a24c1a2 100644 --- a/CASA/include/resource.h +++ b/CASA/include/resource.h @@ -20,34 +20,34 @@ * ***********************************************************************/ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by dialog.rc -// -#define IDD_LOCAL_LOGIN 100 -#define IDC_USERNAME 101 -#define IDC_DOMAIN 102 -#define IDC_PASSWORD 103 -#define IDC_USERNAME_EDIT 104 -#define IDC_DOMAIN_EDIT 105 -#define IDC_DOMAIN_STATIC 105 -#define IDC_PASSWORD_EDIT 106 -#define IDC_BUTTON_OK 107 -#define IDC_BUTTON_CANCEL 108 -#define IDC_BUTTON_HELP 109 -#define IDS_HELP_MSG_HDR 110 -#define IDS_HELP_MSG 111 -#define IDB_BITMAP1 116 -#define IDC_PICTURE1 -1 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NO_MFC 1 -#define _APS_NEXT_RESOURCE_VALUE 117 -#define _APS_NEXT_COMMAND_VALUE 1000 -#define _APS_NEXT_CONTROL_VALUE 1102 -#define _APS_NEXT_SYMED_VALUE 1200 -#endif -#endif +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by dialog.rc +// +#define IDD_LOCAL_LOGIN 100 +#define IDC_USERNAME 101 +#define IDC_DOMAIN 102 +#define IDC_PASSWORD 103 +#define IDC_USERNAME_EDIT 104 +#define IDC_DOMAIN_EDIT 105 +#define IDC_DOMAIN_STATIC 105 +#define IDC_PASSWORD_EDIT 106 +#define IDC_BUTTON_OK 107 +#define IDC_BUTTON_CANCEL 108 +#define IDC_BUTTON_HELP 109 +#define IDS_HELP_MSG_HDR 110 +#define IDS_HELP_MSG 111 +#define IDB_BITMAP1 116 +#define IDC_PICTURE1 -1 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NO_MFC 1 +#define _APS_NEXT_RESOURCE_VALUE 117 +#define _APS_NEXT_COMMAND_VALUE 1000 +#define _APS_NEXT_CONTROL_VALUE 1102 +#define _APS_NEXT_SYMED_VALUE 1200 +#endif +#endif diff --git a/CASA/include/sscs_cache.h b/CASA/include/sscs_cache.h index 81327917..002a8a55 100644 --- a/CASA/include/sscs_cache.h +++ b/CASA/include/sscs_cache.h @@ -20,86 +20,86 @@ * ***********************************************************************/ -#ifndef _SSCS_CACHE_H -#define _SSCS_CACHE_H - -#if defined(__cplusplus) || defined(c_plusplus) -extern "C" -{ -#endif - - -//#include -#include -#include -#include -#include - -/* Predefined Key Chains */ -/* SSCS_HIDDEN_LOCAL_KEY_CHAIN_F should not be used by the applications */ -#define SSCS_HIDDEN_LOCAL_KEY_CHAIN_F 0x00000001L -/* Hidden local key chain is used only by sscs. Not visible to applications. */ -#define SSCS_SH_KC_ID (SSCS_SESSION_KEY_CHAIN_F | SSCS_HIDDEN_KEY_CHAIN_F) -#if 0 -static wchar_t SSCS_HIDDEN_LOCAL_KEY_CHAIN_ID[] = - {'S','S','C','C','S','_','H','I','D','D','E','N','_','L','O','C','A','L','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; - -static wchar_t SSCS_RESERVED1_KEY_CHAIN_ID[] = - {'S','S','C','C','S','_','R','E','S','E','R','V','E','D','1','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; - -static wchar_t SSCS_RESERVED2_KEY_CHAIN_ID[] = - {'S','S','C','C','S','_','R','E','S','E','R','V','E','D','2','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; -#endif - -static SS_UTF8_T SSCS_HIDDEN_LOCAL_KEY_CHAIN_ID[] = "SSCS_HIDDEN_LOCAL_KEYCHAIN_ID"; - -static SS_UTF8_T SSCS_RESERVED1_KEY_CHAIN_ID[] = "SSCS_RESERVED1_KEYCHAIN1_ID"; -static SS_UTF8_T SSCS_RESERVED2_KEY_CHAIN_ID[] = "SSCS_RESERVED2_KEYCHAIN2_ID"; - -//#define SSCS_WIN32_PLAT_F 1 -//#define SSCS_LINUX_PLAT_F 2 - -#define SSCS_PASSWORD_MP_F 1 -#define SSCS_CRED_MP_F 2 - -#define NSSCS_MAX_ID_LEN 256 -#define DebugLevel 0 - +#ifndef _SSCS_CACHE_H +#define _SSCS_CACHE_H + +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" +{ +#endif + + +//#include +#include +#include +#include +#include + +/* Predefined Key Chains */ +/* SSCS_HIDDEN_LOCAL_KEY_CHAIN_F should not be used by the applications */ +#define SSCS_HIDDEN_LOCAL_KEY_CHAIN_F 0x00000001L +/* Hidden local key chain is used only by sscs. Not visible to applications. */ +#define SSCS_SH_KC_ID (SSCS_SESSION_KEY_CHAIN_F | SSCS_HIDDEN_KEY_CHAIN_F) +#if 0 +static wchar_t SSCS_HIDDEN_LOCAL_KEY_CHAIN_ID[] = + {'S','S','C','C','S','_','H','I','D','D','E','N','_','L','O','C','A','L','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; + +static wchar_t SSCS_RESERVED1_KEY_CHAIN_ID[] = + {'S','S','C','C','S','_','R','E','S','E','R','V','E','D','1','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; + +static wchar_t SSCS_RESERVED2_KEY_CHAIN_ID[] = + {'S','S','C','C','S','_','R','E','S','E','R','V','E','D','2','_','K','E','Y','_','C','H','A','I','N','_','I','D', 0}; +#endif + +static SS_UTF8_T SSCS_HIDDEN_LOCAL_KEY_CHAIN_ID[] = "SSCS_HIDDEN_LOCAL_KEYCHAIN_ID"; + +static SS_UTF8_T SSCS_RESERVED1_KEY_CHAIN_ID[] = "SSCS_RESERVED1_KEYCHAIN1_ID"; +static SS_UTF8_T SSCS_RESERVED2_KEY_CHAIN_ID[] = "SSCS_RESERVED2_KEYCHAIN2_ID"; + +//#define SSCS_WIN32_PLAT_F 1 +//#define SSCS_LINUX_PLAT_F 2 + +#define SSCS_PASSWORD_MP_F 1 +#define SSCS_CRED_MP_F 2 + +#define NSSCS_MAX_ID_LEN 256 +#define DebugLevel 0 + #ifdef DEBUG #ifdef SSCS_WIN32_PLAT_F -static SS_UTF8_T g_pDebugLogFilePath[] = {"\\micasa_lib.log"}; - -#define DbgTrace(LEVEL, X, Y) { \ -char formatBuff[256]; \ -char printBuff[384]; \ -FILE *pDebugFile; \ - if (LEVEL == 0 || DebugLevel >= LEVEL) \ - { \ - SYSTEMTIME sysTime; \ - GetLocalTime(&sysTime); \ - _snprintf(formatBuff, sizeof(formatBuff), "[%X-%X] [%02d:%02d:%02d] CASA_library ", GetCurrentProcessId(), GetCurrentThreadId(), sysTime.wHour, sysTime.wMinute, sysTime.wSecond); \ - strncat(formatBuff, X, sizeof(formatBuff) - strlen(formatBuff) - 1); \ - _snprintf(printBuff, sizeof(printBuff), formatBuff, Y); \ - if (g_pDebugLogFilePath) \ - { \ - pDebugFile = fopen(g_pDebugLogFilePath, "a+"); \ - if (pDebugFile) \ - { \ - fwrite(printBuff, strlen(printBuff), 1, pDebugFile); \ - fflush(pDebugFile); \ - fclose(pDebugFile); \ - } \ - } \ - else \ - OutputDebugString(printBuff); \ - } \ -} +static SS_UTF8_T g_pDebugLogFilePath[] = {"\\micasa_lib.log"}; + +#define DbgTrace(LEVEL, X, Y) { \ +char formatBuff[256]; \ +char printBuff[384]; \ +FILE *pDebugFile; \ + if (LEVEL == 0 || DebugLevel >= LEVEL) \ + { \ + SYSTEMTIME sysTime; \ + GetLocalTime(&sysTime); \ + _snprintf(formatBuff, sizeof(formatBuff), "[%X-%X] [%02d:%02d:%02d] CASA_library ", GetCurrentProcessId(), GetCurrentThreadId(), sysTime.wHour, sysTime.wMinute, sysTime.wSecond); \ + strncat(formatBuff, X, sizeof(formatBuff) - strlen(formatBuff) - 1); \ + _snprintf(printBuff, sizeof(printBuff), formatBuff, Y); \ + if (g_pDebugLogFilePath) \ + { \ + pDebugFile = fopen(g_pDebugLogFilePath, "a+"); \ + if (pDebugFile) \ + { \ + fwrite(printBuff, strlen(printBuff), 1, pDebugFile); \ + fflush(pDebugFile); \ + fclose(pDebugFile); \ + } \ + } \ + else \ + OutputDebugString(printBuff); \ + } \ +} #else //#ifdef SSCS_LINUX_PLAT_F #include #include - + static SS_UTF8_T g_pDebugLogFilePath[] = {"/micasa_lib.log"}; #define DbgTrace(LEVEL, X, Y) { \ @@ -128,411 +128,411 @@ FILE *pDebugFile; \ } #endif -#else -#define DbgTrace(LEVEL, X, Y) {} -#endif - - -typedef struct _sscs_linux_ss_handle -{ - int32_t socketID; -} SSCS_LINUX_SS_HANDLE_T; - -typedef struct _sscs_win32_ss_handle -{ - int32_t tobediceded; -} SSCS_WIN32_SS_HANDLE_T; - -typedef struct _sscs_secretstore_handle -{ - int32_t platformID; +#else +#define DbgTrace(LEVEL, X, Y) {} +#endif + + +typedef struct _sscs_linux_ss_handle +{ + int32_t socketID; +} SSCS_LINUX_SS_HANDLE_T; + +typedef struct _sscs_win32_ss_handle +{ + int32_t tobediceded; +} SSCS_WIN32_SS_HANDLE_T; + +typedef struct _sscs_secretstore_handle +{ + int32_t platformID; #ifdef SSCS_WIN32_PLAT_F - void *platHandle; + void *platHandle; #else int platHandle; #endif -} SSCS_SECRETSTORE_HANDLE_T; - - -typedef struct _sscs_keychain_info -{ - uint32_t flags; - uint32_t numSecrets; - uint32_t numOfHiddenSecrets; - uint32_t numOfDeletedSecs; - uint32_t enumBufsize; - SSCS_KEYCHAIN_ID_T keyChainID; -} SSCS_KEYCHAIN_INFO_T; - -// * Secret Data type -typedef struct _sscs_secret -{ - int32_t len; - uint8_t *data; -} SSCS_SECRET_T; - -typedef struct _sscs_context_t -{ - int32_t version; - int32_t flags; - SSCS_SECRETSTORE_T ssid; - void *ssHandle; - SSCS_KEYCHAIN_ID_LIST_T *kcids; -} SSCS_CONTEXT_T; - - - -/* Starts a session with the cache and returns a handle to the cache. - * Parametrs: - * secretStoreID - * (IN) Points to SecretStoreID structure. - * - * Return Values: - * returns a pointer to SecretStoreHandle structure. - */ -void* sscs_CacheOpenSecretStore -( - void *secretStoreID, - uint32_t ssFlags, - void *reserved - -); - -/* Closes the secretstore and destroys the SecretStore context for that - * application. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * - * Return Values - * - */ -int sscs_CacheCloseSecretStore -( - void *ssHandle, - uint32_t ssFlags, - void *reserved -); - -/* Removes all application defined keychains from the store. It also removes - * secrets stored in system defined keychains. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * - * Return Values: - */ -int sscs_CacheRemoveSecretStore -( - void *ssHandle, - uint32_t ssFlags, - void *reserved -); - -/* Enumerates key chain ids available in the store. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * - * kcIDList - * (OUT) Points to the key chain id enumeration structure. Points to - * KeyChainIDList structure. - * - * - * Return Values: - * - */ -int sscs_CacheEnumerateKeychainIDs -( - void *ssHandle, - uint32_t ssFlags, - SSCS_SRCH_KEY_T *searchKey, - SSCS_KEYCHAIN_ID_LIST_T *kcIDList, - void *reserved -); - -/* Creates a new keychain in the store. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * ssFlags - * (IN) Can be a combination of following flags: - * SSCS_SESSION_KEY_CHAIN_F - * SSCS_LOCAL_KEY_CHAIN_F - * SSCS_REMOTE_KEY_CHAIN_F - * keychainID - * (IN) Specifies the unique keychain ID within the secretstore. - * - */ -int sscs_CacheAddKeychain -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - void *reserved -); - - -/* Removes the specified keychain from the store. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * keychainID - * (IN) Specifies the unique keychain ID within the secretstore. - * - * Return Values: - */ -int sscs_CacheRemoveKeychain -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - void *reserved -); - -/* Enumerates secret ids in a given keychain. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * keyChainID - * (IN) handle obtained during sscs_CacheOpenKeychain. - * - * - * secretIDList - * (OUT) Points to the secret id enumeration structure. Points to - * SecretIDList structure. - * - * Return Values: - */ -int sscs_CacheEnumerateSecretIDs -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SRCH_KEY_T *searchKey, - SSCS_SECRET_ID_LIST_T *secretIDList, - void *reserved -); - - -/* Reads Secret value for a given Secret ID in a given keychain. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * keyChainID - * (IN) KeyChainID where the specified SecretID stored. - * - * secretID - * (IN) Specifies the unique secret ID within the keychain. This data is - * encoded in SSCS_SECRET_ID_T. - * - * secretData - * (IN/OUT) Specifies the information of the secret stored w.r.t the secretID. - * Points to a SSCS_SECRET_T structure. - * - * epPassword - * (IN) Points to an optional field to pass in the Enhanced Protection Password - * for reading a secret.When the password is not present, you can pass in a NULL. - * - * bytesRequired - * (OUT) Specifies the buffer requirement if it is not possible - * to copy Secret data in the buffer passed by the application. - - * - * Return Values : - */ -int sscs_CacheReadSecret -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secretID, - SSCS_SECRET_T *secretData, - SSCS_PASSWORD_T *epPassword, - uint32_t *bytesRequired, - void *reserved -); - - -/* Writes Secret value for a given Secret ID in a given keychain. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * ssFlags - * (IN) ... - * - * keyChainID - * (IN) KeyChainID where the specified SecretID stored. - * - * secretID - * (IN) Specifies the unique secret ID within the keychain. This data is - * encoded in SSCS_SECRET_ID_T. - * - * secretData - * (IN) Specifies the information of the secret stored w.r.t the secretID. - * Points to a SSCS_SECRET_T structure. - * - * - * epPassword - * (IN) Points to an optional field to pass in the Enhanced Protection Password - * for reading a secret.When the password is not present, you can pass in a NULL. - * - * - * - * Return Values: - */ -int sscs_CacheWriteSecret -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secretID, - SSCS_SECRET_T *secretData, - SSCS_PASSWORD_T *epPassword, - void *reserved -); - - -/* Removes Secret for a given Secret ID in a given keychain. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context information regarding the SecretStore. - * - * - * keyChainID - * (IN) KeyChainID where the specified SecretID stored. - * - * secretID - * (IN) Specifies the unique secret ID within the keychain. This data is - * encoded in SSCS_SECRET_ID_T. - * - * - * epPassword - * (IN) Points to an optional field to pass in the Enhanced Protection Password - * for reading a secret.When the password is not present, you can pass in a NULL. - * - * Return Values: - */ -int sscs_CacheRemoveSecret -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secretID, - SSCS_PASSWORD_T *epPassword, - void *reserved -); - -/* Returns statistical information regarding the SecretStore and its Keychains. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context with respect to the instance of open cache in it. - * - * - * ssInfo - * (OUT) This structure contains the statistical information regarding the - * SecretStore and its Keychains. - * - * Return Values: - */ -int sscs_CacheGetSecretStoreInfo -( - void *ssHandle, - uint32_t ssFlags, - SSCS_SECRETSTORE_INFO_T *ssInfo, - void *reserved -); - -/* Retrieves the statistical information regarding the target Keychain. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context with respect to the instance of open cache in it. - * - * keyChainID - * (IN) KeyChainID where the specified SecretID stored. - * - * - * kcInfo - * (OUT) This structure contains the statistical information regarding the - * Keychain. - * - * - * Return Values: - */ -int sscs_CacheGetKeychainInfo -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_KEYCHAIN_INFO_T *kcInfo, - void *reserved -); - -/* This call locks that cache to prevent access until the MasterPassword is - * supplied. - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context with respect to the instance of open cache in it. - * - * Return Values : - */ -int sscs_LockCache -( - void *ssHandle, - uint32_t ssFlags, - void *reserved -); - -/* This unlocks previously locked cache using the MasterPassword - * - * Parameters: - * ssHandle - * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have - * context with respect to the instance of open cache in it. - * masterPassword - * - * Return Values : - */ -int sscs_UnlockCache -( - void *ssHandle, - uint32_t ssFlags, - SSCS_PASSCODE_T *passcode, - void *reserved -); - +} SSCS_SECRETSTORE_HANDLE_T; + + +typedef struct _sscs_keychain_info +{ + uint32_t flags; + uint32_t numSecrets; + uint32_t numOfHiddenSecrets; + uint32_t numOfDeletedSecs; + uint32_t enumBufsize; + SSCS_KEYCHAIN_ID_T keyChainID; +} SSCS_KEYCHAIN_INFO_T; + +// * Secret Data type +typedef struct _sscs_secret +{ + int32_t len; + uint8_t *data; +} SSCS_SECRET_T; + +typedef struct _sscs_context_t +{ + int32_t version; + int32_t flags; + SSCS_SECRETSTORE_T ssid; + void *ssHandle; + SSCS_KEYCHAIN_ID_LIST_T *kcids; +} SSCS_CONTEXT_T; + + + +/* Starts a session with the cache and returns a handle to the cache. + * Parametrs: + * secretStoreID + * (IN) Points to SecretStoreID structure. + * + * Return Values: + * returns a pointer to SecretStoreHandle structure. + */ +void* sscs_CacheOpenSecretStore +( + void *secretStoreID, + uint32_t ssFlags, + void *reserved + +); + +/* Closes the secretstore and destroys the SecretStore context for that + * application. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * + * Return Values + * + */ +int sscs_CacheCloseSecretStore +( + void *ssHandle, + uint32_t ssFlags, + void *reserved +); + +/* Removes all application defined keychains from the store. It also removes + * secrets stored in system defined keychains. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * + * Return Values: + */ +int sscs_CacheRemoveSecretStore +( + void *ssHandle, + uint32_t ssFlags, + void *reserved +); + +/* Enumerates key chain ids available in the store. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * + * kcIDList + * (OUT) Points to the key chain id enumeration structure. Points to + * KeyChainIDList structure. + * + * + * Return Values: + * + */ +int sscs_CacheEnumerateKeychainIDs +( + void *ssHandle, + uint32_t ssFlags, + SSCS_SRCH_KEY_T *searchKey, + SSCS_KEYCHAIN_ID_LIST_T *kcIDList, + void *reserved +); + +/* Creates a new keychain in the store. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * ssFlags + * (IN) Can be a combination of following flags: + * SSCS_SESSION_KEY_CHAIN_F + * SSCS_LOCAL_KEY_CHAIN_F + * SSCS_REMOTE_KEY_CHAIN_F + * keychainID + * (IN) Specifies the unique keychain ID within the secretstore. + * + */ +int sscs_CacheAddKeychain +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + void *reserved +); + + +/* Removes the specified keychain from the store. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * keychainID + * (IN) Specifies the unique keychain ID within the secretstore. + * + * Return Values: + */ +int sscs_CacheRemoveKeychain +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + void *reserved +); + +/* Enumerates secret ids in a given keychain. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * keyChainID + * (IN) handle obtained during sscs_CacheOpenKeychain. + * + * + * secretIDList + * (OUT) Points to the secret id enumeration structure. Points to + * SecretIDList structure. + * + * Return Values: + */ +int sscs_CacheEnumerateSecretIDs +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SRCH_KEY_T *searchKey, + SSCS_SECRET_ID_LIST_T *secretIDList, + void *reserved +); + + +/* Reads Secret value for a given Secret ID in a given keychain. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * keyChainID + * (IN) KeyChainID where the specified SecretID stored. + * + * secretID + * (IN) Specifies the unique secret ID within the keychain. This data is + * encoded in SSCS_SECRET_ID_T. + * + * secretData + * (IN/OUT) Specifies the information of the secret stored w.r.t the secretID. + * Points to a SSCS_SECRET_T structure. + * + * epPassword + * (IN) Points to an optional field to pass in the Enhanced Protection Password + * for reading a secret.When the password is not present, you can pass in a NULL. + * + * bytesRequired + * (OUT) Specifies the buffer requirement if it is not possible + * to copy Secret data in the buffer passed by the application. + + * + * Return Values : + */ +int sscs_CacheReadSecret +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secretID, + SSCS_SECRET_T *secretData, + SSCS_PASSWORD_T *epPassword, + uint32_t *bytesRequired, + void *reserved +); + + +/* Writes Secret value for a given Secret ID in a given keychain. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * ssFlags + * (IN) ... + * + * keyChainID + * (IN) KeyChainID where the specified SecretID stored. + * + * secretID + * (IN) Specifies the unique secret ID within the keychain. This data is + * encoded in SSCS_SECRET_ID_T. + * + * secretData + * (IN) Specifies the information of the secret stored w.r.t the secretID. + * Points to a SSCS_SECRET_T structure. + * + * + * epPassword + * (IN) Points to an optional field to pass in the Enhanced Protection Password + * for reading a secret.When the password is not present, you can pass in a NULL. + * + * + * + * Return Values: + */ +int sscs_CacheWriteSecret +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secretID, + SSCS_SECRET_T *secretData, + SSCS_PASSWORD_T *epPassword, + void *reserved +); + + +/* Removes Secret for a given Secret ID in a given keychain. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context information regarding the SecretStore. + * + * + * keyChainID + * (IN) KeyChainID where the specified SecretID stored. + * + * secretID + * (IN) Specifies the unique secret ID within the keychain. This data is + * encoded in SSCS_SECRET_ID_T. + * + * + * epPassword + * (IN) Points to an optional field to pass in the Enhanced Protection Password + * for reading a secret.When the password is not present, you can pass in a NULL. + * + * Return Values: + */ +int sscs_CacheRemoveSecret +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secretID, + SSCS_PASSWORD_T *epPassword, + void *reserved +); + +/* Returns statistical information regarding the SecretStore and its Keychains. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context with respect to the instance of open cache in it. + * + * + * ssInfo + * (OUT) This structure contains the statistical information regarding the + * SecretStore and its Keychains. + * + * Return Values: + */ +int sscs_CacheGetSecretStoreInfo +( + void *ssHandle, + uint32_t ssFlags, + SSCS_SECRETSTORE_INFO_T *ssInfo, + void *reserved +); + +/* Retrieves the statistical information regarding the target Keychain. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context with respect to the instance of open cache in it. + * + * keyChainID + * (IN) KeyChainID where the specified SecretID stored. + * + * + * kcInfo + * (OUT) This structure contains the statistical information regarding the + * Keychain. + * + * + * Return Values: + */ +int sscs_CacheGetKeychainInfo +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_KEYCHAIN_INFO_T *kcInfo, + void *reserved +); + +/* This call locks that cache to prevent access until the MasterPassword is + * supplied. + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context with respect to the instance of open cache in it. + * + * Return Values : + */ +int sscs_LockCache +( + void *ssHandle, + uint32_t ssFlags, + void *reserved +); + +/* This unlocks previously locked cache using the MasterPassword + * + * Parameters: + * ssHandle + * (IN) Handle returned by sscs_CacheOpenSecretStore function. This will have + * context with respect to the instance of open cache in it. + * masterPassword + * + * Return Values : + */ +int sscs_UnlockCache +( + void *ssHandle, + uint32_t ssFlags, + SSCS_PASSCODE_T *passcode, + void *reserved +); + int sscs_CacheWriteKey ( void *ssHandle, @@ -542,83 +542,83 @@ int sscs_CacheWriteKey SS_UTF8_T *key, uint32_t keyLen, uint8_t *val, - int32_t valLen, - SSCS_PASSWORD_T *epPassword, - void *reserved -); - -int sscs_CacheWriteBinaryKey -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secretID, - SS_UTF8_T *key, - uint32_t keyLen, - uint8_t *val, + int32_t valLen, + SSCS_PASSWORD_T *epPassword, + void *reserved +); + +int sscs_CacheWriteBinaryKey +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secretID, + SS_UTF8_T *key, + uint32_t keyLen, + uint8_t *val, uint32_t valLen, SSCS_PASSWORD_T *epPassword, - void *reserved -); - -int sscs_CacheReadKey -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keychainID, - SSCS_SECRET_ID_T *secretID, - SS_UTF8_T *key, - uint32_t keyLen, - uint8_t *val, - uint32_t *valLen, - SSCS_PASSWORD_T *epPassword, - uint32_t *bytesRequired, void *reserved -); - -int sscs_CacheReadBinaryKey -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keychainID, - SSCS_SECRET_ID_T *secretID, - SS_UTF8_T *key, - uint32_t keyLen, - uint8_t *val, - uint32_t *valLen, - SSCS_PASSWORD_T *epPassword, - uint32_t *bytesRequired, +); + +int sscs_CacheReadKey +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keychainID, + SSCS_SECRET_ID_T *secretID, + SS_UTF8_T *key, + uint32_t keyLen, + uint8_t *val, + uint32_t *valLen, + SSCS_PASSWORD_T *epPassword, + uint32_t *bytesRequired, void *reserved -); - -int sscs_CacheRemoveKey -( - void *ssHandle, - uint32_t ssFlags, - SSCS_KEYCHAIN_ID_T *keychainID, - SSCS_SECRET_ID_T *secretID, - SS_UTF8_T *key, - uint32_t keyLen, - SSCS_PASSWORD_T *epPassword, +); + +int sscs_CacheReadBinaryKey +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keychainID, + SSCS_SECRET_ID_T *secretID, + SS_UTF8_T *key, + uint32_t keyLen, + uint8_t *val, + uint32_t *valLen, + SSCS_PASSWORD_T *epPassword, + uint32_t *bytesRequired, void *reserved -); - - +); + +int sscs_CacheRemoveKey +( + void *ssHandle, + uint32_t ssFlags, + SSCS_KEYCHAIN_ID_T *keychainID, + SSCS_SECRET_ID_T *secretID, + SS_UTF8_T *key, + uint32_t keyLen, + SSCS_PASSWORD_T *epPassword, + void *reserved +); + + int32_t sscs_SetMasterPasscode ( void *ssHandle, SSCS_PASSCODE_T *passcode, void *reserved -); - +); + int32_t sscs_SetMasterPassword ( void *ssHandle, SSCS_PASSWORD_T *password, SSCS_HINT_T *hint, void *reserved -); - +); + int sscs_IsSecretPersistent ( void *ssHandle, @@ -626,19 +626,19 @@ int sscs_IsSecretPersistent SSCS_KEYCHAIN_ID_T *keyChainID, SSCS_SECRET_ID_T *secretID, void *reserved -); - +); + int sscs_MergeCache ( void *ssHandle, SSCS_EXT_T *srcExt, SSCS_EXT_T *targetExt, uint32_t bDestroySrc -); - - -#if defined(__cplusplus) || defined(c_plusplus) -} -#endif - -#endif /* _SSCS_CACHE_H */ +); + + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + +#endif /* _SSCS_CACHE_H */ diff --git a/CASA/include/sscs_lldefs.h b/CASA/include/sscs_lldefs.h index 6a628736..9290038d 100644 --- a/CASA/include/sscs_lldefs.h +++ b/CASA/include/sscs_lldefs.h @@ -20,93 +20,93 @@ * ***********************************************************************/ -#ifndef _SSCSLLDEFS__H -#define _SSCSLLDEFS__H - - -#if defined(__cplusplus) || defined(c_plusplus) -extern "C" -{ -#endif - -#include "sscs_utf8.h" -#include "micasa_types.h" - -/* ############################## ERROR CODES ############################ */ - -#define NSSCS_LL_SUCCESS 0x00000000 /* 0 */ -#define NSSCS_E_LL_SYS_FAILURE 0xFFFFFCDD /* -803 */ - -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - -/* ######################## STRUCTURE DEFINITIONS ######################### */ - -typedef struct _ll_link -{ - struct _ll_link *next; /* next in the list */ - void *item; -} LL_LINK_T; - -/* this is the link list information structure */ -typedef struct _link_lst -{ - uint32_t elemCount; /* number of links in the list */ - LL_LINK_T *head; /* real head of the link list (for caching & GC)*/ - LL_LINK_T *clp; /* current link pointer */ -} LL_LINKLIST_T; - - -typedef struct _shared_secret_key_val -{ - uint32_t kLen; - SS_UTF8_T *key; - uint32_t vLen; - uint8_t *value; -} LL_SHSEC_KEY_VAL_T; - - -int ll_InsertSharedSecretLink - ( - LL_LINKLIST_T * list, - uint32_t kLen, //in bytes - SS_UTF8_T * key, - uint32_t vLen, // in bytes - uint8_t * value - ); - -int ll_RemoveSharedSecretLink - ( - LL_LINKLIST_T * list, - uint32_t kLen, - SS_UTF8_T * key - ); - -#define ll_GetSHSecItem(list) ((LL_SHSEC_KEY_VAL_T *)(list)->clp->item) -#define ll_GetSHSecKey(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->key) -#define ll_GetSHSecKeyLen(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->kLen) -#define ll_GetSHSecVal(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->value) -#define ll_GetSHSecValLen(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->vLen) - -#define ll_Head(list) {(list)->clp = (list)->head;} -#define ll_IsListPopulated(list) ((list)->elemCount) -#define ll_GetElemCount(list) ((list)->elemCount) -#define ll_GetItemPtr(list); (((list)->elemCount) ? ((list)->clp->item) : NULL) - - -void ll_DestroyList(LL_LINKLIST_T *list); -int ll_Next(LL_LINKLIST_T *list); -void* ll_GetEntry(LL_LINKLIST_T *list); - - -#if defined(__cplusplus) || defined(c_plusplus) -} -#endif - -#endif /* _SSCSLLDEFS__H */ - +#ifndef _SSCSLLDEFS__H +#define _SSCSLLDEFS__H + + +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" +{ +#endif + +#include "sscs_utf8.h" +#include "micasa_types.h" + +/* ############################## ERROR CODES ############################ */ + +#define NSSCS_LL_SUCCESS 0x00000000 /* 0 */ +#define NSSCS_E_LL_SYS_FAILURE 0xFFFFFCDD /* -803 */ + +#ifndef TRUE +#define TRUE 1 +#endif + +#ifndef FALSE +#define FALSE 0 +#endif + +/* ######################## STRUCTURE DEFINITIONS ######################### */ + +typedef struct _ll_link +{ + struct _ll_link *next; /* next in the list */ + void *item; +} LL_LINK_T; + +/* this is the link list information structure */ +typedef struct _link_lst +{ + uint32_t elemCount; /* number of links in the list */ + LL_LINK_T *head; /* real head of the link list (for caching & GC)*/ + LL_LINK_T *clp; /* current link pointer */ +} LL_LINKLIST_T; + + +typedef struct _shared_secret_key_val +{ + uint32_t kLen; + SS_UTF8_T *key; + uint32_t vLen; + uint8_t *value; +} LL_SHSEC_KEY_VAL_T; + + +int ll_InsertSharedSecretLink + ( + LL_LINKLIST_T * list, + uint32_t kLen, //in bytes + SS_UTF8_T * key, + uint32_t vLen, // in bytes + uint8_t * value + ); + +int ll_RemoveSharedSecretLink + ( + LL_LINKLIST_T * list, + uint32_t kLen, + SS_UTF8_T * key + ); + +#define ll_GetSHSecItem(list) ((LL_SHSEC_KEY_VAL_T *)(list)->clp->item) +#define ll_GetSHSecKey(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->key) +#define ll_GetSHSecKeyLen(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->kLen) +#define ll_GetSHSecVal(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->value) +#define ll_GetSHSecValLen(list) (((LL_SHSEC_KEY_VAL_T *)(list)->clp->item)->vLen) + +#define ll_Head(list) {(list)->clp = (list)->head;} +#define ll_IsListPopulated(list) ((list)->elemCount) +#define ll_GetElemCount(list) ((list)->elemCount) +#define ll_GetItemPtr(list); (((list)->elemCount) ? ((list)->clp->item) : NULL) + + +void ll_DestroyList(LL_LINKLIST_T *list); +int ll_Next(LL_LINKLIST_T *list); +void* ll_GetEntry(LL_LINKLIST_T *list); + + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + +#endif /* _SSCSLLDEFS__H */ + diff --git a/CASA/include/sscs_sdk.h b/CASA/include/sscs_sdk.h index 2b961d7c..a3133ea0 100644 --- a/CASA/include/sscs_sdk.h +++ b/CASA/include/sscs_sdk.h @@ -21,44 +21,44 @@ ***********************************************************************/ -#ifndef _SSCS_SDK_H_ -#define _SSCS_SDK_H_ - -/* This is the NDK header file for the SecretStore version 3.02. */ -#if defined(__cplusplus) || defined(c_plusplus) -extern "C" -{ -#endif - -#include -#include - -#define SSCS_BINARY_TYPE_F 0x00000004L -#define SSCS_OBITUARY_TYPE_F 0x00000008L - -static SS_UTF8_T SSCS_OBITUARY[] = {"SS_Obituary"}; -// {'S','S','_','O','b','i','t','u','a','r','y', 0}; -// #define SSCS_OBITUARY_LEN 24 -#define SSCS_OBITUARY_CHARS 11 - -// this is not exposed outside of SSCS because its only here for backward compatibility -static SS_UTF8_T SSCS_APP_SECRET[] = {"SS_App"}; -//{'S','S','_','A','p','p', 0}; -// #define SSCS_APP_SECRET_LEN 14 -#define SSCS_APP_SECRET_CHARS 6 - - -//* This is used with cache because cache is aware of shared secret format -typedef struct _sscs_secret_ID_List -{ - uint32_t enumHandle; // set to 0 to begin with - uint32_t returnedIDs; // to be initialized by the caller to the array size - SSCS_SECRET_ID_T *secIDList; //* an array of secret IDs structures. -} SSCS_SECRET_ID_LIST_T; - - -#if defined(__cplusplus) || defined(c_plusplus) -} -#endif - -#endif /* _SSCS_SDK_H */ +#ifndef _SSCS_SDK_H_ +#define _SSCS_SDK_H_ + +/* This is the NDK header file for the SecretStore version 3.02. */ +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" +{ +#endif + +#include +#include + +#define SSCS_BINARY_TYPE_F 0x00000004L +#define SSCS_OBITUARY_TYPE_F 0x00000008L + +static SS_UTF8_T SSCS_OBITUARY[] = {"SS_Obituary"}; +// {'S','S','_','O','b','i','t','u','a','r','y', 0}; +// #define SSCS_OBITUARY_LEN 24 +#define SSCS_OBITUARY_CHARS 11 + +// this is not exposed outside of SSCS because its only here for backward compatibility +static SS_UTF8_T SSCS_APP_SECRET[] = {"SS_App"}; +//{'S','S','_','A','p','p', 0}; +// #define SSCS_APP_SECRET_LEN 14 +#define SSCS_APP_SECRET_CHARS 6 + + +//* This is used with cache because cache is aware of shared secret format +typedef struct _sscs_secret_ID_List +{ + uint32_t enumHandle; // set to 0 to begin with + uint32_t returnedIDs; // to be initialized by the caller to the array size + SSCS_SECRET_ID_T *secIDList; //* an array of secret IDs structures. +} SSCS_SECRET_ID_LIST_T; + + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + +#endif /* _SSCS_SDK_H */ diff --git a/CASA/include/sscs_string.h b/CASA/include/sscs_string.h index eb1affb8..e1570650 100644 --- a/CASA/include/sscs_string.h +++ b/CASA/include/sscs_string.h @@ -20,30 +20,30 @@ * ***********************************************************************/ -#ifndef _SSCS_STRING_H_ -#define _SSCS_STINRG_H_ - -#include - -#define sscs_strcmp strcmp -#define sscs_strcpy strcpy -#define sscs_strcat strcat -#define sscs_strchr strchr -#define sscs_strlen strlen -#define sscs_strstr strstr -#define sscs_strncat strncat -#define sscs_strncmp strncmp -#define sscs_strncpy strncpy - -#ifdef N_PLAT_UNIX - -#define sscs_stricmp stricmp - -#else - -#define sscs_stricmp _stricmp - -#endif - -#endif /* SSCS_STRING_H */ - +#ifndef _SSCS_STRING_H_ +#define _SSCS_STINRG_H_ + +#include + +#define sscs_strcmp strcmp +#define sscs_strcpy strcpy +#define sscs_strcat strcat +#define sscs_strchr strchr +#define sscs_strlen strlen +#define sscs_strstr strstr +#define sscs_strncat strncat +#define sscs_strncmp strncmp +#define sscs_strncpy strncpy + +#ifdef N_PLAT_UNIX + +#define sscs_stricmp stricmp + +#else + +#define sscs_stricmp _stricmp + +#endif + +#endif /* SSCS_STRING_H */ + diff --git a/CASA/include/sscs_trans.h b/CASA/include/sscs_trans.h index edc0fa1f..df5de44b 100644 --- a/CASA/include/sscs_trans.h +++ b/CASA/include/sscs_trans.h @@ -19,963 +19,963 @@ * you may find current contact information at www.novell.com. * ***********************************************************************/ - -#ifndef _NSSSCL_H_ -#define _NSSSCL_H_ - -/* This is the NDK header file for the SecretStore version 3.02. */ -#if defined(__cplusplus) || defined(c_plusplus) -extern "C" -{ -#endif - -#ifndef _SSPROTO_H_ -#define _SSPROTO_H_ -#if defined(WIN32) - - #define SS_GLOBAL_LIBCALL_PTR(RET) RET * __stdcall - #define SS_GLOBAL_LIBCALL(RET) RET __stdcall - #define SS_EXTERN_LIBCALL_PTR(RET) extern RET * __stdcall - #define SS_EXTERN_LIBCALL(RET) extern RET __stdcall - #define SS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (__stdcall *PTR) - #define SS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (__stdcall *PTR) - -#else - - #define SS_GLOBAL_LIBCALL_PTR(RET) RET * - #define SS_GLOBAL_LIBCALL(RET) RET - #define SS_EXTERN_LIBCALL_PTR(RET) extern RET * - #define SS_EXTERN_LIBCALL(RET) extern RET - #define SS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (*PTR) - #define SS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (*PTR) - -#endif - -#endif //* _SSPROTO_H_ - -/* ########################################################################### */ -/* ####################### SecretStore Constants ############################# */ -/* ########################################################################### */ - - -#ifndef _SSSHAR_H - -#define NSSS_VERSION_NUMBER 0x00030200L //* client version number - -#define NSSS_MAX_KEYCHAIN_ID_CHARS 256 //* double bytes including NULL -#define NSSS_MAX_KEYCHAIN_ID_LEN 512 //* in bytes including NULL - - - -#define NSSS_MAX_SECRET_ID_CHARS 256 //* double bytes including NULL -#define NSSS_MAX_SECRET_ID_LEN 512 //* in bytes including NULL - -#define NSSS_MIN_SECRET_BUF_LEN 3968 //* (4K-128)to match server -#define NSSS_MID_SECRET_BUF_LEN 32768 //* (4K-128)to match server -#define NSSS_MAX_SECRET_BUF_LEN 60416 //* (59K)to match server -#define NSSS_MAX_EP_PWORD_CHARS 64 //* enhanced protection max password (chars) -#define NSSS_MAX_EP_PWORD_LEN 128 //* enhanced protection max password (bytes) - -#define NSSS_MAX_LDAP_PWORD_LEN 128 //* user's ldap login password - -#define NSSS_MAX_MP_PWORD_HINT_CHARS 64 //* enhanced protection max hint (chars) -#define NSSS_MAX_MP_PWORD_HINT_LEN 128 //* enhanced protection maximum hint (bytes) - -#define NSSS_MAX_TREE_NAME_CHARS 32 //* max tree name length (chars) -#define NSSS_MAX_TREE_NAME_LEN 64 //* max tree name length (bytes) - -#define NSSS_MAX_DN_CHARS 258 //* max DN length (chars) -#define NSSS_MAX_DN_LEN 516 //* max DN length (bytes) - -#define NSSS_MAX_IP_ADDR_LEN 16 //* IP address string length (bytes including NULL) -#define NSSS_MAX_ADDR_LEN 512 //* can be IP or DNS name (bytes including null) - -#define NSSS_NICI_UNDETERMINED_ENGINE 0 -#define NSSS_NICI_DOMESTIC_ENGINE 1 -#define NSSS_NICI_EXPORT_ENGINE 2 - -#define NSSS_MIN_IDLIST_BUF_LEN 16384 //* (16K) -#define NSSS_MID_IDLIST_BUF_LEN 32768 //* (32K) -#define NSSS_MAX_IDLIST_BUF_LEN 65536 //* (64kK) -#define NSSS_JUMBO_IDLIST_BUF_LEN 131072 //* (128K) -#define NSSS_JUMBO_ENUM_BUF_LEN 131072 //* (128K) -#define NSSS_ENUM_BUFFER_GUESS 32768 //* (32K) - -#define NSSS_MAX_LDAP_CRED_BUF_LEN 65536 //* (64kK) - -#define NSSS_ENUM_DELIM "*" //* immutable - -/* ########################################################################### */ -/* ############################### API FLAGS ################################# */ -/* ########################################################################### */ - -/* input only flag for Unlock API - ============================== */ -/* can delete locked secrets from store to remove lock */ -#define NSSS_REMOVE_LOCK_FROM_STORE_F 0x00000004L -/* if the store is not locked return an error otherwise use the info supplied - to unlock the store. In the absense of this flag when the store is not - locked the SecretStore returns success. */ -#define NSSS_IS_STORE_LOCKED_F 0x00000008L - - -/* input only flags for Write API - ============================== */ -/* Enhanced Protection indicator flag for Read & Write */ -#define NSSS_ENHANCED_PROTECTION_F 0x00000001L -/* Enhanced Protection optional password indicator flag for Read & Write */ -#define NSSS_EP_PASSWORD_USED_F 0x00000040L -/* if Secret ID is in the SecretStore already don't overwrite the secret */ -#define NSSS_CHK_SID_FOR_COLISION_F 0x00004000L - -/* input only flag for Read API - ============================ */ -/* request all possible repair on damaged store */ -#define NSSS_REPAIR_THE_STORE_F 0x00000008L - -/* input only flag for all the APIs - ================================ */ -//* This flag tells the call that the strings such as -//* secretID, DN, searchString etc. are already converted -//* to Unicode and no conversion is necessary, results -//* like secretIDList will be returned in unicode. -#define NSSS_ALL_STRINGS_UNICODE_F 0x00000010L -#define NSSS_SET_TREE_NAME_F 0x00000080L -//* Internally destroys the DS context passed in -#define NSSS_DESTROY_CONTEXT_F 0x00000200L -#define NSSS_UNBINDLDAP_F 0x00001000L - -/* input only flag for GetServiceInformation API - ============================================= */ -//* will return a DS context for reuse in the subsequent calls -#define NSSS_GET_CONTEXT_F 0x00000100L - - - -/* input flag for all APIs - ======================= */ -//* this flag indicates LDAP based acess to the directory is desired -#define NSSS_BINDLDAP_F 0x00000800L - -/* output only flags from Read API (statFlags on reading a secret) - also these come back on GetServiceInformation (statFlags on the store) - ==================================================================== */ -/* Non-Repudiation lock on secret */ -#define NSSS_SECRET_LOCKED_F 0x00010000L -/* Secret not initialized with a Write yet */ -#define NSSS_SECRET_NOT_INITIALIZED_F 0x00020000L -/* Secret is marked for Enhanced Protection */ -#define NSSS_ENHANCED_PROTECT_INFO_F 0x00040000L -/* Store not synchronized across replicas */ -#define NSSS_STORE_NOT_SYNCED_F 0x00080000L -/* There is EP password on the secret */ -#define NSSS_EP_PWORD_PRESENT_F 0x00200000L - -/* input only flag for Read, Unlock, and SetMP APIs - ================================================ */ -#define NSSS_EP_MASTER_PWORD_USED_F 0x00000020L - -/* output only flags from Read API (statFlags on reading asecret - ============================================================= */ -/* Last secret modification by admin */ -#define NSSS_ADMIN_LAST_MOD_F 0x00100000L - - -/* output only flag from GetServiceInformation API statFlags - ========================================================= */ -/* There is master password on the secretstore */ -#define NSSS_EP_MASTER_PWORD_PRESENT_F 0x00400000L - -/* output only flag from GetServiceInformation, and read API statFlags - =================================================================== */ -#define NSSS_MP_NOT_ALLOWED_F 0x00800000L - -/* internal flag to the server - =========================== */ -#define NSSS_SYNC_IN_PROGRESS_F 0x02000000L - -/* output only flag for last Admin that has unlocked the store - =========================================================== */ -#define NSSS_ADMIN_UNLOCKED_F 0x04000000L - -/* output only flag for server internal features - ============================================ */ -#define NSSS_LATSTAMP_ALLOWED_F 0x08000000L /* ss last access time stamp allowed */ -#define NSSS_ADMIN_AUTHORIZED_F 0x10000000L /* ss admin authorized */ - -/* output only flag to indicate SecretStore contains hidden secrets - ================================================================ */ -#define NSSS_HIDDEN_SECRET_F 0x20000000L - - -#define NSSSRemoveSecretID NSSSRemoveSecret - -/* ########################################################################### */ -/* ###################### CURRENT CONTEXT VERSION ############################ */ -/* ########################################################################### */ -#define NSSS_CUR_CTX_VERSION 0x00000001L - - -/* ########################################################################### */ -/* ############################ CONTEXT FLAGS ################################ */ -/* ########################################################################### */ -/* context flags for the type of context passed in or to initialize (can only use one.) - =================================================================================== */ -#define NSSS_NCP_CTX_F 0x00000001L //* Context is for NCP -#define NSSS_LDAP_CTX_F 0x00000002L //* Context is for LDAP -#define NSSS_CONTEXT_INITIALIZED_F 0x00000004L //* Context already initialized -#define NSSS_INIT_LDAP_SS_HANDLE_F 0x00000008L //* Init handle struct without bind -#define NSSS_DEINIT_LDAP_SS_HANDLE_F 0x00000010L //* Deinit handle struct without unbind -#define NSSS_REINIT_TARGET_DN_F 0x00000020L //* Reinit the target DN in the context -#define NSSS_LDAP_CONTEXT_LESS_DN_F 0x00000040L //* Resolve LDAP DN as contextless -#define NSSS_ADV_BIND_INFO_F 0x00000080L //* Use advanced bind structure - //* and perform service location - - -/* ########################################################################### */ -/* ################# CURRENT ADVANCED BIND INFO VERSION ###################### */ -/* ########################################################################### */ -#define NSSS_CUR_ADV_BIND_INFO_VER 0x00000000L - -/* ########################################################################### */ -/* ########################## ADVANCED BIND INFO FLAGS ####################### */ -/* ########################################################################### */ -//* indicates that password struct is supplied for credential to bind -#define NSSS_PWORD_CRED_F 0x00000001L - -//* this flags allows the caller to override the default anonymous port 389 for -//* service location and contextless name resolution in advance bind -#define NSSS_SET_ANON_PORT_F 0x00000002L - - - -/* ########################################################################### */ -/* ########################### STRUCTURE DEFINITIONS ######################### */ -/* ########################################################################### */ - -//********************************* NOTE **************************************** -//* All of the character arrays in the structures have the max length in bytes -//* but apps should pass in strings with the number of chars that is half the -//* length of these char arrays. These arrays are double the size in length -//* for unicode strings. (Reference the length in chars for each above.) -//********************************* NOTE **************************************** - -//* Secret ID type -typedef struct _ss_secret_id -{ - long len; //* max id len in bytes - char id[NSSS_MAX_SECRET_ID_LEN]; //* should be passed in # of chars -} SS_SECRET_ID_T; - -//* Secret Data type -typedef struct _ss_secret -{ - long len; - char *data; -} SS_SECRET_T; - - -//* Service location information. Each API-specific extension structures point to a -//* SS_SERVER_INFO_T structure. -typedef struct _ss_server_info -{ - char treeName[NSSS_MAX_TREE_NAME_LEN]; - char ssServerDN[NSSS_MAX_DN_LEN]; - char ssServerIPAddr[NSSS_MAX_IP_ADDR_LEN]; - char sssConfigDN[NSSS_MAX_DN_LEN]; -} SS_SERVER_INFO_T; - -//* new version big enough for unicode IP or DNS address -typedef struct _ss_userver_info -{ - char treeName[NSSS_MAX_TREE_NAME_LEN]; - char ssServerDN[NSSS_MAX_DN_LEN]; - char ssServerIPAddr[NSSS_MAX_ADDR_LEN]; - char sssConfigDN[NSSS_MAX_DN_LEN]; -} SS_USERVER_INFO_T; - -typedef struct _ss_advanced_credential -{ - unsigned long len; - void *data; -} SS_ADV_CRED_T, SS_CERT_T; - - -typedef struct _ss_address -{ - long len; - char addr[NSSS_MAX_ADDR_LEN]; -} SS_ADDR_T; - - -typedef struct _ss_advanced_bind_info -{ - unsigned long version; //* ldap bind structure version - unsigned long flags; //* ldap bind structure applicable flags - unsigned long portNum; - SS_ADDR_T hName; //* ip address (DNS name) of a servrer in the tree - SS_CERT_T cert; //* server certificate obtained and used internally - SS_ADV_CRED_T *cred; //* password (struct defined above), adv cred for future -} SS_ADV_BIND_INFO_T; - - -typedef struct _ss_ldap_bind_info -{ - unsigned long portNum; //* default: 636 - char lHostName[ NSSS_MAX_DN_LEN ]; //* Ex: "nsd10.novell.com" or ip addr - char trustedRootCert[ NSSS_MAX_DN_LEN ]; //* default: "c:\TrustedRootCertificate.der" - char loginPword[ NSSS_MAX_LDAP_PWORD_LEN ]; //* LDAP login password (utf8) -} SS_LDAPBIND_INFO_T; - -typedef struct _ss_obj_id -{ - long len; - char id[NSSS_MAX_DN_LEN]; -} SS_OBJECT_DN_T; - - -//* password structure -typedef struct _ss_pword -{ - unsigned long pwordLen; //* enhanced protection len & pword to set - char pword[NSSS_MAX_EP_PWORD_LEN]; //* should be passed in # of chars -} SS_PWORD_T; - - -//* hint structure -typedef struct _ss_hint -{ - unsigned long hintLen; //* enhanced protection len & pword to set - char hint[NSSS_MAX_MP_PWORD_HINT_LEN]; //* should be passed in # of chars -} SS_HINT_T; - -//* Read extended optional data -typedef struct _sss_read_extension -{ - unsigned long statFlags; //* OUT - return flags on the secret - unsigned long crtStamp; //* OUT - secret creation time stamp - unsigned long latStamp; //* OUT - last accessed time stamp (optional) - unsigned long lmtStamp; //* OUT - last modified time stamp -} SSS_READEXT_T; - -//* Get service info extended data -typedef struct _sss_get_service_information_extension -{ - unsigned long statusFlags; //* OUT - return flags on the store - unsigned long secretCount; //* OUT - number of the secrets in the store - unsigned long lockCount; //* OUT - number of lock secrets - unsigned long enumBufLen; //* OUT - secret ID enumeration buffer length - unsigned long hidSecCount; //* OUT - count of hidden secrets - unsigned long clientVersion; //* OUT - client version - unsigned long serverVersion; //* OUT - server version - unsigned long serverCryptoStrength; //* OUT - client crypto strength (Domestic/Export) - unsigned long clientCryptoStrength; //* OUT - client crypto strength (Domestic/Export) - unsigned long unlockTStamp; //* OUT - last admin unlock timestamp */ - unsigned long admnDNLen; //* OUT - last admin DN to unlock the store */ - char admnDN[NSSS_MAX_DN_LEN]; - unsigned long hintLen; //* OUT - master password hint - char hint[NSSS_MAX_MP_PWORD_HINT_LEN]; -} SSS_GSINFOEXT_T; - - -/* ###################################################################################### */ -/* #################### Extension Structure definitions for FUTURE ###################### */ -/* ###################################################################################### */ - -//* optional extension structure -typedef struct _ss_extension -{ - unsigned long clientVersion; //* IN - client version should be passed in - void *extParms; //* IN - extended optional data defined for future -} SS_EXT_T; - - -#endif //* SSSHAR_H - -typedef struct _sss_handles SSS_HANDLES_T; - -//* new context structure to be allocated by the caller -//* caller DN is an out parameter on NCP and can be an in parameter on LDAP -typedef struct _sss_context -{ - unsigned long flags; //* IN- context type indicator and - //* initialization flags - unsigned long dsCtx; //* IN/OUT- ldap/ncp context - unsigned long version; //* IN- context version indicator - SS_SERVER_INFO_T ssServerInfo; //* IN/OUT- preferred SecretStore server info - SS_OBJECT_DN_T callerDN; //* IN/OUT- DN of the caller. OUT-For NCP. - //*IN-For LDAP (use LDAP form) - SSS_HANDLES_T *handles; //* OUT- internal, created by GetServiceInfo, - //* destroyed with the context - void *bindInfo; //* IN - LDAP or other advanced bind info (non-NCP) -} SSS_CONTEXT_T; - - - -#ifndef _SSSHS_H_ - - -#define SS_APPLICATION_TYPE_F 0x00000001L -#define SS_CREDENTIAL_TYPE_F 0x00000002L - -typedef struct _ss_sh_secret_id -{ - int type; // The shared secret type i.e. SS_App or SS_CredSet - char pName[NSSS_MAX_SECRET_ID_LEN]; // The shared secret name. This is the same as the identifier - int len; // except that it excludes the header and is not escaped. -} SS_SH_SECRET_ID_T; - - -/* ########################## FUNCTION PROTOTYPES ######################### */ - -/* ##################################################################### */ -/* ######################### NEW NDK EXPORTED APIS ##################### */ -/* ##################################################################### */ - -//************************************************************** -//* Support Functions for processing (populating or extracting) -//* data components from a Shared Secret buffers -//************************************************************** -SS_EXTERN_LIBCALL_PTR(void) -NSSSCreateSHSHandle(); - -SS_EXTERN_LIBCALL(int) -NSSSDestroySHSHandle(void *handle); // in - -SS_EXTERN_LIBCALL(int) -NSSSGetNextSHSEntry - ( - int bRestart, //* in (set to 1 to begin from head of list) - void *handle, //* in - int *keyLen, //* out - unsigned char *key, //* out - int *valLen, //* out - unsigned char *val, //* out - unsigned long ssCtxFlags //* int - ); - -SS_EXTERN_LIBCALL(int) -NSSSAddSHSEntry - ( - void *handle, //* in - unsigned char *key, //* in - unsigned char *val, //* in - unsigned long ssCtxFlags //* in - ); - - -SS_EXTERN_LIBCALL(int) -NSSSRemoveSHSEntry - ( - void *handle, //* in - unsigned char *key, //* in - unsigned char *value, //* in - unsigned long ssCtxFlags //* in - ); - - -//************************************************************** -//* These function calls will utilize the Support Functions for -//* populating or extracting data from a Shared Secret. -//************************************************************** -SS_EXTERN_LIBCALL(int) -NSSSWriteSharedSecret -( - void * handle, - SS_SH_SECRET_ID_T * pSharedSecret, - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * epPassword, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSReadSharedSecret -( - void * handle, - SS_SH_SECRET_ID_T * pSharedSecret, - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * epPassword, - SSS_READEXT_T * readData, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSRemoveSharedSecret -( - SS_SH_SECRET_ID_T * pSharedSecret, - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_EXT_T * ext -); - -#endif //*_SSSHS_H_ - -//*********************** -//* SecretStore raw APIs -//*********************** - -SS_EXTERN_LIBCALL(int) -NSSSReadSecret -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * epPassword, - SSS_READEXT_T * readData, - SS_SECRET_ID_T * secretID, - SS_SECRET_T * secretValue, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSWriteSecret -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * epPassword, - SS_SECRET_ID_T * secretID, - SS_SECRET_T * secretValue, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSRemoveSecret -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_SECRET_ID_T * secretID, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSGetServiceInformation -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SSS_GSINFOEXT_T * gsData, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSUnlockSecrets -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * passowrd, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSRemoveSecretStore -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_EXT_T * ext -); - -SS_EXTERN_LIBCALL(int) -NSSSEnumerateSecretIDs -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - char * searchString, - unsigned long * count, - SS_SECRET_T * secretIDList, - SS_EXT_T * ext -); - - -SS_EXTERN_LIBCALL(int) -NSSSSetEPMasterPassword -( - SSS_CONTEXT_T * context, - SS_OBJECT_DN_T * targetObjDN, - unsigned long ssFlags, - SS_PWORD_T * passowrd, - SS_HINT_T * hint, - SS_EXT_T * ext -); - -/* ####################################################################### */ -/* ############################## ERROR CODES ############################ */ -/* ####################################################################### */ - -#ifndef _SSSHAR_H - -#define NSSS_SUCCESS 0x00000000 /* 0 */ -#define NSSS_E_OBJECT_NOT_FOUND 0xFFFFFCE0 /* -800 */ -#define NSSS_E_NICI_FAILURE 0xFFFFFCDF /* -801 */ -#define NSSS_E_INVALID_SECRET_ID 0xFFFFFCDE /* -802 */ -#define NSSS_E_SYSTEM_FAILURE 0xFFFFFCDD /* -803 */ -#define NSSS_E_ACCESS_DENIED 0xFFFFFCDC /* -804 */ -#define NSSS_E_NDS_INTERNAL_FAILURE 0xFFFFFCDB /* -805 */ -#define NSSS_E_SECRET_UNINITIALIZED 0xFFFFFCDA /* -806 */ -#define NSSS_E_BUFFER_LEN 0xFFFFFCD9 /* -807 */ -#define NSSS_E_INCOMPATIBLE_VERSION 0xFFFFFCD8 /* -808 */ -#define NSSS_E_CORRUPTED_STORE 0xFFFFFCD7 /* -809 */ -#define NSSS_E_SECRET_ID_EXISTS 0xFFFFFCD6 /* -810 */ -#define NSSS_E_NDS_PWORD_CHANGED 0xFFFFFCD5 /* -811 */ -#define NSSS_E_INVALID_TARGET_OBJECT 0xFFFFFCD4 /* -812 */ -#define NSSS_E_STORE_NOT_FOUND 0xFFFFFCD3 /* -813 */ -#define NSSS_E_SERVICE_NOT_FOUND 0xFFFFFCD2 /* -814 */ -#define NSSS_E_SECRET_ID_TOO_LONG 0xFFFFFCD1 /* -815 */ -#define NSSS_E_ENUM_BUFF_TOO_SHORT 0xFFFFFCD0 /* -816 */ -#define NSSS_E_NOT_AUTHENTICATED 0xFFFFFCCF /* -817 */ -#define NSSS_E_NOT_SUPPORTED 0xFFFFFCCE /* -818 */ -#define NSSS_E_NDS_PWORD_INVALID 0xFFFFFCCD /* -819 */ -#define NSSS_E_NICI_OUTOF_SYNC 0xFFFFFCCC /* -820 */ -#define NSSS_E_SERVICE_NOT_SUPPORTED 0xFFFFFCCB /* -821 */ -#define NSSS_E_TOKEN_NOT_SUPPORTED 0xFFFFFCCA /* -822 */ -#define NSSS_E_UNICODE_OP_FAILURE 0xFFFFFCC9 /* -823 */ -#define NSSS_E_TRANSPORT_FAILURE 0xFFFFFCC8 /* -824 */ -#define NSSS_E_CRYPTO_OP_FAILURE 0xFFFFFCC7 /* -825 */ -#define NSSS_E_SERVER_CONN_FAILURE 0xFFFFFCC6 /* -826 */ -#define NSSS_E_CONN_ACCESS_FAILURE 0xFFFFFCC5 /* -827 */ -#define NSSS_E_ENUM_BUFF_TOO_LONG 0xFFFFFCC4 /* -828 */ -#define NSSS_E_SECRET_BUFF_TOO_LONG 0xFFFFFCC3 /* -829 */ -#define NSSS_E_SECRET_ID_TOO_SHORT 0xFFFFFCC2 /* -830 */ -#define NSSS_E_CORRUPTED_PACKET_DATA 0xFFFFFCC1 /* -831 */ -#define NSSS_E_EP_ACCESS_DENIED 0xFFFFFCC0 /* -832 */ -#define NSSS_E_SCHEMA_NOT_EXTENDED 0xFFFFFCBF /* -833 */ -#define NSSS_E_ATTR_NOT_FOUND 0xFFFFFCBE /* -834 */ -#define NSSS_E_MIGRATION_NEEDED 0xFFFFFCBD /* -835 */ -#define NSSS_E_MP_PWORD_INVALID 0xFFFFFCBC /* -836 */ -#define NSSS_E_MP_PWORD_NOT_SET 0xFFFFFCBB /* -837 */ -#define NSSS_E_MP_PWORD_NOT_ALLOWED 0xFFFFFCBA /* -838 */ -#define NSSS_E_WRONG_REPLICA_TYPE 0xFFFFFCB9 /* -839 */ -#define NSSS_E_ATTR_VAL_NOT_FOUND 0xFFFFFCB8 /* -840 */ -#define NSSS_E_INVALID_PARAM 0xFFFFFCB7 /* -841 */ -#define NSSS_E_NEED_SECURE_CHANNEL 0xFFFFFCB6 /* -842 */ -#define NSSS_E_CONFIG_NOT_SUPPORTED 0xFFFFFCB5 /* -843 */ -#define NSSS_E_STORE_NOT_LOCKED 0xFFFFFCB4 /* -844 */ -#define NSSS_E_TIME_OUT_OF_SYNC 0xFFFFFCB3 /* -845 */ -#define NSSS_E_VERSION_MISMATCH 0xFFFFFCB2 /* -846 */ -#define NSSS_E_SECRET_BUFF_TOO_SHORT 0xFFFFFCB1 /* -847 */ -#define NSSS_E_SH_SECRET_FAILURE 0xFFFFFCB0 /* -848 */ -#define NSSS_E_PARSER_FAILURE 0xFFFFFCAF /* -849 */ -#define NSSS_E_UTF8_OP_FAILURE 0xFFFFFCAE /* -850 */ -#define NSSS_E_CTX_LESS_CN_NOT_UNIQUE 0xFFFFFCAD /* -851 */ -#define NSSS_E_UNSUPPORTED_BIND_CRED 0xFFFFFCAC /* -852 */ -#define NSSS_E_CERTIFICATE_NOT_FOUND 0xFFFFFCAB /* -853 */ - -#define NSSS_E_NOT_IMPLEMENTED 0xFFFFFC88 /* -888 */ -#define NSSS_E_BETA_EXPIRED 0xFFFFFC7D /* -899 */ - - -/* ######################################################################### - ########################### ERROR DESCRIPTIONS ########################## - ######################################################################### - -NSSS_E_OBJECT_NOT_FOUND -800 - Description: Can't find the target object DN in NDS. (Resolve name failed.) - -NSSS_E_NICI_FAILURE -801 - Description: NICI operations have failed. - -NSSS_E_INVALID_SECRET_ID -802 - Description: Secret ID is not in the User Secret Store. - -NSSS_E_SYSTEM_FAILURE -803 - Description: Some internal operating system services have not been available. - -NSSS_E_ACCESS_DENIED -804 - Description: Access to the target Secret Store has been denied! - -NSSS_E_NDS_INTERNAL_FAILURE -805 - Description: Some internal NDS services have not been available. - -NSSS_E_SECRET_UNINITIALIZED -806 - Description: Secret has not been initialized with a write. - -NSSS_E_BUFFER_LEN -807 - Description: Size of the buffer is not in a nominal range between minimum and maximum. - -NSSS_E_INCOMPATIBLE_VERSION -808 - Description: Client and server components are not of the compatible versions. - -NSSS_E_CORRUPTED_STORE -809 - Description: Secret Store data on the server has been corrupted. - -NSSS_E_SECRET_ID_EXISTS -810 - Description: Secret ID already exists in the Secret Store. - -NSSS_E_NDS_PWORD_CHANGED -811 - Description: User NDS password has been changed by the administrator. - -NSSS_E_INVALID_TARGET_OBJECT -812 - Description: Target NDS User object not found. - -NSSS_E_STORE_NOT_FOUND -813 - Description: Target NDS User object does not have a Secret Store. - -NSSS_E_SERVICE_NOT_FOUND -814 - Description: Secret Store not on the Network. - -NSSS_E_SECRET_ID_TOO_LONG -815 - Description: Lenght of the Secret ID buffer exceeds the limit. - -NSSS_E_ENUM_BUFF_TOO_SHORT -816 - Description: Lenght of the Enumeration buffer too short. - -NSSS_E_NOT_AUTHENTICATED -817 - Description: User not authenticated. - -NSSS_E_NOT_SUPPORTED -818 - Description: Not supported operations. - -NSSS_E_NDS_PWORD_INVALID -819 - Description: Typed in NDS password not valid. - -NSSS_E_NICI_OUTOF_SYNC -820 - Description: Session keys of the client and server NICI are out of sync. - -NSSS_E_SERVICE_NOT_SUPPORTED -821 - Description: Requested service not supported yet. - -NSSS_E_TOKEN_NOT_SUPPORTED -822 - Description: NDS authentication type not supported. - -NSSS_E_UNICODE_OP_FAILURE -823 - Description: Unicode text conversion operation failed. - -NSSS_E_TRANSPORT_FAILURE -824 - Description: Connection to server is lost. - -NSSS_E_CRYPTO_OP_FAILURE -825 - Description: Cryptographic operation failed. - -NSSS_E_SERVER_CONN_FAILURE -826 - Description: Opening a connection to the server failed. - -NSSS_E_CONN_ACCESS_FAILURE -827 - Description: Access to server connection failed. - -NSSS_E_ENUM_BUFF_TOO_LONG -828 - Description: Size of the enumeration buffer exceeds the limit. - -NSSS_E_SECRET_BUFF_TOO_LONG -829 - Description: Size of the Secret buffer exceeds the limit. - -NSSS_E_SECRET_ID_TOO_SHORT -830 - Description: Lenght of the Secret ID should be greater than zero. - -NSSS_E_CORRUPTED_PACKET_DATA -831 - Description: Protocol data corrupted on the wire. - -NSSS_E_EP_ACCESS_DENIED -832 - Description: EP password validation failed. Access to the secret denied! - -NSSS_E_SCHEMA_NOT_EXTENDED -833 - Description: Schema is not extended to support SecreStore on the target tree. - -NSSS_E_ATTR_NOT_FOUND -834 - Description: One of the optional service attributes is not instantiated. - -NSSS_E_MIGRATION_NEEDED -835 - Description: Server has been upgraded and user SecretStore should be updated. - -NSSS_E_MP_PWORD_INVALID -836 - Description: Master passwrod could not be verified to read or unlock the secrets. - -NSSS_E_MP_PWORD_NOT_SET -837 - Description: Master password has not been set on the SecretStore. - -NSSS_E_MP_PWORD_NOT_ALLOWED -838 - Description: Ability to use master password has been disabled. - -NSSS_E_WRONG_REPLICA_TYPE -839 - Description: Not a writeable replica of NDS. - -NSSS_E_ATTR_VAL_NOT_FOUND -840 - Description: Target attrbute is not instantiated in NDS. - -NSSS_E_INVALID_PARAM -841 - Description: API parameter is not initialized. - -NSSS_E_NEED_SECURE_CHANNEL -842 - Description: Connection to the SecretStore needs to be over SSL. - -NSSS_E_CONFIG_NOT_SUPPORTED -843 - Description: No server to support the given override configuration is found. - -NSSS_E_STORE_NOT_LOCKED -844 - Description: Attempt to unlock SecretStore failed because the store is not locked. - -NSSS_E_TIME_OUT_OF_SYNC -845 - Description: NDS Replica on the server that holds SecretStore is out of sync with the replica ring. - -NSSS_E_VERSION_MISMATCH -846 - Description: Versions of the client dlls don't match. - -NSSS_E_SECRET_BUFF_TOO_SHORT -847 - Description: Buffer supplied for the secret is too short (minimum NSSS_MIN_IDLIST_BUF_LEN). - -NSSS_E_SH_SECRET_FAILURE -848 - Description: Shared Secret processing and operations failed. - -NSSS_E_PARSER_FAILURE -849 - Description: Shared Secret parser operations failed. - -NSSS_E_UTF8_OP_FAILURE -850 - Description: Utf8 string operations failed. - -NSSS_E_CTX_LESS_CN_NOT_UNIQUE -851 - Description: Contextless name for LDAP bind does not resolve to a unique DN - -NSSS_E_UNSUPPORTED_BIND_CRED -852 - Description: login credential for advanced bind is not supported - -NSSS_E_CERTIFICATE_NOT_FOUND -853 - Description: LDAP Root Cert required for Bind operations not found - - -NSSS_E_NOT_IMPLEMENTED -888 - Description: Feature not implemented yet. - -NSSS_E_BETA_EXPIRED -899 - Description: Product's BETA life has expired! Official release copy should be - purchased. - - - - ########################### END OFERROR CODES ########################## */ - - -/* ######################################################################## */ -/* #################### TRANSLATION MACROS FOR OLD NAMES ################## */ -/* ######################################################################## */ - -#define NSSO_SUCCESS NSSS_SUCCESS -#define NSSO_E_OBJECT_NOT_FOUND NSSS_E_OBJECT_NOT_FOUND -#define NSSO_E_NICI_FAILURE NSSS_E_NICI_FAILURE -#define NSSO_E_INVALID_SECRET_ID NSSS_E_INVALID_SECRET_ID -#define NSSO_E_SYSTEM_FAILURE NSSS_E_SYSTEM_FAILURE -#define NSSO_E_ACCESS_DENIED NSSS_E_ACCESS_DENIED -#define NSSO_E_NDS_INTERNAL_FAILURE NSSS_E_NDS_INTERNAL_FAILURE -#define NSSO_E_SECRET_UNINITIALIZED NSSS_E_SECRET_UNINITIALIZED -#define NSSO_E_BUFFER_LEN NSSS_E_BUFFER_LEN -#define NSSO_E_INCOMPATIBLE_VERSION NSSS_E_INCOMPATIBLE_VERSION -#define NSSO_E_CORRUPTED_STORE NSSS_E_CORRUPTED_STORE -#define NSSO_E_SECRET_ID_EXISTS NSSS_E_SECRET_ID_EXISTS -#define NSSO_E_NDS_PWORD_CHANGED NSSS_E_NDS_PWORD_CHANGED -#define NSSO_E_INVALID_TARGET_OBJECT NSSS_E_INVALID_TARGET_OBJECT -#define NSSO_E_STORE_NOT_FOUND NSSS_E_STORE_NOT_FOUND -#define NSSO_E_SERVICE_NOT_FOUND NSSS_E_SERVICE_NOT_FOUND -#define NSSO_E_SECRET_ID_TOO_LONG NSSS_E_SECRET_ID_TOO_LONG -#define NSSO_E_ENUM_BUFF_TOO_SHORT NSSS_E_ENUM_BUFF_TOO_SHORT -#define NSSO_E_NOT_AUTHENTICATED NSSS_E_NOT_AUTHENTICATED -#define NSSO_E_NOT_SUPPORTED NSSS_E_NOT_SUPPORTED -#define NSSO_E_NDS_PWORD_INVALID NSSS_E_NDS_PWORD_INVALID -#define NSSO_E_NICI_OUTOF_SYNC NSSS_E_NICI_OUTOF_SYNC -#define NSSO_E_SERVICE_NOT_SUPPORTED NSSS_E_SERVICE_NOT_SUPPORTED -#define NSSO_E_TOKEN_NOT_SUPPORTED NSSS_E_TOKEN_NOT_SUPPORTED -#define NSSO_E_UNICODE_OP_FAILURE NSSS_E_UNICODE_OP_FAILURE -#define NSSO_E_TRANSPORT_FAILURE NSSS_E_TRANSPORT_FAILURE -#define NSSO_E_CRYPTO_OP_FAILURE NSSS_E_CRYPTO_OP_FAILURE -#define NSSO_E_SERVER_CONN_FAILURE NSSS_E_SERVER_CONN_FAILURE -#define NSSO_E_CONN_ACCESS_FAILURE NSSS_E_CONN_ACCESS_FAILURE -#define NSSO_E_ENUM_BUFF_TOO_LONG NSSS_E_ENUM_BUFF_TOO_LONG -#define NSSO_E_SECRET_BUFF_TOO_LONG NSSS_E_SECRET_BUFF_TOO_LONG -#define NSSO_E_SECRET_ID_TOO_SHORT NSSS_E_SECRET_ID_TOO_SHORT -#define NSSO_E_CORRUPTED_PACKET_DATA NSSS_E_CORRUPTED_PACKET_DATA -#define NSSO_E_EP_ACCESS_DENIED NSSS_E_EP_ACCESS_DENIED -#define NSSO_E_SCHEMA_NOT_EXTENDED NSSS_E_SCHEMA_NOT_EXTENDED -#define NSSO_E_ATTR_NOT_FOUND NSSS_E_ATTR_NOT_FOUND -#define NSSO_E_MIGRATION_NEEDED NSSS_E_MIGRATION_NEEDED -#define NSSO_E_MP_PWORD_INVALID NSSS_E_MP_PWORD_INVALID -#define NSSO_E_MP_PWORD_NOT_SET NSSS_E_MP_PWORD_NOT_SET -#define NSSO_E_MP_PWORD_NOT_ALLOWED NSSS_E_MP_PWORD_NOT_ALLOWED -#define NSSO_E_WRONG_REPLICA_TYPE NSSS_E_WRONG_REPLICA_TYPE -#define NSSO_E_ATTR_VAL_NOT_FOUND NSSS_E_ATTR_VAL_NOT_FOUND -#define NSSO_E_INVALID_PARAM NSSS_E_INVALID_PARAM -#define NSSO_E_NEED_SECURE_CHANNEL NSSS_E_NEED_SECURE_CHANNEL -#define NSSO_E_CONFIG_NOT_SUPPORTED NSSS_E_CONFIG_NOT_SUPPORTED -#define NSSO_E_STORE_NOT_LOCKED NSSS_E_STORE_NOT_LOCKED -#define NSSO_E_TIME_OUT_OF_SYNC NSSS_E_TIME_OUT_OF_SYNC - -#define NSSO_E_NOT_IMPLEMENTED NSSS_E_NOT_IMPLEMENTED -#define NSSO_E_BETA_EXPIRED NSSS_E_BETA_EXPIRED - -#define NSSO_NICI_UNDETERMINED_ENGINE NSSS_NICI_UNDETERMINED_ENGINE -#define NSSO_NICI_DOMESTIC_ENGINE NSSS_NICI_DOMESTIC_ENGINE -#define NSSO_NICI_EXPORT_ENGINE NSSS_NICI_EXPORT_ENGINE - -#endif /* _NSSS_H */ - - -#define NSSO_VERSION_NUMBER NSSS_VERSION_NUMBER -#define NSSO_MAX_SECRET_ID_CHARS NSSS_MAX_SECRET_ID_CHARS -#define NSSO_MAX_SECRET_ID_LEN NSSS_MAX_SECRET_ID_LEN -#define NSSO_MID_SECRET_BUF_LEN NSSS_MID_SECRET_BUF_LEN -#define NSSO_MAX_SECRET_BUF_LEN NSSS_MAX_SECRET_BUF_LEN -#define NSSO_MAX_EP_PWORD_CHARS NSSS_MAX_EP_PWORD_CHARS -#define NSSO_MAX_EP_PWORD_LEN NSSS_MAX_EP_PWORD_LEN -#define NSSO_MAX_LDAP_PWORD_LEN NSSS_MAX_LDAP_PWORD_LEN -#define NSSO_MAX_MP_PWORD_HINT_CHARS NSSS_MAX_MP_PWORD_HINT_CHARS -#define NSSO_MAX_MP_PWORD_HINT_LEN NSSS_MAX_MP_PWORD_HINT_LEN -#define NSSO_MAX_TREE_NAME_CHARS NSSS_MAX_TREE_NAME_CHARS -#define NSSO_MAX_TREE_NAME_LEN NSSS_MAX_TREE_NAME_LEN -#define NSSO_MAX_DN_CHARS NSSS_MAX_DN_CHARS -#define NSSO_MAX_DN_LEN NSSS_MAX_DN_LEN -#define NSSO_MAX_IP_ADDR_LEN NSSS_MAX_IP_ADDR_LEN -#define NSSO_MIN_IDLIST_BUF_LEN NSSS_MIN_IDLIST_BUF_LEN -#define NSSO_MID_IDLIST_BUF_LEN NSSS_MID_IDLIST_BUF_LEN -#define NSSO_MAX_IDLIST_BUF_LEN NSSS_MAX_IDLIST_BUF_LEN -#define NSSO_JUMBO_IDLIST_BUF_LEN NSSS_JUMBO_IDLIST_BUF_LEN -#define NSSO_JUMBO_ENUM_BUF_LEN NSSS_JUMBO_ENUM_BUF_LEN -#define NSSO_ENUM_BUFFER_GUESS NSSS_ENUM_BUFFER_GUESS -#define NSSO_ENUM_DELIM NSSS_ENUM_DELIM - -#define NSSO_REMOVE_LOCK_FROM_STORE_F NSSS_REMOVE_LOCK_FROM_STORE_F -#define NSSO_ENHANCED_PROTECTION_F NSSS_ENHANCED_PROTECTION_F -#define NSSO_CREATE_ID_F NSSS_CREATE_ID_F -#define NSSO_EP_PASSWORD_USED_F NSSS_EP_PASSWORD_USED_F -#define NSSO_REPAIR_THE_STORE_F NSSS_REPAIR_THE_STORE_F -#define NSSO_ALL_STRINGS_UNICODE_F NSSS_ALL_STRINGS_UNICODE_F -#define NSSO_SET_TREE_NAME_F NSSS_SET_TREE_NAME_F -#define NSSO_DESTROY_CONTEXT_F NSSS_DESTROY_CONTEXT_F -#define NSSO_UNBINDLDAP_F NSSS_UNBINDLDAP_F -#define NSSO_GET_CONTEXT_F NSSS_GET_CONTEXT_F -#define NSSO_BINDLDAP_F NSSS_BINDLDAP_F -#define NSSO_SECRET_LOCKED_F NSSS_SECRET_LOCKED_F -#define NSSO_SECRET_NOT_INITIALIZED_F NSSS_SECRET_NOT_INITIALIZED_F -#define NSSO_ENHANCED_PROTECT_INFO_F NSSS_ENHANCED_PROTECT_INFO_F -#define NSSO_STORE_NOT_SYNCED_F NSSS_STORE_NOT_SYNCED_F -#define NSSO_EP_PWORD_PRESENT_F NSSS_EP_PWORD_PRESENT_F -#define NSSO_EP_MASTER_PWORD_USED_F NSSS_EP_MASTER_PWORD_USED_F -#define NSSO_ADMIN_LAST_MOD_F NSSS_ADMIN_LAST_MOD_F -#define NSSO_EP_MASTER_PWORD_PRESENT_F NSSS_EP_MASTER_PWORD_PRESENT_F -#define NSSO_MP_NOT_ALLOWED_F NSSS_MP_NOT_ALLOWED_F -#define NSSO_SYNC_IN_PROGRESS_F NSSS_SYNC_IN_PROGRESS_F -#define NSSO_ADMIN_UNLOCKED_F NSSS_ADMIN_UNLOCKED_F -#define NSSO_DS_CTX_F NSSS_NCP_CTX_F -#define NSSO_LDAP_CTX_F NSSS_LDAP_CTX_F -#define NSSO_NICI_CTX_F NSSS_NICI_CTX_F - -#define NSSO_ReadSecret NSSS_ReadSecret -#define NSSO_WriteSecret NSSS_WriteSecret -#define NSSO_AddSecretID NSSS_AddSecretID -#define NSSO_RemoveSecretID NSSS_RemoveSecret -#define NSSO_GetServiceInformation NSSS_GetServiceInformation -#define NSSO_UnlockSecrets NSSS_UnlockSecrets -#define NSSO_RemoveSecretStore NSSS_RemoveSecretStore -#define NSSO_EnumerateSecretIDs NSSS_EnumerateSecretIDs -#define NSSO_SetEPMasterPassword NSSS_SetEPMasterPassword - - -#if defined(__cplusplus) || defined(c_plusplus) -} -#endif - -#endif /* _NSSSCL_H */ + +#ifndef _NSSSCL_H_ +#define _NSSSCL_H_ + +/* This is the NDK header file for the SecretStore version 3.02. */ +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" +{ +#endif + +#ifndef _SSPROTO_H_ +#define _SSPROTO_H_ +#if defined(WIN32) + + #define SS_GLOBAL_LIBCALL_PTR(RET) RET * __stdcall + #define SS_GLOBAL_LIBCALL(RET) RET __stdcall + #define SS_EXTERN_LIBCALL_PTR(RET) extern RET * __stdcall + #define SS_EXTERN_LIBCALL(RET) extern RET __stdcall + #define SS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (__stdcall *PTR) + #define SS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (__stdcall *PTR) + +#else + + #define SS_GLOBAL_LIBCALL_PTR(RET) RET * + #define SS_GLOBAL_LIBCALL(RET) RET + #define SS_EXTERN_LIBCALL_PTR(RET) extern RET * + #define SS_EXTERN_LIBCALL(RET) extern RET + #define SS_TYPEDEF_LIBCALL_PTR(RET, PTR) typedef RET * (*PTR) + #define SS_TYPEDEF_LIBCALL(RET, PTR) typedef RET (*PTR) + +#endif + +#endif //* _SSPROTO_H_ + +/* ########################################################################### */ +/* ####################### SecretStore Constants ############################# */ +/* ########################################################################### */ + + +#ifndef _SSSHAR_H + +#define NSSS_VERSION_NUMBER 0x00030200L //* client version number + +#define NSSS_MAX_KEYCHAIN_ID_CHARS 256 //* double bytes including NULL +#define NSSS_MAX_KEYCHAIN_ID_LEN 512 //* in bytes including NULL + + + +#define NSSS_MAX_SECRET_ID_CHARS 256 //* double bytes including NULL +#define NSSS_MAX_SECRET_ID_LEN 512 //* in bytes including NULL + +#define NSSS_MIN_SECRET_BUF_LEN 3968 //* (4K-128)to match server +#define NSSS_MID_SECRET_BUF_LEN 32768 //* (4K-128)to match server +#define NSSS_MAX_SECRET_BUF_LEN 60416 //* (59K)to match server +#define NSSS_MAX_EP_PWORD_CHARS 64 //* enhanced protection max password (chars) +#define NSSS_MAX_EP_PWORD_LEN 128 //* enhanced protection max password (bytes) + +#define NSSS_MAX_LDAP_PWORD_LEN 128 //* user's ldap login password + +#define NSSS_MAX_MP_PWORD_HINT_CHARS 64 //* enhanced protection max hint (chars) +#define NSSS_MAX_MP_PWORD_HINT_LEN 128 //* enhanced protection maximum hint (bytes) + +#define NSSS_MAX_TREE_NAME_CHARS 32 //* max tree name length (chars) +#define NSSS_MAX_TREE_NAME_LEN 64 //* max tree name length (bytes) + +#define NSSS_MAX_DN_CHARS 258 //* max DN length (chars) +#define NSSS_MAX_DN_LEN 516 //* max DN length (bytes) + +#define NSSS_MAX_IP_ADDR_LEN 16 //* IP address string length (bytes including NULL) +#define NSSS_MAX_ADDR_LEN 512 //* can be IP or DNS name (bytes including null) + +#define NSSS_NICI_UNDETERMINED_ENGINE 0 +#define NSSS_NICI_DOMESTIC_ENGINE 1 +#define NSSS_NICI_EXPORT_ENGINE 2 + +#define NSSS_MIN_IDLIST_BUF_LEN 16384 //* (16K) +#define NSSS_MID_IDLIST_BUF_LEN 32768 //* (32K) +#define NSSS_MAX_IDLIST_BUF_LEN 65536 //* (64kK) +#define NSSS_JUMBO_IDLIST_BUF_LEN 131072 //* (128K) +#define NSSS_JUMBO_ENUM_BUF_LEN 131072 //* (128K) +#define NSSS_ENUM_BUFFER_GUESS 32768 //* (32K) + +#define NSSS_MAX_LDAP_CRED_BUF_LEN 65536 //* (64kK) + +#define NSSS_ENUM_DELIM "*" //* immutable + +/* ########################################################################### */ +/* ############################### API FLAGS ################################# */ +/* ########################################################################### */ + +/* input only flag for Unlock API + ============================== */ +/* can delete locked secrets from store to remove lock */ +#define NSSS_REMOVE_LOCK_FROM_STORE_F 0x00000004L +/* if the store is not locked return an error otherwise use the info supplied + to unlock the store. In the absense of this flag when the store is not + locked the SecretStore returns success. */ +#define NSSS_IS_STORE_LOCKED_F 0x00000008L + + +/* input only flags for Write API + ============================== */ +/* Enhanced Protection indicator flag for Read & Write */ +#define NSSS_ENHANCED_PROTECTION_F 0x00000001L +/* Enhanced Protection optional password indicator flag for Read & Write */ +#define NSSS_EP_PASSWORD_USED_F 0x00000040L +/* if Secret ID is in the SecretStore already don't overwrite the secret */ +#define NSSS_CHK_SID_FOR_COLISION_F 0x00004000L + +/* input only flag for Read API + ============================ */ +/* request all possible repair on damaged store */ +#define NSSS_REPAIR_THE_STORE_F 0x00000008L + +/* input only flag for all the APIs + ================================ */ +//* This flag tells the call that the strings such as +//* secretID, DN, searchString etc. are already converted +//* to Unicode and no conversion is necessary, results +//* like secretIDList will be returned in unicode. +#define NSSS_ALL_STRINGS_UNICODE_F 0x00000010L +#define NSSS_SET_TREE_NAME_F 0x00000080L +//* Internally destroys the DS context passed in +#define NSSS_DESTROY_CONTEXT_F 0x00000200L +#define NSSS_UNBINDLDAP_F 0x00001000L + +/* input only flag for GetServiceInformation API + ============================================= */ +//* will return a DS context for reuse in the subsequent calls +#define NSSS_GET_CONTEXT_F 0x00000100L + + + +/* input flag for all APIs + ======================= */ +//* this flag indicates LDAP based acess to the directory is desired +#define NSSS_BINDLDAP_F 0x00000800L + +/* output only flags from Read API (statFlags on reading a secret) + also these come back on GetServiceInformation (statFlags on the store) + ==================================================================== */ +/* Non-Repudiation lock on secret */ +#define NSSS_SECRET_LOCKED_F 0x00010000L +/* Secret not initialized with a Write yet */ +#define NSSS_SECRET_NOT_INITIALIZED_F 0x00020000L +/* Secret is marked for Enhanced Protection */ +#define NSSS_ENHANCED_PROTECT_INFO_F 0x00040000L +/* Store not synchronized across replicas */ +#define NSSS_STORE_NOT_SYNCED_F 0x00080000L +/* There is EP password on the secret */ +#define NSSS_EP_PWORD_PRESENT_F 0x00200000L + +/* input only flag for Read, Unlock, and SetMP APIs + ================================================ */ +#define NSSS_EP_MASTER_PWORD_USED_F 0x00000020L + +/* output only flags from Read API (statFlags on reading asecret + ============================================================= */ +/* Last secret modification by admin */ +#define NSSS_ADMIN_LAST_MOD_F 0x00100000L + + +/* output only flag from GetServiceInformation API statFlags + ========================================================= */ +/* There is master password on the secretstore */ +#define NSSS_EP_MASTER_PWORD_PRESENT_F 0x00400000L + +/* output only flag from GetServiceInformation, and read API statFlags + =================================================================== */ +#define NSSS_MP_NOT_ALLOWED_F 0x00800000L + +/* internal flag to the server + =========================== */ +#define NSSS_SYNC_IN_PROGRESS_F 0x02000000L + +/* output only flag for last Admin that has unlocked the store + =========================================================== */ +#define NSSS_ADMIN_UNLOCKED_F 0x04000000L + +/* output only flag for server internal features + ============================================ */ +#define NSSS_LATSTAMP_ALLOWED_F 0x08000000L /* ss last access time stamp allowed */ +#define NSSS_ADMIN_AUTHORIZED_F 0x10000000L /* ss admin authorized */ + +/* output only flag to indicate SecretStore contains hidden secrets + ================================================================ */ +#define NSSS_HIDDEN_SECRET_F 0x20000000L + + +#define NSSSRemoveSecretID NSSSRemoveSecret + +/* ########################################################################### */ +/* ###################### CURRENT CONTEXT VERSION ############################ */ +/* ########################################################################### */ +#define NSSS_CUR_CTX_VERSION 0x00000001L + + +/* ########################################################################### */ +/* ############################ CONTEXT FLAGS ################################ */ +/* ########################################################################### */ +/* context flags for the type of context passed in or to initialize (can only use one.) + =================================================================================== */ +#define NSSS_NCP_CTX_F 0x00000001L //* Context is for NCP +#define NSSS_LDAP_CTX_F 0x00000002L //* Context is for LDAP +#define NSSS_CONTEXT_INITIALIZED_F 0x00000004L //* Context already initialized +#define NSSS_INIT_LDAP_SS_HANDLE_F 0x00000008L //* Init handle struct without bind +#define NSSS_DEINIT_LDAP_SS_HANDLE_F 0x00000010L //* Deinit handle struct without unbind +#define NSSS_REINIT_TARGET_DN_F 0x00000020L //* Reinit the target DN in the context +#define NSSS_LDAP_CONTEXT_LESS_DN_F 0x00000040L //* Resolve LDAP DN as contextless +#define NSSS_ADV_BIND_INFO_F 0x00000080L //* Use advanced bind structure + //* and perform service location + + +/* ########################################################################### */ +/* ################# CURRENT ADVANCED BIND INFO VERSION ###################### */ +/* ########################################################################### */ +#define NSSS_CUR_ADV_BIND_INFO_VER 0x00000000L + +/* ########################################################################### */ +/* ########################## ADVANCED BIND INFO FLAGS ####################### */ +/* ########################################################################### */ +//* indicates that password struct is supplied for credential to bind +#define NSSS_PWORD_CRED_F 0x00000001L + +//* this flags allows the caller to override the default anonymous port 389 for +//* service location and contextless name resolution in advance bind +#define NSSS_SET_ANON_PORT_F 0x00000002L + + + +/* ########################################################################### */ +/* ########################### STRUCTURE DEFINITIONS ######################### */ +/* ########################################################################### */ + +//********************************* NOTE **************************************** +//* All of the character arrays in the structures have the max length in bytes +//* but apps should pass in strings with the number of chars that is half the +//* length of these char arrays. These arrays are double the size in length +//* for unicode strings. (Reference the length in chars for each above.) +//********************************* NOTE **************************************** + +//* Secret ID type +typedef struct _ss_secret_id +{ + long len; //* max id len in bytes + char id[NSSS_MAX_SECRET_ID_LEN]; //* should be passed in # of chars +} SS_SECRET_ID_T; + +//* Secret Data type +typedef struct _ss_secret +{ + long len; + char *data; +} SS_SECRET_T; + + +//* Service location information. Each API-specific extension structures point to a +//* SS_SERVER_INFO_T structure. +typedef struct _ss_server_info +{ + char treeName[NSSS_MAX_TREE_NAME_LEN]; + char ssServerDN[NSSS_MAX_DN_LEN]; + char ssServerIPAddr[NSSS_MAX_IP_ADDR_LEN]; + char sssConfigDN[NSSS_MAX_DN_LEN]; +} SS_SERVER_INFO_T; + +//* new version big enough for unicode IP or DNS address +typedef struct _ss_userver_info +{ + char treeName[NSSS_MAX_TREE_NAME_LEN]; + char ssServerDN[NSSS_MAX_DN_LEN]; + char ssServerIPAddr[NSSS_MAX_ADDR_LEN]; + char sssConfigDN[NSSS_MAX_DN_LEN]; +} SS_USERVER_INFO_T; + +typedef struct _ss_advanced_credential +{ + unsigned long len; + void *data; +} SS_ADV_CRED_T, SS_CERT_T; + + +typedef struct _ss_address +{ + long len; + char addr[NSSS_MAX_ADDR_LEN]; +} SS_ADDR_T; + + +typedef struct _ss_advanced_bind_info +{ + unsigned long version; //* ldap bind structure version + unsigned long flags; //* ldap bind structure applicable flags + unsigned long portNum; + SS_ADDR_T hName; //* ip address (DNS name) of a servrer in the tree + SS_CERT_T cert; //* server certificate obtained and used internally + SS_ADV_CRED_T *cred; //* password (struct defined above), adv cred for future +} SS_ADV_BIND_INFO_T; + + +typedef struct _ss_ldap_bind_info +{ + unsigned long portNum; //* default: 636 + char lHostName[ NSSS_MAX_DN_LEN ]; //* Ex: "nsd10.novell.com" or ip addr + char trustedRootCert[ NSSS_MAX_DN_LEN ]; //* default: "c:\TrustedRootCertificate.der" + char loginPword[ NSSS_MAX_LDAP_PWORD_LEN ]; //* LDAP login password (utf8) +} SS_LDAPBIND_INFO_T; + +typedef struct _ss_obj_id +{ + long len; + char id[NSSS_MAX_DN_LEN]; +} SS_OBJECT_DN_T; + + +//* password structure +typedef struct _ss_pword +{ + unsigned long pwordLen; //* enhanced protection len & pword to set + char pword[NSSS_MAX_EP_PWORD_LEN]; //* should be passed in # of chars +} SS_PWORD_T; + + +//* hint structure +typedef struct _ss_hint +{ + unsigned long hintLen; //* enhanced protection len & pword to set + char hint[NSSS_MAX_MP_PWORD_HINT_LEN]; //* should be passed in # of chars +} SS_HINT_T; + +//* Read extended optional data +typedef struct _sss_read_extension +{ + unsigned long statFlags; //* OUT - return flags on the secret + unsigned long crtStamp; //* OUT - secret creation time stamp + unsigned long latStamp; //* OUT - last accessed time stamp (optional) + unsigned long lmtStamp; //* OUT - last modified time stamp +} SSS_READEXT_T; + +//* Get service info extended data +typedef struct _sss_get_service_information_extension +{ + unsigned long statusFlags; //* OUT - return flags on the store + unsigned long secretCount; //* OUT - number of the secrets in the store + unsigned long lockCount; //* OUT - number of lock secrets + unsigned long enumBufLen; //* OUT - secret ID enumeration buffer length + unsigned long hidSecCount; //* OUT - count of hidden secrets + unsigned long clientVersion; //* OUT - client version + unsigned long serverVersion; //* OUT - server version + unsigned long serverCryptoStrength; //* OUT - client crypto strength (Domestic/Export) + unsigned long clientCryptoStrength; //* OUT - client crypto strength (Domestic/Export) + unsigned long unlockTStamp; //* OUT - last admin unlock timestamp */ + unsigned long admnDNLen; //* OUT - last admin DN to unlock the store */ + char admnDN[NSSS_MAX_DN_LEN]; + unsigned long hintLen; //* OUT - master password hint + char hint[NSSS_MAX_MP_PWORD_HINT_LEN]; +} SSS_GSINFOEXT_T; + + +/* ###################################################################################### */ +/* #################### Extension Structure definitions for FUTURE ###################### */ +/* ###################################################################################### */ + +//* optional extension structure +typedef struct _ss_extension +{ + unsigned long clientVersion; //* IN - client version should be passed in + void *extParms; //* IN - extended optional data defined for future +} SS_EXT_T; + + +#endif //* SSSHAR_H + +typedef struct _sss_handles SSS_HANDLES_T; + +//* new context structure to be allocated by the caller +//* caller DN is an out parameter on NCP and can be an in parameter on LDAP +typedef struct _sss_context +{ + unsigned long flags; //* IN- context type indicator and + //* initialization flags + unsigned long dsCtx; //* IN/OUT- ldap/ncp context + unsigned long version; //* IN- context version indicator + SS_SERVER_INFO_T ssServerInfo; //* IN/OUT- preferred SecretStore server info + SS_OBJECT_DN_T callerDN; //* IN/OUT- DN of the caller. OUT-For NCP. + //*IN-For LDAP (use LDAP form) + SSS_HANDLES_T *handles; //* OUT- internal, created by GetServiceInfo, + //* destroyed with the context + void *bindInfo; //* IN - LDAP or other advanced bind info (non-NCP) +} SSS_CONTEXT_T; + + + +#ifndef _SSSHS_H_ + + +#define SS_APPLICATION_TYPE_F 0x00000001L +#define SS_CREDENTIAL_TYPE_F 0x00000002L + +typedef struct _ss_sh_secret_id +{ + int type; // The shared secret type i.e. SS_App or SS_CredSet + char pName[NSSS_MAX_SECRET_ID_LEN]; // The shared secret name. This is the same as the identifier + int len; // except that it excludes the header and is not escaped. +} SS_SH_SECRET_ID_T; + + +/* ########################## FUNCTION PROTOTYPES ######################### */ + +/* ##################################################################### */ +/* ######################### NEW NDK EXPORTED APIS ##################### */ +/* ##################################################################### */ + +//************************************************************** +//* Support Functions for processing (populating or extracting) +//* data components from a Shared Secret buffers +//************************************************************** +SS_EXTERN_LIBCALL_PTR(void) +NSSSCreateSHSHandle(); + +SS_EXTERN_LIBCALL(int) +NSSSDestroySHSHandle(void *handle); // in + +SS_EXTERN_LIBCALL(int) +NSSSGetNextSHSEntry + ( + int bRestart, //* in (set to 1 to begin from head of list) + void *handle, //* in + int *keyLen, //* out + unsigned char *key, //* out + int *valLen, //* out + unsigned char *val, //* out + unsigned long ssCtxFlags //* int + ); + +SS_EXTERN_LIBCALL(int) +NSSSAddSHSEntry + ( + void *handle, //* in + unsigned char *key, //* in + unsigned char *val, //* in + unsigned long ssCtxFlags //* in + ); + + +SS_EXTERN_LIBCALL(int) +NSSSRemoveSHSEntry + ( + void *handle, //* in + unsigned char *key, //* in + unsigned char *value, //* in + unsigned long ssCtxFlags //* in + ); + + +//************************************************************** +//* These function calls will utilize the Support Functions for +//* populating or extracting data from a Shared Secret. +//************************************************************** +SS_EXTERN_LIBCALL(int) +NSSSWriteSharedSecret +( + void * handle, + SS_SH_SECRET_ID_T * pSharedSecret, + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * epPassword, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSReadSharedSecret +( + void * handle, + SS_SH_SECRET_ID_T * pSharedSecret, + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * epPassword, + SSS_READEXT_T * readData, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSRemoveSharedSecret +( + SS_SH_SECRET_ID_T * pSharedSecret, + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_EXT_T * ext +); + +#endif //*_SSSHS_H_ + +//*********************** +//* SecretStore raw APIs +//*********************** + +SS_EXTERN_LIBCALL(int) +NSSSReadSecret +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * epPassword, + SSS_READEXT_T * readData, + SS_SECRET_ID_T * secretID, + SS_SECRET_T * secretValue, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSWriteSecret +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * epPassword, + SS_SECRET_ID_T * secretID, + SS_SECRET_T * secretValue, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSRemoveSecret +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_SECRET_ID_T * secretID, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSGetServiceInformation +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SSS_GSINFOEXT_T * gsData, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSUnlockSecrets +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * passowrd, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSRemoveSecretStore +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_EXT_T * ext +); + +SS_EXTERN_LIBCALL(int) +NSSSEnumerateSecretIDs +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + char * searchString, + unsigned long * count, + SS_SECRET_T * secretIDList, + SS_EXT_T * ext +); + + +SS_EXTERN_LIBCALL(int) +NSSSSetEPMasterPassword +( + SSS_CONTEXT_T * context, + SS_OBJECT_DN_T * targetObjDN, + unsigned long ssFlags, + SS_PWORD_T * passowrd, + SS_HINT_T * hint, + SS_EXT_T * ext +); + +/* ####################################################################### */ +/* ############################## ERROR CODES ############################ */ +/* ####################################################################### */ + +#ifndef _SSSHAR_H + +#define NSSS_SUCCESS 0x00000000 /* 0 */ +#define NSSS_E_OBJECT_NOT_FOUND 0xFFFFFCE0 /* -800 */ +#define NSSS_E_NICI_FAILURE 0xFFFFFCDF /* -801 */ +#define NSSS_E_INVALID_SECRET_ID 0xFFFFFCDE /* -802 */ +#define NSSS_E_SYSTEM_FAILURE 0xFFFFFCDD /* -803 */ +#define NSSS_E_ACCESS_DENIED 0xFFFFFCDC /* -804 */ +#define NSSS_E_NDS_INTERNAL_FAILURE 0xFFFFFCDB /* -805 */ +#define NSSS_E_SECRET_UNINITIALIZED 0xFFFFFCDA /* -806 */ +#define NSSS_E_BUFFER_LEN 0xFFFFFCD9 /* -807 */ +#define NSSS_E_INCOMPATIBLE_VERSION 0xFFFFFCD8 /* -808 */ +#define NSSS_E_CORRUPTED_STORE 0xFFFFFCD7 /* -809 */ +#define NSSS_E_SECRET_ID_EXISTS 0xFFFFFCD6 /* -810 */ +#define NSSS_E_NDS_PWORD_CHANGED 0xFFFFFCD5 /* -811 */ +#define NSSS_E_INVALID_TARGET_OBJECT 0xFFFFFCD4 /* -812 */ +#define NSSS_E_STORE_NOT_FOUND 0xFFFFFCD3 /* -813 */ +#define NSSS_E_SERVICE_NOT_FOUND 0xFFFFFCD2 /* -814 */ +#define NSSS_E_SECRET_ID_TOO_LONG 0xFFFFFCD1 /* -815 */ +#define NSSS_E_ENUM_BUFF_TOO_SHORT 0xFFFFFCD0 /* -816 */ +#define NSSS_E_NOT_AUTHENTICATED 0xFFFFFCCF /* -817 */ +#define NSSS_E_NOT_SUPPORTED 0xFFFFFCCE /* -818 */ +#define NSSS_E_NDS_PWORD_INVALID 0xFFFFFCCD /* -819 */ +#define NSSS_E_NICI_OUTOF_SYNC 0xFFFFFCCC /* -820 */ +#define NSSS_E_SERVICE_NOT_SUPPORTED 0xFFFFFCCB /* -821 */ +#define NSSS_E_TOKEN_NOT_SUPPORTED 0xFFFFFCCA /* -822 */ +#define NSSS_E_UNICODE_OP_FAILURE 0xFFFFFCC9 /* -823 */ +#define NSSS_E_TRANSPORT_FAILURE 0xFFFFFCC8 /* -824 */ +#define NSSS_E_CRYPTO_OP_FAILURE 0xFFFFFCC7 /* -825 */ +#define NSSS_E_SERVER_CONN_FAILURE 0xFFFFFCC6 /* -826 */ +#define NSSS_E_CONN_ACCESS_FAILURE 0xFFFFFCC5 /* -827 */ +#define NSSS_E_ENUM_BUFF_TOO_LONG 0xFFFFFCC4 /* -828 */ +#define NSSS_E_SECRET_BUFF_TOO_LONG 0xFFFFFCC3 /* -829 */ +#define NSSS_E_SECRET_ID_TOO_SHORT 0xFFFFFCC2 /* -830 */ +#define NSSS_E_CORRUPTED_PACKET_DATA 0xFFFFFCC1 /* -831 */ +#define NSSS_E_EP_ACCESS_DENIED 0xFFFFFCC0 /* -832 */ +#define NSSS_E_SCHEMA_NOT_EXTENDED 0xFFFFFCBF /* -833 */ +#define NSSS_E_ATTR_NOT_FOUND 0xFFFFFCBE /* -834 */ +#define NSSS_E_MIGRATION_NEEDED 0xFFFFFCBD /* -835 */ +#define NSSS_E_MP_PWORD_INVALID 0xFFFFFCBC /* -836 */ +#define NSSS_E_MP_PWORD_NOT_SET 0xFFFFFCBB /* -837 */ +#define NSSS_E_MP_PWORD_NOT_ALLOWED 0xFFFFFCBA /* -838 */ +#define NSSS_E_WRONG_REPLICA_TYPE 0xFFFFFCB9 /* -839 */ +#define NSSS_E_ATTR_VAL_NOT_FOUND 0xFFFFFCB8 /* -840 */ +#define NSSS_E_INVALID_PARAM 0xFFFFFCB7 /* -841 */ +#define NSSS_E_NEED_SECURE_CHANNEL 0xFFFFFCB6 /* -842 */ +#define NSSS_E_CONFIG_NOT_SUPPORTED 0xFFFFFCB5 /* -843 */ +#define NSSS_E_STORE_NOT_LOCKED 0xFFFFFCB4 /* -844 */ +#define NSSS_E_TIME_OUT_OF_SYNC 0xFFFFFCB3 /* -845 */ +#define NSSS_E_VERSION_MISMATCH 0xFFFFFCB2 /* -846 */ +#define NSSS_E_SECRET_BUFF_TOO_SHORT 0xFFFFFCB1 /* -847 */ +#define NSSS_E_SH_SECRET_FAILURE 0xFFFFFCB0 /* -848 */ +#define NSSS_E_PARSER_FAILURE 0xFFFFFCAF /* -849 */ +#define NSSS_E_UTF8_OP_FAILURE 0xFFFFFCAE /* -850 */ +#define NSSS_E_CTX_LESS_CN_NOT_UNIQUE 0xFFFFFCAD /* -851 */ +#define NSSS_E_UNSUPPORTED_BIND_CRED 0xFFFFFCAC /* -852 */ +#define NSSS_E_CERTIFICATE_NOT_FOUND 0xFFFFFCAB /* -853 */ + +#define NSSS_E_NOT_IMPLEMENTED 0xFFFFFC88 /* -888 */ +#define NSSS_E_BETA_EXPIRED 0xFFFFFC7D /* -899 */ + + +/* ######################################################################### + ########################### ERROR DESCRIPTIONS ########################## + ######################################################################### + +NSSS_E_OBJECT_NOT_FOUND -800 + Description: Can't find the target object DN in NDS. (Resolve name failed.) + +NSSS_E_NICI_FAILURE -801 + Description: NICI operations have failed. + +NSSS_E_INVALID_SECRET_ID -802 + Description: Secret ID is not in the User Secret Store. + +NSSS_E_SYSTEM_FAILURE -803 + Description: Some internal operating system services have not been available. + +NSSS_E_ACCESS_DENIED -804 + Description: Access to the target Secret Store has been denied! + +NSSS_E_NDS_INTERNAL_FAILURE -805 + Description: Some internal NDS services have not been available. + +NSSS_E_SECRET_UNINITIALIZED -806 + Description: Secret has not been initialized with a write. + +NSSS_E_BUFFER_LEN -807 + Description: Size of the buffer is not in a nominal range between minimum and maximum. + +NSSS_E_INCOMPATIBLE_VERSION -808 + Description: Client and server components are not of the compatible versions. + +NSSS_E_CORRUPTED_STORE -809 + Description: Secret Store data on the server has been corrupted. + +NSSS_E_SECRET_ID_EXISTS -810 + Description: Secret ID already exists in the Secret Store. + +NSSS_E_NDS_PWORD_CHANGED -811 + Description: User NDS password has been changed by the administrator. + +NSSS_E_INVALID_TARGET_OBJECT -812 + Description: Target NDS User object not found. + +NSSS_E_STORE_NOT_FOUND -813 + Description: Target NDS User object does not have a Secret Store. + +NSSS_E_SERVICE_NOT_FOUND -814 + Description: Secret Store not on the Network. + +NSSS_E_SECRET_ID_TOO_LONG -815 + Description: Lenght of the Secret ID buffer exceeds the limit. + +NSSS_E_ENUM_BUFF_TOO_SHORT -816 + Description: Lenght of the Enumeration buffer too short. + +NSSS_E_NOT_AUTHENTICATED -817 + Description: User not authenticated. + +NSSS_E_NOT_SUPPORTED -818 + Description: Not supported operations. + +NSSS_E_NDS_PWORD_INVALID -819 + Description: Typed in NDS password not valid. + +NSSS_E_NICI_OUTOF_SYNC -820 + Description: Session keys of the client and server NICI are out of sync. + +NSSS_E_SERVICE_NOT_SUPPORTED -821 + Description: Requested service not supported yet. + +NSSS_E_TOKEN_NOT_SUPPORTED -822 + Description: NDS authentication type not supported. + +NSSS_E_UNICODE_OP_FAILURE -823 + Description: Unicode text conversion operation failed. + +NSSS_E_TRANSPORT_FAILURE -824 + Description: Connection to server is lost. + +NSSS_E_CRYPTO_OP_FAILURE -825 + Description: Cryptographic operation failed. + +NSSS_E_SERVER_CONN_FAILURE -826 + Description: Opening a connection to the server failed. + +NSSS_E_CONN_ACCESS_FAILURE -827 + Description: Access to server connection failed. + +NSSS_E_ENUM_BUFF_TOO_LONG -828 + Description: Size of the enumeration buffer exceeds the limit. + +NSSS_E_SECRET_BUFF_TOO_LONG -829 + Description: Size of the Secret buffer exceeds the limit. + +NSSS_E_SECRET_ID_TOO_SHORT -830 + Description: Lenght of the Secret ID should be greater than zero. + +NSSS_E_CORRUPTED_PACKET_DATA -831 + Description: Protocol data corrupted on the wire. + +NSSS_E_EP_ACCESS_DENIED -832 + Description: EP password validation failed. Access to the secret denied! + +NSSS_E_SCHEMA_NOT_EXTENDED -833 + Description: Schema is not extended to support SecreStore on the target tree. + +NSSS_E_ATTR_NOT_FOUND -834 + Description: One of the optional service attributes is not instantiated. + +NSSS_E_MIGRATION_NEEDED -835 + Description: Server has been upgraded and user SecretStore should be updated. + +NSSS_E_MP_PWORD_INVALID -836 + Description: Master passwrod could not be verified to read or unlock the secrets. + +NSSS_E_MP_PWORD_NOT_SET -837 + Description: Master password has not been set on the SecretStore. + +NSSS_E_MP_PWORD_NOT_ALLOWED -838 + Description: Ability to use master password has been disabled. + +NSSS_E_WRONG_REPLICA_TYPE -839 + Description: Not a writeable replica of NDS. + +NSSS_E_ATTR_VAL_NOT_FOUND -840 + Description: Target attrbute is not instantiated in NDS. + +NSSS_E_INVALID_PARAM -841 + Description: API parameter is not initialized. + +NSSS_E_NEED_SECURE_CHANNEL -842 + Description: Connection to the SecretStore needs to be over SSL. + +NSSS_E_CONFIG_NOT_SUPPORTED -843 + Description: No server to support the given override configuration is found. + +NSSS_E_STORE_NOT_LOCKED -844 + Description: Attempt to unlock SecretStore failed because the store is not locked. + +NSSS_E_TIME_OUT_OF_SYNC -845 + Description: NDS Replica on the server that holds SecretStore is out of sync with the replica ring. + +NSSS_E_VERSION_MISMATCH -846 + Description: Versions of the client dlls don't match. + +NSSS_E_SECRET_BUFF_TOO_SHORT -847 + Description: Buffer supplied for the secret is too short (minimum NSSS_MIN_IDLIST_BUF_LEN). + +NSSS_E_SH_SECRET_FAILURE -848 + Description: Shared Secret processing and operations failed. + +NSSS_E_PARSER_FAILURE -849 + Description: Shared Secret parser operations failed. + +NSSS_E_UTF8_OP_FAILURE -850 + Description: Utf8 string operations failed. + +NSSS_E_CTX_LESS_CN_NOT_UNIQUE -851 + Description: Contextless name for LDAP bind does not resolve to a unique DN + +NSSS_E_UNSUPPORTED_BIND_CRED -852 + Description: login credential for advanced bind is not supported + +NSSS_E_CERTIFICATE_NOT_FOUND -853 + Description: LDAP Root Cert required for Bind operations not found + + +NSSS_E_NOT_IMPLEMENTED -888 + Description: Feature not implemented yet. + +NSSS_E_BETA_EXPIRED -899 + Description: Product's BETA life has expired! Official release copy should be + purchased. + + + + ########################### END OFERROR CODES ########################## */ + + +/* ######################################################################## */ +/* #################### TRANSLATION MACROS FOR OLD NAMES ################## */ +/* ######################################################################## */ + +#define NSSO_SUCCESS NSSS_SUCCESS +#define NSSO_E_OBJECT_NOT_FOUND NSSS_E_OBJECT_NOT_FOUND +#define NSSO_E_NICI_FAILURE NSSS_E_NICI_FAILURE +#define NSSO_E_INVALID_SECRET_ID NSSS_E_INVALID_SECRET_ID +#define NSSO_E_SYSTEM_FAILURE NSSS_E_SYSTEM_FAILURE +#define NSSO_E_ACCESS_DENIED NSSS_E_ACCESS_DENIED +#define NSSO_E_NDS_INTERNAL_FAILURE NSSS_E_NDS_INTERNAL_FAILURE +#define NSSO_E_SECRET_UNINITIALIZED NSSS_E_SECRET_UNINITIALIZED +#define NSSO_E_BUFFER_LEN NSSS_E_BUFFER_LEN +#define NSSO_E_INCOMPATIBLE_VERSION NSSS_E_INCOMPATIBLE_VERSION +#define NSSO_E_CORRUPTED_STORE NSSS_E_CORRUPTED_STORE +#define NSSO_E_SECRET_ID_EXISTS NSSS_E_SECRET_ID_EXISTS +#define NSSO_E_NDS_PWORD_CHANGED NSSS_E_NDS_PWORD_CHANGED +#define NSSO_E_INVALID_TARGET_OBJECT NSSS_E_INVALID_TARGET_OBJECT +#define NSSO_E_STORE_NOT_FOUND NSSS_E_STORE_NOT_FOUND +#define NSSO_E_SERVICE_NOT_FOUND NSSS_E_SERVICE_NOT_FOUND +#define NSSO_E_SECRET_ID_TOO_LONG NSSS_E_SECRET_ID_TOO_LONG +#define NSSO_E_ENUM_BUFF_TOO_SHORT NSSS_E_ENUM_BUFF_TOO_SHORT +#define NSSO_E_NOT_AUTHENTICATED NSSS_E_NOT_AUTHENTICATED +#define NSSO_E_NOT_SUPPORTED NSSS_E_NOT_SUPPORTED +#define NSSO_E_NDS_PWORD_INVALID NSSS_E_NDS_PWORD_INVALID +#define NSSO_E_NICI_OUTOF_SYNC NSSS_E_NICI_OUTOF_SYNC +#define NSSO_E_SERVICE_NOT_SUPPORTED NSSS_E_SERVICE_NOT_SUPPORTED +#define NSSO_E_TOKEN_NOT_SUPPORTED NSSS_E_TOKEN_NOT_SUPPORTED +#define NSSO_E_UNICODE_OP_FAILURE NSSS_E_UNICODE_OP_FAILURE +#define NSSO_E_TRANSPORT_FAILURE NSSS_E_TRANSPORT_FAILURE +#define NSSO_E_CRYPTO_OP_FAILURE NSSS_E_CRYPTO_OP_FAILURE +#define NSSO_E_SERVER_CONN_FAILURE NSSS_E_SERVER_CONN_FAILURE +#define NSSO_E_CONN_ACCESS_FAILURE NSSS_E_CONN_ACCESS_FAILURE +#define NSSO_E_ENUM_BUFF_TOO_LONG NSSS_E_ENUM_BUFF_TOO_LONG +#define NSSO_E_SECRET_BUFF_TOO_LONG NSSS_E_SECRET_BUFF_TOO_LONG +#define NSSO_E_SECRET_ID_TOO_SHORT NSSS_E_SECRET_ID_TOO_SHORT +#define NSSO_E_CORRUPTED_PACKET_DATA NSSS_E_CORRUPTED_PACKET_DATA +#define NSSO_E_EP_ACCESS_DENIED NSSS_E_EP_ACCESS_DENIED +#define NSSO_E_SCHEMA_NOT_EXTENDED NSSS_E_SCHEMA_NOT_EXTENDED +#define NSSO_E_ATTR_NOT_FOUND NSSS_E_ATTR_NOT_FOUND +#define NSSO_E_MIGRATION_NEEDED NSSS_E_MIGRATION_NEEDED +#define NSSO_E_MP_PWORD_INVALID NSSS_E_MP_PWORD_INVALID +#define NSSO_E_MP_PWORD_NOT_SET NSSS_E_MP_PWORD_NOT_SET +#define NSSO_E_MP_PWORD_NOT_ALLOWED NSSS_E_MP_PWORD_NOT_ALLOWED +#define NSSO_E_WRONG_REPLICA_TYPE NSSS_E_WRONG_REPLICA_TYPE +#define NSSO_E_ATTR_VAL_NOT_FOUND NSSS_E_ATTR_VAL_NOT_FOUND +#define NSSO_E_INVALID_PARAM NSSS_E_INVALID_PARAM +#define NSSO_E_NEED_SECURE_CHANNEL NSSS_E_NEED_SECURE_CHANNEL +#define NSSO_E_CONFIG_NOT_SUPPORTED NSSS_E_CONFIG_NOT_SUPPORTED +#define NSSO_E_STORE_NOT_LOCKED NSSS_E_STORE_NOT_LOCKED +#define NSSO_E_TIME_OUT_OF_SYNC NSSS_E_TIME_OUT_OF_SYNC + +#define NSSO_E_NOT_IMPLEMENTED NSSS_E_NOT_IMPLEMENTED +#define NSSO_E_BETA_EXPIRED NSSS_E_BETA_EXPIRED + +#define NSSO_NICI_UNDETERMINED_ENGINE NSSS_NICI_UNDETERMINED_ENGINE +#define NSSO_NICI_DOMESTIC_ENGINE NSSS_NICI_DOMESTIC_ENGINE +#define NSSO_NICI_EXPORT_ENGINE NSSS_NICI_EXPORT_ENGINE + +#endif /* _NSSS_H */ + + +#define NSSO_VERSION_NUMBER NSSS_VERSION_NUMBER +#define NSSO_MAX_SECRET_ID_CHARS NSSS_MAX_SECRET_ID_CHARS +#define NSSO_MAX_SECRET_ID_LEN NSSS_MAX_SECRET_ID_LEN +#define NSSO_MID_SECRET_BUF_LEN NSSS_MID_SECRET_BUF_LEN +#define NSSO_MAX_SECRET_BUF_LEN NSSS_MAX_SECRET_BUF_LEN +#define NSSO_MAX_EP_PWORD_CHARS NSSS_MAX_EP_PWORD_CHARS +#define NSSO_MAX_EP_PWORD_LEN NSSS_MAX_EP_PWORD_LEN +#define NSSO_MAX_LDAP_PWORD_LEN NSSS_MAX_LDAP_PWORD_LEN +#define NSSO_MAX_MP_PWORD_HINT_CHARS NSSS_MAX_MP_PWORD_HINT_CHARS +#define NSSO_MAX_MP_PWORD_HINT_LEN NSSS_MAX_MP_PWORD_HINT_LEN +#define NSSO_MAX_TREE_NAME_CHARS NSSS_MAX_TREE_NAME_CHARS +#define NSSO_MAX_TREE_NAME_LEN NSSS_MAX_TREE_NAME_LEN +#define NSSO_MAX_DN_CHARS NSSS_MAX_DN_CHARS +#define NSSO_MAX_DN_LEN NSSS_MAX_DN_LEN +#define NSSO_MAX_IP_ADDR_LEN NSSS_MAX_IP_ADDR_LEN +#define NSSO_MIN_IDLIST_BUF_LEN NSSS_MIN_IDLIST_BUF_LEN +#define NSSO_MID_IDLIST_BUF_LEN NSSS_MID_IDLIST_BUF_LEN +#define NSSO_MAX_IDLIST_BUF_LEN NSSS_MAX_IDLIST_BUF_LEN +#define NSSO_JUMBO_IDLIST_BUF_LEN NSSS_JUMBO_IDLIST_BUF_LEN +#define NSSO_JUMBO_ENUM_BUF_LEN NSSS_JUMBO_ENUM_BUF_LEN +#define NSSO_ENUM_BUFFER_GUESS NSSS_ENUM_BUFFER_GUESS +#define NSSO_ENUM_DELIM NSSS_ENUM_DELIM + +#define NSSO_REMOVE_LOCK_FROM_STORE_F NSSS_REMOVE_LOCK_FROM_STORE_F +#define NSSO_ENHANCED_PROTECTION_F NSSS_ENHANCED_PROTECTION_F +#define NSSO_CREATE_ID_F NSSS_CREATE_ID_F +#define NSSO_EP_PASSWORD_USED_F NSSS_EP_PASSWORD_USED_F +#define NSSO_REPAIR_THE_STORE_F NSSS_REPAIR_THE_STORE_F +#define NSSO_ALL_STRINGS_UNICODE_F NSSS_ALL_STRINGS_UNICODE_F +#define NSSO_SET_TREE_NAME_F NSSS_SET_TREE_NAME_F +#define NSSO_DESTROY_CONTEXT_F NSSS_DESTROY_CONTEXT_F +#define NSSO_UNBINDLDAP_F NSSS_UNBINDLDAP_F +#define NSSO_GET_CONTEXT_F NSSS_GET_CONTEXT_F +#define NSSO_BINDLDAP_F NSSS_BINDLDAP_F +#define NSSO_SECRET_LOCKED_F NSSS_SECRET_LOCKED_F +#define NSSO_SECRET_NOT_INITIALIZED_F NSSS_SECRET_NOT_INITIALIZED_F +#define NSSO_ENHANCED_PROTECT_INFO_F NSSS_ENHANCED_PROTECT_INFO_F +#define NSSO_STORE_NOT_SYNCED_F NSSS_STORE_NOT_SYNCED_F +#define NSSO_EP_PWORD_PRESENT_F NSSS_EP_PWORD_PRESENT_F +#define NSSO_EP_MASTER_PWORD_USED_F NSSS_EP_MASTER_PWORD_USED_F +#define NSSO_ADMIN_LAST_MOD_F NSSS_ADMIN_LAST_MOD_F +#define NSSO_EP_MASTER_PWORD_PRESENT_F NSSS_EP_MASTER_PWORD_PRESENT_F +#define NSSO_MP_NOT_ALLOWED_F NSSS_MP_NOT_ALLOWED_F +#define NSSO_SYNC_IN_PROGRESS_F NSSS_SYNC_IN_PROGRESS_F +#define NSSO_ADMIN_UNLOCKED_F NSSS_ADMIN_UNLOCKED_F +#define NSSO_DS_CTX_F NSSS_NCP_CTX_F +#define NSSO_LDAP_CTX_F NSSS_LDAP_CTX_F +#define NSSO_NICI_CTX_F NSSS_NICI_CTX_F + +#define NSSO_ReadSecret NSSS_ReadSecret +#define NSSO_WriteSecret NSSS_WriteSecret +#define NSSO_AddSecretID NSSS_AddSecretID +#define NSSO_RemoveSecretID NSSS_RemoveSecret +#define NSSO_GetServiceInformation NSSS_GetServiceInformation +#define NSSO_UnlockSecrets NSSS_UnlockSecrets +#define NSSO_RemoveSecretStore NSSS_RemoveSecretStore +#define NSSO_EnumerateSecretIDs NSSS_EnumerateSecretIDs +#define NSSO_SetEPMasterPassword NSSS_SetEPMasterPassword + + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + +#endif /* _NSSSCL_H */ diff --git a/CASA/include/sscs_unx_ipc_client.h b/CASA/include/sscs_unx_ipc_client.h index 4bcb23b3..ea61550d 100644 --- a/CASA/include/sscs_unx_ipc_client.h +++ b/CASA/include/sscs_unx_ipc_client.h @@ -21,81 +21,81 @@ ***********************************************************************/ -#ifndef _SSCS_UNX_IPC_CLIENT_H_ -#define _SSCS_UNX_IPC_CLIENT_H_ - -#ifdef SSCS_LINUX_PLAT_F -#include -#include -#include -#include -#endif - -#ifdef SSCS_LINUX_PLAT_F -#include -#include -#include -#endif -#include -#include "sscs_unx_cache_defines.h" - -#ifndef _SSCS_CACHE_H -#include "../include/sscs_cache.h" -#endif -#include "../include/sscs_trans.h" - -// Used for global buffers. -//#define MIN_REQUEST_BUF_LEN 1024 -//#define MIN_REPLY_BUF_LEN 4096 - -// Some debug stuff -#ifdef DEBUG -#define DMSG(x) printf x -#else -#define DMSG(x) -#endif - -typedef struct ipcOpenSecretStoreReqMsg -{ - unsigned short msgid; - unsigned int msgLen; - unsigned int version; - unsigned int ssNameLen; - unsigned char ssName[0]; -} IPC_OPEN_SECRETSTOR_REQ_MSG; - -typedef struct ipcOpenSecretStoreResMsg -{ - unsigned short msgid; - unsigned int msgLen; - int retVal; - unsigned int version; -}IPC_OPEN_SECRETSTOR_RES_MSG; - -typedef struct ipcCloseSecretStoreReqMsg -{ - unsigned short msgid; - unsigned int msgLen; -}IPC_CLOSE_SECRETSTORE_REQ_MSG; - -typedef struct ipcCloseSecretStoreResMsg -{ - unsigned short msgid; - unsigned int msgLen; - int retVal; -}IPC_CLOSE_SECRETSTORE_RES_MSG; - -typedef struct ipcRemoveSecretStoreReqMsg -{ - unsigned short msgid; - unsigned int msgLen; -}IPC_REMOVE_SECRETSTORE_REQ_MSG; - -typedef struct ipcRemoveSecretStoreResMsg -{ - unsigned short msgid; - unsigned int msgLen; - int retVal; -}IPC_REMOVE_SECRETSTORE_RES_MSG; - -#endif //_IPC_CLIENT_H_ +#ifndef _SSCS_UNX_IPC_CLIENT_H_ +#define _SSCS_UNX_IPC_CLIENT_H_ + +#ifdef SSCS_LINUX_PLAT_F +#include +#include +#include +#include +#endif + +#ifdef SSCS_LINUX_PLAT_F +#include +#include +#include +#endif +#include +#include "sscs_unx_cache_defines.h" + +#ifndef _SSCS_CACHE_H +#include "../include/sscs_cache.h" +#endif +#include "../include/sscs_trans.h" + +// Used for global buffers. +//#define MIN_REQUEST_BUF_LEN 1024 +//#define MIN_REPLY_BUF_LEN 4096 + +// Some debug stuff +#ifdef DEBUG +#define DMSG(x) printf x +#else +#define DMSG(x) +#endif + +typedef struct ipcOpenSecretStoreReqMsg +{ + unsigned short msgid; + unsigned int msgLen; + unsigned int version; + unsigned int ssNameLen; + unsigned char ssName[0]; +} IPC_OPEN_SECRETSTOR_REQ_MSG; + +typedef struct ipcOpenSecretStoreResMsg +{ + unsigned short msgid; + unsigned int msgLen; + int retVal; + unsigned int version; +}IPC_OPEN_SECRETSTOR_RES_MSG; + +typedef struct ipcCloseSecretStoreReqMsg +{ + unsigned short msgid; + unsigned int msgLen; +}IPC_CLOSE_SECRETSTORE_REQ_MSG; + +typedef struct ipcCloseSecretStoreResMsg +{ + unsigned short msgid; + unsigned int msgLen; + int retVal; +}IPC_CLOSE_SECRETSTORE_RES_MSG; + +typedef struct ipcRemoveSecretStoreReqMsg +{ + unsigned short msgid; + unsigned int msgLen; +}IPC_REMOVE_SECRETSTORE_REQ_MSG; + +typedef struct ipcRemoveSecretStoreResMsg +{ + unsigned short msgid; + unsigned int msgLen; + int retVal; +}IPC_REMOVE_SECRETSTORE_RES_MSG; + +#endif //_IPC_CLIENT_H_ diff --git a/CASA/include/sscs_utf8.h b/CASA/include/sscs_utf8.h index b67648e1..0d1d36c3 100644 --- a/CASA/include/sscs_utf8.h +++ b/CASA/include/sscs_utf8.h @@ -20,38 +20,38 @@ * ***********************************************************************/ - -#ifndef _SSUTF8_H_ -#define _SSUTF8_H_ - -#if defined(__cplusplus) || defined(c_plusplus) -extern "C" -{ -#endif - -#include "sscs_string.h" - -#ifndef _MICASA_H_ -/* defining the utf8 for SSCS */ -typedef unsigned char SS_UTF8_T; -#endif - -#define sscs_Utf8Strlen(s) sscs_strlen((s)) -#define sscs_Utf8StrSize(s) (sscs_strlen((s)) ? (sscs_strlen((s))+1) : 0) -#define sscs_Utf8Strcpy(s1, s2) sscs_strcpy((s1),(s2)) -#define sscs_Utf8Strcat(s1, s2) sscs_strcat((s1),(s2)) -#define sscs_Utf8Strcmp(s1, s2) sscs_strcmp((s1),(s2)) -#define sscs_Utf8Stricmp(s1, s2) sscs_stricmp((s1),(s2)) -#define sscs_Utf8Strstr(s1, s2) sscs_strstr((s1),(s2)) -#define sscs_Utf8Strchr(s1, c) sscs_strchr((s1),(c)) -#define sscs_Utf8Strncat(s1, s2, l) {(s2)[(l)-1]='\0';strncat((s1),(s2),(l));} -#define sscs_Utf8Strncmp(s1, s2, l) (strncmp((s1),(s2),(l))) -#define sscs_Utf8Strncpy(s1, s2, l) {(s2)[(l)-1]='\0';strncpy((s1),(s2),(l));} - - -#if defined(__cplusplus) || defined(c_plusplus) -} -#endif - - -#endif + +#ifndef _SSUTF8_H_ +#define _SSUTF8_H_ + +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" +{ +#endif + +#include "sscs_string.h" + +#ifndef _MICASA_H_ +/* defining the utf8 for SSCS */ +typedef unsigned char SS_UTF8_T; +#endif + +#define sscs_Utf8Strlen(s) sscs_strlen((s)) +#define sscs_Utf8StrSize(s) (sscs_strlen((s)) ? (sscs_strlen((s))+1) : 0) +#define sscs_Utf8Strcpy(s1, s2) sscs_strcpy((s1),(s2)) +#define sscs_Utf8Strcat(s1, s2) sscs_strcat((s1),(s2)) +#define sscs_Utf8Strcmp(s1, s2) sscs_strcmp((s1),(s2)) +#define sscs_Utf8Stricmp(s1, s2) sscs_stricmp((s1),(s2)) +#define sscs_Utf8Strstr(s1, s2) sscs_strstr((s1),(s2)) +#define sscs_Utf8Strchr(s1, c) sscs_strchr((s1),(c)) +#define sscs_Utf8Strncat(s1, s2, l) {(s2)[(l)-1]='\0';strncat((s1),(s2),(l));} +#define sscs_Utf8Strncmp(s1, s2, l) (strncmp((s1),(s2),(l))) +#define sscs_Utf8Strncpy(s1, s2, l) {(s2)[(l)-1]='\0';strncpy((s1),(s2),(l));} + + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + + +#endif diff --git a/CASA/include/sscs_win_secretstoredef.h b/CASA/include/sscs_win_secretstoredef.h index a757d6c0..79d42f64 100644 --- a/CASA/include/sscs_win_secretstoredef.h +++ b/CASA/include/sscs_win_secretstoredef.h @@ -20,253 +20,253 @@ * ***********************************************************************/ -#ifndef _SECRETSTOREDEF_ -#define _SECRETSTOREDEF_ - - -//===[ Header files specific to this module ]============================== -#include -#include -#include - -//===[ Manifest constants ]============================== - -// {A118B15C-66A3-46ba-BA3B-D45FBBF0C5DA} -DEFINE_GUID(CLSID_SecretStoreClientService, - 0xa118b15c, - 0x66a3, - 0x46ba, - 0xba, 0x3b, 0xd4, 0x5f, 0xbb, 0xf0, 0xc5, 0xda); - -// {6DF6121E-C823-43dd-9D1C-7B89056CC4AE} -DEFINE_GUID(IID_SSCS, - 0x6df6121e, - 0xc823, - 0x43dd, - 0x9d, 0x1c, 0x7b, 0x89, 0x5, 0x6c, 0xc4, 0xae); - - -//===[ Structure Definitions ]============================== - -//===[ Function Prototypes ]============================== - -// {54BFEBE2-F726-44d9-AEDE-E9252FA99549} -DEFINE_GUID(IID_VerifyAccessSS_1, - 0x2d4c7faa, - 0x8e3c, - 0x4c70, - 0x87, 0xa7, 0xc8, 0x7d, 0xad, 0x80, 0x2a, 0xd); - -/* - 0x54bfebe2, - 0xf726, - 0x44d9, - 0xae, 0xde, 0xe9, 0x25, 0x2f, 0xa9, 0x95, 0x49); -*/ - -#undef NICM_INTERFACE -#define NICM_INTERFACE IVerifiedAccessSS - - -NICM_DECLARE_INHERITTED_INTERFACE(IVerifiedAccessSS, NICM_IUnknown) -{ - VIRT NCSTATUS NICM_STDMETHOD - (QueryInterface) ( - IN THISPTR - IN const GUID *pIId, - OUT void **ppvObj - ) PURE; - - VIRT UINT32 NICM_STDMETHOD - (AddRef) ( - IN THISPTRONLY - ) PURE; - - VIRT UINT32 NICM_STDMETHOD - (Release) ( - IN THISPTRONLY - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (QuerySecureInterface) ( - IN THISPTR - IN HMODULE hModule, - IN const GUID *pIId, - OUT void **ppvObj - ) PURE; -}; - -typedef IVerifiedAccessSS FAR *PIVerifiedAccessSS; - - -#undef NICM_INTERFACE -#define NICM_INTERFACE ISecretStore - -NICM_DECLARE_INHERITTED_INTERFACE(ISecretStore, NICM_IUnknown) -{ - VIRT NCSTATUS NICM_STDMETHOD - (QueryInterface) ( - IN THISPTR - IN const GUID *pIId, - OUT void **ppvObj - ) PURE; - - VIRT UINT32 NICM_STDMETHOD - (AddRef) ( - IN THISPTRONLY - ) PURE; - - VIRT UINT32 NICM_STDMETHOD - (Release) ( - IN THISPTRONLY - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheOpenSecretStore) - ( - IN THISPTR - IN PVOID secretStoreID, - IN ULONG ssFlags, - OUT PVOID ssHandle, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheCloseSecretStore) - ( - IN THISPTR - IN PVOID ssHandle, - IN ULONG ssFlags, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheRemoveSecretStore) - ( - IN THISPTR - IN PVOID ssHandle, - IN ULONG ssFlags, - IN OUT PVOID reserved - ) PURE; - - - VIRT NCSTATUS NICM_STDMETHOD - (CacheRemoveSecret) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN SSCS_SECRET_ID_T *secretID, - IN SSCS_PASSWORD_T *epPassword, - IN PVOID reserved - ) PURE; - - - VIRT NCSTATUS NICM_STDMETHOD - (CacheReadSecret) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN SSCS_SECRET_ID_T *secretID, - IN OUT SSCS_SECRET_T *secretData, - IN SSCS_PASSWORD_T *epPassword, - IN OUT void *bytesRequired, - IN OUT void *reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheWriteSecret) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN SSCS_SECRET_ID_T *secretID, - IN SSCS_SECRET_T *secretData, - IN SSCS_PASSWORD_T *epPassword, - IN void *reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheEnumerateSecretIDs) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN SSCS_SRCH_KEY_T *searchKey, - IN OUT SSCS_SECRET_ID_LIST_T *secretIDList, - IN OUT VOID *reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheEnumerateKeyChainIDs) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssflags, - IN SSCS_SRCH_KEY_T *searchKey, - IN OUT SSCS_KEYCHAIN_ID_LIST_T *kcIDList, - IN OUT VOID *reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheAddKeyChain) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheRemoveKeyChain) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheGetSecretStoreInfo) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_SECRETSTORE_INFO_T *ssInfo, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (CacheGetKeychainInfo) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_KEYCHAIN_ID_T *keyChainID, - IN SSCS_KEYCHAIN_INFO_T *kcInfo, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (LockCache ) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN OUT PVOID reserved - ) PURE; - - VIRT NCSTATUS NICM_STDMETHOD - (UnLockCache ) ( - IN THISPTR - IN SCHANDLE hSC, - IN ULONG ssFlags, - IN SSCS_PASSCODE_T *passcode, - IN OUT PVOID reserved - ) PURE; -}; - -typedef ISecretStore FAR *PISecretStore; - -#endif // _SECRETSTOREDEF_ - -//========================================================================= -//========================================================================= - +#ifndef _SECRETSTOREDEF_ +#define _SECRETSTOREDEF_ + + +//===[ Header files specific to this module ]============================== +#include +#include +#include + +//===[ Manifest constants ]============================== + +// {A118B15C-66A3-46ba-BA3B-D45FBBF0C5DA} +DEFINE_GUID(CLSID_SecretStoreClientService, + 0xa118b15c, + 0x66a3, + 0x46ba, + 0xba, 0x3b, 0xd4, 0x5f, 0xbb, 0xf0, 0xc5, 0xda); + +// {6DF6121E-C823-43dd-9D1C-7B89056CC4AE} +DEFINE_GUID(IID_SSCS, + 0x6df6121e, + 0xc823, + 0x43dd, + 0x9d, 0x1c, 0x7b, 0x89, 0x5, 0x6c, 0xc4, 0xae); + + +//===[ Structure Definitions ]============================== + +//===[ Function Prototypes ]============================== + +// {54BFEBE2-F726-44d9-AEDE-E9252FA99549} +DEFINE_GUID(IID_VerifyAccessSS_1, + 0x2d4c7faa, + 0x8e3c, + 0x4c70, + 0x87, 0xa7, 0xc8, 0x7d, 0xad, 0x80, 0x2a, 0xd); + +/* + 0x54bfebe2, + 0xf726, + 0x44d9, + 0xae, 0xde, 0xe9, 0x25, 0x2f, 0xa9, 0x95, 0x49); +*/ + +#undef NICM_INTERFACE +#define NICM_INTERFACE IVerifiedAccessSS + + +NICM_DECLARE_INHERITTED_INTERFACE(IVerifiedAccessSS, NICM_IUnknown) +{ + VIRT NCSTATUS NICM_STDMETHOD + (QueryInterface) ( + IN THISPTR + IN const GUID *pIId, + OUT void **ppvObj + ) PURE; + + VIRT UINT32 NICM_STDMETHOD + (AddRef) ( + IN THISPTRONLY + ) PURE; + + VIRT UINT32 NICM_STDMETHOD + (Release) ( + IN THISPTRONLY + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (QuerySecureInterface) ( + IN THISPTR + IN HMODULE hModule, + IN const GUID *pIId, + OUT void **ppvObj + ) PURE; +}; + +typedef IVerifiedAccessSS FAR *PIVerifiedAccessSS; + + +#undef NICM_INTERFACE +#define NICM_INTERFACE ISecretStore + +NICM_DECLARE_INHERITTED_INTERFACE(ISecretStore, NICM_IUnknown) +{ + VIRT NCSTATUS NICM_STDMETHOD + (QueryInterface) ( + IN THISPTR + IN const GUID *pIId, + OUT void **ppvObj + ) PURE; + + VIRT UINT32 NICM_STDMETHOD + (AddRef) ( + IN THISPTRONLY + ) PURE; + + VIRT UINT32 NICM_STDMETHOD + (Release) ( + IN THISPTRONLY + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheOpenSecretStore) + ( + IN THISPTR + IN PVOID secretStoreID, + IN ULONG ssFlags, + OUT PVOID ssHandle, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheCloseSecretStore) + ( + IN THISPTR + IN PVOID ssHandle, + IN ULONG ssFlags, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheRemoveSecretStore) + ( + IN THISPTR + IN PVOID ssHandle, + IN ULONG ssFlags, + IN OUT PVOID reserved + ) PURE; + + + VIRT NCSTATUS NICM_STDMETHOD + (CacheRemoveSecret) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN SSCS_SECRET_ID_T *secretID, + IN SSCS_PASSWORD_T *epPassword, + IN PVOID reserved + ) PURE; + + + VIRT NCSTATUS NICM_STDMETHOD + (CacheReadSecret) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN SSCS_SECRET_ID_T *secretID, + IN OUT SSCS_SECRET_T *secretData, + IN SSCS_PASSWORD_T *epPassword, + IN OUT void *bytesRequired, + IN OUT void *reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheWriteSecret) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN SSCS_SECRET_ID_T *secretID, + IN SSCS_SECRET_T *secretData, + IN SSCS_PASSWORD_T *epPassword, + IN void *reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheEnumerateSecretIDs) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN SSCS_SRCH_KEY_T *searchKey, + IN OUT SSCS_SECRET_ID_LIST_T *secretIDList, + IN OUT VOID *reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheEnumerateKeyChainIDs) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssflags, + IN SSCS_SRCH_KEY_T *searchKey, + IN OUT SSCS_KEYCHAIN_ID_LIST_T *kcIDList, + IN OUT VOID *reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheAddKeyChain) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheRemoveKeyChain) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheGetSecretStoreInfo) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_SECRETSTORE_INFO_T *ssInfo, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (CacheGetKeychainInfo) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_KEYCHAIN_ID_T *keyChainID, + IN SSCS_KEYCHAIN_INFO_T *kcInfo, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (LockCache ) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN OUT PVOID reserved + ) PURE; + + VIRT NCSTATUS NICM_STDMETHOD + (UnLockCache ) ( + IN THISPTR + IN SCHANDLE hSC, + IN ULONG ssFlags, + IN SSCS_PASSCODE_T *passcode, + IN OUT PVOID reserved + ) PURE; +}; + +typedef ISecretStore FAR *PISecretStore; + +#endif // _SECRETSTOREDEF_ + +//========================================================================= +//========================================================================= + diff --git a/CASA/jwrapper/CMakeLists.txt b/CASA/jwrapper/CMakeLists.txt new file mode 100644 index 00000000..d44e8e8f --- /dev/null +++ b/CASA/jwrapper/CMakeLists.txt @@ -0,0 +1,29 @@ +################################# +# Project +############## + +project(jwrapper) + +add_subdirectory(src) +add_subdirectory(jnsscs) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +################################# +# Source Files +############## + +################################# +# Linking +############## + +################################# +# Install Files +############## + diff --git a/CASA/jwrapper/Makefile.am b/CASA/jwrapper/Makefile.am deleted file mode 100644 index d3a0e992..00000000 --- a/CASA/jwrapper/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = src jnsscs - -DIST_SUBDIRS = src jnsscs - -EXTRA_DIST = c_jwrapper* - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/jwrapper/c_jwrapper.ipr b/CASA/jwrapper/c_jwrapper.ipr deleted file mode 100644 index bb728f9c..00000000 --- a/CASA/jwrapper/c_jwrapper.ipr +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/jwrapper/c_jwrapper.iws b/CASA/jwrapper/c_jwrapper.iws deleted file mode 100644 index 239403bf..00000000 --- a/CASA/jwrapper/c_jwrapper.iws +++ /dev/null @@ -1,510 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/jwrapper/jnsscs/CMakeLists.txt b/CASA/jwrapper/jnsscs/CMakeLists.txt new file mode 100644 index 00000000..c3d1aac9 --- /dev/null +++ b/CASA/jwrapper/jnsscs/CMakeLists.txt @@ -0,0 +1,54 @@ +################################# +# Project +############## + +project(jmicasa) + +################################# +# Dependencies +############## + +add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/com_novell_casa_MiCasa.h + COMMAND "${JAVA_HEADER_COMPILE}" -jni -d ${CMAKE_CURRENT_BINARY_DIR} + com.novell.casa.MiCasa + WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/jwrapper/src/class + COMMENT "generating jni header file ${CMAKE_CURRENT_BINARY_DIR}/com_novell_casa_MiCasa.h" +) + + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${JNI_INCLUDE_DIRS} +) + +link_directories( + ${CMAKE_BINARY_DIR}/micasadk +) + + +# add_definitions( -DSSCS_LINUX_PLAT_F -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX38 ) + +################################# +# Source Files +############## + +add_library(jmicasa SHARED jmicasa.c ${CMAKE_CURRENT_BINARY_DIR}/com_novell_casa_MiCasa.h) + +################################# +# Linking +############## + +set_target_properties(jmicasa PROPERTIES VERSION 1.1.1 SOVERSION 1 LINK_FLAGS -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/jmicasa_lux.exp) +target_link_libraries(jmicasa micasa) + +################################# +# Install Files +############## + +install(TARGETS jmicasa DESTINATION ${LIB_INSTALL_DIR}) diff --git a/CASA/jwrapper/jnsscs/Makefile.am b/CASA/jwrapper/jnsscs/Makefile.am deleted file mode 100644 index 2667ba9f..00000000 --- a/CASA/jwrapper/jnsscs/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux - -EXTRA_DIST = *.c jnsscs* windows - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/jwrapper/jnsscs/linux/jmicasa_lux.exp b/CASA/jwrapper/jnsscs/jmicasa_lux.exp similarity index 100% rename from CASA/jwrapper/jnsscs/linux/jmicasa_lux.exp rename to CASA/jwrapper/jnsscs/jmicasa_lux.exp diff --git a/CASA/jwrapper/jnsscs/jnsscs.ncb b/CASA/jwrapper/jnsscs/jnsscs.ncb deleted file mode 100644 index abb2045c..00000000 Binary files a/CASA/jwrapper/jnsscs/jnsscs.ncb and /dev/null differ diff --git a/CASA/jwrapper/jnsscs/jnsscs.sln b/CASA/jwrapper/jnsscs/jnsscs.sln deleted file mode 100644 index 6306f3f5..00000000 --- a/CASA/jwrapper/jnsscs/jnsscs.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jnsscs", "jnsscs.vcproj", "{3CA87960-868D-4F3B-BD21-30062A9F89AD}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {3CA87960-868D-4F3B-BD21-30062A9F89AD}.Debug.ActiveCfg = Debug|Win32 - {3CA87960-868D-4F3B-BD21-30062A9F89AD}.Debug.Build.0 = Debug|Win32 - {3CA87960-868D-4F3B-BD21-30062A9F89AD}.Release.ActiveCfg = Release|Win32 - {3CA87960-868D-4F3B-BD21-30062A9F89AD}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/CASA/jwrapper/jnsscs/jnsscs.suo b/CASA/jwrapper/jnsscs/jnsscs.suo deleted file mode 100644 index 2e2b6dd1..00000000 Binary files a/CASA/jwrapper/jnsscs/jnsscs.suo and /dev/null differ diff --git a/CASA/jwrapper/jnsscs/jnsscs.vcproj b/CASA/jwrapper/jnsscs/jnsscs.vcproj deleted file mode 100644 index daf72ec1..00000000 --- a/CASA/jwrapper/jnsscs/jnsscs.vcproj +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/jwrapper/jnsscs/link.w32 b/CASA/jwrapper/jnsscs/link.w32 deleted file mode 100644 index b358789b..00000000 --- a/CASA/jwrapper/jnsscs/link.w32 +++ /dev/null @@ -1,31 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "/LIBPATH:$(MSC)platformsdk/lib" >> $(LINKDEF);\ - echo "/LIBPATH:../../lib/w32" >> $(LINKDEF);\ - echo "kernel32.lib" >> $(LINKDEF);\ - echo "ole32.lib" >> $(LINKDEF);\ - echo "micasa.lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/DEBUG" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:gdi32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comdlg32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:winspool" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:shell32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF); - diff --git a/CASA/jwrapper/jnsscs/link_mdd.w32 b/CASA/jwrapper/jnsscs/link_mdd.w32 deleted file mode 100644 index 8778c1a1..00000000 --- a/CASA/jwrapper/jnsscs/link_mdd.w32 +++ /dev/null @@ -1,31 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "/LIBPATH:$(MSC)platformsdk/lib" >> $(LINKDEF);\ - echo "/LIBPATH:../../lib/w32" >> $(LINKDEF);\ - echo "kernel32.lib" >> $(LINKDEF);\ - echo "ole32.lib" >> $(LINKDEF);\ - echo "micasa.lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/DEBUG" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:MSVCRT" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:gdi32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comdlg32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:winspool" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:shell32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oleaut32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF); \ No newline at end of file diff --git a/CASA/jwrapper/jnsscs/linux/Makefile.am b/CASA/jwrapper/jnsscs/linux/Makefile.am deleted file mode 100644 index 558fc69a..00000000 --- a/CASA/jwrapper/jnsscs/linux/Makefile.am +++ /dev/null @@ -1,117 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = *.exp - -CASAROOT = ../../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = libjmicasa -MODULE_EXT = so - -CFILES = ../jmicasa.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \ - -I/opt/gnome/include/gnome-keyring-1 -RESOURCES = -DEFINES = -CFLAGS += $(INCLUDES) $(DEFINES) -LIBS = -lpthread -ldl -LDFLAGS = -Wl,-Bsymbolic -shared -Wl,--version-script=jmicasa_lux.exp \ - -L$(CASALIBDIR)/$(TARGET_CFG) -lmicasa -Wl,-soname -Wl,libjmicasa.so.1 - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - cc -o $@ $(LDFLAGS) $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/jwrapper/jnsscs/linux/link.lux b/CASA/jwrapper/jnsscs/linux/link.lux deleted file mode 100644 index 642ccf7c..00000000 --- a/CASA/jwrapper/jnsscs/linux/link.lux +++ /dev/null @@ -1,9 +0,0 @@ -LINK = $(CC) \ - -Wl,-Bsymbolic \ - -shared \ - -Wl,--version-script=$(TARGET)_$(PLAT).exp \ - -Wl,-rpath -Wl,/usr/lib$(ARC) \ - -L$(LIBDIR)$(XTRA) -lmicasa \ - -Wl,-soname -Wl,lib$(TARGET).so.$(PROD_NUM) \ - -o $(LIBDIR)$(XTRA)/lib$(TARGET).so.$(BLD_VER) \ - $(OBJDIR)*.$(O) diff --git a/CASA/jwrapper/jnsscs/linux/objs.lux b/CASA/jwrapper/jnsscs/linux/objs.lux deleted file mode 100644 index 8e3c3553..00000000 --- a/CASA/jwrapper/jnsscs/linux/objs.lux +++ /dev/null @@ -1,2 +0,0 @@ -OBJS=\ - jmicasa.$(O) diff --git a/CASA/jwrapper/jnsscs/objs.w32 b/CASA/jwrapper/jnsscs/objs.w32 deleted file mode 100644 index 7ce4a932..00000000 --- a/CASA/jwrapper/jnsscs/objs.w32 +++ /dev/null @@ -1,2 +0,0 @@ -OBJS=\ - jmicasa.$(O) \ No newline at end of file diff --git a/CASA/jwrapper/jnsscs/windows/Makefile.am b/CASA/jwrapper/jnsscs/windows/Makefile.am deleted file mode 100755 index a064c311..00000000 --- a/CASA/jwrapper/jnsscs/windows/Makefile.am +++ /dev/null @@ -1,120 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = *.exp - -CASAROOT = ../../.. - -CASALIBDIR = $(CASAROOT)/lib - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = jmicasa -MODULE_EXT = dll - -CFILES = jmicasa.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/win32 \ -RESOURCES = -DEFINES = -CFLAGS += $(INCLUDES) $(DEFINES) - -LIBS = /LIBPATH:"$(MSC)\lib" /LIBPATH:"$(MSC)\PlatformSDK\lib" /LIBPATH:"$(CASAROOT)/lib/Release" -LDFLAGS = /VERSION:1.1.1 /MACHINE:IX86 \ - /dll - -OBJDIR = ./$(TARGET_CFG)/lib - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -Fo$@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - "$(MSC)\bin\$(LINK)" $(LIBS) $(LDFLAGS) /OUT:$@ $(OBJS) kernel32.lib ole32.lib micasa.lib - - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - cp -f $(OBJDIR)/$(MODULE_NAME).lib $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).lib - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASABINDIR)/$(TARGET_CFG) - cp -f $(OBJDIR)/$(MODULE_NAME).lib $(CASALIBDIR)/$(TARGET_CFG) - cp -f $(OBJDIR)/$(MODULE_NAME).lib $(CASABINDIR)$(TARGET_CFG) - - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - [ -d $(CASABINDIR)/$(TARGET_CFG) ] || mkdir -p $(CASABINDIR)/$(TARGET_CFG) - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/jwrapper/src/CMakeLists.txt b/CASA/jwrapper/src/CMakeLists.txt new file mode 100644 index 00000000..c86519fd --- /dev/null +++ b/CASA/jwrapper/src/CMakeLists.txt @@ -0,0 +1,69 @@ +################################# +# Project +############## + +project(miCASA4java Java) + +SET(CMAKE_VERBOSE_MAKEFILE 1) + +################################# +# Dependencies +############## + +SET (CLASS_DIR "class") +SET (JAR_DIR "jar") +FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${CLASS_DIR}) +FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${JAR_DIR}) + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +#add_definitions( -DSSCS_LINUX_PLAT_F -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX38 ) + +################################# +# Source Files +############## + +SET (JAR_FILE miCASA.jar) +SET (JAVA_FILES MiCasaException MiCasa MiCasaTest NetCredential) + +################################# +# Linking +############## + +# compile all .java files with javac to .class +ADD_CUSTOM_COMMAND( +OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${JAVA_FILES}.class +COMMAND ${CMAKE_Java_COMPILER} +ARGS -d ${CMAKE_CURRENT_BINARY_DIR}/${CLASS_DIR} +${CMAKE_CURRENT_SOURCE_DIR}/com/novell/casa/*.java +) + +# build .jar file from .class files +ADD_CUSTOM_COMMAND( +OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${JAR_FILE} +DEPENDS +${CMAKE_CURRENT_BINARY_DIR}/${JAVA_FILES}.class +COMMAND ${CMAKE_COMMAND} +ARGS -E chdir ${CMAKE_CURRENT_BINARY_DIR} +${CMAKE_Java_ARCHIVE} -cfv ${JAR_DIR}/${JAR_FILE} -C ${CLASS_DIR} com/novell/casa/ +) + +################################# +# Install Files +############## + +# the target +ADD_CUSTOM_TARGET( +${JAR_FILE} +ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${JAR_FILE}) + +# GLOBAL_ADD_ITEM( ${JAR_FILE} ) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${JAR_DIR}/${JAR_FILE} DESTINATION ${LIB_INSTALL_DIR} ) \ No newline at end of file diff --git a/CASA/jwrapper/src/Makefile.am b/CASA/jwrapper/src/Makefile.am deleted file mode 100644 index 8f377e37..00000000 --- a/CASA/jwrapper/src/Makefile.am +++ /dev/null @@ -1,111 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST =$(JAVAFILES) com/novell/casa/*.java - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - - -JAVAROOT = . -JAVAC= javac -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = miCASA -MODULE_EXT = jar - -JAVAFILES = $(srcdir)/com/novell/casa/MiCasa.java \ - $(srcdir)/com/novell/casa/NetCredential.java \ - $(srcdir)/com/novell/casa/MiCasaException.java - -JAVA_CLASS_FILES = com/novell/casa/MiCasa.class \ - com/novell/casa/NetCredential.class \ - com/novell/casa/MiCasaException.class - -CSFILES_CSC := -INCLUDES = $(CASAROOT)/include -RESOURCES = -CFLAGS += $(INCLUDES) $(DEFINES) -LIBS = -LDFLAGS = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -OBJS = - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -$(srcdir)/com/novell/casa/MiCasa.class:$(srcdir)/com/novell/casa/MiCasa.java - @echo making Micasa.class - $(JAVAC) -classpath $(JAVAROOT) $^ - -$(CASAROOT)/include/com_novell_casa_MiCasa.h:$(srcdir)/com/novell/casa/MiCasa.class - javah -d $(INCLUDES) com.novell.casa.MiCasa - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CASAROOT)/include/com_novell_casa_MiCasa.h - jar cvf $(OBJDIR)/miCASA.jar $(JAVA_CLASS_FILES) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - cd $(srcdir)/com/novell/casa && rm -f *.class - cd $(CASAROOT)/include && rm -f com_novell_casa_MiCasa.h - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/logincapture/CMakeLists.txt b/CASA/logincapture/CMakeLists.txt new file mode 100644 index 00000000..855941e4 --- /dev/null +++ b/CASA/logincapture/CMakeLists.txt @@ -0,0 +1,32 @@ +################################# +# Project +############## + +project(logincapture) + +IF(UNIX) + add_subdirectory(linux) +ELSEIF(WIN32) + add_subdirectory(windows) +ENDIF(UNIX) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +################################# +# Source Files +############## + +################################# +# Linking +############## + +################################# +# Install Files +############## + diff --git a/CASA/logincapture/Makefile.am b/CASA/logincapture/Makefile.am deleted file mode 100644 index 0a350fb5..00000000 --- a/CASA/logincapture/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/logincapture/linux/CMakeLists.txt b/CASA/logincapture/linux/CMakeLists.txt new file mode 100644 index 00000000..1657f20c --- /dev/null +++ b/CASA/logincapture/linux/CMakeLists.txt @@ -0,0 +1,26 @@ +################################# +# Project +############## + +add_subdirectory(PAM) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +################################# +# Source Files +############## + +################################# +# Linking +############## + +################################# +# Install Files +############## + diff --git a/CASA/logincapture/linux/Makefile.am b/CASA/logincapture/linux/Makefile.am deleted file mode 100644 index 153c758e..00000000 --- a/CASA/logincapture/linux/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = PAM - -DIST_SUBDIRS = PAM - -EXTRA_DIST = - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/logincapture/linux/PAM/CMakeLists.txt b/CASA/logincapture/linux/PAM/CMakeLists.txt new file mode 100644 index 00000000..72233699 --- /dev/null +++ b/CASA/logincapture/linux/PAM/CMakeLists.txt @@ -0,0 +1,47 @@ +################################# +# Project +############## + +project(pam_micasa) + +enable_language(C) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${PAM_INCLUDE_DIR} +) + +link_directories( + ${CMAKE_BINARY_DIR}/micasadk +) + +#add_definitions( -DSSCS_LINUX_PLAT_F -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX38 ) + +################################# +# Source Files +############## + +add_library(pam_micasa MODULE pam_sscs.c pam_sscs_utils.c) + +################################# +# Linking +############## + +set_target_properties(pam_micasa PROPERTIES PREFIX "" LINK_FLAGS -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/pam_micasa_lux.exp) +target_link_libraries(pam_micasa micasa ${PAM_LIBRARIES} ) + +################################# +# Install Files +############## + +install(TARGETS pam_micasa DESTINATION ${LIBROOT_INSTALL_DIR}/security) diff --git a/CASA/logincapture/linux/PAM/Makefile.am b/CASA/logincapture/linux/PAM/Makefile.am deleted file mode 100644 index dfa87ea5..00000000 --- a/CASA/logincapture/linux/PAM/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux - -EXTRA_DIST = *.h *.c - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/logincapture/linux/PAM/linux/Makefile.am b/CASA/logincapture/linux/PAM/linux/Makefile.am deleted file mode 100644 index b5e560e0..00000000 --- a/CASA/logincapture/linux/PAM/linux/Makefile.am +++ /dev/null @@ -1,112 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = - -DIST_SUBDIRS = - -EXTRA_DIST = *.exp - -CASAROOT = ../../../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME = pam_micasa -MODULE_EXT = so - -CFILES = ../pam_sscs_utils.c \ - ../pam_sscs.c - -CSFILES_CSC := -INCLUDES = -I. -I$(CASAROOT)/include -I/opt/gnome/include/gnome-keyring-1 -RESOURCES = -DEFINES= -fno-strict-aliasing -CFLAGS += $(INCLUDES) $(DEFINES) -LIBS = - -LDFLAGS = -Wl,-Bsymbolic -shared -Wl,--version-script=pam_micasa_lux.exp \ - -lpthread -ldl \ - -lpam -Wl,-soname -Wl,pam_micasa.so - -OBJDIR = ./$(TARGET_CFG)/$(LIB) -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - cc -o $@ $(LDFLAGS) $(OBJS) $(LIBS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: -#cd $(TARGET_CFG); rm -rf *.dbg *.exe *.dll *.o *.so; cd ..; rmdir $(OBJDIR) - rm -rf $(TARGET_CFG) - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/logincapture/linux/PAM/linux/link.lux b/CASA/logincapture/linux/PAM/linux/link.lux deleted file mode 100644 index 7271af97..00000000 --- a/CASA/logincapture/linux/PAM/linux/link.lux +++ /dev/null @@ -1,10 +0,0 @@ -LINK = $(CC) \ - -Wl,-Bsymbolic \ - -shared \ - -Wl,--version-script=$(TARGET)_$(PLAT).exp \ - -Wl,-rpath -Wl,/usr/lib$(ARC) \ - -L/usr/lib$(ARC) -lpthread -lc -ldl -lpam \ - -Wl,-soname -Wl,$(TARGET).so \ - -o $(LIBDIR)$(XTRA)/$(TARGET).so \ - -L$(LIBDIR)$(XTRA) \ - $(OBJDIR)*.$(O) diff --git a/CASA/logincapture/linux/PAM/linux/objs.lux b/CASA/logincapture/linux/PAM/linux/objs.lux deleted file mode 100644 index e519f01f..00000000 --- a/CASA/logincapture/linux/PAM/linux/objs.lux +++ /dev/null @@ -1,3 +0,0 @@ -OBJS=\ - pam_sscs_utils.$(O) \ - pam_sscs.$(O) diff --git a/CASA/logincapture/linux/PAM/linux/pam_csss_lux.exp b/CASA/logincapture/linux/PAM/pam_csss_lux.exp similarity index 100% rename from CASA/logincapture/linux/PAM/linux/pam_csss_lux.exp rename to CASA/logincapture/linux/PAM/pam_csss_lux.exp diff --git a/CASA/logincapture/linux/PAM/linux/pam_micasa_lux.exp b/CASA/logincapture/linux/PAM/pam_micasa_lux.exp similarity index 100% rename from CASA/logincapture/linux/PAM/linux/pam_micasa_lux.exp rename to CASA/logincapture/linux/PAM/pam_micasa_lux.exp diff --git a/CASA/make/Readme.txt b/CASA/make/Readme.txt deleted file mode 100644 index baa74be7..00000000 --- a/CASA/make/Readme.txt +++ /dev/null @@ -1,25 +0,0 @@ -To support the new versioning system for our builds the -following files are added under the make dir. - -NOTE: When project release tag is incremented for example going from 3.00.2 - to 3.01.0 the Build Manager (BM) is responsible for checking these files - out and reset them proper values which in case of ibuild.txt would be "0" - and mbuild.txt will be "1". - -ibuild.txt = This file contains the internal build number that - is checked out and incremented by the scripts on - every successful build. Whenever the BM makes a - successful build this number is auomatically reset - to zero. BM builds do not show this number explicitly - to help distinguish between internal and major builds. - -mbuild.txt = This file contains the major build number by the BM - that is checked out and incremented by the scripts on - every successful build. For internal builds (by developers) - this number stays a constant. - -majver.txt = Major version of the product. -minver.txt = Minor version of the product. -revver.txt = Revision verison of the product. - -For example: MajVer.MinVer.RevVer = 3.00.02. \ No newline at end of file diff --git a/CASA/make/defaults.lux b/CASA/make/defaults.lux deleted file mode 100644 index 57afb716..00000000 --- a/CASA/make/defaults.lux +++ /dev/null @@ -1,75 +0,0 @@ -# -# This file is intended for platform-specific things ONLY. DO NOT put -# stuff that applies to all platforms in here! -# -AR = ar crus -CC = cc -CPP = c++ -CXX = cc -CS = mcs -INCDIR = $(subst i",-I",$(incdir)) -PFLAGS = -D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX386 -CFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS) -CXXFLAGS = -c -fPIC -DPIC $(XTRA_CFLAGS) - -module = $(subst $(fs),$(bs),$(MODULE)) - -ifeq ($(module),cslib) - CFLAGS = /target:"library" -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),cscommonlib) - CFLAGS = /target:"library" /r:Mono.Posix.dll - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),pollib) - CFLAGS = /target:"library" - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),kwwrap) - CFLAGS = /target:"library" - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),gkwrap) - CFLAGS = /target:"library" -pkg:gtk-sharp - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),ffwrap) - CFLAGS = /target:"library" - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),adlib) - CFLAGS = /target:"library" -pkg:gtk-sharp -lib:"$(CSLIBDIR)" -lib:../c_adlib/ad_gk/ -lib:../c_adlib/ad_kw/ -lib:../c_adlib/ad_ff/ /r:Novell.CASA.DataEngines.GnomeKeyring.dll /r:Novell.CASA.DataEngines.KWallet.dll /r:Novell.CASA.DataEngines.FireFox.dll /r:Novell.CASA.CASAPolicy.dll /r:Novell.CASA.miCASAWrapper.dll - OFILE = -out:"$(CSLIBDIR)$@"dll - EXT = dll -endif - -ifeq ($(module),csssd) - CFLAGS = -lib:../c_micasad/test/dependencies/ /r:Mono.Posix.dll /r:nunit.core.dll /r:nunit.framework.dll /r:nunit.extensions.dll /r:nunit.util.dll /r:nunit.mocks.dll /r:nunit.mocks.dll -lib:"$(CSLIBDIR)" /r:Novell.CASA.DataEngines.GnomeKeyring.dll /r:Novell.CASA.Common.dll - OFILE = -out:"$(CSBINDIR)$@"exe - EXT = bin -endif - -ifeq ($(module),casamanager) - CFLAGS = -lib:../c_micasad/test/dependencies/ -lib:"$(CSLIBDIR)" /r:$(CSLIBDIR)Novell.CASA.miCASAWrapper.dll /r:Novell.CASA.A-D.dll /r:Novell.CASA.CASAPolicy.dll -pkg:gtk-sharp -pkg:glade-sharp /r:Novell.CASA.Common.dll - OFILE = -out:"$(CSBINDIR)$@"exe - EXT = bin -endif - -ifeq ($(module),trayapp) - CFLAGS = -lib:../c_micasad/test/dependencies/ -pkg:gtk-sharp -lib:"$(CSLIBDIR)" /r:Novell.CASA.Common.dll -pkg:glade-sharp /r:Novell.CASA.miCASAWrapper.dll - OFILE = -out:"$(CSBINDIR)$@"exe - EXT = bin -endif diff --git a/CASA/make/defaults.w32 b/CASA/make/defaults.w32 deleted file mode 100644 index a600433d..00000000 --- a/CASA/make/defaults.w32 +++ /dev/null @@ -1,36 +0,0 @@ -# -# This file is intended for platform-specific things ONLY. DO NOT put -# stuff that applies to all platforms in here! -# -CC = $(MSC)bin/cl.exe -RCS = $(MSC)bin/rc.exe -CS = $(MSCS)/csc.exe - -module = $(subst $(fs),$(bs),$(MODULE)) - -ifeq ($(module),cslib) - CFLAGS = -warn:"4" - OFILE = -out:"$(BINDIR)$@" -else - -INCDIR = $(subst i",-I",$(incdir)) -I"$(MSC)include" -I"$(MSC)MFC/include" -I"$(MSC)PlatformSDK/include" -I"$(NETWARE)include" -ifeq ($(module),util) - CFLAGS = -nologo -ML -W3 -GX -O2 -YX -c - PFLAGS = $(subst d",-D",$(preprocessor)) -D"_WINDOWS" -D"WIN32" -D"_X86_" -D"MS_CPP_6" -D"SECURITY_WIN32" -D"CONSOLE" -# PFLAGS = $(subst d",-D",$(preprocessor)) -D"WIN32" -D"NDEBUG" -D"_MBCS" -D"CONSOLE" -D"MS_CPP_6" -# RCFLAGS = $(subst l",-L",$(preprocessor)) -L "0x409" -D"NDEBUG" /fo"Release/$(TARGET).res" - RCFLAGS = -# OFILE = -Fp"./Release/$(TARGET).pch" -Fo"./Release/" -Fd"./Release/" - CPPFLAGS = -c -nologo -FD -W3 $(XTRA_CFLAGS) -D"c_plusplus" -D"_USRDLL" -D"_WINDLL" -D"_WIN32_WINNT=0x0400" -D"_MBCS" - OFILE = -Fo"$(OBJDIR)$@" - LINK = $(MSC)bin/link.exe @$(LINKDEF) -else - CFLAGS = -nologo -c -W3 -Zp1 $(XTRA_CFLAGS) - PFLAGS = $(subst d",-D",$(preprocessor)) -D"_WINDOWS" -D"WIN32" -D"_X86_" -D"MS_CPP_6" -D"SECURITY_WIN32" - RCFLAGS = - CPPFLAGS = -c -nologo -FD -W3 $(XTRA_CFLAGS) -D"c_plusplus" -D"_USRDLL" -D"_WINDLL" -D"_WIN32_WINNT=0x0400" -D"_MBCS" - OFILE = -Fo"$(OBJDIR)$@" - SDK_LIBRARIAN = $(MSC)bin/lib /out:$(LIBDIR)$(SDK_LIB_NAME) - LINK = $(MSC)bin/link.exe @$(LINKDEF) -endif -endif diff --git a/CASA/make/global.mak b/CASA/make/global.mak deleted file mode 100644 index c7163c74..00000000 --- a/CASA/make/global.mak +++ /dev/null @@ -1,115 +0,0 @@ -# -# Configure global environment (lower case macros are for the Watcom compiler). -# Change ROOT and root so that they point to your checked out directory. -# - -root = $(subst $(fs),$(bs),$(ROOT)) - -# -# Change tools.mak as necessary to point to your compiler(s) and linker(s). -# -include tools.mak -ifeq ($(TOOLS),) - TOOLS = p:/tools/ - tools = $(subst $(fs),$(bs),$(TOOLS)) -else - tools = $(subst $(fs),$(bs),$(TOOLS)) -endif - -empty := -comma := , -space := $(empty) $(empty) -bs := \\ -fs := / - -W32INC = $(ROOT)/dependencies/win32/ -w32inc = $(subst $(fs),$(bs),$(W32INC)) - -EXTIMP = $(ROOT)/imports/ -extimp = $(subst $(fs),$(bs),$(EXTIMP)) - -SSSIMP = $(ROOT)/imports/ -sssimp = $(subst $(fs),$(bs),$(SSSIMP)) - -NWCLIENT = $(ROOT)/dependencies/nwclient/ -nwclient = $(subst $(fs),$(bs),$(NWCLIENT)) - -NWSDK = $(ROOT)/dependencies/nwsdk/ -nwsdk = $(subst $(fs),$(bs),$(NWSDK)) - -xtier = $(subst $(fs),$(bs),$(XTIER)) -XTIER = $(ROOT)/dependencies/xtier/ - -NLDAP = $(ROOT)/dependencies/ldap/ -nldap = $(subst $(fs),$(bs),$(NLDAP)) - -SSOINC = $(ROOT)/include/ -CCM_PROJECT_DIR = $(CCM_WORK_AREA)SecretStore_src/ - - -#Following is for install -MSGTOOLS = $(TOOLS)msgtools/32bit/ - -ifeq ($(PLAT),w32) -incdir = i"." i"$(ROOT)/include" i"$(NWSDK)include" i"$(NWCLIENT)include" i"$(XTIER)include/public" i"./win_inc" i"$(W32INC)inc" - BIN = dll - EXE = exe - LIB = lib - MSI = msi - CSH = dll - O = o -endif - -ifeq ($(PLAT),lux) -incdir = i"." i"$(ROOT)/include" i"/opt/gnome/include/gnome-keyring-1/" - O = o -endif - -# Names for the products have no "xtras" -ifeq ($(PLAT),w32) -ifeq ($(XTRA),md) - xtra = -else - xtra = _$(XTRA) -endif -endif - -BINDIR = $(ROOT)/bin$(ARC)/$(PLAT)/$(XTRA)/ -bindir = $(subst $(fs),$(bs),$(BINDIR)) -LIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/ -CSLIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/$(XTRA)/ -CSBINDIR = ../bin$(ARC)/$(PLAT)/$(XTRA)/ -#LIBDIR = $(ROOT)/lib$(ARC)/$(PLAT)/$(XTRA)/ -libdir = $(subst $(fs),$(bs),$(LIBDIR)) -OBJDIR = $(ROOT)/obj$(ARC)/$(PLAT)/$(XTRA)/ -objdir = $(subst $(fs),$(bs),$(OBJDIR)) - -MAKEDIR = $(ROOT)/make/ -INSTALLDIR = $(ROOT)/products/ - -# Library names -#NICI_LIB_NAME = ccs.$(LIB) -#ASN1_LIB_NAME = asn1nlm.$(LIB) - - -LINKDEF = link.def - - -# preprocessor macros -# preprocessor = - -ifeq ($(PLAT),w32) -ifeq ($(XTRA),opt) - override preprocessor := $(preprocessor) -endif -endif - - -# Build Win32 debug? -ifeq ($(PLAT),w32) -ifneq ($(XTRA),md) - override preprocessor := $(preprocessor) d"DEBUG" d"_DEBUG" -endif -endif - - diff --git a/CASA/make/ibuild.txt b/CASA/make/ibuild.txt deleted file mode 100644 index d00491fd..00000000 --- a/CASA/make/ibuild.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/CASA/make/majver.txt b/CASA/make/majver.txt deleted file mode 100644 index d00491fd..00000000 --- a/CASA/make/majver.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/CASA/make/mbuild.txt b/CASA/make/mbuild.txt deleted file mode 100644 index d00491fd..00000000 --- a/CASA/make/mbuild.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/CASA/make/minver.txt b/CASA/make/minver.txt deleted file mode 100644 index d00491fd..00000000 --- a/CASA/make/minver.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/CASA/make/revver.txt b/CASA/make/revver.txt deleted file mode 100644 index d00491fd..00000000 --- a/CASA/make/revver.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/CASA/make/rules.mak b/CASA/make/rules.mak deleted file mode 100644 index 6b909f50..00000000 --- a/CASA/make/rules.mak +++ /dev/null @@ -1,93 +0,0 @@ -.SUFFIXES: -.SUFFIXES: .asn .c .class .h .cpp .java .$(LIB) .$(O) - -CCM = $(CONTINUUS)ccm -CHMOD = chmod -f a=rwx -MV = mv -RM = rm -f -LN = ln -s -f -CD = cd - -vpath_h = $(subst i",:,$(incdir)) - -vpath %.c . -vpath %.cs . -vpath %.rc . -vpath %.class . -vpath %.cpp . -vpath %.h $(vpath_h) -vpath %.$(LIB) $(LIBDIR) -vpath %.$(O) $(OBJDIR) -vpath %.res $(OBJDIR) -vpath %.exe $(BINDIR) -vpath %.dll $(BINDIR) -vpath %.nlm $(BINDIR) -vpath %.so $(BINDIR) - -%.class : %.java - @echo Compiling $< ... - $(JAVAC) -verbose -d $(OBJDIR) $< - @echo - - -ifeq ($(PLAT),w32) -CP = cp -v -f -p - -%.obj : %.c - @echo Compiling $< ... - $(CC) $(CFLAGS) -TC $(PFLAGS) $(INCDIR) $(OFILE) $< - @echo - -%.obj : %.cpp - @echo Compiling $< ... - $(CC) -TP $(CPPFLAGS) $(PFLAGS) $(INCDIR) $(OFILE) $< - @echo - -%.$(O) : %.c - @echo Compiling $< ... - $(CC) $(CFLAGS) -TC $(PFLAGS) $(INCDIR) $(OFILE) $< - @echo - -%.$(O) : %.cpp - @echo Compiling $< ... - $(CPP) $(CPPFLAGS) $(PFLAGS) $(INCDIR) $(OFILE) $< - @echo - -$(CS_NAME) : $(SRC) - @echo Compiling ... - $(CS) $(CFLAGS) $(XTRA_CFLAGS) $(OFILE) $(SRC) - @echo - -ifeq ($(MODULE),util) -%.res : %.rc - @echo Compiling Resources $< ... - $(RCS) $(RCFLAGS) $(INCDIR) $< - @echo -else - -%.res : %.rc - @echo Compiling Resources $< ... - $(RCS) $(RCFLAGS) $(INCDIR) $(OFILE) $< - @echo - -endif -endif - -ifeq ($(PLAT),lux) -CP = cp -v -f -p -vpath -%.$(O) : %.c - @echo Compiling $< ... - $(CC) $(CFLAGS) $(PFLAGS) $(INCDIR) $< -o $(OBJDIR)$@ - @echo - -%.$(O) : %.cpp - @echo Compiling $< ... - $(CPP) $(CFLAGS) $(CXXFLAGS) $(PFLAGS) $(INCDIR) $< -o $(OBJDIR)$@ - @echo -$(CS_NAME) : $(SRC) - @echo Compiling ... - $(CS) $(CFLAGS) $(XTRA_CFLAGS) $(OFILE) $(SRC) - @echo -endif - diff --git a/CASA/make/target.cl b/CASA/make/target.cl deleted file mode 100644 index d972b8a1..00000000 --- a/CASA/make/target.cl +++ /dev/null @@ -1,62 +0,0 @@ -include link$(xtra).$(PLAT) - -########## all -all : $(BIN_NAME) -$(BIN_NAME) : $(OBJS) - @echo Linking $@ ... - @$(LINK_DEF_BLD) - $(LINK) - $(RM) $(LINKDEF) - $(PACK) - -## The libs - ifeq ($(PLAT),w32) - ifneq ($(MODULE),util) - $(CP) $(BINDIR)$(basename $(BIN_NAME)).$(LIB) $(LIBDIR) - endif - endif - - @echo - -########## install -install : - @echo module Installing $< ... - -## The binaries -ifeq ($(PLAT),w32) -ifeq ($(XTRA),md) - $(CD) $(INSTALLDIR)install/w32 && $(RM) * - $(CD) $(INSTALLDIR)sdk/w32 && $(RM) * - $(CP) $(BINDIR)$(basename $(BIN_NAME)).$(LIB) $(INSTALLDIR)sdk/w32 - $(CP) $(SSOINC)micasa.h $(INSTALLDIR)sdk/w32 - $(CP) $(SSOINC)micasa_mgmd.h $(INSTALLDIR)sdk/w32 -endif -endif - -## Linux final libs -ifeq ($(PLAT),lux) - ifeq ($(MODULE),shared) - $(CP) $(LIBDIR)$(XTRA)/lib$(TARGET).so.?.?.? $(INSTALLDIR)install/lux/opt/novell/CASA/lib - $(CD) $(INSTALLDIR)install/lux/opt/novell/CASA/lib && $(LN) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(BLD_NO) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so - $(CD) $(INSTALLDIR)install/lux/opt/novell/CASA/lib && $(LN) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(BLD_NO) $(INSTALLDIR)install/lux/opt/novell/CASA/lib/lib$(TARGET).so.$(PROD_NUM) - - endif - - $(CP) $(SSOINC)micasa.h $(INSTALLDIR)install/lux/opt/novell/CASA_devel/include - $(CP) $(SSOINC)micasa_mgmd.h $(INSTALLDIR)install/lux/opt/novell/CASA_devel/include -endif - - @echo - -########## clean -clean : - @echo Cleaning ... - -ifeq ($(PLAT),w32) - $(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(OBJDIR)*.res $(OBJDIR)*.pdb $(BINDIR)$(basename $(BIN_NAME)).* -endif - -ifeq ($(PLAT),lux) - $(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(LIBDIR)$(TARGET)* $(BINDIR)$(TARGET)* -endif - diff --git a/CASA/make/target.cs b/CASA/make/target.cs deleted file mode 100644 index cdfea679..00000000 --- a/CASA/make/target.cs +++ /dev/null @@ -1,74 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -ifeq ($(PLAT),lux) -#include link$(xtra).$(PLAT) -endif - -########## all -all : $(CS_NAME) -ifeq ($(PLAT),w32) - $(CD) $(BINDIR) && $(RM) $(OBJS) *.pdb -endif - @echo - -########## install -install : - @echo module Installing $< ... - -## The binaries -ifeq ($(PLAT),w32) -ifeq ($(XTRA),md) - $(CD) $(INSTALLDIR)sdk/w32 && $(RM) $(CS_NAME) - $(CP) $(BINDIR)$(CS_NAME) $(INSTALLDIR)sdk/w32 - $(CP) $(SSOINC)nsscs_sdk.h $(INSTALLDIR)sdk/w32 -endif -endif - -## Linux final libs -ifeq ($(PLAT),lux) -# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/bin && $(RM) * -# $(CD) $(INSTALLDIR)install/lux/opt/novell/miCASA/lib && $(RM) * -# $(CD) $(INSTALLDIR)install/lux/opt/novell/CASA_devel/inc && $(RM) * - -ifeq ($(EXT), bin) - $(CP) $(BINDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/bin -else - $(CP) $(CSLIBDIR)$(CS_NAME)* $(INSTALLDIR)install/lux/opt/novell/CASA/lib - -endif -endif - - @echo - -########## clean -clean : - @echo Cleaning ... - -ifeq ($(PLAT),w32) - $(RM) *.err *.bak *.i *.res $(BINDIR)$(CS_NAME) -endif - -ifeq ($(PLAT),lux) - $(RM) *.err *.bak *.i *.res $(OBJDIR)*.$(O) $(LIBDIR)$(TARGET)* $(BINDIR)$(TARGET)* -endif - diff --git a/CASA/make/tools.mak b/CASA/make/tools.mak deleted file mode 100644 index 9c988963..00000000 --- a/CASA/make/tools.mak +++ /dev/null @@ -1,129 +0,0 @@ -#-------------------------------------------------------------------------- -# To get your development machine to work with the SecretStore make files, -# set the following environment variables on your local machine: -# -# TOOLS : the directory under which all your development tools are -# located. -# GNU : the directory that contains the GNU make utility, and -# the Microsoft's old CVPack utility. -# MSC : the directory containing Microsoft's Visual C++ tools. -# MSVS : the directory containing Microsoft's Visual Studio tools. -# WATCOM : the directory containing Watcom's C/C++ compiler. -# -# Variables useful only to the build manager: -# -# CONTINUUS : the Continuus installation directory. -# CCM_WORK_AREA : the location on your local drive where the Continuus -# project is located. -# -# You need only set as many of these environment variables as differ from -# the default. So, for example, if the directory structure of your tools -# directory is exactly the same as on the network, but located on a local -# drive, all you need to do is set the TOOLS environment variable. -# -# This file will set defaults if you have not defined the environment -# variables listed above. The defaults assume that you have drive P: -# mapped to the network; specifically, PRV-DEV17/USR: (minus the Continuus -# tool) or PRV-TNW/USR:. Both servers contain the tools needed to build -# (except for the Continuus tool mentioned previously). -# -# NOTE: By convention in this and other make files in this project, all -# macros defining paths to tools include the traling slash. Your -# environment variables should, as well. -#-------------------------------------------------------------------------- - -ifeq ($(TOOLS),) - export TOOLS = p:/tools/ - export tools = $(subst $(fs),$(bs),$(TOOLS)) -else - export tools = $(subst $(fs),$(bs),$(TOOLS)) -endif - -#ifeq ($(PLAT),sux) -# export PATH = .:/opt/SUNWspro/bin:/usr/local/bin:/usr/bin:/usr/ccs/bin:$PATH -#endif - -ifeq ($(PLAT),lux) - export PATH = .:/usr/local/bin:/bin:/usr/bin:$PATH -endif - -#ifeq ($(PLAT),aix) -# export PATH = .:/usr/bin:/bin:/usr/vac/bin:$PATH -#endif - -#ifeq ($(PLAT),hux) -# export PATH = .:/usr/bin:/bin:/usr/vac/bin:/usr/local/bin:$PATH -#endif - -#ifeq ($(PLAT),390) -# PATH = /usr/bin:/bin:/usr/vac/bin:$PATH -#endif - -#************************************************************************************************** -# Path to the Continuus configuration management tool (necessary for build -# manager builds only) SHOULD BE DEFINED IN THE ENVIRONMENT c:/"Program Files"/CMSynergy/ccm62/bin/ -# -#ifeq ($(CONTINUUS),) -# CONTINUUS = c:/"Program Files"/CMSynergy/ccm62/bin/ -#endif -#*************************************************************************************************** - -# -# Path to the Continuus configuration management tool for internal scripts. -# -ifeq ($(CCM_DIR),) - export CCM_DIR = c:/"Program Files"/Telelogic/"CM Synergy 6.3"/bin/ -endif - -# -# Path to the configuration management build area (necessary for build -# manager builds only). Defaults to build manager's machine. -# -ifeq ($(CCM_WORK_AREA),) - export CCM_WORK_AREA = d:/SecretStore_main~PREP/SecretStore_main/ -endif - -# -# Path to the open source gnumake utility. -# -ifeq ($(GNU_I),) - export GNU_I = dependencies/cygwin/gnu/ -endif - -# -# Path to the open source gnumake utility. -# -#ifeq ($(GNU),) -# export GNU = ../dependencies/cygwin/gnu/ -#endif -# -# -# Path to Microsoft's Visual C++ compiler main directory. -# -ifeq ($(MSC),) - export MSC = $(TOOLS)msc7.00/vc7/ -endif - -######### NOTE ON HOW TO SETUP VC7 ENVIRONMENT ################# -# From the Visual Studio directory you need to find vsvar32.bat and load the environment -# parameters in it on your mache permanently. -# -# Path to Microsoft's Visual Studio common components directory. On the -# network (hence, on many developer's machines) this has been copied to -# the same location as the Visual C++ executables. However, Microsoft's -# installation puts it in the Visual Studio common components directory -# structure. Either way you installed it, it should still work. -# -# If the .NET Framework changes, the following export needs to be changed -# -ifeq ($(MSCS),) - export MSCS = c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/ -endif - -# -# Path to Watcom's C/C++ compiler for building NLMs. -# -#ifeq ($(WATCOM),) -# export WATCOM = $(TOOLS)wcc/v11.0a/ -#endif - diff --git a/CASA/micasacache/Makefile.am b/CASA/micasacache/Makefile.am deleted file mode 100644 index 77dd1642..00000000 --- a/CASA/micasacache/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -CFILES = - -EXTRA_DIST = *.c - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasacache/c_micasacache.vcproj b/CASA/micasacache/c_micasacache.vcproj deleted file mode 100644 index 8ac92012..00000000 --- a/CASA/micasacache/c_micasacache.vcproj +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/micasacache/c_micasacache64.vcproj b/CASA/micasacache/c_micasacache64.vcproj deleted file mode 100644 index cdd2fd08..00000000 --- a/CASA/micasacache/c_micasacache64.vcproj +++ /dev/null @@ -1,392 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/micasacache/link.w32 b/CASA/micasacache/link.w32 deleted file mode 100644 index acdcce72..00000000 --- a/CASA/micasacache/link.w32 +++ /dev/null @@ -1,47 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "kernel32.lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/PDB:$(BINDIR)$(basename $(notdir $@)).pdb" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oleaut32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libcmtd" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:msvcr71.lib" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecretStore">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheEnumerateKeychainIDs">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheAddKeychain">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveKeychain">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheEnumerateSecretIDs">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheGetSecretStoreInfo">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheGetKeychainInfo">> $(LINKDEF);\ - echo "/EXPORT:sscs_LockCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_UnlockCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_MergeCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_SetMasterPasscode">> $(LINKDEF);\ - echo "/EXPORT:sscs_SetMasterPassword">> $(LINKDEF);\ - echo "/EXPORT:sscs_IsSecretPersistent">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteBinaryKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadBinaryKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheCloseSecretStore">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheOpenSecretStore">> $(LINKDEF); diff --git a/CASA/micasacache/link_mdd.w32 b/CASA/micasacache/link_mdd.w32 deleted file mode 100644 index b00f01ef..00000000 --- a/CASA/micasacache/link_mdd.w32 +++ /dev/null @@ -1,49 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "$(MSC)lib/kernel32.lib" >> $(LINKDEF);\ - echo "$(MSC)lib/msvcrt.lib" >> $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/PDB:$(BINDIR)$(basename $(notdir $@)).pdb" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oleaut32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libcmt" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libcmtd" >> $(LINKDEF);\ - echo "/WARN:3" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecretStore">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheEnumerateKeychainIDs">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheAddKeychain">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveKeychain">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheEnumerateSecretIDs">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheGetSecretStoreInfo">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheGetKeychainInfo">> $(LINKDEF);\ - echo "/EXPORT:sscs_LockCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_UnlockCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_MergeCache">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheRemoveSecret">> $(LINKDEF);\ - echo "/EXPORT:sscs_SetMasterPasscode">> $(LINKDEF);\ - echo "/EXPORT:sscs_SetMasterPassword">> $(LINKDEF);\ - echo "/EXPORT:sscs_IsSecretPersistent">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheWriteBinaryKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheReadBinaryKey">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheCloseSecretStore">> $(LINKDEF);\ - echo "/EXPORT:sscs_CacheOpenSecretStore">> $(LINKDEF); diff --git a/CASA/micasacache/linux/Makefile.am b/CASA/micasacache/linux/Makefile.am deleted file mode 100644 index 424b3eb2..00000000 --- a/CASA/micasacache/linux/Makefile.am +++ /dev/null @@ -1,113 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(CFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =libmicasacache -MODULE_EXT =a - -CFILES = ../sscs_unx_cache.c \ - ../sscs_unx_ipc_client.c \ - ../sscs_ipc.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I/opt/gnome/include/gnome-keyring-1/ -EXTRA_CFLAGS = -RESOURCES = -CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES) -LIBS = -lpthread -ldl -LDFLAGS = -Bsymbolic -shared -Wl,-soname=$(MODULE_NAME).$(MODULE_EXT) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - @echo [======== Compiling $@ ========] - @echo [======== OBJDIR $(OBJDIR) ========] - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) - ar crus $@ $(OBJS) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasacache/linux/link.lux b/CASA/micasacache/linux/link.lux deleted file mode 100644 index e0b138e1..00000000 --- a/CASA/micasacache/linux/link.lux +++ /dev/null @@ -1,3 +0,0 @@ -LINK = $(AR) \ - $(LIBDIR)$(XTRA)/lib$(TARGET).a \ - $(OBJDIR)/*.$(O) diff --git a/CASA/micasacache/linux/objs.lux b/CASA/micasacache/linux/objs.lux deleted file mode 100644 index 62b1290f..00000000 --- a/CASA/micasacache/linux/objs.lux +++ /dev/null @@ -1,4 +0,0 @@ -OBJS=\ - sscs_unx_cache.$(O)\ - sscs_unx_ipc_client.$(O)\ - sscs_ipc.$(O) diff --git a/CASA/micasacache/micasacache.def b/CASA/micasacache/micasacache.def deleted file mode 100644 index 0c61f693..00000000 --- a/CASA/micasacache/micasacache.def +++ /dev/null @@ -1,25 +0,0 @@ -EXPORTS - sscs_CacheRemoveSecretStore - sscs_CacheEnumerateKeychainIDs - sscs_CacheAddKeychain - sscs_CacheRemoveKeychain - sscs_CacheEnumerateSecretIDs - sscs_CacheReadSecret - sscs_CacheWriteSecret - sscs_CacheRemoveSecret - sscs_CacheGetSecretStoreInfo - sscs_CacheGetKeychainInfo - sscs_LockCache - sscs_MergeCache - sscs_UnlockCache - sscs_CacheRemoveSecret - sscs_SetMasterPasscode - sscs_SetMasterPassword - sscs_IsSecretPersistent - sscs_CacheWriteKey - sscs_CacheWriteBinaryKey - sscs_CacheRemoveKey - sscs_CacheReadKey - sscs_CacheReadBinaryKey - sscs_CacheCloseSecretStore - sscs_CacheOpenSecretStore \ No newline at end of file diff --git a/CASA/micasacache/objs.w32 b/CASA/micasacache/objs.w32 deleted file mode 100644 index 8a344f27..00000000 --- a/CASA/micasacache/objs.w32 +++ /dev/null @@ -1,5 +0,0 @@ -OBJS=\ - sscs_unx_cache.$(O)\ - sscs_unx_ipc_client.$(O)\ - sscs_ipc.$(O) - diff --git a/CASA/micasacache/sscscache.rc b/CASA/micasacache/sscscache.rc deleted file mode 100644 index ae3408c3..00000000 --- a/CASA/micasacache/sscscache.rc +++ /dev/null @@ -1,75 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -#include "ssbldver.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION WSS_BLD_NO - PRODUCTVERSION WSS_BLD_NO - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", SSS_WCLIENT_STRING "\0" - VALUE "CompanyName", SSS_COMPANY_STR "\0" - VALUE "FileDescription", SSS_NSSS_PR_STRING "\0" - VALUE "FileVersion", WSS_BLD_STR "\0" - VALUE "LegalCopyright", SSS_COPYRIGHT_STR "\0" - VALUE "LegalTrademarks", SSS_PATENT_STR "\0" - VALUE "OriginalFilename", SSS_NSSS_STR "\0" - VALUE "ProductName", SSS_PRODUCT_STR "\0" - VALUE "ProductVersion", GSS_BLD_STR "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - diff --git a/CASA/micasacache/windows/Makefile.am b/CASA/micasacache/windows/Makefile.am deleted file mode 100755 index f71a9f7c..00000000 --- a/CASA/micasacache/windows/Makefile.am +++ /dev/null @@ -1,107 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(SFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/lib - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =micasacache -MODULE_EXT =dll - -SFILES = $(CASAROOT)/package/windows/vs_solutions/CASA32-msi/CASA.sln - -PROJECT_NAME= micasacache - -CUR_DIR := $(shell pwd) - -all: $(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - - - -$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) devenv - @echo [======== Building Solution $(SFILES) ========] -# cp -f ../micasacache.def . -# cp -f ../c_micasacache.vcproj . - "$(VSINSTALLDIR)/devenv" /rebuild $(TARGET_CFG) /project $(PROJECT_NAME) $(SFILES) /out build.log - cp -f ../$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG) - -devenv: - @if ! test -x "$(VSINSTALLDIR)/devenv.exe";then echo "Error: MS Studio .NET is currently required to build MSI and MSM";exit 1;fi - -$(OBJDIR): - @echo [ ==creating lib dir ===] - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - if [ -d ../$(TARGET_CFG) ]; then rm -rf ../$(TARGET_CFG); fi - if [ -f build.log ]; then rm -rf build.log; fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasad/AssemblyInfo.cs b/CASA/micasad/AssemblyInfo.cs index 12c474a7..87616804 100644 --- a/CASA/micasad/AssemblyInfo.cs +++ b/CASA/micasad/AssemblyInfo.cs @@ -21,61 +21,61 @@ ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("micasad.exe")] -[assembly: AssemblyDescription("CASA Identity Store")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("micasad.exe")] +[assembly: AssemblyDescription("CASA Identity Store")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/micasad/CMakeLists.txt b/CASA/micasad/CMakeLists.txt new file mode 100644 index 00000000..b712d403 --- /dev/null +++ b/CASA/micasad/CMakeLists.txt @@ -0,0 +1,114 @@ +################################# +# Project +############## + +project(micasad) + +enable_language(CSharp) + +add_subdirectory(startup) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + + +SET(SRC_CS AssemblyInfo.cs + init/Main.cs + init/AppHandler.cs + common/RequestParser.cs + common/SessionManager.cs + common/User.cs + common/UnixUser.cs + common/UserIdentifier.cs + common/UnixUserIdentifier.cs + common/Constants.cs + common/CSSSLogger.cs + common/Config.cs + common/CSSSUtils.cs + common/CSSSException.cs + communication/IPCChannel.cs + communication/CommunicationFactory.cs + communication/UnixIPCChannel.cs + communication/ICommunication.cs + communication/UnixCommunication.cs + cache/KeyChain.cs + cache/Secret.cs + cache/SecretStore.cs + cache/KeyValue.cs + cache/IKeychain.cs + cache/ISecret.cs + cache/MPFileWatcher.cs + lss/FastRandom.cs + lss/LocalStorage.cs + lss/CASACrypto.cs + lss/Rfc2898DeriveBytes.cs + verbs/ISSVerb.cs + verbs/GetSecretStoreInfo.cs + verbs/OpenSecretStore.cs + verbs/CloseSecretStore.cs + verbs/RemoveSecretStore.cs + verbs/AddKeyChain.cs + verbs/RemoveKeyChain.cs + verbs/WriteSecret.cs + verbs/ReadSecret.cs + verbs/RemoveSecret.cs + verbs/EnumerateKeyChainIds.cs + verbs/EnumerateSecretIds.cs + verbs/SetMasterPassword.cs + verbs/WriteKey.cs + verbs/ReadKey.cs + verbs/WriteBinaryKey.cs + verbs/ReadBinaryKey.cs + verbs/IsSecretPersistent.cs + verbs/ObjectSerialization.cs + verbs/RemoveKey.cs + test/cache/TestSecret.cs + test/cache/TestKeyChain.cs + test/cache/TestSecretStore.cs + test/common/TestSessionManager.cs + test/common/TestRequestParser.cs + test/communication/TestUnixCommunication.cs + test/verbs/TestOpenSecretStore.cs + test/verbs/TestCloseSecretStore.cs + test/verbs/TestEnumerateKeyChainIDs.cs + test/verbs/TestEnumerateSecIDs.cs + test/verbs/TestReadSecret.cs + test/verbs/TestRemoveKeyChain.cs + test/verbs/TestWriteSecret.cs) + +################################# +# Linking +############## + +SET(CS_FLAGS -r:${CMAKE_BINARY_DIR}/micasad/lib/Novell.CASA.Common.dll + -r:${CMAKE_BINARY_DIR}/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.dll + -r:${CMAKE_BINARY_DIR}/policy/Novell.CASA.CASAPolicy.dll + -r:${CMAKE_CURRENT_BINARY_DIR}/ad_gk/Novell.CASA.DataEngines.GnomeKeyring.dll + ${MONO-NUNIT_LIBRARIES} -d:LINUX -nowarn:169) +#CSHARP_ADD_LIBRARY(micasad "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_EXECUTABLE(micasad "${SRC_CS}" REFERENCES Novell.CASA.Common Novell.CASA.miCASAWrapper Mono.Posix System.Security + Novell.CASA.CASAPolicy Novell.CASA.DataEngines.GnomeKeyring COMPILE_FLAGS -d:LINUX -nowarn:169) +ADD_DEPENDENCIES(micasad Novell.CASA.Common Novell.CASA.miCASAWrapper Novell.CASA.CASAPolicy Novell.CASA.DataEngines.GnomeKeyring + nunit.core nunit.framework nunit.extensions nunit.util nunit.mocks) + +################################# +# Install Files +############## + +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/micasad.exe DESTINATION ${LIBEXEC_INSTALL_DIR}) \ No newline at end of file diff --git a/CASA/micasad/Makefile.am b/CASA/micasad/Makefile.am deleted file mode 100644 index 122815cc..00000000 --- a/CASA/micasad/Makefile.am +++ /dev/null @@ -1,189 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = lib startup -DIST_SUBDIRS = lib startup - -DIST_SOURCES = *.cs - -EXTRA_DIST = $(CSFILES) micasad* init/*.cs \ -cache/*.cs common/*.cs communication/*.cs communication/win/*.cs \ -init/*.cs init/*.resx lss/*.cs startup/micasad* verbs/*.cs \ -test/cache/*.cs test/common/*.cs communication/*.cs communication/win/*.cs \ -test/dependencies/*.dll test/verbs/*.cs test/*.txt \ -startup/micasad* startup/casacfgpam startup/casaucfgpam - -CASAROOT = .. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =micasad -MODULE_EXT =exe - - -CSFILES=$(srcdir)/AssemblyInfo.cs \ - $(srcdir)/init/Main.cs \ - $(srcdir)/init/AppHandler.cs \ - $(srcdir)/common/RequestParser.cs \ - $(srcdir)/common/SessionManager.cs \ - $(srcdir)/common/User.cs \ - $(srcdir)/common/UnixUser.cs \ - $(srcdir)/common/UserIdentifier.cs \ - $(srcdir)/common/UnixUserIdentifier.cs \ - $(srcdir)/common/Constants.cs \ - $(srcdir)/common/CSSSLogger.cs \ - $(srcdir)/common/Config.cs \ - $(srcdir)/common/CSSSUtils.cs \ - $(srcdir)/common/CSSSException.cs \ - $(srcdir)/communication/IPCChannel.cs \ - $(srcdir)/communication/CommunicationFactory.cs \ - $(srcdir)/communication/UnixIPCChannel.cs \ - $(srcdir)/communication/ICommunication.cs \ - $(srcdir)/communication/UnixCommunication.cs \ - $(srcdir)/cache/KeyChain.cs \ - $(srcdir)/cache/Secret.cs \ - $(srcdir)/cache/SecretStore.cs \ - $(srcdir)/cache/KeyValue.cs \ - $(srcdir)/cache/IKeychain.cs \ - $(srcdir)/cache/ISecret.cs \ - $(srcdir)/cache/MPFileWatcher.cs \ - $(srcdir)/lss/FastRandom.cs \ - $(srcdir)/lss/LocalStorage.cs \ - $(srcdir)/lss/CASACrypto.cs \ - $(srcdir)/lss/Rfc2898DeriveBytes.cs \ - $(srcdir)/verbs/ISSVerb.cs \ - $(srcdir)/verbs/GetSecretStoreInfo.cs \ - $(srcdir)/verbs/OpenSecretStore.cs \ - $(srcdir)/verbs/CloseSecretStore.cs \ - $(srcdir)/verbs/RemoveSecretStore.cs \ - $(srcdir)/verbs/AddKeyChain.cs \ - $(srcdir)/verbs/RemoveKeyChain.cs \ - $(srcdir)/verbs/WriteSecret.cs \ - $(srcdir)/verbs/ReadSecret.cs \ - $(srcdir)/verbs/RemoveSecret.cs \ - $(srcdir)/verbs/EnumerateKeyChainIds.cs \ - $(srcdir)/verbs/EnumerateSecretIds.cs \ - $(srcdir)/verbs/SetMasterPassword.cs \ - $(srcdir)/verbs/WriteKey.cs \ - $(srcdir)/verbs/ReadKey.cs \ - $(srcdir)/verbs/WriteBinaryKey.cs \ - $(srcdir)/verbs/ReadBinaryKey.cs \ - $(srcdir)/verbs/IsSecretPersistent.cs \ - $(srcdir)/verbs/ObjectSerialization.cs \ - $(srcdir)/verbs/RemoveKey.cs \ - $(srcdir)/test/cache/TestSecret.cs \ - $(srcdir)/test/cache/TestKeyChain.cs \ - $(srcdir)/test/cache/TestSecretStore.cs \ - $(srcdir)/test/common/TestSessionManager.cs \ - $(srcdir)/test/common/TestRequestParser.cs \ - $(srcdir)/test/communication/TestUnixCommunication.cs \ - $(srcdir)/test/verbs/TestOpenSecretStore.cs \ - $(srcdir)/test/verbs/TestCloseSecretStore.cs \ - $(srcdir)/test/verbs/TestEnumerateKeyChainIDs.cs \ - $(srcdir)/test/verbs/TestEnumerateSecIDs.cs \ - $(srcdir)/test/verbs/TestReadSecret.cs \ - $(srcdir)/test/verbs/TestRemoveKeyChain.cs \ - $(srcdir)/test/verbs/TestWriteSecret.cs - - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = -d:LINUX -nowarn:169 -CS_RESOURCES = -CS_LIBS =Mono.Posix.dll \ - System.Security.dll \ - nunit.core.dll \ - nunit.framework.dll \ - nunit.extensions.dll \ - nunit.util.dll \ - nunit.mocks.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.Common.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.CASAPolicy.dll \ - $(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.DataEngines.GnomeKeyring.dll - -CS_LIBPATH = $(CASALIBDIR)/$(TARGET_CFG) $(srcdir)/test/dependencies - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - - -CUR_DIR := $(shell pwd) -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - @echo compiling $@ ... - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) $(CS_LIBPATH:%=-lib:%) $(CS_LIBS:%=/r:%) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASABINDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR): -# [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) -# [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) -# [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR) - [ -d $(CASABINDIR)/$(TARGET_CFG) ] || mkdir -p $(CASABINDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/micasad/cache/SecretStore.cs b/CASA/micasad/cache/SecretStore.cs index 6e5084cc..99f66bd5 100644 --- a/CASA/micasad/cache/SecretStore.cs +++ b/CASA/micasad/cache/SecretStore.cs @@ -165,16 +165,16 @@ namespace sscs.cache } if (sMasterPassword != null) - { - if (common.CSSSUtils.UseMasterPassword()) - { - // verify MasterPassword - if (SetMasterPassword(sMasterPassword)) - { - state = STATE_OK; - return true; - } - } + { + if (common.CSSSUtils.UseMasterPassword()) + { + // verify MasterPassword + if (SetMasterPassword(sMasterPassword)) + { + state = STATE_OK; + return true; + } + } else if (IsDesktopPassword(sMasterPassword)) { state = STATE_OK; @@ -914,17 +914,17 @@ namespace sscs.cache return secret; } catch (SecretNotFoundException e) - { - if (bCreateIfNeeded) - { - CSSSLogger.DbgLog("Desktop password not found in cache, creating one"); - secret = new Secret(ConstStrings.MICASA_DESKTOP_PASSWD); - keyChain.AddSecret(secret); - return secret; - } - else - { - return null; + { + if (bCreateIfNeeded) + { + CSSSLogger.DbgLog("Desktop password not found in cache, creating one"); + secret = new Secret(ConstStrings.MICASA_DESKTOP_PASSWD); + keyChain.AddSecret(secret); + return secret; + } + else + { + return null; } } catch (Exception e1) diff --git a/CASA/micasad/common/CSSSUtils.cs b/CASA/micasad/common/CSSSUtils.cs index 37d433d1..1b244a67 100644 --- a/CASA/micasad/common/CSSSUtils.cs +++ b/CASA/micasad/common/CSSSUtils.cs @@ -35,40 +35,40 @@ using sscs.constants; namespace sscs.common { class CSSSUtils - { - -#if W32 - private static string CASA_REG_KEY = "SOFTWARE\\Novell\\CASA"; - - - - - -#endif - - public static bool StoreDesktopPasswordInCache() - { - if (Config.GetGlobalConfigSetting("CacheDesktopPassword", "false").Equals("true")) - { - return true; - } - else - { - return false; - } - } - - public static bool UseMasterPassword() - { - if (Config.GetGlobalConfigSetting("UserMasterPassword", "false").Equals("true")) - { - return true; - } - else - { - return false; - } - + { + +#if W32 + private static string CASA_REG_KEY = "SOFTWARE\\Novell\\CASA"; + + + + + +#endif + + public static bool StoreDesktopPasswordInCache() + { + if (Config.GetGlobalConfigSetting("CacheDesktopPassword", "false").Equals("true")) + { + return true; + } + else + { + return false; + } + } + + public static bool UseMasterPassword() + { + if (Config.GetGlobalConfigSetting("UserMasterPassword", "false").Equals("true")) + { + return true; + } + else + { + return false; + } + } public static bool IsFileOwnedByRoot(string filePath) diff --git a/CASA/micasad/common/Config.cs b/CASA/micasad/common/Config.cs index 67d26600..07a3c5f2 100644 --- a/CASA/micasad/common/Config.cs +++ b/CASA/micasad/common/Config.cs @@ -1,243 +1,243 @@ -using System; -using System.Text; -using System.Collections; -using System.Collections.Specialized; -using System.IO; -using System.Xml; -using System.Xml.Serialization; - -using sscs.constants; - -namespace sscs.common -{ - class Config - { - private static string CASA_REG_KEY = "SOFTWARE\\Novell\\CASA"; - private static NameValueCollection m_nvc; - - public static void SetGlobalConfigSetting(string sName, string sValue) - { - if (m_nvc == null) - { - m_nvc = new NameValueCollection(); - } - m_nvc.Set(sName, sValue); - } - - public static string GetGlobalConfigSetting(string sName) - { - return GetGlobalConfigSetting(sName, null); - } - - public static string GetGlobalConfigSetting(string sName, string sDefaultValue) - { - string sValue = null; - - if (m_nvc == null) - { - LoadConfigSettings(); - } - - if (m_nvc != null) - { - sValue = m_nvc.Get(sName); - } - - if (sValue == null) - { - sValue = sDefaultValue; - } - - return sValue; - - } - - public static void WriteGlobalConfig() - { -#if LINUX - XmlDocument doc = new XmlDocument(); - AppendToDoc(doc); - - XmlTextWriter writer = new XmlTextWriter(GetGlobalConfPath(), null); - writer.Formatting = Formatting.Indented; - doc.Save(writer); - writer.Close(); -#else - // Write to windows registry - for (int i = 0; i < m_nvc.Count; i++) - { - WriteRegSetting(m_nvc.GetKey(i), m_nvc.GetValues(i)[0]); - } -#endif - } - -#if W32 - - internal static void SetAllowDesktopAccess() - { - // create a reg key - System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess start"); - WriteRegSetting("CacheDesktopPassword", "true"); - System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess done"); - } - - internal static void WriteRegSetting(string sSubKey, string sValue) - { - try - { - Microsoft.Win32.RegistryKey key; - key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(CASA_REG_KEY); - key.SetValue(sSubKey, sValue, Microsoft.Win32.RegistryValueKind.String); - key.Close(); - } - catch (Exception e) - { - System.Diagnostics.Trace.WriteLine(e.ToString()); - } - } - - internal static string ReadRegSetting(string sSubKey) - { - string sValue = null; - try - { - Microsoft.Win32.RegistryKey key; - key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(CASA_REG_KEY); - if (key != null) - { - sValue = (string)key.GetValue(sSubKey); - } - key.Close(); - } - catch - { - } - return sValue; - } -#endif - - internal static void RemoveGlobalCASASettings() - { -#if W32 - // Delete CASA settings - try - { - Microsoft.Win32.Registry.LocalMachine.DeleteSubKeyTree(CASA_REG_KEY); - } - catch (Exception e) - { - System.Diagnostics.Debug.WriteLine(e.ToString()); - } -#endif - } - - - - internal static string GetGlobalConfPath() - { -#if LINUX - // Does directory exist? - if (!Directory.Exists(ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH)) - { - Directory.CreateDirectory(ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH); - } - return ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH + ConstStrings.SSCS_GLOBAL_CONF_FILE; -#else - return ConstStrings.SSCS_GLOBAL_CONF_FILE; -#endif - - } - - internal static void AppendToDoc(XmlDocument doc) - { - try{ - XmlElement configElem = doc.CreateElement("ConfigSettings"); - doc.AppendChild(configElem); - - for (int i = 0; i < m_nvc.Count; i++) - { - XmlElement settingElem = doc.CreateElement("Setting"); - configElem.AppendChild(settingElem); - - XmlElement nameElem = doc.CreateElement("Name"); - nameElem.InnerText = m_nvc.GetKey(i); - settingElem.AppendChild(nameElem); - - XmlElement valueElem = doc.CreateElement("Value"); - valueElem.InnerXml = m_nvc.GetValues(i)[0]; - settingElem.AppendChild(valueElem); - } - } - catch (Exception) - { - //Console.WriteLine(e.ToString()); - } - } - -#if LINUX - internal static void LoadConfigSettings() - { - string sGlobalConfPath = GetGlobalConfPath(); - if (File.Exists(sGlobalConfPath)) - { - XmlDocument doc = new XmlDocument(); - doc.Load(sGlobalConfPath); - - // Load config settings - System.Collections.Specialized.NameValueCollection nvc = new System.Collections.Specialized.NameValueCollection(); - XmlNode configNode = doc.SelectSingleNode("//ConfigSettings"); - if (configNode != null) - { - XmlNodeList nodeList = configNode.ChildNodes; - XmlNode setting; - - for (int i = 0; i < nodeList.Count; i++) - { - setting = nodeList[i]; - XmlNode nameNode = setting.SelectSingleNode("Name"); - XmlNode valueNode = setting.SelectSingleNode("Value"); - - nvc.Add(nameNode.InnerText, valueNode.InnerText); - } - } - - if (nvc.Count > 0) - { - m_nvc = nvc; - } - } - } -#endif -#if W32 - internal static void LoadConfigSettings() - { - Microsoft.Win32.RegistryKey casaKey; - string[] saSubKeys = null; - try - { - casaKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(CASA_REG_KEY); - saSubKeys = casaKey.GetValueNames(); - casaKey.Close(); - } - catch - { - - } - - if ((saSubKeys != null) && (saSubKeys.Length > 0)) - { - NameValueCollection nvc = new NameValueCollection(); - foreach (string subKey in saSubKeys) - { - string subKeyValue = ReadRegSetting(subKey); - if (subKeyValue != null) - { - nvc.Add(subKey, subKeyValue); - } - } - m_nvc = nvc; - } - } -#endif - } -} +using System; +using System.Text; +using System.Collections; +using System.Collections.Specialized; +using System.IO; +using System.Xml; +using System.Xml.Serialization; + +using sscs.constants; + +namespace sscs.common +{ + class Config + { + private static string CASA_REG_KEY = "SOFTWARE\\Novell\\CASA"; + private static NameValueCollection m_nvc; + + public static void SetGlobalConfigSetting(string sName, string sValue) + { + if (m_nvc == null) + { + m_nvc = new NameValueCollection(); + } + m_nvc.Set(sName, sValue); + } + + public static string GetGlobalConfigSetting(string sName) + { + return GetGlobalConfigSetting(sName, null); + } + + public static string GetGlobalConfigSetting(string sName, string sDefaultValue) + { + string sValue = null; + + if (m_nvc == null) + { + LoadConfigSettings(); + } + + if (m_nvc != null) + { + sValue = m_nvc.Get(sName); + } + + if (sValue == null) + { + sValue = sDefaultValue; + } + + return sValue; + + } + + public static void WriteGlobalConfig() + { +#if LINUX + XmlDocument doc = new XmlDocument(); + AppendToDoc(doc); + + XmlTextWriter writer = new XmlTextWriter(GetGlobalConfPath(), null); + writer.Formatting = Formatting.Indented; + doc.Save(writer); + writer.Close(); +#else + // Write to windows registry + for (int i = 0; i < m_nvc.Count; i++) + { + WriteRegSetting(m_nvc.GetKey(i), m_nvc.GetValues(i)[0]); + } +#endif + } + +#if W32 + + internal static void SetAllowDesktopAccess() + { + // create a reg key + System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess start"); + WriteRegSetting("CacheDesktopPassword", "true"); + System.Diagnostics.Trace.WriteLine("CASA installer: SetAllowDesktopAccess done"); + } + + internal static void WriteRegSetting(string sSubKey, string sValue) + { + try + { + Microsoft.Win32.RegistryKey key; + key = Microsoft.Win32.Registry.LocalMachine.CreateSubKey(CASA_REG_KEY); + key.SetValue(sSubKey, sValue, Microsoft.Win32.RegistryValueKind.String); + key.Close(); + } + catch (Exception e) + { + System.Diagnostics.Trace.WriteLine(e.ToString()); + } + } + + internal static string ReadRegSetting(string sSubKey) + { + string sValue = null; + try + { + Microsoft.Win32.RegistryKey key; + key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(CASA_REG_KEY); + if (key != null) + { + sValue = (string)key.GetValue(sSubKey); + } + key.Close(); + } + catch + { + } + return sValue; + } +#endif + + internal static void RemoveGlobalCASASettings() + { +#if W32 + // Delete CASA settings + try + { + Microsoft.Win32.Registry.LocalMachine.DeleteSubKeyTree(CASA_REG_KEY); + } + catch (Exception e) + { + System.Diagnostics.Debug.WriteLine(e.ToString()); + } +#endif + } + + + + internal static string GetGlobalConfPath() + { +#if LINUX + // Does directory exist? + if (!Directory.Exists(ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH)) + { + Directory.CreateDirectory(ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH); + } + return ConstStrings.SSCS_LINUX_GLOBAL_CONF_PATH + ConstStrings.SSCS_GLOBAL_CONF_FILE; +#else + return ConstStrings.SSCS_GLOBAL_CONF_FILE; +#endif + + } + + internal static void AppendToDoc(XmlDocument doc) + { + try{ + XmlElement configElem = doc.CreateElement("ConfigSettings"); + doc.AppendChild(configElem); + + for (int i = 0; i < m_nvc.Count; i++) + { + XmlElement settingElem = doc.CreateElement("Setting"); + configElem.AppendChild(settingElem); + + XmlElement nameElem = doc.CreateElement("Name"); + nameElem.InnerText = m_nvc.GetKey(i); + settingElem.AppendChild(nameElem); + + XmlElement valueElem = doc.CreateElement("Value"); + valueElem.InnerXml = m_nvc.GetValues(i)[0]; + settingElem.AppendChild(valueElem); + } + } + catch (Exception) + { + //Console.WriteLine(e.ToString()); + } + } + +#if LINUX + internal static void LoadConfigSettings() + { + string sGlobalConfPath = GetGlobalConfPath(); + if (File.Exists(sGlobalConfPath)) + { + XmlDocument doc = new XmlDocument(); + doc.Load(sGlobalConfPath); + + // Load config settings + System.Collections.Specialized.NameValueCollection nvc = new System.Collections.Specialized.NameValueCollection(); + XmlNode configNode = doc.SelectSingleNode("//ConfigSettings"); + if (configNode != null) + { + XmlNodeList nodeList = configNode.ChildNodes; + XmlNode setting; + + for (int i = 0; i < nodeList.Count; i++) + { + setting = nodeList[i]; + XmlNode nameNode = setting.SelectSingleNode("Name"); + XmlNode valueNode = setting.SelectSingleNode("Value"); + + nvc.Add(nameNode.InnerText, valueNode.InnerText); + } + } + + if (nvc.Count > 0) + { + m_nvc = nvc; + } + } + } +#endif +#if W32 + internal static void LoadConfigSettings() + { + Microsoft.Win32.RegistryKey casaKey; + string[] saSubKeys = null; + try + { + casaKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(CASA_REG_KEY); + saSubKeys = casaKey.GetValueNames(); + casaKey.Close(); + } + catch + { + + } + + if ((saSubKeys != null) && (saSubKeys.Length > 0)) + { + NameValueCollection nvc = new NameValueCollection(); + foreach (string subKey in saSubKeys) + { + string subKeyValue = ReadRegSetting(subKey); + if (subKeyValue != null) + { + nvc.Add(subKey, subKeyValue); + } + } + m_nvc = nvc; + } + } +#endif + } +} diff --git a/CASA/micasad/common/Constants.cs b/CASA/micasad/common/Constants.cs index 8049a7cb..e9b47a47 100644 --- a/CASA/micasad/common/Constants.cs +++ b/CASA/micasad/common/Constants.cs @@ -102,9 +102,9 @@ namespace sscs.constants //TBD , Need to look at Novell standard for the desktop internal static string SSCS_LINUX_ENGINELOG = "/var/log/localmessages"; internal static string SSCS_LINUX_DEBUGLOG = "/var/log/micasad_debug.log"; - internal static string SSCS_LINUX_PIDFILE = "/var/run/micasad.pid"; + internal static string SSCS_LINUX_PIDFILE = "/var/run/micasad.pid"; - internal static string SSCS_LINUX_GLOBAL_CONF_PATH = "/etc/opt/novell/micasa/"; + internal static string SSCS_LINUX_GLOBAL_CONF_PATH = "/etc/opt/novell/micasa/"; internal static string SSCS_GLOBAL_CONF_FILE = "micasad.conf.xml"; internal static bool STATUS = true; diff --git a/CASA/micasad/communication/CommunicationFactory.cs b/CASA/micasad/communication/CommunicationFactory.cs index c86892f2..e23c9c3d 100644 --- a/CASA/micasad/communication/CommunicationFactory.cs +++ b/CASA/micasad/communication/CommunicationFactory.cs @@ -20,33 +20,33 @@ * ***********************************************************************/ -using System; -/* This class would have only static methods. - */ -namespace sscs.communication -{ - -class CommunicationFactory -{ - /* Make the constructor private, to avoid instances of this - * class. - */ - private CommunicationFactory() - { - - } - - /* This method must check for platform and return - * an appropriate class. As of now, it assumes platform as Linux. - */ - public static Communication CreateCommunicationEndPoint() - { -#if LINUX - return( new UnixCommunication()); -#endif -#if W32 - return (new WinCommunication()); -#endif - } -} -} +using System; +/* This class would have only static methods. + */ +namespace sscs.communication +{ + +class CommunicationFactory +{ + /* Make the constructor private, to avoid instances of this + * class. + */ + private CommunicationFactory() + { + + } + + /* This method must check for platform and return + * an appropriate class. As of now, it assumes platform as Linux. + */ + public static Communication CreateCommunicationEndPoint() + { +#if LINUX + return( new UnixCommunication()); +#endif +#if W32 + return (new WinCommunication()); +#endif + } +} +} diff --git a/CASA/micasad/communication/ICommunication.cs b/CASA/micasad/communication/ICommunication.cs index 7b6cf0e7..5682b726 100644 --- a/CASA/micasad/communication/ICommunication.cs +++ b/CASA/micasad/communication/ICommunication.cs @@ -20,18 +20,18 @@ * ***********************************************************************/ -using System; - -/* This is an interface which would be implemented - * by UnixCommunication and WinCommunication. - */ - -namespace sscs.communication -{ - -interface Communication -{ - void StartCommunicationEndPoint(); - void CloseCommunicationEndPoint(); -} -} +using System; + +/* This is an interface which would be implemented + * by UnixCommunication and WinCommunication. + */ + +namespace sscs.communication +{ + +interface Communication +{ + void StartCommunicationEndPoint(); + void CloseCommunicationEndPoint(); +} +} diff --git a/CASA/micasad/communication/UnixIPCChannel.cs b/CASA/micasad/communication/UnixIPCChannel.cs index f8007903..acb400ce 100644 --- a/CASA/micasad/communication/UnixIPCChannel.cs +++ b/CASA/micasad/communication/UnixIPCChannel.cs @@ -20,147 +20,147 @@ * ***********************************************************************/ -using System; -using System.Net; -using System.Net.Sockets; -using Mono.Unix; -using System.IO; -using System.Text; -using sscs.common; -using sscs.verbs; -using sscs.constants; - - -namespace sscs.communication -{ - -class UnixIPCChannel : IPCChannel -{ - // Data - private Socket clientSocket; - private UnixUserIdentifier userId; - - //Methods - - internal UnixIPCChannel(Socket connectedSocket) - { - CSSSLogger.ExecutionTrace(this); - clientSocket = connectedSocket; - Mono.Unix.PeerCred cred; - cred = new Mono.Unix.PeerCred(connectedSocket); - - userId = new UnixUserIdentifier(cred.UserID); - } - - override internal UserIdentifier GetIPCChannelUserId() - { - CSSSLogger.ExecutionTrace(this); - return userId; - } - - private UnixIPCChannel() - { - CSSSLogger.ExecutionTrace(this); - } - ~UnixIPCChannel() - { - CSSSLogger.ExecutionTrace(this); - clientSocket.Close(); - } - override internal int Read(byte[] buf) - { - return 0; - } - override internal byte[] Read() - { - CSSSLogger.ExecutionTrace(this); - int bytesRecvd = 0; - try - { - byte[] msgIdBytes = new byte[2]; - bytesRecvd = clientSocket.Receive(msgIdBytes); - if( 0 == bytesRecvd ) - { - return null; - } - if( bytesRecvd < 0 ) // IPC is fine and Client had some problem - { - throw new CommunicationException("Client has not sent data."); - } - - byte[] msgLenBytes = new byte[4]; - bytesRecvd = clientSocket.Receive(msgLenBytes); - if( 0 == bytesRecvd ) - { - return null; - } - if( bytesRecvd < 0 ) // IPC is fine and Client had some problem - { - throw new CommunicationException("Client has not sent data."); - } - - byte[] bufToReturn = null; - uint msgLen = BitConverter.ToUInt32(msgLenBytes,0); - if( msgLen > 6 ) - { - byte[] buf = new byte[msgLen - 6]; - bytesRecvd = clientSocket.Receive (buf); - CSSSLogger.DbgLog("In " + CSSSLogger.GetExecutionPath(this) + " Bytes received is " + bytesRecvd); - if( 0 == bytesRecvd ) - { - return null; - } - - if( bytesRecvd < 0 ) // IPC is fine and Client had some problem - { - throw new CommunicationException("Client has not sent data."); - } - - bufToReturn = new byte[msgLen]; - Array.Copy(msgIdBytes,bufToReturn,2); - Array.Copy(msgLenBytes,0,bufToReturn,2,4); - Array.Copy(buf,0,bufToReturn,6,buf.Length); - return bufToReturn; - } - else - { - bufToReturn = new byte[6]; - Array.Copy(msgIdBytes,bufToReturn,2); - Array.Copy(msgLenBytes,0,bufToReturn,2,4); - return bufToReturn; - } - } - catch(CommunicationException e) - { - throw e; - } - catch(Exception e) - { - CSSSLogger.ExpLog(e.ToString()); - throw new CommunicationException(e.ToString()); - } - } - override internal int Write(byte[] buf) - { - try - { - CSSSLogger.ExecutionTrace(this); - int bytesSent = clientSocket.Send(buf); - CSSSLogger.DbgLog("In " + CSSSLogger.GetExecutionPath(this) + " - Bytes sent is " + bytesSent); - return bytesSent; - } - catch(Exception e) - { - CSSSLogger.ExpLog(e.ToString()); - return -1; - } - - - } - override internal void Close() - { - CSSSLogger.ExecutionTrace(this); - clientSocket.Close(); - } -} -} +using System; +using System.Net; +using System.Net.Sockets; +using Mono.Unix; +using System.IO; +using System.Text; +using sscs.common; +using sscs.verbs; +using sscs.constants; + + +namespace sscs.communication +{ + +class UnixIPCChannel : IPCChannel +{ + // Data + private Socket clientSocket; + private UnixUserIdentifier userId; + + //Methods + + internal UnixIPCChannel(Socket connectedSocket) + { + CSSSLogger.ExecutionTrace(this); + clientSocket = connectedSocket; + Mono.Unix.PeerCred cred; + cred = new Mono.Unix.PeerCred(connectedSocket); + + userId = new UnixUserIdentifier(cred.UserID); + } + + override internal UserIdentifier GetIPCChannelUserId() + { + CSSSLogger.ExecutionTrace(this); + return userId; + } + + private UnixIPCChannel() + { + CSSSLogger.ExecutionTrace(this); + } + ~UnixIPCChannel() + { + CSSSLogger.ExecutionTrace(this); + clientSocket.Close(); + } + override internal int Read(byte[] buf) + { + return 0; + } + override internal byte[] Read() + { + CSSSLogger.ExecutionTrace(this); + int bytesRecvd = 0; + try + { + byte[] msgIdBytes = new byte[2]; + bytesRecvd = clientSocket.Receive(msgIdBytes); + if( 0 == bytesRecvd ) + { + return null; + } + if( bytesRecvd < 0 ) // IPC is fine and Client had some problem + { + throw new CommunicationException("Client has not sent data."); + } + + byte[] msgLenBytes = new byte[4]; + bytesRecvd = clientSocket.Receive(msgLenBytes); + if( 0 == bytesRecvd ) + { + return null; + } + if( bytesRecvd < 0 ) // IPC is fine and Client had some problem + { + throw new CommunicationException("Client has not sent data."); + } + + byte[] bufToReturn = null; + uint msgLen = BitConverter.ToUInt32(msgLenBytes,0); + if( msgLen > 6 ) + { + byte[] buf = new byte[msgLen - 6]; + bytesRecvd = clientSocket.Receive (buf); + CSSSLogger.DbgLog("In " + CSSSLogger.GetExecutionPath(this) + " Bytes received is " + bytesRecvd); + if( 0 == bytesRecvd ) + { + return null; + } + + if( bytesRecvd < 0 ) // IPC is fine and Client had some problem + { + throw new CommunicationException("Client has not sent data."); + } + + bufToReturn = new byte[msgLen]; + Array.Copy(msgIdBytes,bufToReturn,2); + Array.Copy(msgLenBytes,0,bufToReturn,2,4); + Array.Copy(buf,0,bufToReturn,6,buf.Length); + return bufToReturn; + } + else + { + bufToReturn = new byte[6]; + Array.Copy(msgIdBytes,bufToReturn,2); + Array.Copy(msgLenBytes,0,bufToReturn,2,4); + return bufToReturn; + } + } + catch(CommunicationException e) + { + throw e; + } + catch(Exception e) + { + CSSSLogger.ExpLog(e.ToString()); + throw new CommunicationException(e.ToString()); + } + } + override internal int Write(byte[] buf) + { + try + { + CSSSLogger.ExecutionTrace(this); + int bytesSent = clientSocket.Send(buf); + CSSSLogger.DbgLog("In " + CSSSLogger.GetExecutionPath(this) + " - Bytes sent is " + bytesSent); + return bytesSent; + } + catch(Exception e) + { + CSSSLogger.ExpLog(e.ToString()); + return -1; + } + + + } + override internal void Close() + { + CSSSLogger.ExecutionTrace(this); + clientSocket.Close(); + } +} +} diff --git a/CASA/micasad/communication/WinCommunication.cs b/CASA/micasad/communication/WinCommunication.cs index 21512789..fcbea895 100644 --- a/CASA/micasad/communication/WinCommunication.cs +++ b/CASA/micasad/communication/WinCommunication.cs @@ -20,42 +20,42 @@ * ***********************************************************************/ -using System; -using sscs.common; -using sscs.constants; - -using AppModule.InterProcessComm; -using AppModule.NamedPipes; -using sscs.communication.win; - -namespace sscs.communication -{ - /// - /// Summary description for WinCommunication. - /// - public class WinCommunication : Communication - { - - public static IChannelManager PipeManager; - - public WinCommunication() - { - PipeManager = new PipeManager(); - PipeManager.Initialize(); - } - - public void StartCommunicationEndPoint() - { - Console.WriteLine("StartCommunctionEndPointed called"); - //PipeManager = new PipeManager(); - //PipeManager.Initialize(); - //PipeManager.Start(); - PipeManager.Start(); - } - - public void CloseCommunicationEndPoint() - { - PipeManager.Stop(); - } - } -} +using System; +using sscs.common; +using sscs.constants; + +using AppModule.InterProcessComm; +using AppModule.NamedPipes; +using sscs.communication.win; + +namespace sscs.communication +{ + /// + /// Summary description for WinCommunication. + /// + public class WinCommunication : Communication + { + + public static IChannelManager PipeManager; + + public WinCommunication() + { + PipeManager = new PipeManager(); + PipeManager.Initialize(); + } + + public void StartCommunicationEndPoint() + { + Console.WriteLine("StartCommunctionEndPointed called"); + //PipeManager = new PipeManager(); + //PipeManager.Initialize(); + //PipeManager.Start(); + PipeManager.Start(); + } + + public void CloseCommunicationEndPoint() + { + PipeManager.Stop(); + } + } +} diff --git a/CASA/micasad/communication/WinIPCChannel.cs b/CASA/micasad/communication/WinIPCChannel.cs index 202922d1..f509d341 100644 --- a/CASA/micasad/communication/WinIPCChannel.cs +++ b/CASA/micasad/communication/WinIPCChannel.cs @@ -21,122 +21,122 @@ ***********************************************************************/ -using System; -using System.IO; -using System.Text; - -using AppModule.NamedPipes; -using sscs.communication.win; -using sscs.common; -using sscs.verbs; -using sscs.constants; - - -namespace sscs.communication -{ - - class WinIPCChannel : IPCChannel - { - // Data - private ServerPipeConnection m_serverPipeConnection; - private WinUserIdentifier userId = null; - - //Methods - - public WinIPCChannel(ServerPipeConnection serverPipeConnection) - { - m_serverPipeConnection = serverPipeConnection; - } - - override internal UserIdentifier GetIPCChannelUserId() - { - CSSSLogger.DbgLog("In WinIPCChannel::GetIPCChannelUserId"); - return userId; - } - - private WinIPCChannel() - { - CSSSLogger.DbgLog("WinIPCChannel constructor must be called with a serverPipe"); - - } - ~WinIPCChannel() - { - // Console.WriteLine("WinIPCChannel::~~WinIPCChannel"); - } - - override internal byte[] Read() - { - int localUserIDLow = 0; - int localUserIDHigh = 0; - int localUserIDLowElevated = 0; - int localUserIDHighElevated = 0; - string sSIDString = ""; - - byte[] incoming = null; - try - { - - incoming = m_serverPipeConnection.ReadBytes(); - - // get local Userid and SID - m_serverPipeConnection.GetLocalUserID(ref localUserIDLow, - ref localUserIDHigh, - ref sSIDString, - ref localUserIDLowElevated, - ref localUserIDHighElevated); - - if (localUserIDLowElevated != 0 || localUserIDHighElevated != 0) - { - if (localUserIDLow != 0 || localUserIDHigh != 0) - { - userId = new WinUserIdentifier(localUserIDLow, localUserIDHigh, sSIDString, localUserIDLowElevated, localUserIDHighElevated); - } - } - else - { - if (localUserIDLow != 0 || localUserIDHigh != 0) - { - userId = new WinUserIdentifier(localUserIDLow, localUserIDHigh, sSIDString); - } - } - - return incoming; - } - catch(Exception) - { - return null; - //CSSSLogger.DbgLog("Exception in reading data from client" + e.ToString()); - //throw new CommunicationException(e.ToString()); - } - } - - override internal int Read(byte[] buf) - { - return 0; - } - - override internal int Write(byte[] buf) - { - - int bytesSent = 0; - try - { - m_serverPipeConnection.WriteBytes(buf); - bytesSent = buf.Length; - } - catch (Exception) - { - - } - CSSSLogger.DbgLog("WinIPCChannel::Write - Bytes sent is {0}" +bytesSent); - return bytesSent; - - } - override internal void Close() - { - CSSSLogger.DbgLog("WinIPCChannel Closed"); - //clientSocket.Close(); - m_serverPipeConnection.Close(); - } - } -} +using System; +using System.IO; +using System.Text; + +using AppModule.NamedPipes; +using sscs.communication.win; +using sscs.common; +using sscs.verbs; +using sscs.constants; + + +namespace sscs.communication +{ + + class WinIPCChannel : IPCChannel + { + // Data + private ServerPipeConnection m_serverPipeConnection; + private WinUserIdentifier userId = null; + + //Methods + + public WinIPCChannel(ServerPipeConnection serverPipeConnection) + { + m_serverPipeConnection = serverPipeConnection; + } + + override internal UserIdentifier GetIPCChannelUserId() + { + CSSSLogger.DbgLog("In WinIPCChannel::GetIPCChannelUserId"); + return userId; + } + + private WinIPCChannel() + { + CSSSLogger.DbgLog("WinIPCChannel constructor must be called with a serverPipe"); + + } + ~WinIPCChannel() + { + // Console.WriteLine("WinIPCChannel::~~WinIPCChannel"); + } + + override internal byte[] Read() + { + int localUserIDLow = 0; + int localUserIDHigh = 0; + int localUserIDLowElevated = 0; + int localUserIDHighElevated = 0; + string sSIDString = ""; + + byte[] incoming = null; + try + { + + incoming = m_serverPipeConnection.ReadBytes(); + + // get local Userid and SID + m_serverPipeConnection.GetLocalUserID(ref localUserIDLow, + ref localUserIDHigh, + ref sSIDString, + ref localUserIDLowElevated, + ref localUserIDHighElevated); + + if (localUserIDLowElevated != 0 || localUserIDHighElevated != 0) + { + if (localUserIDLow != 0 || localUserIDHigh != 0) + { + userId = new WinUserIdentifier(localUserIDLow, localUserIDHigh, sSIDString, localUserIDLowElevated, localUserIDHighElevated); + } + } + else + { + if (localUserIDLow != 0 || localUserIDHigh != 0) + { + userId = new WinUserIdentifier(localUserIDLow, localUserIDHigh, sSIDString); + } + } + + return incoming; + } + catch(Exception) + { + return null; + //CSSSLogger.DbgLog("Exception in reading data from client" + e.ToString()); + //throw new CommunicationException(e.ToString()); + } + } + + override internal int Read(byte[] buf) + { + return 0; + } + + override internal int Write(byte[] buf) + { + + int bytesSent = 0; + try + { + m_serverPipeConnection.WriteBytes(buf); + bytesSent = buf.Length; + } + catch (Exception) + { + + } + CSSSLogger.DbgLog("WinIPCChannel::Write - Bytes sent is {0}" +bytesSent); + return bytesSent; + + } + override internal void Close() + { + CSSSLogger.DbgLog("WinIPCChannel Closed"); + //clientSocket.Close(); + m_serverPipeConnection.Close(); + } + } +} diff --git a/CASA/micasad/communication/win/ServerNamedPipe.cs b/CASA/micasad/communication/win/ServerNamedPipe.cs index a9221329..74a873c5 100644 --- a/CASA/micasad/communication/win/ServerNamedPipe.cs +++ b/CASA/micasad/communication/win/ServerNamedPipe.cs @@ -20,108 +20,108 @@ * ***********************************************************************/ -using System; -using System.Threading; -using System.IO; - -using AppModule.InterProcessComm; -using AppModule.NamedPipes; - -namespace sscs.communication.win { - - public sealed class ServerNamedPipe : IDisposable { - internal Thread PipeThread; - internal ServerPipeConnection PipeConnection; - internal bool Listen = true; - internal DateTime LastAction; - private bool disposed = false; - - private void PipeListener() { - CheckIfDisposed(); - try { - Listen = true; - while (Listen) { - LastAction = DateTime.Now; - - // Service Client (new code) - IPCChannel ipcChannel = IPCChannel.Create(PipeConnection); - AppHandler appHandler = new AppHandler(ipcChannel); - - try - { - int retVal = appHandler.ServiceApp(); - } - catch(Exception) - { - ipcChannel.Close(); - } - - LastAction = DateTime.Now; - PipeConnection.Disconnect(); - if (Listen) { - Connect(); - } - WinCommunication.PipeManager.WakeUp(); - } - } - catch (System.Threading.ThreadAbortException) { } - catch (System.Threading.ThreadStateException) { } - catch (Exception) { - // Log exception - - } - finally { - this.Close(); - } - } - internal void Connect() { - CheckIfDisposed(); - PipeConnection.Connect(); - } - internal void Close() { - CheckIfDisposed(); - this.Listen = false; - WinCommunication.PipeManager.RemoveServerChannel(this.PipeConnection.NativeHandle); - this.Dispose(); - } - internal void Start() { - CheckIfDisposed(); - PipeThread.Start(); - } - private void CheckIfDisposed() { - if(this.disposed) { - throw new ObjectDisposedException("ServerNamedPipe"); - } - } - public void Dispose() { - Dispose(true); - GC.SuppressFinalize(this); - } - private void Dispose(bool disposing) { - if(!this.disposed) { - PipeConnection.Dispose(); - if (PipeThread != null) { - try { - PipeThread.Abort(); - } - catch (System.Threading.ThreadAbortException) { } - catch (System.Threading.ThreadStateException) { } - catch (Exception) { - // Log exception - } - } - } - disposed = true; - } - ~ServerNamedPipe() { - Dispose(false); - } - internal ServerNamedPipe(string name, uint outBuffer, uint inBuffer, int maxReadBytes) { - PipeConnection = new ServerPipeConnection(name, outBuffer, inBuffer, maxReadBytes, false); - PipeThread = new Thread(new ThreadStart(PipeListener)); - PipeThread.IsBackground = true; - PipeThread.Name = "Pipe Thread " + this.PipeConnection.NativeHandle.ToString(); - LastAction = DateTime.Now; - } - } +using System; +using System.Threading; +using System.IO; + +using AppModule.InterProcessComm; +using AppModule.NamedPipes; + +namespace sscs.communication.win { + + public sealed class ServerNamedPipe : IDisposable { + internal Thread PipeThread; + internal ServerPipeConnection PipeConnection; + internal bool Listen = true; + internal DateTime LastAction; + private bool disposed = false; + + private void PipeListener() { + CheckIfDisposed(); + try { + Listen = true; + while (Listen) { + LastAction = DateTime.Now; + + // Service Client (new code) + IPCChannel ipcChannel = IPCChannel.Create(PipeConnection); + AppHandler appHandler = new AppHandler(ipcChannel); + + try + { + int retVal = appHandler.ServiceApp(); + } + catch(Exception) + { + ipcChannel.Close(); + } + + LastAction = DateTime.Now; + PipeConnection.Disconnect(); + if (Listen) { + Connect(); + } + WinCommunication.PipeManager.WakeUp(); + } + } + catch (System.Threading.ThreadAbortException) { } + catch (System.Threading.ThreadStateException) { } + catch (Exception) { + // Log exception + + } + finally { + this.Close(); + } + } + internal void Connect() { + CheckIfDisposed(); + PipeConnection.Connect(); + } + internal void Close() { + CheckIfDisposed(); + this.Listen = false; + WinCommunication.PipeManager.RemoveServerChannel(this.PipeConnection.NativeHandle); + this.Dispose(); + } + internal void Start() { + CheckIfDisposed(); + PipeThread.Start(); + } + private void CheckIfDisposed() { + if(this.disposed) { + throw new ObjectDisposedException("ServerNamedPipe"); + } + } + public void Dispose() { + Dispose(true); + GC.SuppressFinalize(this); + } + private void Dispose(bool disposing) { + if(!this.disposed) { + PipeConnection.Dispose(); + if (PipeThread != null) { + try { + PipeThread.Abort(); + } + catch (System.Threading.ThreadAbortException) { } + catch (System.Threading.ThreadStateException) { } + catch (Exception) { + // Log exception + } + } + } + disposed = true; + } + ~ServerNamedPipe() { + Dispose(false); + } + internal ServerNamedPipe(string name, uint outBuffer, uint inBuffer, int maxReadBytes) { + PipeConnection = new ServerPipeConnection(name, outBuffer, inBuffer, maxReadBytes, false); + PipeThread = new Thread(new ThreadStart(PipeListener)); + PipeThread.IsBackground = true; + PipeThread.Name = "Pipe Thread " + this.PipeConnection.NativeHandle.ToString(); + LastAction = DateTime.Now; + } + } } \ No newline at end of file diff --git a/CASA/micasad/init/AppHandler.cs b/CASA/micasad/init/AppHandler.cs index 4bc67cff..ba0ae0a9 100644 --- a/CASA/micasad/init/AppHandler.cs +++ b/CASA/micasad/init/AppHandler.cs @@ -21,105 +21,105 @@ ***********************************************************************/ -using System; -using System.Collections; -using System.Text; -using sscs.communication; -using sscs.common; -using sscs.verbs; -using sscs.constants; - -class AppHandler -{ - //Data - private IPCChannel clientChannel; - - //Methods - internal AppHandler(IPCChannel ipcChannel) - { - clientChannel = ipcChannel; - CSSSLogger.ExecutionTrace(this); - } - - ~AppHandler() - { - CSSSLogger.ExecutionTrace(this); - } - - /* Starts servicing the application. This is called as soon - * as a new client connection is established. - */ - internal int ServiceApp() - { - SSVerb verb = null; - CSSSLogger.ExecutionTrace(this); - - while(true) - { - byte[] buf = null; - - try - { - buf = clientChannel.Read(); - if( null == buf ) - { - return RetCodes.SUCCESS; - } - RequestParser reqParser = new RequestParser(); - verb = reqParser.ParseRequest(buf); - CSSSLogger.logbreak(); - CSSSLogger.DbgLog("SSCS going to sevice a :: ** " + verb.GetVerbName() + " **"); - - UserIdentifier userId = clientChannel.GetIPCChannelUserId(); - - if(null == userId) - { - CSSSLogger.log(ConstStrings.DEBUG, "In " + CSSSLogger.GetExecutionPath(this) + " a null user is obtained."); - return RetCodes.FAILURE; - - } - - buf = verb.ProcessRequest(userId); - if ( buf != null) - { - int retVal = clientChannel.Write(buf); - if(retVal < 0) - { - CSSSLogger.DbgLog("Write failed"); - return RetCodes.FAILURE; - } - } - else - { - //There must always be something written back to client. - return RetCodes.FAILURE; - } - } - catch(CommunicationException e) - { - CSSSLogger.ExpLog(e.ToString()); - throw e; - } - catch(FormatException e) - { - CSSSLogger.ExpLog(e.ToString()); - throw e; - } - catch(Exception e) - { - CSSSLogger.ExpLog(e.ToString()); - throw e; - } - - /* TBD define verb specific heirarchy of exceptions catch - * (Some processing problem) - */ - - finally - { - CSSSLogger.DbgLog("SSCS finished processing a SS Verb :: ** " + verb.GetVerbName() + " **"); - CSSSLogger.logbreak(); - } - } - } -} +using System; +using System.Collections; +using System.Text; +using sscs.communication; +using sscs.common; +using sscs.verbs; +using sscs.constants; + +class AppHandler +{ + //Data + private IPCChannel clientChannel; + + //Methods + internal AppHandler(IPCChannel ipcChannel) + { + clientChannel = ipcChannel; + CSSSLogger.ExecutionTrace(this); + } + + ~AppHandler() + { + CSSSLogger.ExecutionTrace(this); + } + + /* Starts servicing the application. This is called as soon + * as a new client connection is established. + */ + internal int ServiceApp() + { + SSVerb verb = null; + CSSSLogger.ExecutionTrace(this); + + while(true) + { + byte[] buf = null; + + try + { + buf = clientChannel.Read(); + if( null == buf ) + { + return RetCodes.SUCCESS; + } + RequestParser reqParser = new RequestParser(); + verb = reqParser.ParseRequest(buf); + CSSSLogger.logbreak(); + CSSSLogger.DbgLog("SSCS going to sevice a :: ** " + verb.GetVerbName() + " **"); + + UserIdentifier userId = clientChannel.GetIPCChannelUserId(); + + if(null == userId) + { + CSSSLogger.log(ConstStrings.DEBUG, "In " + CSSSLogger.GetExecutionPath(this) + " a null user is obtained."); + return RetCodes.FAILURE; + + } + + buf = verb.ProcessRequest(userId); + if ( buf != null) + { + int retVal = clientChannel.Write(buf); + if(retVal < 0) + { + CSSSLogger.DbgLog("Write failed"); + return RetCodes.FAILURE; + } + } + else + { + //There must always be something written back to client. + return RetCodes.FAILURE; + } + } + catch(CommunicationException e) + { + CSSSLogger.ExpLog(e.ToString()); + throw e; + } + catch(FormatException e) + { + CSSSLogger.ExpLog(e.ToString()); + throw e; + } + catch(Exception e) + { + CSSSLogger.ExpLog(e.ToString()); + throw e; + } + + /* TBD define verb specific heirarchy of exceptions catch + * (Some processing problem) + */ + + finally + { + CSSSLogger.DbgLog("SSCS finished processing a SS Verb :: ** " + verb.GetVerbName() + " **"); + CSSSLogger.logbreak(); + } + } + } +} diff --git a/CASA/micasad/init/CredMgr.cs b/CASA/micasad/init/CredMgr.cs index b32010c0..3e239d34 100644 --- a/CASA/micasad/init/CredMgr.cs +++ b/CASA/micasad/init/CredMgr.cs @@ -18,64 +18,64 @@ * To contact Novell about this file by physical or electronic mail, * you may find current contact information at www.novell.com. * - ***********************************************************************/ - -using System; -using System.IO; -using System.Diagnostics; - -namespace sscs.init -{ - /// - /// Summary description for RegCredMgr. - /// - public class CredMgr - { - public CredMgr() - { - } - - public static void Install(string sInstallOption) - { - System.Diagnostics.Trace.WriteLine("CASA: attempting to register lcredmgr"); - string sExePath = GetRegSvrPath(); - if (sExePath != null) - { - string sCredMgrPath = GetCredMgrPath(); - if (sCredMgrPath != null) - { - if (sInstallOption != null) - { - RunProcess(sExePath, "/i:"+ sInstallOption + " /n /s " + "\"" + sCredMgrPath + "\""); - } - else - { - RunProcess(sExePath, "/i /n /s " + "\"" + sCredMgrPath + "\""); - } - } - } - } - - public static void Uninstall() - { - System.Diagnostics.Trace.WriteLine("CASA: attempting to unregister lcredmgr"); - string sExePath = GetRegSvrPath(); - if (sExePath != null) - { - string sCredMgrPath = GetCredMgrPath(); - if (sCredMgrPath != null) - { - RunProcess(sExePath, "/i /u /s " + "\"" + sCredMgrPath + "\""); - } - } - - } - - - private static void RunProcess(string sProcess, string sArgs) - { - if (sProcess != null) - { + ***********************************************************************/ + +using System; +using System.IO; +using System.Diagnostics; + +namespace sscs.init +{ + /// + /// Summary description for RegCredMgr. + /// + public class CredMgr + { + public CredMgr() + { + } + + public static void Install(string sInstallOption) + { + System.Diagnostics.Trace.WriteLine("CASA: attempting to register lcredmgr"); + string sExePath = GetRegSvrPath(); + if (sExePath != null) + { + string sCredMgrPath = GetCredMgrPath(); + if (sCredMgrPath != null) + { + if (sInstallOption != null) + { + RunProcess(sExePath, "/i:"+ sInstallOption + " /n /s " + "\"" + sCredMgrPath + "\""); + } + else + { + RunProcess(sExePath, "/i /n /s " + "\"" + sCredMgrPath + "\""); + } + } + } + } + + public static void Uninstall() + { + System.Diagnostics.Trace.WriteLine("CASA: attempting to unregister lcredmgr"); + string sExePath = GetRegSvrPath(); + if (sExePath != null) + { + string sCredMgrPath = GetCredMgrPath(); + if (sCredMgrPath != null) + { + RunProcess(sExePath, "/i /u /s " + "\"" + sCredMgrPath + "\""); + } + } + + } + + + private static void RunProcess(string sProcess, string sArgs) + { + if (sProcess != null) + { try { System.Diagnostics.Trace.WriteLine("Running: " + sProcess + " " + sArgs); @@ -88,69 +88,69 @@ namespace sscs.init myProcessStartInfo.UseShellExecute = false; myProcess.StartInfo = myProcessStartInfo; myProcess.Start(); - myProcess.WaitForExit(); - System.Diagnostics.Trace.WriteLine("Completed " + myProcess.ExitCode.ToString()); - } - catch (Exception e) - { - System.Diagnostics.Trace.WriteLine(e.ToString()); - } - } - } - - - private static string GetRegSvrPath() - { - string sPath = Environment.GetEnvironmentVariable("SystemRoot"); - if (sPath != null) - { - // look for regsvr32.exe - if (File.Exists(sPath + "\\system32\\regsvr32.exe")) - { - return (sPath + "\\system32\\regsvr32.exe"); - } - else - { - System.Diagnostics.Trace.WriteLine("Did not find regsvr32.exe"); - } - } - else - { - System.Diagnostics.Trace.WriteLine("Did not find System path"); - } - - return null; - } - private static string GetCredMgrPath() - { - string sPath = Environment.GetEnvironmentVariable("ProgramFiles"); - - // are we on x64? - if (sPath.IndexOf("x86") > 0) - { - sPath = Environment.GetEnvironmentVariable("SystemDrive") + "\\Program Files"; - } - - System.Diagnostics.Trace.WriteLine("System Path is " + sPath); - - if (sPath != null) - { - // look for regsvr32.exe - if (File.Exists(sPath + "\\Novell\\CASA\\bin\\lcredmgr.dll")) - { - return (sPath + "\\Novell\\CASA\\bin\\lcredmgr.dll"); - } - else - { - System.Diagnostics.Trace.WriteLine("Did not find lcredmgr.dll"); - } - } - else - { - System.Diagnostics.Trace.WriteLine("Did not find path to [ProgramFiles]"); - } - - return null; - } - } -} + myProcess.WaitForExit(); + System.Diagnostics.Trace.WriteLine("Completed " + myProcess.ExitCode.ToString()); + } + catch (Exception e) + { + System.Diagnostics.Trace.WriteLine(e.ToString()); + } + } + } + + + private static string GetRegSvrPath() + { + string sPath = Environment.GetEnvironmentVariable("SystemRoot"); + if (sPath != null) + { + // look for regsvr32.exe + if (File.Exists(sPath + "\\system32\\regsvr32.exe")) + { + return (sPath + "\\system32\\regsvr32.exe"); + } + else + { + System.Diagnostics.Trace.WriteLine("Did not find regsvr32.exe"); + } + } + else + { + System.Diagnostics.Trace.WriteLine("Did not find System path"); + } + + return null; + } + private static string GetCredMgrPath() + { + string sPath = Environment.GetEnvironmentVariable("ProgramFiles"); + + // are we on x64? + if (sPath.IndexOf("x86") > 0) + { + sPath = Environment.GetEnvironmentVariable("SystemDrive") + "\\Program Files"; + } + + System.Diagnostics.Trace.WriteLine("System Path is " + sPath); + + if (sPath != null) + { + // look for regsvr32.exe + if (File.Exists(sPath + "\\Novell\\CASA\\bin\\lcredmgr.dll")) + { + return (sPath + "\\Novell\\CASA\\bin\\lcredmgr.dll"); + } + else + { + System.Diagnostics.Trace.WriteLine("Did not find lcredmgr.dll"); + } + } + else + { + System.Diagnostics.Trace.WriteLine("Did not find path to [ProgramFiles]"); + } + + return null; + } + } +} diff --git a/CASA/micasad/init/ProjectInstaller.cs b/CASA/micasad/init/ProjectInstaller.cs index 7b99e168..80ad828f 100644 --- a/CASA/micasad/init/ProjectInstaller.cs +++ b/CASA/micasad/init/ProjectInstaller.cs @@ -20,141 +20,141 @@ * ***********************************************************************/ -using System; -using System.Collections; -using System.ComponentModel; -using System.Configuration.Install; - - - - - -namespace sscs.init -{ - /// - /// Summary description for ProjectInstaller. - /// - [RunInstaller(true)] - public class ProjectInstaller : System.Configuration.Install.Installer - { - private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1; - private System.ServiceProcess.ServiceInstaller serviceInstaller1; - /// - /// Required designer variable. - /// - private System.ComponentModel.Container components = null; - private static string SERVICE_DESCRIPTION = "Novell Identity Store is used by CASA (Common Authentication Service Adapter) " - + "to encypt and store credentials entered by users. These credentials can be used to authenticate to additional network services"; - - private static string SERVICE_GROUP = "Base"; - - public ProjectInstaller() - { - // This call is required by the Designer. - InitializeComponent(); - - // TODO: Add any initialization after the InitializeComponent call - } - - /// - /// Clean up any resources being used. - /// - protected override void Dispose( bool disposing ) - { - if( disposing ) - { - if(components != null) - { - components.Dispose(); - } - } - base.Dispose( disposing ); - } - - - #region Component Designer generated code - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller(); - this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller(); - // - // serviceProcessInstaller1 - // - this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem; - this.serviceProcessInstaller1.Password = null; - this.serviceProcessInstaller1.Username = null; - this.serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller1_AfterInstall); - // - // serviceInstaller1 - // - this.serviceInstaller1.DisplayName = WinSecretStoreClientService.sServiceName; - this.serviceInstaller1.ServiceName = WinSecretStoreClientService.sServiceName; - this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic; - this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall); - // - // ProjectInstaller - // - this.Installers.AddRange(new System.Configuration.Install.Installer[] { - this.serviceProcessInstaller1, - this.serviceInstaller1}); - - } - #endregion - - private void serviceInstaller1_AfterInstall(object sender, System.Configuration.Install.InstallEventArgs e) - { - - } - - private void serviceProcessInstaller1_AfterInstall(object sender, System.Configuration.Install.InstallEventArgs e) - { - - } - - public override void Install(IDictionary stateServer) - { - Microsoft.Win32.RegistryKey system, - currentControlSet, - services, - service; - //config; - - try - { - - //Let the project installer do its job - base.Install(stateServer); - - //Open the HKEY_LOCAL_MACHINE\SYSTEM key - system = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("System"); - - //Open CurrentControlSet - currentControlSet = system.OpenSubKey("CurrentControlSet"); - - //Go to the services key - services = currentControlSet.OpenSubKey("Services"); - - //Open the key for your service, and allow writing - service = services.OpenSubKey(this.serviceInstaller1.ServiceName, true); - - //Add service's description as a REG_SZ value named "Description" - service.SetValue("Description", SERVICE_DESCRIPTION); - service.SetValue("Group", SERVICE_GROUP); - - service.Close(); - services.Close(); - currentControlSet.Close(); - system.Close(); - - } - catch(Exception e) - { - Console.WriteLine("An exception was thrown during service installation:\n" + e.ToString()); - } - } - } +using System; +using System.Collections; +using System.ComponentModel; +using System.Configuration.Install; + + + + + +namespace sscs.init +{ + /// + /// Summary description for ProjectInstaller. + /// + [RunInstaller(true)] + public class ProjectInstaller : System.Configuration.Install.Installer + { + private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1; + private System.ServiceProcess.ServiceInstaller serviceInstaller1; + /// + /// Required designer variable. + /// + private System.ComponentModel.Container components = null; + private static string SERVICE_DESCRIPTION = "Novell Identity Store is used by CASA (Common Authentication Service Adapter) " + + "to encypt and store credentials entered by users. These credentials can be used to authenticate to additional network services"; + + private static string SERVICE_GROUP = "Base"; + + public ProjectInstaller() + { + // This call is required by the Designer. + InitializeComponent(); + + // TODO: Add any initialization after the InitializeComponent call + } + + /// + /// Clean up any resources being used. + /// + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + + #region Component Designer generated code + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller(); + this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller(); + // + // serviceProcessInstaller1 + // + this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem; + this.serviceProcessInstaller1.Password = null; + this.serviceProcessInstaller1.Username = null; + this.serviceProcessInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceProcessInstaller1_AfterInstall); + // + // serviceInstaller1 + // + this.serviceInstaller1.DisplayName = WinSecretStoreClientService.sServiceName; + this.serviceInstaller1.ServiceName = WinSecretStoreClientService.sServiceName; + this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic; + this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall); + // + // ProjectInstaller + // + this.Installers.AddRange(new System.Configuration.Install.Installer[] { + this.serviceProcessInstaller1, + this.serviceInstaller1}); + + } + #endregion + + private void serviceInstaller1_AfterInstall(object sender, System.Configuration.Install.InstallEventArgs e) + { + + } + + private void serviceProcessInstaller1_AfterInstall(object sender, System.Configuration.Install.InstallEventArgs e) + { + + } + + public override void Install(IDictionary stateServer) + { + Microsoft.Win32.RegistryKey system, + currentControlSet, + services, + service; + //config; + + try + { + + //Let the project installer do its job + base.Install(stateServer); + + //Open the HKEY_LOCAL_MACHINE\SYSTEM key + system = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("System"); + + //Open CurrentControlSet + currentControlSet = system.OpenSubKey("CurrentControlSet"); + + //Go to the services key + services = currentControlSet.OpenSubKey("Services"); + + //Open the key for your service, and allow writing + service = services.OpenSubKey(this.serviceInstaller1.ServiceName, true); + + //Add service's description as a REG_SZ value named "Description" + service.SetValue("Description", SERVICE_DESCRIPTION); + service.SetValue("Group", SERVICE_GROUP); + + service.Close(); + services.Close(); + currentControlSet.Close(); + system.Close(); + + } + catch(Exception e) + { + Console.WriteLine("An exception was thrown during service installation:\n" + e.ToString()); + } + } + } } \ No newline at end of file diff --git a/CASA/micasad/lib/AssemblyInfo.cs b/CASA/micasad/lib/AssemblyInfo.cs index b039d83e..bb57603f 100644 --- a/CASA/micasad/lib/AssemblyInfo.cs +++ b/CASA/micasad/lib/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.Common.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.Common.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/micasad/lib/CMakeLists.txt b/CASA/micasad/lib/CMakeLists.txt new file mode 100644 index 00000000..c25b17b3 --- /dev/null +++ b/CASA/micasad/lib/CMakeLists.txt @@ -0,0 +1,56 @@ +################################# +# Project +############## + +project(libmicasad) + +enable_language(CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +SET(SRC_CS AssemblyInfo.cs + common/ChangePersistentDir.cs + common/LinkedKeyInfo.cs + common/ResetMasterPassword.cs + common/ExportXMLSecrets.cs + common/MiCASAStore.cs + common/Utils.cs + common/ImportXMLSecrets.cs + common/Ping.cs + common/WrappedObject.cs + communication/IClientChannel.cs + communication/UnixIPCClientChannel.cs + communication/IPCClientFactory.cs + communication/MiCasaRequestReply.cs) + +################################# +# Linking +############## + +#SET(CS_FLAGS -r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll -r:${LIBRARY_OUTPUT_PATH}/kde-dotnet.dll -warn:0 -keyfile:${KEYFILE}) +#CSHARP_ADD_LIBRARY(Novell.CASA.Common "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.Common "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS -d:LINUX) +#ADD_DEPENDENCIES(akonadi kde-dotnet akonadi-sharp smokeakonadi) + +################################# +# Install Files +############## + +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.Common.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) \ No newline at end of file diff --git a/CASA/micasad/lib/Makefile.am b/CASA/micasad/lib/Makefile.am deleted file mode 100644 index 73acfbe1..00000000 --- a/CASA/micasad/lib/Makefile.am +++ /dev/null @@ -1,114 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -#CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = common communication - -EXTRA_DIST = $(CSFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.Common -MODULE_EXT =dll - -CSFILES = $(srcdir)/AssemblyInfo.cs \ - $(srcdir)/common/LinkedKeyInfo.cs \ - $(srcdir)/common/ChangePersistentDir.cs \ - $(srcdir)/common/Utils.cs \ - $(srcdir)/common/Ping.cs \ - $(srcdir)/common/ExportXMLSecrets.cs \ - $(srcdir)/common/ImportXMLSecrets.cs \ - $(srcdir)/common/ResetMasterPassword.cs \ - $(srcdir)/common/WrappedObject.cs \ - $(srcdir)/common/MiCASAStore.cs \ - $(srcdir)/communication/IClientChannel.cs \ - $(srcdir)/communication/IPCClientFactory.cs \ - $(srcdir)/communication/MiCasaRequestReply.cs \ - $(srcdir)/communication/UnixIPCClientChannel.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_INCLUDES = -I. -I.. -I$(CASAROOT)/include -CS_FLAGS = /target:"library" /r:Mono.Posix.dll -d:LINUX -CS_RESOURCES = -CS_LIBS = -CS_LIBPATH = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/micasad/lib/Novell.CASA.Common.csproj b/CASA/micasad/lib/Novell.CASA.Common.csproj deleted file mode 100644 index 21d64cb6..00000000 --- a/CASA/micasad/lib/Novell.CASA.Common.csproj +++ /dev/null @@ -1,149 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {57CD94A2-5B4A-40C3-8189-CB760FB78357} - Debug - AnyCPU - - - - - Novell.CASA.Common - - - JScript - Grid - IE50 - false - Library - MiCasaLibrary - OnBuildSuccess - - - - - - - - - bin\Debug\ - false - 285212672 - false - - - DEBUG;TRACE;W32 - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - bin\Release\ - false - 285212672 - false - - - TRACE; W32 - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - System - - - System.Data - - - System.XML - - - AppModule.InterProcessComm - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - AppModule.NamedPipes - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - - \ No newline at end of file diff --git a/CASA/micasad/lib/Novell.CASA.Common.csproj.user b/CASA/micasad/lib/Novell.CASA.Common.csproj.user deleted file mode 100644 index b9140e98..00000000 --- a/CASA/micasad/lib/Novell.CASA.Common.csproj.user +++ /dev/null @@ -1,58 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ShowAllFiles - 0 - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - \ No newline at end of file diff --git a/CASA/micasad/lib/common/ChangePersistentDir.cs b/CASA/micasad/lib/common/ChangePersistentDir.cs index c2c5a731..0dd25057 100644 --- a/CASA/micasad/lib/common/ChangePersistentDir.cs +++ b/CASA/micasad/lib/common/ChangePersistentDir.cs @@ -1,42 +1,42 @@ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for ChangePersistentDir. - /// - /// - [Serializable] - public class ChangePersistentDir - { - private string m_sOldDirectory; - private string m_sNewDirectory; - private string m_sErrorMessage = ""; - - public ChangePersistentDir(string sOldDirectory, string sNewDirectory) - { - m_sOldDirectory = sOldDirectory; - m_sNewDirectory = sNewDirectory; - } - - public string GetOldDirectory() - { - return m_sOldDirectory; - } - - public string GetNewDirectory() - { - return m_sNewDirectory; - } - - public void SetErrorMessage(string sMessage) - { - m_sErrorMessage = sMessage; - } - - public string GetErrorMessage() - { - return m_sErrorMessage; - } - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for ChangePersistentDir. + /// + /// + [Serializable] + public class ChangePersistentDir + { + private string m_sOldDirectory; + private string m_sNewDirectory; + private string m_sErrorMessage = ""; + + public ChangePersistentDir(string sOldDirectory, string sNewDirectory) + { + m_sOldDirectory = sOldDirectory; + m_sNewDirectory = sNewDirectory; + } + + public string GetOldDirectory() + { + return m_sOldDirectory; + } + + public string GetNewDirectory() + { + return m_sNewDirectory; + } + + public void SetErrorMessage(string sMessage) + { + m_sErrorMessage = sMessage; + } + + public string GetErrorMessage() + { + return m_sErrorMessage; + } + } +} diff --git a/CASA/micasad/lib/common/ExportXMLSecrets.cs b/CASA/micasad/lib/common/ExportXMLSecrets.cs index 4dc505c5..c73c294c 100644 --- a/CASA/micasad/lib/common/ExportXMLSecrets.cs +++ b/CASA/micasad/lib/common/ExportXMLSecrets.cs @@ -1,46 +1,46 @@ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for ExportSecrets. - /// - /// - [Serializable] - public class ExportXMLSecrets - { - private string m_sMasterPassword = null; - private string m_sPassphrase = null; - private string m_sFilePath = null; - - public ExportXMLSecrets(string sMasterPassword, string sPassphrase, string sFilePath) - { - m_sMasterPassword = sMasterPassword; - - if (sPassphrase != null) - { - m_sPassphrase = sPassphrase; - } - - if (sFilePath != null) - { - m_sFilePath = sFilePath; - } - } - - public string GetMasterPassword() - { - return m_sMasterPassword; - } - - public string GetPassphrase() - { - return m_sPassphrase; - } - - public string GetFilePath() - { - return m_sFilePath; - } - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for ExportSecrets. + /// + /// + [Serializable] + public class ExportXMLSecrets + { + private string m_sMasterPassword = null; + private string m_sPassphrase = null; + private string m_sFilePath = null; + + public ExportXMLSecrets(string sMasterPassword, string sPassphrase, string sFilePath) + { + m_sMasterPassword = sMasterPassword; + + if (sPassphrase != null) + { + m_sPassphrase = sPassphrase; + } + + if (sFilePath != null) + { + m_sFilePath = sFilePath; + } + } + + public string GetMasterPassword() + { + return m_sMasterPassword; + } + + public string GetPassphrase() + { + return m_sPassphrase; + } + + public string GetFilePath() + { + return m_sFilePath; + } + } +} diff --git a/CASA/micasad/lib/common/ImportXMLSecrets.cs b/CASA/micasad/lib/common/ImportXMLSecrets.cs index 4c5b8952..9626d1c4 100644 --- a/CASA/micasad/lib/common/ImportXMLSecrets.cs +++ b/CASA/micasad/lib/common/ImportXMLSecrets.cs @@ -1,52 +1,52 @@ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for AddXMLSecrets. - /// - /// - [Serializable] - public class ImportXMLSecrets - { - private string m_MasterPassword = null; - private byte[] m_XmlSecrets = null; - private string m_sStatus = ""; - private string m_sFilePath = null; - - public ImportXMLSecrets(string sMasterPassword, byte[] XmlSecrets, string sFilePath) - { - m_MasterPassword = sMasterPassword; - m_XmlSecrets = XmlSecrets; - if (sFilePath != null) - { - m_sFilePath = sFilePath; - } - } - - public string GetMasterPasssword() - { - return m_MasterPassword; - } - - public byte[] GetXmlSecrets() - { - return m_XmlSecrets; - } - - public string GetFilePath() - { - return m_sFilePath; - } - - public void SetStatus(string s) - { - m_sStatus = s; - } - - public string GetStatus() - { - return m_sStatus; - } - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for AddXMLSecrets. + /// + /// + [Serializable] + public class ImportXMLSecrets + { + private string m_MasterPassword = null; + private byte[] m_XmlSecrets = null; + private string m_sStatus = ""; + private string m_sFilePath = null; + + public ImportXMLSecrets(string sMasterPassword, byte[] XmlSecrets, string sFilePath) + { + m_MasterPassword = sMasterPassword; + m_XmlSecrets = XmlSecrets; + if (sFilePath != null) + { + m_sFilePath = sFilePath; + } + } + + public string GetMasterPasssword() + { + return m_MasterPassword; + } + + public byte[] GetXmlSecrets() + { + return m_XmlSecrets; + } + + public string GetFilePath() + { + return m_sFilePath; + } + + public void SetStatus(string s) + { + m_sStatus = s; + } + + public string GetStatus() + { + return m_sStatus; + } + } +} diff --git a/CASA/micasad/lib/common/LinkedKeyInfo.cs b/CASA/micasad/lib/common/LinkedKeyInfo.cs index 1ef554a4..510b32d2 100644 --- a/CASA/micasad/lib/common/LinkedKeyInfo.cs +++ b/CASA/micasad/lib/common/LinkedKeyInfo.cs @@ -20,79 +20,79 @@ * ***********************************************************************/ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for LinkInfo. - /// - /// - [Serializable] - public class LinkedKeyInfo - { - //private string m_sDestStoreID = null; - //private string m_sDestKeychainID = null; - private string m_sDestSecretID = null; - private string m_sDestKeyID = null; - - public LinkedKeyInfo(string sDestSecretID, string sDestKey) - { - if (sDestSecretID != null) - { - if (sDestSecretID.StartsWith("SS_CredSet")) - sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID.Substring(11)) + '\0'; - else - sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID) + '\0'; - } - - m_sDestSecretID = sDestSecretID; - m_sDestKeyID = sDestKey; - } - - public LinkedKeyInfo(string sDestSecretID, string sDestKey, bool bAlreadyEscaped) - { - if (!bAlreadyEscaped) - { - if (sDestSecretID != null) - { - if (sDestSecretID.StartsWith("SS_CredSet")) - sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID.Substring(11)) + '\0'; - else - sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID) + '\0'; - } - } - - m_sDestSecretID = sDestSecretID; - m_sDestKeyID = sDestKey; - } - - public string GetLinkID() - { - return m_sDestSecretID + ":" + m_sDestKeyID; - } - - public string GetLinkedSecretID() - { - return m_sDestSecretID; - } - - public string GetLinkedSecretID(bool bUnescape) - { - if (bUnescape) - { - if (m_sDestSecretID.StartsWith("SS_CredSet")) - return ("SS_CredSet:" + Utils.UnescapeString(m_sDestSecretID.Substring(11))); - else - return Utils.UnescapeString(m_sDestSecretID); - } - return m_sDestSecretID; - - } - - public string GetLinkedKeyID() - { - return m_sDestKeyID; - } - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for LinkInfo. + /// + /// + [Serializable] + public class LinkedKeyInfo + { + //private string m_sDestStoreID = null; + //private string m_sDestKeychainID = null; + private string m_sDestSecretID = null; + private string m_sDestKeyID = null; + + public LinkedKeyInfo(string sDestSecretID, string sDestKey) + { + if (sDestSecretID != null) + { + if (sDestSecretID.StartsWith("SS_CredSet")) + sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID.Substring(11)) + '\0'; + else + sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID) + '\0'; + } + + m_sDestSecretID = sDestSecretID; + m_sDestKeyID = sDestKey; + } + + public LinkedKeyInfo(string sDestSecretID, string sDestKey, bool bAlreadyEscaped) + { + if (!bAlreadyEscaped) + { + if (sDestSecretID != null) + { + if (sDestSecretID.StartsWith("SS_CredSet")) + sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID.Substring(11)) + '\0'; + else + sDestSecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sDestSecretID) + '\0'; + } + } + + m_sDestSecretID = sDestSecretID; + m_sDestKeyID = sDestKey; + } + + public string GetLinkID() + { + return m_sDestSecretID + ":" + m_sDestKeyID; + } + + public string GetLinkedSecretID() + { + return m_sDestSecretID; + } + + public string GetLinkedSecretID(bool bUnescape) + { + if (bUnescape) + { + if (m_sDestSecretID.StartsWith("SS_CredSet")) + return ("SS_CredSet:" + Utils.UnescapeString(m_sDestSecretID.Substring(11))); + else + return Utils.UnescapeString(m_sDestSecretID); + } + return m_sDestSecretID; + + } + + public string GetLinkedKeyID() + { + return m_sDestKeyID; + } + } +} diff --git a/CASA/micasad/lib/common/Makefile.am b/CASA/micasad/lib/common/Makefile.am deleted file mode 100644 index 70da4b37..00000000 --- a/CASA/micasad/lib/common/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = - -DIST_SUBDIRS = - -CFILES = - -EXTRA_DIST = $(CSFILES) - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasad/lib/common/MiCASAStore.cs b/CASA/micasad/lib/common/MiCASAStore.cs index da6fa3b4..d1910e9d 100644 --- a/CASA/micasad/lib/common/MiCASAStore.cs +++ b/CASA/micasad/lib/common/MiCASAStore.cs @@ -21,32 +21,32 @@ ***********************************************************************/ -using System; -using Novell.CASA.MiCasa.Common; -using Novell.CASA.MiCasa.Communication; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for MiCASAStore. - /// - public class MiCASAStore - { - public MiCASAStore() - { - // - // TODO: Add constructor logic here - // - } - - public static bool IsLocked() - { - Object o = MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_STORE_STATUS); - - if ((o != null) && ((System.Int32)o == 2)) - return true; - else - return false; - } - } -} +using System; +using Novell.CASA.MiCasa.Common; +using Novell.CASA.MiCasa.Communication; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for MiCASAStore. + /// + public class MiCASAStore + { + public MiCASAStore() + { + // + // TODO: Add constructor logic here + // + } + + public static bool IsLocked() + { + Object o = MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_STORE_STATUS); + + if ((o != null) && ((System.Int32)o == 2)) + return true; + else + return false; + } + } +} diff --git a/CASA/micasad/lib/common/Ping.cs b/CASA/micasad/lib/common/Ping.cs index 199b5c49..3d14311c 100644 --- a/CASA/micasad/lib/common/Ping.cs +++ b/CASA/micasad/lib/common/Ping.cs @@ -21,26 +21,26 @@ ***********************************************************************/ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for Ping. - /// - /// - [Serializable] - public class Ping - { - public Ping() - { - // - // TODO: Add constructor logic here - // - } - - public string clientmessage; - public string servermessage; - - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for Ping. + /// + /// + [Serializable] + public class Ping + { + public Ping() + { + // + // TODO: Add constructor logic here + // + } + + public string clientmessage; + public string servermessage; + + } +} diff --git a/CASA/micasad/lib/common/ResetMasterPassword.cs b/CASA/micasad/lib/common/ResetMasterPassword.cs index d5b2cca9..40f8a07a 100644 --- a/CASA/micasad/lib/common/ResetMasterPassword.cs +++ b/CASA/micasad/lib/common/ResetMasterPassword.cs @@ -20,25 +20,25 @@ * ***********************************************************************/ -using System; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for ResetMasterPassword. - /// - /// - [Serializable] - public class ResetMasterPassword - { - public string m_currentPassword; - public string m_newPassword; - public int rcode = 0; - - public ResetMasterPassword(string currentPassword, string newPassword) - { - m_currentPassword = currentPassword; - m_newPassword = newPassword; - } - } -} +using System; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for ResetMasterPassword. + /// + /// + [Serializable] + public class ResetMasterPassword + { + public string m_currentPassword; + public string m_newPassword; + public int rcode = 0; + + public ResetMasterPassword(string currentPassword, string newPassword) + { + m_currentPassword = currentPassword; + m_newPassword = newPassword; + } + } +} diff --git a/CASA/micasad/lib/common/Utils.cs b/CASA/micasad/lib/common/Utils.cs index 6c21d60e..b87ec2f5 100644 --- a/CASA/micasad/lib/common/Utils.cs +++ b/CASA/micasad/lib/common/Utils.cs @@ -1,83 +1,83 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -using System; -// using System.Collections.Generic; -using System.Text; - -namespace Novell.CASA.MiCasa.Common -{ - class Utils - { - public static string EscapeReservedChars(string origString) - { - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < origString.Length; i++) - { - switch (origString[i]) - { - case ':': - { - sb.Append("\\"); - break; - } - case '\\': - { - sb.Append("\\"); - break; - } - case '=': - { - sb.Append("\\"); - break; - } - - } - sb.Append(origString[i]); - } - return sb.ToString(); - } - - public static string UnescapeString(string sOrig) - { - StringBuilder sb = new StringBuilder(); - for (int i = 0; i < sOrig.Length; i++) - { - if (sOrig[i].Equals('\\')) - { - if (i + 1 < sOrig.Length) - { - if (sOrig[i + 1].Equals(':') - || sOrig[i + 1].Equals('\\') - || sOrig[i + 1].Equals('=')) - { - i++; - } - } - } - - sb.Append(sOrig[i]); - } - return sb.ToString(); - } - } -} +/*********************************************************************** + * + * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; version 2.1 + * of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, Novell, Inc. + * + * To contact Novell about this file by physical or electronic mail, + * you may find current contact information at www.novell.com. + * + ***********************************************************************/ + +using System; +// using System.Collections.Generic; +using System.Text; + +namespace Novell.CASA.MiCasa.Common +{ + class Utils + { + public static string EscapeReservedChars(string origString) + { + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < origString.Length; i++) + { + switch (origString[i]) + { + case ':': + { + sb.Append("\\"); + break; + } + case '\\': + { + sb.Append("\\"); + break; + } + case '=': + { + sb.Append("\\"); + break; + } + + } + sb.Append(origString[i]); + } + return sb.ToString(); + } + + public static string UnescapeString(string sOrig) + { + StringBuilder sb = new StringBuilder(); + for (int i = 0; i < sOrig.Length; i++) + { + if (sOrig[i].Equals('\\')) + { + if (i + 1 < sOrig.Length) + { + if (sOrig[i + 1].Equals(':') + || sOrig[i + 1].Equals('\\') + || sOrig[i + 1].Equals('=')) + { + i++; + } + } + } + + sb.Append(sOrig[i]); + } + return sb.ToString(); + } + } +} diff --git a/CASA/micasad/lib/common/WrappedObject.cs b/CASA/micasad/lib/common/WrappedObject.cs index 8e9a9b6d..98c3b63a 100644 --- a/CASA/micasad/lib/common/WrappedObject.cs +++ b/CASA/micasad/lib/common/WrappedObject.cs @@ -20,103 +20,103 @@ * ***********************************************************************/ -using System; -using System.Text; - -namespace Novell.CASA.MiCasa.Common -{ - /// - /// Summary description for MessageObject. - /// - /// - [Serializable] - public class WrappedObject - { - public static string DEFAULT_KEYCHAIN_ID = "SSCS_SESSION_KEY_CHAIN_ID\0"; - - private int m_verb = 0; - private string m_KeychainID = null; - private string m_SecretID = null; - private string m_KeyID = null; - - private object m_object; - - private int m_rcode = 0; - private string m_errorMsg; - - public WrappedObject(int rcode, string errorMsg) - { - m_rcode = rcode; - m_errorMsg = errorMsg; - } - - public WrappedObject(int verb, string sKeychainID, string sSecretID, string sKeyID, object theObject) - { - m_verb = verb; - if (sKeychainID != null) - m_KeychainID = sKeychainID + '\0'; - else - m_KeychainID = DEFAULT_KEYCHAIN_ID; - - if (sSecretID != null) - { - if (sSecretID.StartsWith("SS_CredSet")) - m_SecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sSecretID.Substring(11)) + '\0'; - else - m_SecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sSecretID) + '\0'; - } - - if (sKeyID != null) - m_KeyID = Utils.EscapeReservedChars(sKeyID); // + '\0'; - - // serialize the object - m_object = theObject; - } - - public string GetKeyID() - { - return m_KeyID; - } - - public string GetSecretID() - { - return m_SecretID; - } - - public string GetKeychainID() - { - return m_KeychainID; - } - - public object GetObject() - { - return m_object; - } - - public void SetObject(object theobject) - { - m_object = theobject; - } - - public int GetAction() - { - return m_verb; - } - - public void SetError(int rcode, string message) - { - m_rcode = rcode; - m_errorMsg = message; - } - - public int GetReturnCode() - { - return m_rcode; - } - - public string GetReturnMessage() - { - return m_errorMsg; - } - } -} +using System; +using System.Text; + +namespace Novell.CASA.MiCasa.Common +{ + /// + /// Summary description for MessageObject. + /// + /// + [Serializable] + public class WrappedObject + { + public static string DEFAULT_KEYCHAIN_ID = "SSCS_SESSION_KEY_CHAIN_ID\0"; + + private int m_verb = 0; + private string m_KeychainID = null; + private string m_SecretID = null; + private string m_KeyID = null; + + private object m_object; + + private int m_rcode = 0; + private string m_errorMsg; + + public WrappedObject(int rcode, string errorMsg) + { + m_rcode = rcode; + m_errorMsg = errorMsg; + } + + public WrappedObject(int verb, string sKeychainID, string sSecretID, string sKeyID, object theObject) + { + m_verb = verb; + if (sKeychainID != null) + m_KeychainID = sKeychainID + '\0'; + else + m_KeychainID = DEFAULT_KEYCHAIN_ID; + + if (sSecretID != null) + { + if (sSecretID.StartsWith("SS_CredSet")) + m_SecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sSecretID.Substring(11)) + '\0'; + else + m_SecretID = "SS_CredSet:" + Utils.EscapeReservedChars(sSecretID) + '\0'; + } + + if (sKeyID != null) + m_KeyID = Utils.EscapeReservedChars(sKeyID); // + '\0'; + + // serialize the object + m_object = theObject; + } + + public string GetKeyID() + { + return m_KeyID; + } + + public string GetSecretID() + { + return m_SecretID; + } + + public string GetKeychainID() + { + return m_KeychainID; + } + + public object GetObject() + { + return m_object; + } + + public void SetObject(object theobject) + { + m_object = theobject; + } + + public int GetAction() + { + return m_verb; + } + + public void SetError(int rcode, string message) + { + m_rcode = rcode; + m_errorMsg = message; + } + + public int GetReturnCode() + { + return m_rcode; + } + + public string GetReturnMessage() + { + return m_errorMsg; + } + } +} diff --git a/CASA/micasad/lib/communication/IClientChannel.cs b/CASA/micasad/lib/communication/IClientChannel.cs index 0138551b..554cc4c2 100644 --- a/CASA/micasad/lib/communication/IClientChannel.cs +++ b/CASA/micasad/lib/communication/IClientChannel.cs @@ -20,21 +20,21 @@ * ***********************************************************************/ -using System; -using System.Net; -using System.Net.Sockets; - -//using sscs.communication.win.NamedPipes; - - -namespace Novell.CASA.MiCasa.Communication -{ - public interface ClientChannel - { - void Open(); - int Read(byte[] buf); - byte[] Read(); - int Write(byte[] buf); - void Close(); - } +using System; +using System.Net; +using System.Net.Sockets; + +//using sscs.communication.win.NamedPipes; + + +namespace Novell.CASA.MiCasa.Communication +{ + public interface ClientChannel + { + void Open(); + int Read(byte[] buf); + byte[] Read(); + int Write(byte[] buf); + void Close(); + } } \ No newline at end of file diff --git a/CASA/micasad/lib/communication/IPCClientFactory.cs b/CASA/micasad/lib/communication/IPCClientFactory.cs index 3e487562..72c2d4f3 100644 --- a/CASA/micasad/lib/communication/IPCClientFactory.cs +++ b/CASA/micasad/lib/communication/IPCClientFactory.cs @@ -20,31 +20,31 @@ * ***********************************************************************/ -using System; - -namespace Novell.CASA.MiCasa.Communication -{ - /// - /// Summary description for IPCClientFactory. - /// - public class IPCClientFactory - { - private IPCClientFactory() - { - } - - public static ClientChannel CreateClientConnection() - { - -#if LINUX - return( new UnixIPCClientChannel()); -#endif -#if W32 - return (new WinIPCClientChannel()); -#endif - } - - - } -} - +using System; + +namespace Novell.CASA.MiCasa.Communication +{ + /// + /// Summary description for IPCClientFactory. + /// + public class IPCClientFactory + { + private IPCClientFactory() + { + } + + public static ClientChannel CreateClientConnection() + { + +#if LINUX + return( new UnixIPCClientChannel()); +#endif +#if W32 + return (new WinIPCClientChannel()); +#endif + } + + + } +} + diff --git a/CASA/micasad/lib/communication/Makefile.am b/CASA/micasad/lib/communication/Makefile.am deleted file mode 100644 index 70da4b37..00000000 --- a/CASA/micasad/lib/communication/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = - -DIST_SUBDIRS = - -CFILES = - -EXTRA_DIST = $(CSFILES) - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasad/lib/communication/MiCasaRequestReply.cs b/CASA/micasad/lib/communication/MiCasaRequestReply.cs index 26bfcd88..529ab4ae 100644 --- a/CASA/micasad/lib/communication/MiCasaRequestReply.cs +++ b/CASA/micasad/lib/communication/MiCasaRequestReply.cs @@ -59,9 +59,9 @@ namespace Novell.CASA.MiCasa.Communication public const int VERB_EXPORT_SECRETS = 21; public const int VERB_ADD_XML_SECRETS = 22; public const int VERB_CHANGE_PERSIST_DIR = 23; - public const int VERB_CREATE_POLICY_DIR = 24; - public const int VERB_GET_CREATE_TIME = 25; - public const int VERB_GET_MODIFIED_TIME = 26; + public const int VERB_CREATE_POLICY_DIR = 24; + public const int VERB_GET_CREATE_TIME = 25; + public const int VERB_GET_MODIFIED_TIME = 26; public const int VERB_GET_GLOBAL_SETTING = 27; public const int VERB_DUMP_LINKED_KEYS = 96; diff --git a/CASA/micasad/lib/communication/WinIPCClientChannel.cs b/CASA/micasad/lib/communication/WinIPCClientChannel.cs index ebe27f82..acb79578 100644 --- a/CASA/micasad/lib/communication/WinIPCClientChannel.cs +++ b/CASA/micasad/lib/communication/WinIPCClientChannel.cs @@ -21,83 +21,83 @@ ***********************************************************************/ -using System; - -using AppModule.InterProcessComm; -using AppModule.NamedPipes; - -namespace Novell.CASA.MiCasa.Communication -{ - /// - /// Summary description for WinIPCClientChannel. - /// - public class WinIPCClientChannel : ClientChannel - { - - private static IInterProcessConnection clientConnection = null; - private static string XTIER_RPC_PIPE = "SS_RPC_PIPE"; - - public WinIPCClientChannel() - { - - } - - public void Open() - { - if (clientConnection == null) - { - clientConnection = new ClientPipeConnection(XTIER_RPC_PIPE, "."); - clientConnection.Connect(); - } - - } - - public int Read(byte[] buf) - { - buf = Read(); - - if (buf != null) - return 0; - else - return -1; - } - - public byte[] Read() - { - byte[] returnBuffer; - - try - { - returnBuffer = clientConnection.ReadBytes(); - return returnBuffer; - } - catch (Exception e) - { - Console.WriteLine(e.ToString()); - return null; - } - } - - public int Write(byte[] buf) - { - try - { - clientConnection.WriteBytes(buf); - return 0; - } - catch (Exception e) - { - Console.WriteLine(e.ToString()); - return -1; - } - } - - public void Close() - { - - //clientConnection.Close(); - //clientConnection.Dispose(); - } - - } -} +using System; + +using AppModule.InterProcessComm; +using AppModule.NamedPipes; + +namespace Novell.CASA.MiCasa.Communication +{ + /// + /// Summary description for WinIPCClientChannel. + /// + public class WinIPCClientChannel : ClientChannel + { + + private static IInterProcessConnection clientConnection = null; + private static string XTIER_RPC_PIPE = "SS_RPC_PIPE"; + + public WinIPCClientChannel() + { + + } + + public void Open() + { + if (clientConnection == null) + { + clientConnection = new ClientPipeConnection(XTIER_RPC_PIPE, "."); + clientConnection.Connect(); + } + + } + + public int Read(byte[] buf) + { + buf = Read(); + + if (buf != null) + return 0; + else + return -1; + } + + public byte[] Read() + { + byte[] returnBuffer; + + try + { + returnBuffer = clientConnection.ReadBytes(); + return returnBuffer; + } + catch (Exception e) + { + Console.WriteLine(e.ToString()); + return null; + } + } + + public int Write(byte[] buf) + { + try + { + clientConnection.WriteBytes(buf); + return 0; + } + catch (Exception e) + { + Console.WriteLine(e.ToString()); + return -1; + } + } + + public void Close() + { + + //clientConnection.Close(); + //clientConnection.Dispose(); + } + + } +} diff --git a/CASA/micasad/lib/objs.lux b/CASA/micasad/lib/objs.lux deleted file mode 100644 index 74056e29..00000000 --- a/CASA/micasad/lib/objs.lux +++ /dev/null @@ -1,13 +0,0 @@ -OBJS=\ - AssemblyInfo \ - common/Utils \ - common/LinkedKeyInfo \ - common/Ping \ - common/ResetMasterPassword \ - common/WrappedObject \ - common/MiCASAStore \ - communication/IClientChannel \ - communication/IPCClientFactory \ - communication/MiCasaRequestReply \ - communication/UnixIPCClientChannel - diff --git a/CASA/micasad/lib/src.lux b/CASA/micasad/lib/src.lux deleted file mode 100644 index d96ebc40..00000000 --- a/CASA/micasad/lib/src.lux +++ /dev/null @@ -1,13 +0,0 @@ -SRC=\ - AssemblyInfo.cs \ - common/Utils.cs \ - common/LinkedKeyInfo.cs \ - common/Ping.cs \ - common/ResetMasterPassword.cs \ - common/WrappedObject.cs \ - common/MiCASAStore.cs \ - communication/IClientChannel.cs \ - communication/IPCClientFactory.cs \ - communication/MiCasaRequestReply.cs \ - communication/UnixIPCClientChannel.cs - diff --git a/CASA/micasad/micasad.csproj b/CASA/micasad/micasad.csproj deleted file mode 100644 index 2b078c30..00000000 --- a/CASA/micasad/micasad.csproj +++ /dev/null @@ -1,352 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {E39D2266-AB30-430E-A466-AC909363A830} - Debug - AnyCPU - - - - - micasad - - - JScript - Grid - IE50 - false - WinExe - sscs - OnBuildSuccess - sscs.init.WinSecretStoreClientService - - - - - - - bin\Debug\ - false - 285212672 - false - - - DEBUG;TRACE;W32 - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - bin\Release\ - false - 285212672 - false - - - TRACE; W32 - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - Accessibility - - - System - - - System.Configuration.Install - - - System.Data - - - System.Drawing - - - System.Management - - - System.Runtime.Serialization.Formatters.Soap - - - - System.ServiceProcess - - - System.Windows.Forms - - - System.XML - - - AppModule.InterProcessComm - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - AppModule.NamedPipes - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.CASAPolicy - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - Novell.CASA.Common - {57CD94A2-5B4A-40C3-8189-CB760FB78357} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - Code - - - Code - - - Code - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Component - - - - Component - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Form - - - ChangeMasterPasswordForm.cs - - - Form - - - EditSecretForm.cs - - - Form - - - MasterPasswordForm.cs - - - Form - - - MiCasaForm.cs - - - - ProjectInstaller.cs - - - WinSecretStoreClientService.cs - - - ChangeMasterPasswordForm.cs - Designer - - - EditSecretForm.cs - Designer - - - MasterPasswordForm.cs - Designer - - - MiCasaForm.cs - Designer - - - - - - - - - - - - - - \ No newline at end of file diff --git a/CASA/micasad/micasad.csproj.user b/CASA/micasad/micasad.csproj.user deleted file mode 100644 index a829521c..00000000 --- a/CASA/micasad/micasad.csproj.user +++ /dev/null @@ -1,56 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ShowAllFiles - 0 - - - false - false - false - false - false - - - Project - /Standalone - - - - - - - - - true - - - false - false - false - false - false - - - Project - /Standalone - - - - - - - - - false - - \ No newline at end of file diff --git a/CASA/micasad/objs.lux b/CASA/micasad/objs.lux deleted file mode 100644 index 876813ee..00000000 --- a/CASA/micasad/objs.lux +++ /dev/null @@ -1,60 +0,0 @@ -OBJS=\ - AssemblyInfo \ - init/Main \ - init/AppHandler \ - common/RequestParser \ - common/SessionManager \ - common/User \ - common/UnixUser \ - common/UserIdentifier \ - common/UnixUserIdentifier \ - common/Constants \ - common/CSSSLogger \ - common/CSSSException \ - communication/IPCChannel \ - communication/CommunicationFactory \ - communication/UnixIPCChannel \ - communication/ICommunication \ - communication/UnixCommunication \ - cache/KeyChain \ - cache/Secret \ - cache/SecretStore \ - cache/KeyValue \ - cache/IKeychain \ - cache/ISecret \ - lss/LocalStorage \ - lss/CASACrypto \ - lss/Rfc2898DeriveBytes \ - verbs/ISSVerb \ - verbs/GetSecretStoreInfo \ - verbs/OpenSecretStore \ - verbs/CloseSecretStore \ - verbs/RemoveSecretStore \ - verbs/AddKeyChain \ - verbs/RemoveKeyChain \ - verbs/WriteSecret \ - verbs/ReadSecret \ - verbs/RemoveSecret \ - verbs/EnumerateKeyChainIds \ - verbs/EnumerateSecretIds \ - verbs/SetMasterPassword \ - verbs/WriteKey \ - verbs/ReadKey \ - verbs/WriteBinaryKey \ - verbs/ReadBinaryKey \ - verbs/IsSecretPersistent \ - verbs/ObjectSerialization \ - test/cache/TestSecret \ - test/cache/TestKeyChain \ - test/cache/TestSecretStore \ - test/common/TestSessionManager \ - test/common/TestRequestParser \ - test/communication/TestUnixCommunication \ - test/verbs/TestOpenSecretStore \ - test/verbs/TestCloseSecretStore \ - test/verbs/TestEnumerateKeyChainIDs \ - test/verbs/TestEnumerateSecIDs \ - test/verbs/TestReadSecret \ - test/verbs/TestRemoveKeyChain \ - test/verbs/TestWriteSecret - diff --git a/CASA/micasad/objs.w32 b/CASA/micasad/objs.w32 deleted file mode 100644 index 6f9e8905..00000000 --- a/CASA/micasad/objs.w32 +++ /dev/null @@ -1,77 +0,0 @@ -OBJS=\ - init/WinSecretStoreClientService \ - init/ProjectInstaller \ - init/AppHandler \ - common/RequestParser \ - common/SessionManager \ - common/User \ - common/WinUser \ - common/UserIdentifier \ - common/WinUserIdentifier \ - common/NsscsFile \ - common/Constants \ - common/TrustedProcess \ - common/CSSSLogger \ - common/CSSSException \ - communication/win/InterProcessComm/IChannelManager \ - communication/win/InterProcessComm/IClientChannel \ - communication/win/InterProcessComm/IInterProcessConnection \ - communication/win/InterProcessComm/InterProcessConnectionState \ - communication/win/InterProcessComm/InterProcessIOException \ - communication/win/NamedPipes/APipeConnection \ - communication/win/NamedPipes/ClientPipeConnection \ - communication/win/NamedPipes/NamedPipeIOException \ - communication/win/NamedPipes/NamedPipeNative \ - communication/win/NamedPipes/NamedPipeWrapper \ - communication/win/NamedPipes/PipeHandle \ - communication/win/NamedPipes/PipeManager \ - communication/win/NamedPipes/ServerNamedPipe \ - communication/win/NamedPipes/ServerPipeConnection \ - communication/IPCChannel \ - communication/CommunicationFactory \ - communication/WinIPCChannel \ - communication/ICommunication \ - communication/WinCommunication \ - cache/KeyChain \ - cache/Secret \ - cache/SecretStore \ - cache/Time \ - cache/Value \ - cache/Eprotect \ - cache/IKeychain \ - cache/ISecret \ - lss/LocalSecretStore \ - lss/CASACrypto \ - lss/Rfc2898DeriveBytes \ - verbs/ISSVerb \ - verbs/GetSecretStoreInfo \ - verbs/OpenSecretStore \ - verbs/CloseSecretStore \ - verbs/RemoveSecretStore \ - verbs/AddKeyChain \ - verbs/RemoveKeyChain \ - verbs/WriteSecret \ - verbs/ReadSecret \ - verbs/RemoveSecret \ - verbs/WriteKey \ - verbs/ReadKey \ - verbs/SetWorkStationPasswd \ - verbs/SetPassCode \ - verbs/NotifyUserState \ - verbs/GetUserState \ - verbs/IsSecretPersistent.cs \ - verbs/SetMasterPassword.cs \ - verbs/EnumerateKeyChainIds \ - verbs/EnumerateSecretIds \ - test/cache/TestSecret.cs \ - test/cache/TestKeyChain.cs \ - test/cache/TestSecretStore.cs \ - test/common/TestSessionManager.cs \ - test/common/TestRequestParser.cs \ - test/verbs/TestOpenSecretStore.cs \ - test/verbs/TestCloseSecretStore.cs \ - test/verbs/TestEnumerateKeyChainIDs.cs \ - test/verbs/TestEnumerateSecIDs.cs \ - test/verbs/TestReadSecret.cs \ - test/verbs/TestRemoveKeyChain.cs \ - test/verbs/TestWriteSecret.cs diff --git a/CASA/micasad/src.lux b/CASA/micasad/src.lux deleted file mode 100644 index bafad361..00000000 --- a/CASA/micasad/src.lux +++ /dev/null @@ -1,61 +0,0 @@ -SRC=\ - AssemblyInfo.cs \ - init/Main.cs \ - init/AppHandler.cs \ - common/RequestParser.cs \ - common/SessionManager.cs \ - common/User.cs \ - common/UnixUser.cs \ - common/UserIdentifier.cs \ - common/UnixUserIdentifier.cs \ - common/Constants.cs \ - common/CSSSLogger.cs \ - common/CSSSException.cs \ - communication/IPCChannel.cs \ - communication/CommunicationFactory.cs \ - communication/UnixIPCChannel.cs \ - communication/ICommunication.cs \ - communication/UnixCommunication.cs \ - cache/KeyChain.cs \ - cache/Secret.cs \ - cache/SecretStore.cs \ - cache/KeyValue.cs \ - cache/IKeychain.cs \ - cache/ISecret.cs \ - lss/LocalStorage.cs \ - lss/CASACrypto.cs \ - lss/Rfc2898DeriveBytes.cs \ - verbs/ISSVerb.cs \ - verbs/GetSecretStoreInfo.cs \ - verbs/OpenSecretStore.cs \ - verbs/CloseSecretStore.cs \ - verbs/RemoveSecretStore.cs \ - verbs/AddKeyChain.cs \ - verbs/RemoveKeyChain.cs \ - verbs/WriteSecret.cs \ - verbs/ReadSecret.cs \ - verbs/RemoveSecret.cs \ - verbs/EnumerateKeyChainIds.cs \ - verbs/EnumerateSecretIds.cs \ - verbs/SetMasterPassword.cs \ - verbs/WriteKey.cs \ - verbs/ReadKey.cs \ - verbs/WriteBinaryKey.cs \ - verbs/ReadBinaryKey.cs \ - verbs/IsSecretPersistent.cs \ - verbs/ObjectSerialization.cs \ - test/cache/TestSecret.cs \ - test/cache/TestKeyChain.cs \ - test/cache/TestSecretStore.cs \ - test/common/TestSessionManager.cs \ - test/common/TestRequestParser.cs \ - test/communication/TestUnixCommunication.cs \ - test/verbs/TestOpenSecretStore.cs \ - test/verbs/TestCloseSecretStore.cs \ - test/verbs/TestEnumerateKeyChainIDs.cs \ - test/verbs/TestEnumerateSecIDs.cs \ - test/verbs/TestReadSecret.cs \ - test/verbs/TestRemoveKeyChain.cs \ - test/verbs/TestWriteSecret.cs - - diff --git a/CASA/micasad/src.w32 b/CASA/micasad/src.w32 deleted file mode 100644 index 2b6178fb..00000000 --- a/CASA/micasad/src.w32 +++ /dev/null @@ -1,57 +0,0 @@ -SRC=\ - init\\WinSecretStoreClientService.cs \ - init\\ProjectInstaller.cs \ - init\\AppHandler.cs \ - common\\RequestParser.cs \ - common\\SessionManager.cs \ - common\\User.cs \ - common\\WinUser.cs \ - common\\UserIdentifier.cs \ - common\\WinUserIdentifier.cs \ - common\\Constants.cs \ - common\\CSSSLogger.cs \ - common\\CSSSException.cs \ - communication\\win\\InterProcessComm\\IChannelManager.cs \ - communication\\win\\InterProcessComm\\IClientChannel.cs \ - communication\\win\\InterProcessComm\\IInterProcessConnection.cs \ - communication\\win\\InterProcessComm\\InterProcessConnectionState.cs \ - communication\\win\\InterProcessComm\\InterProcessIOException.cs \ - communication\\win\\NamedPipes\\APipeConnection.cs \ - communication\\win\\NamedPipes\\ClientPipeConnection.cs \ - communication\\win\\NamedPipes\\NamedPipeIOException.cs \ - communication\\win\\NamedPipes\\NamedPipeNative.cs \ - communication\\win\\NamedPipes\\NamedPipeWrapper.cs \ - communication\\win\\NamedPipes\\PipeHandle.cs \ - communication\\win\\NamedPipes\\PipeManager.cs \ - communication\\win\\NamedPipes\\ServerNamedPipe.cs \ - communication\\win\\NamedPipes\\ServerPipeConnection.cs \ - communication\\IPCChannel.cs \ - communication\\CommunicationFactory.cs \ - communication\\WinIPCChannel.cs \ - communication\\ICommunication.cs \ - communication\\WinCommunication.cs \ - lss\\LocalStorage.cs\ - lss\\CASACrypto.cs\ - lss\\Rfc2898DeriveBytes.cs\ - cache\\KeyValue.cs\ - cache\\KeyChain.cs \ - cache\\Secret.cs \ - cache\\SecretStore.cs \ - cache\\IKeychain.cs \ - cache\\ISecret.cs \ - verbs\\ISSVerb.cs \ - verbs\\GetSecretStoreInfo.cs \ - verbs\\OpenSecretStore.cs \ - verbs\\CloseSecretStore.cs \ - verbs\\RemoveSecretStore.cs \ - verbs\\AddKeyChain.cs \ - verbs\\RemoveKeyChain.cs \ - verbs\\WriteSecret.cs \ - verbs\\ReadSecret.cs \ - verbs\\RemoveSecret.cs \ - verbs\\ReadKey.cs \ - verbs\\WriteKey.cs \ - verbs\\IsSecretPersistent.cs \ - verbs\\SetMasterPassword.cs \ - verbs\\EnumerateKeyChainIds.cs \ - verbs\\EnumerateSecretIds.cs \ No newline at end of file diff --git a/CASA/micasad/startup/CMakeLists.txt b/CASA/micasad/startup/CMakeLists.txt new file mode 100644 index 00000000..7b12bd84 --- /dev/null +++ b/CASA/micasad/startup/CMakeLists.txt @@ -0,0 +1,49 @@ +################################# +# Project +############## + +project(micasad-init) + +################################# +# Dependencies +############## + +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/micasad.sh.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/micasad" + IMMEDIATE @ONLY) + +configure_file( + "${CMAKE_CURRENT_SOURCE_DIR}/micasad.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/init.d/micasad" + IMMEDIATE @ONLY) + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/include +) + +################################# +# Source Files +############## + +IF(UNIX) +add_executable(micasad-init micasad-init.c) +ENDIF(UNIX) + +################################# +# Linking +############## + +################################# +# Install Files +############## + +install(TARGETS micasad-init DESTINATION ${LIBEXEC_INSTALL_DIR}) +INSTALL(PROGRAMS installcasa iscasaconfiged uninstallcasa ${CMAKE_CURRENT_BINARY_DIR}/micasad DESTINATION ${SBIN_INSTALL_DIR}) +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/init.d/micasad DESTINATION ${SYSCONF_INSTALL_DIR}/init.d) +INSTALL(PROGRAMS micasad.conf.xml DESTINATION ${SYSCONF_INSTALL_DIR}/opt/novell/micasa) diff --git a/CASA/micasad/startup/micasad b/CASA/micasad/startup/micasad.cmake similarity index 98% rename from CASA/micasad/startup/micasad rename to CASA/micasad/startup/micasad.cmake index 251f3256..8b11d6be 100644 --- a/CASA/micasad/startup/micasad +++ b/CASA/micasad/startup/micasad.cmake @@ -12,7 +12,7 @@ # Description: miCASA daemon ### END INIT INFO -MICASAD_BIN=/usr/sbin/micasad.sh +MICASAD_BIN=@SBIN_INSTALL_DIR@/micasad test -x $MICASAD_BIN || exit 5 . /etc/rc.status diff --git a/CASA/micasad/startup/micasad.sh b/CASA/micasad/startup/micasad.sh deleted file mode 100644 index 8148079b..00000000 --- a/CASA/micasad/startup/micasad.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -HOST_ARCH=`uname -a | grep -c x86_64` -if [ $HOST_ARCH -gt 0 ] -then ARCH_LIB=64 -else -ARCH_LIB= -fi - - -export MONO_PATH=/usr/lib$ARCH_LIB/ -exec /usr/bin/micasad-init /usr/bin/micasad.exe diff --git a/CASA/micasad/startup/micasad.sh.cmake b/CASA/micasad/startup/micasad.sh.cmake new file mode 100644 index 00000000..e743e0bc --- /dev/null +++ b/CASA/micasad/startup/micasad.sh.cmake @@ -0,0 +1,3 @@ +#!/bin/sh +export MONO_PATH=@LIBEXEC_INSTALL_DIR@ +exec @LIBEXEC_INSTALL_DIR@/micasad-init @LIBEXEC_INSTALL_DIR@/micasad.exe diff --git a/CASA/micasad/test/cache/TestKeyChain.cs b/CASA/micasad/test/cache/TestKeyChain.cs index 4eb7f55c..cfb7dffe 100644 --- a/CASA/micasad/test/cache/TestKeyChain.cs +++ b/CASA/micasad/test/cache/TestKeyChain.cs @@ -20,126 +20,126 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - - -using NUnit.Framework; - -using sscs.common; - -namespace sscs.cache -{ - -[TestFixture] -public class TestKeyChain -{ - - Secret mysec; - KeyChain mykc; - string secval; - byte[] secbyte; - - - [SetUp] - public void Init() - { - - mykc = new KeyChain("TestingID"); - - secval= "novell123"; - secbyte = Encoding.ASCII.GetBytes(secval); - mysec = new Secret(); - mysec.SetKey("testkey"); - mysec.SetValue(secbyte); - - - } - - - [Test] - public void TestAddSecret() - { - mykc.AddSecret(mysec); - Secret returnsecret = mykc.GetSecret("testkey"); - - Assert.AreEqual("novell123", Encoding.ASCII.GetString(returnsecret.GetValue("testkey"))); - - } - - - [Test] - public void TestAddSecretWithDup() - { - //Add one more with same secret id - byte[] newvalue = Encoding.ASCII.GetBytes("miCASA"); - mysec.SetValue(newvalue); - - mykc.AddSecret(mysec); - Secret returnsecret = mykc.GetSecret("testkey"); - - Assert.AreEqual("miCASA", Encoding.ASCII.GetString(returnsecret.GetValue("testkey"))); - - } - - - [Test] - [ExpectedException(typeof(SecretNotFoundException))] - public void TestRemoveSecret() - { - - mykc.RemoveSecret("testkey"); - - //Try and get the same. - //Secret sec = mykc.GetSecret("testkey"); - } - - - - [Test] - [ExpectedException(typeof(InvalidOperationException))] - public void TestGetAllSecretsWhenNone() - { -// IDictionaryEnumerator myenum = (IDictionaryEnumerator)mykc.GetAllSecrets(); - //Object temp = myenum.Current; - } - - [Test] - public void TestGetAllSecrets() - { - int count = 0; - - byte[] val1 = Encoding.ASCII.GetBytes("val1"); - byte[] val2 = Encoding.ASCII.GetBytes("val2"); - byte[] val3 = Encoding.ASCII.GetBytes("val3"); - - Secret sec1 = new Secret("key1", val1); - Secret sec2 = new Secret("key2", val2); - Secret sec3 = new Secret("key3", val3); - - mykc.AddSecret(sec1); - mykc.AddSecret(sec2); - mykc.AddSecret(sec3); - - IDictionaryEnumerator myenum =(IDictionaryEnumerator) mykc.GetAllSecrets(); - - while(myenum.MoveNext()) - { - count++; - } - - Assert.AreEqual(3, mykc.GetNumSecrets()); - Assert.AreEqual(3, count); - - } - - - -} -} -#endif - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + + +using NUnit.Framework; + +using sscs.common; + +namespace sscs.cache +{ + +[TestFixture] +public class TestKeyChain +{ + + Secret mysec; + KeyChain mykc; + string secval; + byte[] secbyte; + + + [SetUp] + public void Init() + { + + mykc = new KeyChain("TestingID"); + + secval= "novell123"; + secbyte = Encoding.ASCII.GetBytes(secval); + mysec = new Secret(); + mysec.SetKey("testkey"); + mysec.SetValue(secbyte); + + + } + + + [Test] + public void TestAddSecret() + { + mykc.AddSecret(mysec); + Secret returnsecret = mykc.GetSecret("testkey"); + + Assert.AreEqual("novell123", Encoding.ASCII.GetString(returnsecret.GetValue("testkey"))); + + } + + + [Test] + public void TestAddSecretWithDup() + { + //Add one more with same secret id + byte[] newvalue = Encoding.ASCII.GetBytes("miCASA"); + mysec.SetValue(newvalue); + + mykc.AddSecret(mysec); + Secret returnsecret = mykc.GetSecret("testkey"); + + Assert.AreEqual("miCASA", Encoding.ASCII.GetString(returnsecret.GetValue("testkey"))); + + } + + + [Test] + [ExpectedException(typeof(SecretNotFoundException))] + public void TestRemoveSecret() + { + + mykc.RemoveSecret("testkey"); + + //Try and get the same. + //Secret sec = mykc.GetSecret("testkey"); + } + + + + [Test] + [ExpectedException(typeof(InvalidOperationException))] + public void TestGetAllSecretsWhenNone() + { +// IDictionaryEnumerator myenum = (IDictionaryEnumerator)mykc.GetAllSecrets(); + //Object temp = myenum.Current; + } + + [Test] + public void TestGetAllSecrets() + { + int count = 0; + + byte[] val1 = Encoding.ASCII.GetBytes("val1"); + byte[] val2 = Encoding.ASCII.GetBytes("val2"); + byte[] val3 = Encoding.ASCII.GetBytes("val3"); + + Secret sec1 = new Secret("key1", val1); + Secret sec2 = new Secret("key2", val2); + Secret sec3 = new Secret("key3", val3); + + mykc.AddSecret(sec1); + mykc.AddSecret(sec2); + mykc.AddSecret(sec3); + + IDictionaryEnumerator myenum =(IDictionaryEnumerator) mykc.GetAllSecrets(); + + while(myenum.MoveNext()) + { + count++; + } + + Assert.AreEqual(3, mykc.GetNumSecrets()); + Assert.AreEqual(3, count); + + } + + + +} +} +#endif + + diff --git a/CASA/micasad/test/cache/TestSecret.cs b/CASA/micasad/test/cache/TestSecret.cs index 65b2f2d5..422dcba2 100644 --- a/CASA/micasad/test/cache/TestSecret.cs +++ b/CASA/micasad/test/cache/TestSecret.cs @@ -20,58 +20,58 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using NUnit.Framework; - -namespace sscs.cache -{ - -[TestFixture] -public class TestSecret -{ - - [Test] - public void DefaultAddSecret() - { - - string someotherstr = "newvalue"; - byte[] newval = Encoding.ASCII.GetBytes(someotherstr); - - Secret mysec = new Secret(); - - mysec.SetKey("newkey"); - mysec.SetValue(newval); - mysec.SetEpasswd("enhanced"); - mysec.SetKey("alternatekey"); - - Assert.AreEqual("newvalue", Encoding.ASCII.GetString(mysec.GetValue("alternatekey"))); - - } - - - [Test] - public void TestAddSecret() - { - - string somestr = "novell123"; - string someotherstr = "newvalue"; - byte[] mybyte = Encoding.ASCII.GetBytes(somestr); - byte[] newval = Encoding.ASCII.GetBytes(someotherstr); - - Secret mysec = new Secret("mail", mybyte); - mysec.SetKey("newkey"); - mysec.SetValue(newval); - - Assert.AreEqual("newkey", mysec.GetKey()); - Assert.AreEqual("newvalue", Encoding.ASCII.GetString(mysec.GetValue())); - - } - - //TBD: Need to Add Timestamp related cases, could be done when we use it - - -} -} -#endif +#if DEBUG +using System; +using System.Text; +using NUnit.Framework; + +namespace sscs.cache +{ + +[TestFixture] +public class TestSecret +{ + + [Test] + public void DefaultAddSecret() + { + + string someotherstr = "newvalue"; + byte[] newval = Encoding.ASCII.GetBytes(someotherstr); + + Secret mysec = new Secret(); + + mysec.SetKey("newkey"); + mysec.SetValue(newval); + mysec.SetEpasswd("enhanced"); + mysec.SetKey("alternatekey"); + + Assert.AreEqual("newvalue", Encoding.ASCII.GetString(mysec.GetValue("alternatekey"))); + + } + + + [Test] + public void TestAddSecret() + { + + string somestr = "novell123"; + string someotherstr = "newvalue"; + byte[] mybyte = Encoding.ASCII.GetBytes(somestr); + byte[] newval = Encoding.ASCII.GetBytes(someotherstr); + + Secret mysec = new Secret("mail", mybyte); + mysec.SetKey("newkey"); + mysec.SetValue(newval); + + Assert.AreEqual("newkey", mysec.GetKey()); + Assert.AreEqual("newvalue", Encoding.ASCII.GetString(mysec.GetValue())); + + } + + //TBD: Need to Add Timestamp related cases, could be done when we use it + + +} +} +#endif diff --git a/CASA/micasad/test/cache/TestSecretStore.cs b/CASA/micasad/test/cache/TestSecretStore.cs index 152716c9..df8be5be 100644 --- a/CASA/micasad/test/cache/TestSecretStore.cs +++ b/CASA/micasad/test/cache/TestSecretStore.cs @@ -20,131 +20,131 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - - -using NUnit.Framework; - -using sscs.common; - -namespace sscs.cache -{ - -[TestFixture] -public class TestSecretStore -{ - - User theuser = null; - UnixUserIdentifier UserId = null; - SecretStore mysec = null; - KeyChain mykc = null; - byte[] secbyte = null; - Secret mysecret = null; - - [SetUp] - public void Init() - { - - mykc = new KeyChain("TestingID"); - - - mysecret = new Secret(); - mysecret.SetKey("testkey"); - secbyte = Encoding.ASCII.GetBytes("NOVELL"); - mysecret.SetValue(secbyte); - - mykc.AddSecret(mysecret); - - - UserId = new UnixUserIdentifier(420); - theuser = new UnixUser(UserId); - mysec = new SecretStore(theuser); - - } - - - [Test] - public void TestIntialState() - { - Assert.AreEqual(0, mysec.GetNumKeyChains()); - // Assert.AreEqual(0, mysec.getRefCount()); - Assert.AreEqual(0, mysec.GetSecretStoreState()); - - } - - - [Test] - public void TestAddKeyChain() - { - mysec.AddKeyChain(mykc); - - Assert.AreEqual(1, mysec.GetNumKeyChains()); - - Secret returnsec = (mysec.GetKeyChain("TestingID")).GetSecret("testkey");; - - Assert.AreEqual("NOVELL", Encoding.ASCII.GetString(returnsec.GetValue("testkey"))); - - - } - - - [Test] - public void TestRemoveKeyChain() - { - mysec.RemoveKeyChain("TestingID"); - Assert.AreEqual(0, mysec.GetNumKeyChains()); - - Assert.AreEqual(false, mysec.CheckIfKeyChainExists("TestingID")); - - - } - - [Test] - [ExpectedException(typeof(KeyChainDoesNotExistException))] - public void TestRemoveKeyChainAgain() - { - mysec.GetKeyChain("TestingID"); - } - - - - - - [Test] - public void TestGetKeyChainEnumerator() - { - KeyChain mykc1 = new KeyChain("kc1"); - KeyChain mykc2 = new KeyChain("kc2"); - KeyChain mykc3 = new KeyChain("kc3"); - - Secret mysecret1 = new Secret("key1", secbyte); - Secret mysecret2 = new Secret("key2", secbyte); - Secret mysecret3 = new Secret("key3", secbyte); - - mykc1.AddSecret(mysecret1); - mykc2.AddSecret(mysecret2); - mykc3.AddSecret(mysecret3); - - mysec.AddKeyChain(mykc1); - mysec.AddKeyChain(mykc2); - mysec.AddKeyChain(mykc3); - - Assert.AreEqual(3, mysec.GetNumKeyChains()); - - } - - - - -} - -} - -#endif - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + + +using NUnit.Framework; + +using sscs.common; + +namespace sscs.cache +{ + +[TestFixture] +public class TestSecretStore +{ + + User theuser = null; + UnixUserIdentifier UserId = null; + SecretStore mysec = null; + KeyChain mykc = null; + byte[] secbyte = null; + Secret mysecret = null; + + [SetUp] + public void Init() + { + + mykc = new KeyChain("TestingID"); + + + mysecret = new Secret(); + mysecret.SetKey("testkey"); + secbyte = Encoding.ASCII.GetBytes("NOVELL"); + mysecret.SetValue(secbyte); + + mykc.AddSecret(mysecret); + + + UserId = new UnixUserIdentifier(420); + theuser = new UnixUser(UserId); + mysec = new SecretStore(theuser); + + } + + + [Test] + public void TestIntialState() + { + Assert.AreEqual(0, mysec.GetNumKeyChains()); + // Assert.AreEqual(0, mysec.getRefCount()); + Assert.AreEqual(0, mysec.GetSecretStoreState()); + + } + + + [Test] + public void TestAddKeyChain() + { + mysec.AddKeyChain(mykc); + + Assert.AreEqual(1, mysec.GetNumKeyChains()); + + Secret returnsec = (mysec.GetKeyChain("TestingID")).GetSecret("testkey");; + + Assert.AreEqual("NOVELL", Encoding.ASCII.GetString(returnsec.GetValue("testkey"))); + + + } + + + [Test] + public void TestRemoveKeyChain() + { + mysec.RemoveKeyChain("TestingID"); + Assert.AreEqual(0, mysec.GetNumKeyChains()); + + Assert.AreEqual(false, mysec.CheckIfKeyChainExists("TestingID")); + + + } + + [Test] + [ExpectedException(typeof(KeyChainDoesNotExistException))] + public void TestRemoveKeyChainAgain() + { + mysec.GetKeyChain("TestingID"); + } + + + + + + [Test] + public void TestGetKeyChainEnumerator() + { + KeyChain mykc1 = new KeyChain("kc1"); + KeyChain mykc2 = new KeyChain("kc2"); + KeyChain mykc3 = new KeyChain("kc3"); + + Secret mysecret1 = new Secret("key1", secbyte); + Secret mysecret2 = new Secret("key2", secbyte); + Secret mysecret3 = new Secret("key3", secbyte); + + mykc1.AddSecret(mysecret1); + mykc2.AddSecret(mysecret2); + mykc3.AddSecret(mysecret3); + + mysec.AddKeyChain(mykc1); + mysec.AddKeyChain(mykc2); + mysec.AddKeyChain(mykc3); + + Assert.AreEqual(3, mysec.GetNumKeyChains()); + + } + + + + +} + +} + +#endif + + + diff --git a/CASA/micasad/test/common/TestRequestParser.cs b/CASA/micasad/test/common/TestRequestParser.cs index 5beaa88e..bafbd336 100644 --- a/CASA/micasad/test/common/TestRequestParser.cs +++ b/CASA/micasad/test/common/TestRequestParser.cs @@ -21,90 +21,90 @@ ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - - -using NUnit.Framework; - -using sscs.common; -using sscs.verbs; - -namespace sscs.cache -{ - -[TestFixture] -public class TestRequestParser -{ - - - RequestParser reqParser = null; - - - [SetUp] - public void Init() - { - - reqParser = new RequestParser(); - - } - - - [Test] - [ExpectedException(typeof(FormatException))] - public void TestNullRequest() - { - -// SSVerb verb = reqParser.ParseRequest(null); - reqParser.ParseRequest(null); - - } - - [Test] - public void TestParseRequest() - { - - // byte[] buf = new byte[1024]; - - //buf[0] = 1; - // buf[1] = 1; - int i =1; - byte[] dummy = BitConverter.GetBytes(i); - SSVerb verb = reqParser.ParseRequest(dummy); - Assert.AreEqual("sscs.verbs.OpenSecretStore", verb.GetVerbName()); - - i = 18; - dummy = BitConverter.GetBytes(i); - verb = reqParser.ParseRequest(dummy); - Assert.AreEqual("sscs.verbs.GetUserState", verb.GetVerbName()); - - - - } - - [Test] - [ExpectedException(typeof(ArgumentNullException))] - public void TestParseRequestInvalid() - { - byte[] buf = new byte[1024] ; - buf[0] = 25; - buf[1] = 25; -// SSVerb verb = reqParser.ParseRequest(buf); - reqParser.ParseRequest(buf); - - } - - - - - -} - -} -#endif - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + + +using NUnit.Framework; + +using sscs.common; +using sscs.verbs; + +namespace sscs.cache +{ + +[TestFixture] +public class TestRequestParser +{ + + + RequestParser reqParser = null; + + + [SetUp] + public void Init() + { + + reqParser = new RequestParser(); + + } + + + [Test] + [ExpectedException(typeof(FormatException))] + public void TestNullRequest() + { + +// SSVerb verb = reqParser.ParseRequest(null); + reqParser.ParseRequest(null); + + } + + [Test] + public void TestParseRequest() + { + + // byte[] buf = new byte[1024]; + + //buf[0] = 1; + // buf[1] = 1; + int i =1; + byte[] dummy = BitConverter.GetBytes(i); + SSVerb verb = reqParser.ParseRequest(dummy); + Assert.AreEqual("sscs.verbs.OpenSecretStore", verb.GetVerbName()); + + i = 18; + dummy = BitConverter.GetBytes(i); + verb = reqParser.ParseRequest(dummy); + Assert.AreEqual("sscs.verbs.GetUserState", verb.GetVerbName()); + + + + } + + [Test] + [ExpectedException(typeof(ArgumentNullException))] + public void TestParseRequestInvalid() + { + byte[] buf = new byte[1024] ; + buf[0] = 25; + buf[1] = 25; +// SSVerb verb = reqParser.ParseRequest(buf); + reqParser.ParseRequest(buf); + + } + + + + + +} + +} +#endif + + + diff --git a/CASA/micasad/test/common/TestSessionManager.cs b/CASA/micasad/test/common/TestSessionManager.cs index a264824d..a50ff9dc 100644 --- a/CASA/micasad/test/common/TestSessionManager.cs +++ b/CASA/micasad/test/common/TestSessionManager.cs @@ -20,157 +20,157 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; - -namespace sscs.common -{ - -[TestFixture] -public class TestSessionManager -{ - - User theuser = null; - UnixUserIdentifier UserId = null; - UnixUserIdentifier root = null; - SecretStore mysec = null; - SecretStore anothersec = null; - KeyChain mykc1 = null; - KeyChain mykc2 = null; - byte[] secbyte1 = null; - byte[] secbyte2 = null; - Secret mysecret1 = null; - Secret mysecret2 = null; - SessionManager sesman ; - - [SetUp] - public void Init() - { - - sesman = SessionManager.GetSessionManager; - - mykc1 = new KeyChain("k1"); - mykc2 = new KeyChain("k2"); - - - mysecret1 = new Secret(); - mysecret2 = new Secret(); - - mysecret1.SetKey("key1"); - mysecret2.SetKey("key2"); - secbyte1 = Encoding.ASCII.GetBytes("NOVELL"); - secbyte2 = Encoding.ASCII.GetBytes("IBM"); - - mysecret1.SetValue(secbyte1); - mysecret2.SetValue(secbyte2); - - mykc1.AddSecret(mysecret1); - mykc2.AddSecret(mysecret2); - - - UserId = new UnixUserIdentifier(420); - root = new UnixUserIdentifier(0); - - //theuser = new UnixUser(UserId); - - - - - } - - - [Test] - public void TestCreateUserSession() - { - - anothersec = SessionManager.CreateUserSession(root); - mysec = SessionManager.CreateUserSession(UserId); - - //Assert.AreEqual(1, mysec.getRefCount()); - //Assert.AreEqual(1, anothersec.getRefCount()); - - Assert.AreEqual(true, SessionManager.CheckIfUserSessionExists(UserId)); - Assert.AreEqual(true, SessionManager.CheckIfUserSessionExists(root)); - - - - } - - - [Test] - public void TestAddtoSession() - { - SecretStore s1 = SessionManager.GetUserSecretStore(UserId); - SecretStore s2 = SessionManager.GetUserSecretStore(root); - - s1.AddKeyChain(mykc1); - s2.AddKeyChain(mykc2); - - s1 = SessionManager.GetUserSecretStore(UserId); - s2 = SessionManager.GetUserSecretStore(root); - - KeyChain returnK1 = s1.GetKeyChain("k1"); - Secret returnS1 = returnK1.GetSecret("key1"); - - KeyChain returnK2 = s2.GetKeyChain("k2"); - Secret returnS2 = returnK2.GetSecret("key2"); - - Assert.AreEqual("NOVELL", Encoding.ASCII.GetString(returnS1.GetValue())); - Assert.AreEqual("IBM",Encoding.ASCII.GetString(returnS2.GetValue()) ); - - - - } - - - [Test] - [ExpectedException(typeof(KeyChainDoesNotExistException))] - public void TestInvalidAccess() - { - SecretStore s1 = SessionManager.GetUserSecretStore(UserId); - //SecretStore s2 = SessionManager.GetUserSecretStore(root); - - s1.GetKeyChain("k2"); - - - } - - - - [Test] - public void TestRemoveUserSession() - { - SessionManager.RemoveUserSession(UserId, true); - Assert.AreEqual(false, SessionManager.CheckIfUserSessionExists(UserId)); - - //TBD :Make the ref count more than one and delete call remove sesison once. - //The call it once more.. only second time it should remove the session entry. - - } - - - - - - - - -} - -} -#endif - - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; + +namespace sscs.common +{ + +[TestFixture] +public class TestSessionManager +{ + + User theuser = null; + UnixUserIdentifier UserId = null; + UnixUserIdentifier root = null; + SecretStore mysec = null; + SecretStore anothersec = null; + KeyChain mykc1 = null; + KeyChain mykc2 = null; + byte[] secbyte1 = null; + byte[] secbyte2 = null; + Secret mysecret1 = null; + Secret mysecret2 = null; + SessionManager sesman ; + + [SetUp] + public void Init() + { + + sesman = SessionManager.GetSessionManager; + + mykc1 = new KeyChain("k1"); + mykc2 = new KeyChain("k2"); + + + mysecret1 = new Secret(); + mysecret2 = new Secret(); + + mysecret1.SetKey("key1"); + mysecret2.SetKey("key2"); + secbyte1 = Encoding.ASCII.GetBytes("NOVELL"); + secbyte2 = Encoding.ASCII.GetBytes("IBM"); + + mysecret1.SetValue(secbyte1); + mysecret2.SetValue(secbyte2); + + mykc1.AddSecret(mysecret1); + mykc2.AddSecret(mysecret2); + + + UserId = new UnixUserIdentifier(420); + root = new UnixUserIdentifier(0); + + //theuser = new UnixUser(UserId); + + + + + } + + + [Test] + public void TestCreateUserSession() + { + + anothersec = SessionManager.CreateUserSession(root); + mysec = SessionManager.CreateUserSession(UserId); + + //Assert.AreEqual(1, mysec.getRefCount()); + //Assert.AreEqual(1, anothersec.getRefCount()); + + Assert.AreEqual(true, SessionManager.CheckIfUserSessionExists(UserId)); + Assert.AreEqual(true, SessionManager.CheckIfUserSessionExists(root)); + + + + } + + + [Test] + public void TestAddtoSession() + { + SecretStore s1 = SessionManager.GetUserSecretStore(UserId); + SecretStore s2 = SessionManager.GetUserSecretStore(root); + + s1.AddKeyChain(mykc1); + s2.AddKeyChain(mykc2); + + s1 = SessionManager.GetUserSecretStore(UserId); + s2 = SessionManager.GetUserSecretStore(root); + + KeyChain returnK1 = s1.GetKeyChain("k1"); + Secret returnS1 = returnK1.GetSecret("key1"); + + KeyChain returnK2 = s2.GetKeyChain("k2"); + Secret returnS2 = returnK2.GetSecret("key2"); + + Assert.AreEqual("NOVELL", Encoding.ASCII.GetString(returnS1.GetValue())); + Assert.AreEqual("IBM",Encoding.ASCII.GetString(returnS2.GetValue()) ); + + + + } + + + [Test] + [ExpectedException(typeof(KeyChainDoesNotExistException))] + public void TestInvalidAccess() + { + SecretStore s1 = SessionManager.GetUserSecretStore(UserId); + //SecretStore s2 = SessionManager.GetUserSecretStore(root); + + s1.GetKeyChain("k2"); + + + } + + + + [Test] + public void TestRemoveUserSession() + { + SessionManager.RemoveUserSession(UserId, true); + Assert.AreEqual(false, SessionManager.CheckIfUserSessionExists(UserId)); + + //TBD :Make the ref count more than one and delete call remove sesison once. + //The call it once more.. only second time it should remove the session entry. + + } + + + + + + + + +} + +} +#endif + + + + + + + diff --git a/CASA/micasad/test/communication/TestUnixCommunication.cs b/CASA/micasad/test/communication/TestUnixCommunication.cs index 5e840bcd..0fbe6c64 100644 --- a/CASA/micasad/test/communication/TestUnixCommunication.cs +++ b/CASA/micasad/test/communication/TestUnixCommunication.cs @@ -21,59 +21,59 @@ ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.IO; -using System.Threading; -using NUnit.Framework; - -using sscs.communication; - - - namespace sscs.communication -{ - -[TestFixture] - public class TestUnixCommunication - { - - static Communication comm; - Thread listeningthread = null; - - [SetUp] - public void Init() - { - - - } - - [Test] - //[Ignore("That thread thing")] - public void TestCommunication() - { - - - comm = new UnixCommunication(); - listeningthread = new Thread(new ThreadStart(StartServ)); - listeningthread.Start(); - //comm.StartCommunicationEndPoint(); - comm.CloseCommunicationEndPoint(); - - Assert.AreEqual(false, File.Exists("/tmp/novellSSCS")); - - } - - private static void StartServ() - { - - comm.StartCommunicationEndPoint(); - } - - - - - - } -} -#endif +#if DEBUG +using System; +using System.Text; +using System.IO; +using System.Threading; +using NUnit.Framework; + +using sscs.communication; + + + namespace sscs.communication +{ + +[TestFixture] + public class TestUnixCommunication + { + + static Communication comm; + Thread listeningthread = null; + + [SetUp] + public void Init() + { + + + } + + [Test] + //[Ignore("That thread thing")] + public void TestCommunication() + { + + + comm = new UnixCommunication(); + listeningthread = new Thread(new ThreadStart(StartServ)); + listeningthread.Start(); + //comm.StartCommunicationEndPoint(); + comm.CloseCommunicationEndPoint(); + + Assert.AreEqual(false, File.Exists("/tmp/novellSSCS")); + + } + + private static void StartServ() + { + + comm.StartCommunicationEndPoint(); + } + + + + + + } +} +#endif diff --git a/CASA/micasad/test/dependencies/nunit-console.exe b/CASA/micasad/test/dependencies/nunit-console.exe deleted file mode 100644 index d9f96463..00000000 Binary files a/CASA/micasad/test/dependencies/nunit-console.exe and /dev/null differ diff --git a/CASA/micasad/test/dependencies/nunit.core.dll b/CASA/micasad/test/dependencies/nunit.core.dll deleted file mode 100644 index 89ae609f..00000000 Binary files a/CASA/micasad/test/dependencies/nunit.core.dll and /dev/null differ diff --git a/CASA/micasad/test/dependencies/nunit.extensions.dll b/CASA/micasad/test/dependencies/nunit.extensions.dll deleted file mode 100644 index 91d6c24c..00000000 Binary files a/CASA/micasad/test/dependencies/nunit.extensions.dll and /dev/null differ diff --git a/CASA/micasad/test/dependencies/nunit.framework.dll b/CASA/micasad/test/dependencies/nunit.framework.dll deleted file mode 100644 index a07e042c..00000000 Binary files a/CASA/micasad/test/dependencies/nunit.framework.dll and /dev/null differ diff --git a/CASA/micasad/test/dependencies/nunit.mocks.dll b/CASA/micasad/test/dependencies/nunit.mocks.dll deleted file mode 100644 index e7f534f7..00000000 Binary files a/CASA/micasad/test/dependencies/nunit.mocks.dll and /dev/null differ diff --git a/CASA/micasad/test/dependencies/nunit.util.dll b/CASA/micasad/test/dependencies/nunit.util.dll deleted file mode 100644 index 2b27c3b2..00000000 Binary files a/CASA/micasad/test/dependencies/nunit.util.dll and /dev/null differ diff --git a/CASA/micasad/test/verbs/TestAddKeychains.cs b/CASA/micasad/test/verbs/TestAddKeychains.cs index 86ee1728..cc395253 100644 --- a/CASA/micasad/test/verbs/TestAddKeychains.cs +++ b/CASA/micasad/test/verbs/TestAddKeychains.cs @@ -20,50 +20,50 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestAddKeyChain -{ - - - - [SetUp] - public void Init() - { - - - - - } - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestAddKeyChain +{ + + + + [SetUp] + public void Init() + { + + + + + } + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/test/verbs/TestCloseSecretStore.cs b/CASA/micasad/test/verbs/TestCloseSecretStore.cs index d9111a72..f434ac57 100644 --- a/CASA/micasad/test/verbs/TestCloseSecretStore.cs +++ b/CASA/micasad/test/verbs/TestCloseSecretStore.cs @@ -20,46 +20,46 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestCloseSecretStore -{ - - - - [SetUp] - public void Init() - { - - - } - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestCloseSecretStore +{ + + + + [SetUp] + public void Init() + { + + + } + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/test/verbs/TestEnumerateKeyChainIDs.cs b/CASA/micasad/test/verbs/TestEnumerateKeyChainIDs.cs index 7261d78d..782dd538 100644 --- a/CASA/micasad/test/verbs/TestEnumerateKeyChainIDs.cs +++ b/CASA/micasad/test/verbs/TestEnumerateKeyChainIDs.cs @@ -20,49 +20,49 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestEnumerateKeyChainID -{ - - - - [SetUp] - public void Init() - { - - - - - } - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - -} - -} - - -#endif - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestEnumerateKeyChainID +{ + + + + [SetUp] + public void Init() + { + + + + + } + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + +} + +} + + +#endif + + + + + diff --git a/CASA/micasad/test/verbs/TestEnumerateSecIDs.cs b/CASA/micasad/test/verbs/TestEnumerateSecIDs.cs index 76efaa60..a022072a 100644 --- a/CASA/micasad/test/verbs/TestEnumerateSecIDs.cs +++ b/CASA/micasad/test/verbs/TestEnumerateSecIDs.cs @@ -20,50 +20,50 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestEnumerateSecID -{ - - - - [SetUp] - public void Init() - { - - - - - } - - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestEnumerateSecID +{ + + + + [SetUp] + public void Init() + { + + + + + } + + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/test/verbs/TestOpenSecretStore.cs b/CASA/micasad/test/verbs/TestOpenSecretStore.cs index a62c1025..bf72a75d 100644 --- a/CASA/micasad/test/verbs/TestOpenSecretStore.cs +++ b/CASA/micasad/test/verbs/TestOpenSecretStore.cs @@ -20,65 +20,65 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestOpenSecretStore -{ - - - - [SetUp] - public void Init() - { - - - - - } - - /* - [Test] - [ExpectedException(typeof(InvalidOperationException))] - public void TestNullVerb() - { - - SSVerb verb = new OpenSecretStore(); - verb.processRequest(UserId); - - } - */ - - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - - - -} - -} -#endif - - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestOpenSecretStore +{ + + + + [SetUp] + public void Init() + { + + + + + } + + /* + [Test] + [ExpectedException(typeof(InvalidOperationException))] + public void TestNullVerb() + { + + SSVerb verb = new OpenSecretStore(); + verb.processRequest(UserId); + + } + */ + + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + + + +} + +} +#endif + + + + + + + diff --git a/CASA/micasad/test/verbs/TestReadSecret.cs b/CASA/micasad/test/verbs/TestReadSecret.cs index 47385761..a2ddac55 100644 --- a/CASA/micasad/test/verbs/TestReadSecret.cs +++ b/CASA/micasad/test/verbs/TestReadSecret.cs @@ -20,50 +20,50 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestReadSecret -{ - - - - [SetUp] - public void Init() - { - - - - - } - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestReadSecret +{ + + + + [SetUp] + public void Init() + { + + + + + } + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/test/verbs/TestRemoveKeyChain.cs b/CASA/micasad/test/verbs/TestRemoveKeyChain.cs index c02013c2..f8867fd4 100644 --- a/CASA/micasad/test/verbs/TestRemoveKeyChain.cs +++ b/CASA/micasad/test/verbs/TestRemoveKeyChain.cs @@ -20,51 +20,51 @@ * ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestRemoveKeyChain -{ - - - - [SetUp] - public void Init() - { - - - - - } - - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestRemoveKeyChain +{ + + + + [SetUp] + public void Init() + { + + + + + } + + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/test/verbs/TestWriteSecret.cs b/CASA/micasad/test/verbs/TestWriteSecret.cs index c9d2a4ea..cfb8ac0c 100644 --- a/CASA/micasad/test/verbs/TestWriteSecret.cs +++ b/CASA/micasad/test/verbs/TestWriteSecret.cs @@ -21,51 +21,51 @@ ***********************************************************************/ -#if DEBUG -using System; -using System.Text; -using System.Collections; -//using System.InvalidOperationException; - -using NUnit.Framework; - -using sscs.common; -using sscs.cache; -using sscs.verbs; - -namespace sscs.verbs -{ - -[TestFixture] -public class TestWriteSecret -{ - - - - [SetUp] - public void Init() - { - - - - - } - - - -// TBD: Need to construct the input buf and output buf and call the processRequest() -//As of now all internal functions are tested and the cachelib test code -// also indirectly tests this function. - - -} - -} - -#endif - - - - - - +#if DEBUG +using System; +using System.Text; +using System.Collections; +//using System.InvalidOperationException; + +using NUnit.Framework; + +using sscs.common; +using sscs.cache; +using sscs.verbs; + +namespace sscs.verbs +{ + +[TestFixture] +public class TestWriteSecret +{ + + + + [SetUp] + public void Init() + { + + + + + } + + + +// TBD: Need to construct the input buf and output buf and call the processRequest() +//As of now all internal functions are tested and the cachelib test code +// also indirectly tests this function. + + +} + +} + +#endif + + + + + + diff --git a/CASA/micasad/verbs/ObjectSerialization.cs b/CASA/micasad/verbs/ObjectSerialization.cs index 65a491e4..b488b40b 100644 --- a/CASA/micasad/verbs/ObjectSerialization.cs +++ b/CASA/micasad/verbs/ObjectSerialization.cs @@ -242,7 +242,7 @@ namespace sscs.verbs case MiCasaRequestReply.VERB_GET_MODIFIED_TIME: { return DoGetModifiedTime(ssStore, wo); - } + } case MiCasaRequestReply.VERB_GET_GLOBAL_SETTING: { return DoGetGlobalSetting(ssStore, wo); @@ -265,18 +265,18 @@ namespace sscs.verbs } return wo; - } - - private WrappedObject DoGetGlobalSetting(SecretStore ssStore, WrappedObject wo) - { - String sSettingName = (string)wo.GetObject(); - String sSettingValue = null; - if (sSettingName != null) - { - sSettingValue = Config.GetGlobalConfigSetting(sSettingName); - } - wo.SetObject(sSettingValue); - return wo; + } + + private WrappedObject DoGetGlobalSetting(SecretStore ssStore, WrappedObject wo) + { + String sSettingName = (string)wo.GetObject(); + String sSettingValue = null; + if (sSettingName != null) + { + sSettingValue = Config.GetGlobalConfigSetting(sSettingName); + } + wo.SetObject(sSettingValue); + return wo; } private WrappedObject DoGetModifiedTime(SecretStore ssStore, WrappedObject wo) diff --git a/CASA/micasad/verbs/ReadBinaryKey.cs b/CASA/micasad/verbs/ReadBinaryKey.cs index ed30fe0f..89e42d27 100644 --- a/CASA/micasad/verbs/ReadBinaryKey.cs +++ b/CASA/micasad/verbs/ReadBinaryKey.cs @@ -139,8 +139,8 @@ namespace sscs.verbs { // WINDOWS LUID - // System Services, like DLU create fake UIDs, store credentials and then want to read that data. - luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); + // System Services, like DLU create fake UIDs, store credentials and then want to read that data. + luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); luidHigh = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 12); // this code is for ZEN. Here we switch to a keychain who's ID is the LUID of the user logging in. diff --git a/CASA/micasad/verbs/ReadKey.cs b/CASA/micasad/verbs/ReadKey.cs index eee4404f..fcb59d19 100644 --- a/CASA/micasad/verbs/ReadKey.cs +++ b/CASA/micasad/verbs/ReadKey.cs @@ -139,8 +139,8 @@ namespace sscs.verbs { // WINDOWS LUID - // System Services, like DLU create fake UIDs, store credentials and then want to read that data. - luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); + // System Services, like DLU create fake UIDs, store credentials and then want to read that data. + luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); luidHigh = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 12); // this code is for ZEN. Here we switch to a keychain who's ID is the LUID of the user logging in. diff --git a/CASA/micasad/verbs/RemoveKey.cs b/CASA/micasad/verbs/RemoveKey.cs index 7dae302f..df3e4bc2 100644 --- a/CASA/micasad/verbs/RemoveKey.cs +++ b/CASA/micasad/verbs/RemoveKey.cs @@ -135,8 +135,8 @@ namespace sscs.verbs { // WINDOWS LUID - // System Services, like DLU create fake UIDs, store credentials and then want to read that data. - luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); + // System Services, like DLU create fake UIDs, store credentials and then want to read that data. + luidLow = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 8); luidHigh = BitConverter.ToInt32(inBuf, 22 + ((int)keyChainIdLen) + ((int)secretIdLen) + ((int)keyLen) + 12); // this code is for ZEN. Here we switch to a keychain who's ID is the LUID of the user logging in. diff --git a/CASA/micasad/verbs/WriteBinaryKey.cs b/CASA/micasad/verbs/WriteBinaryKey.cs index 74901ec4..10d80e4b 100644 --- a/CASA/micasad/verbs/WriteBinaryKey.cs +++ b/CASA/micasad/verbs/WriteBinaryKey.cs @@ -137,8 +137,8 @@ namespace sscs.verbs #if W32 if (extId == 1) - { - + { + CSSSLogger.DbgLog("LUID ExtID found"); // WINDOWS LUID // This is how the Login Capture module on windows, running as System, sets the Desktop Credential. @@ -179,7 +179,7 @@ namespace sscs.verbs { CSSSLogger.DbgLog("WriteKey: Adding keychain returned error: " + e.ToString()); } - } + } CSSSLogger.DbgLog("WriteBinaryKey: Switching LUID to [" + luidHigh.ToString() + "][" + luidLow.ToString() + "]"); } } diff --git a/CASA/micasadk/CMakeLists.txt b/CASA/micasadk/CMakeLists.txt new file mode 100644 index 00000000..2dc10de3 --- /dev/null +++ b/CASA/micasadk/CMakeLists.txt @@ -0,0 +1,48 @@ +################################# +# Project +############## + +project(micasadk) + +enable_language(C) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -DSSCS_LINUX_PLAT_F -DN_PLAT_UNIX -DUNIX -DLINUX -DIAPX38 ) + +################################# +# Source Files +############## + +add_library(micasa SHARED + cardselector.c + sscs_ndk.c + common/sscs_ll.c + micasacache/sscs_ipc.c + micasacache/sscs_unx_cache.c + micasacache/sscs_unx_ipc_client.c + ) + +################################# +# Linking +############## + +set_target_properties(micasa PROPERTIES VERSION 1.1.1 SOVERSION 1 LINK_FLAGS -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/micasa_lux.exp) + +################################# +# Install Files +############## + +install(TARGETS micasa DESTINATION ${LIB_INSTALL_DIR}) diff --git a/CASA/micasadk/Makefile.am b/CASA/micasadk/Makefile.am deleted file mode 100644 index 9a39fa7a..00000000 --- a/CASA/micasadk/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -EXTRA_DIST = *.c - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasadk/c_micasadk.vcproj b/CASA/micasadk/c_micasadk.vcproj deleted file mode 100644 index ebeefd36..00000000 --- a/CASA/micasadk/c_micasadk.vcproj +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/micasadk/c_micasadk64.vcproj b/CASA/micasadk/c_micasadk64.vcproj deleted file mode 100644 index 6f1d2d17..00000000 --- a/CASA/micasadk/c_micasadk64.vcproj +++ /dev/null @@ -1,392 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/common/sscs_ll.c b/CASA/micasadk/common/sscs_ll.c similarity index 95% rename from CASA/common/sscs_ll.c rename to CASA/micasadk/common/sscs_ll.c index cea5ed63..0c34693b 100644 --- a/CASA/common/sscs_ll.c +++ b/CASA/micasadk/common/sscs_ll.c @@ -20,433 +20,433 @@ * ***********************************************************************/ -#include -#include -#include "sscs_lldefs.h" - - -/* */ -/* - * NAME - _ll_CreateLink - * - * DESCRIPTION - * This function will create a link to be used in a list. - * - */ -LL_LINK_T *_ll_CreateLink(uint32_t itemSize) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - /* allocate the new link */ - LL_LINK_T *newLink = (LL_LINK_T *)(malloc(sizeof(LL_LINK_T) + itemSize)); - -/* ############################## CODE STARTS HERE ############################ */ - - if(newLink) - { - /* clear out the allocated buffer */ - memset(newLink, 0 , sizeof(sizeof(LL_LINK_T)+itemSize)); - newLink->item = (((uint8_t *)newLink) + sizeof(LL_LINK_T)); - return(newLink); - } - - return(NULL); - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of _ll_CreateLink */ - - - -/* */ -/* - * NAME - ll_RemoveCurrentLink - * - * DESCRIPTION - * - * - */ -void ll_RemoveCurrentLink(LL_LINKLIST_T *list) -{ /* beginning of the call */ -/* ######################## DECLARATIONS START HERE ######################## */ - - int i; - LL_LINK_T *prev = NULL, *targetLink = NULL; - -/* ########################### CODE STARTS HERE ############################ */ - - if(list->elemCount) - { - // save the link to delete - targetLink = list->clp; - // start at the head - list->clp = list->head; - - for(i = 0; i < (int)list->elemCount; i++) - { - if(list->clp == targetLink) - { - if(prev) - { - prev->next = list->clp->next; - list->clp = prev; - } - else - { - list->head = list->head->next; - list->clp = list->head; - } - - free(targetLink); - list->elemCount--; - break; - } - else - { - prev = list->clp; - list->clp = list->clp->next; - } - } - } - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_RemoveCurrentLink */ - - - - - -/* */ -/* - * NAME - ll_InsertSharedSecretLink - * - * DESCRIPTION - * This function inserts a new link into the link list after the - * CLP. If the CLP is pointing to the tail of the list the new - * link will become the new tail for the list. The new link will - * become the CLP and the index will be set to CLP. - * - */ -int ll_InsertSharedSecretLink - ( - LL_LINKLIST_T *list, - uint32_t kLen, - SS_UTF8_T *key, - uint32_t vLen, - uint8_t *value - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################################## */ - - uint32_t keyLen = kLen; - LL_LINK_T *newLink = _ll_CreateLink(sizeof(LL_SHSEC_KEY_VAL_T) + keyLen + vLen); - LL_SHSEC_KEY_VAL_T *sharedLink; - -/* ############################## CODE STARTS HERE ########################################### */ - - if(newLink) - { - if(list->elemCount) - { - list->clp = list->head; - /* check for duplicates */ - do - { - // check to see if the key exists - if(((ll_GetSHSecKeyLen(list) == kLen) && - (memcmp(ll_GetSHSecKey(list), key, ll_GetSHSecKeyLen(list))) == 0)) - { - // the key exists now check for the value - if((ll_GetSHSecValLen(list) == vLen) && - (memcmp(ll_GetSHSecVal(list), value, ll_GetSHSecValLen(list)) == 0)) - { - /* element already in the list */ - free(newLink); - return(NSSCS_LL_SUCCESS); - } - else - { - // free the link with old valude - ll_RemoveCurrentLink(list); - break; - } - } - - /* move forward one link */ - if(list->clp->next) - { - list->clp = list->clp->next; - continue; - } - else - { - /* end of the list not found */ - break; - } - } while(TRUE); - - if (list->clp) - { - list->clp->next = newLink; - /* reset the clp to the new link */ - list->clp = newLink; - (list->elemCount)++; - } - else - { - list->head = list->clp = newLink; - list->elemCount = 1; - } - } - else - { - list->head = list->clp = newLink; - list->elemCount = 1; - } - - /* copy linkData to the link */ - sharedLink = (LL_SHSEC_KEY_VAL_T*)list->clp->item; - sharedLink->kLen = kLen; - sharedLink->vLen = vLen; - sharedLink->key = (SS_UTF8_T *)(((uint8_t *)sharedLink) + sizeof(LL_SHSEC_KEY_VAL_T)); - sharedLink->value = (((uint8_t *)sharedLink) + sizeof(LL_SHSEC_KEY_VAL_T)) + keyLen; - - sscs_Utf8Strncpy(sharedLink->key, key, kLen); - memcpy(sharedLink->value, value, vLen); - - return(NSSCS_LL_SUCCESS); - } - else - { - return(NSSCS_E_LL_SYS_FAILURE); - } - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_InsertSharedSecretLink */ - - - - -/* */ -/* - * NAME - ll_RemoveSharedSecretLink - * - * DESCRIPTION - * This function removes a Shared Secret link from the link list at the - * CLP. - * - */ -int ll_RemoveSharedSecretLink - ( - LL_LINKLIST_T *list, - uint32_t kLen, - SS_UTF8_T *key - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - LL_LINK_T *prev = NULL; - -/* ############################## CODE STARTS HERE ############################ */ - - if(list->elemCount) - { - list->clp = list->head; - /* check for duplicates */ - do - { - // keys should be unique - if(((ll_GetSHSecKeyLen(list) == kLen) && - (memcmp(ll_GetSHSecKey(list), key, ll_GetSHSecKeyLen(list))) == 0)) - { - /* element already in the list */ - if(prev) - { - prev->next = list->clp->next; - free(list->clp); - list->clp = prev; - } - else - { - list->head = list->head->next; - free(list->clp); - list->clp = list->head; - } - - list->elemCount--; - return(NSSCS_LL_SUCCESS); - } - - /* move forward one link */ - if(list->clp->next) - { - prev = list->clp; - list->clp = list->clp->next; - continue; - } - else - { - /* end of the list item not found */ - return(NSSCS_LL_SUCCESS); - } - } while(TRUE); - } - - return(NSSCS_E_LL_SYS_FAILURE); - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_RemoveSharedSecretLink */ - - - - -/* */ -/* - * NAME - ll_DestroyList - * - * DESCRIPTION - * This function completely destroy a linked list by freeing the - * memory for all the links. - * - */ -void ll_DestroyList(LL_LINKLIST_T *list) -{ /* beginning of the call */ -/* ############################## CODE STARTS HERE ############################ */ - - /* kill the links in the link list */ - while(list->elemCount) - { - list->clp = list->head; - list->head = list->head->next; - free(list->clp); - list->elemCount--; - } - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_DestroyList */ - - - - -/* */ -/* - * NAME - ll_Next - * - * DESCRIPTION - * This function moves the CLP to point to the next - * link in the list and returns a TRUE or FALSE based on the - * success or failure (when it reaches the end of the list) of the - * operation. - * - */ -int ll_Next(LL_LINKLIST_T *list) -{ /* beginning of the call */ -/* ############################## CODE STARTS HERE ############################ */ - - if(list) - { - if(list->elemCount) - { - if(list->clp->next) - { - list->clp = list->clp->next; - return(TRUE); /* if not at the tail of the list */ - } - } - } - - return(FALSE); /* cannot go beyond the tail of the list */ - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_Next */ - - - - - -/* */ -/* - * NAME - ll_InsertNewLink - * - * DESCRIPTION - * Cache in a set of ds items. - * - */ -void *ll_InsertNewLink - ( - LL_LINKLIST_T *list, - uint32_t itemSize - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - LL_LINK_T *newLink = _ll_CreateLink(itemSize); - -/* ############################## CODE STARTS HERE ############################ */ - - if(newLink) - { - if(list->elemCount) - { - list->clp = list->head; - /* check for duplicates */ - while(list->clp->next) - { - list->clp = list->clp->next; - } - - list->clp->next = newLink; - /* reset the clp to the new link */ - list->clp = newLink; - (list->elemCount)++; - } - else - { - list->head = list->clp = newLink; - list->elemCount = 1; - } - - - - return(newLink->item); - } - else - { - return(NULL); - } - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_InsertNewLink */ - - - - - - -/* */ -/* - * NAME - ll_GetEntry - * - * DESCRIPTION - * This function returns a pointer to the current item - * in the list or returns NULL - * - */ -void* ll_GetEntry(LL_LINKLIST_T *list) -{ /* beginning of the call */ -/* ############################## CODE STARTS HERE ############################ */ - - if(list) - { - if(list->elemCount) - { - if(list->clp->item) - { - return list->clp->item; - } - } - } - - return NULL; - -/* ############################### CODE ENDS HERE ############################# */ -} /* end of ll_GetEntry */ +#include +#include +#include "sscs_lldefs.h" + + +/* */ +/* + * NAME - _ll_CreateLink + * + * DESCRIPTION + * This function will create a link to be used in a list. + * + */ +LL_LINK_T *_ll_CreateLink(uint32_t itemSize) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + /* allocate the new link */ + LL_LINK_T *newLink = (LL_LINK_T *)(malloc(sizeof(LL_LINK_T) + itemSize)); + +/* ############################## CODE STARTS HERE ############################ */ + + if(newLink) + { + /* clear out the allocated buffer */ + memset(newLink, 0 , sizeof(sizeof(LL_LINK_T)+itemSize)); + newLink->item = (((uint8_t *)newLink) + sizeof(LL_LINK_T)); + return(newLink); + } + + return(NULL); + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of _ll_CreateLink */ + + + +/* */ +/* + * NAME - ll_RemoveCurrentLink + * + * DESCRIPTION + * + * + */ +void ll_RemoveCurrentLink(LL_LINKLIST_T *list) +{ /* beginning of the call */ +/* ######################## DECLARATIONS START HERE ######################## */ + + int i; + LL_LINK_T *prev = NULL, *targetLink = NULL; + +/* ########################### CODE STARTS HERE ############################ */ + + if(list->elemCount) + { + // save the link to delete + targetLink = list->clp; + // start at the head + list->clp = list->head; + + for(i = 0; i < (int)list->elemCount; i++) + { + if(list->clp == targetLink) + { + if(prev) + { + prev->next = list->clp->next; + list->clp = prev; + } + else + { + list->head = list->head->next; + list->clp = list->head; + } + + free(targetLink); + list->elemCount--; + break; + } + else + { + prev = list->clp; + list->clp = list->clp->next; + } + } + } + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_RemoveCurrentLink */ + + + + + +/* */ +/* + * NAME - ll_InsertSharedSecretLink + * + * DESCRIPTION + * This function inserts a new link into the link list after the + * CLP. If the CLP is pointing to the tail of the list the new + * link will become the new tail for the list. The new link will + * become the CLP and the index will be set to CLP. + * + */ +int ll_InsertSharedSecretLink + ( + LL_LINKLIST_T *list, + uint32_t kLen, + SS_UTF8_T *key, + uint32_t vLen, + uint8_t *value + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################################## */ + + uint32_t keyLen = kLen; + LL_LINK_T *newLink = _ll_CreateLink(sizeof(LL_SHSEC_KEY_VAL_T) + keyLen + vLen); + LL_SHSEC_KEY_VAL_T *sharedLink; + +/* ############################## CODE STARTS HERE ########################################### */ + + if(newLink) + { + if(list->elemCount) + { + list->clp = list->head; + /* check for duplicates */ + do + { + // check to see if the key exists + if(((ll_GetSHSecKeyLen(list) == kLen) && + (memcmp(ll_GetSHSecKey(list), key, ll_GetSHSecKeyLen(list))) == 0)) + { + // the key exists now check for the value + if((ll_GetSHSecValLen(list) == vLen) && + (memcmp(ll_GetSHSecVal(list), value, ll_GetSHSecValLen(list)) == 0)) + { + /* element already in the list */ + free(newLink); + return(NSSCS_LL_SUCCESS); + } + else + { + // free the link with old valude + ll_RemoveCurrentLink(list); + break; + } + } + + /* move forward one link */ + if(list->clp->next) + { + list->clp = list->clp->next; + continue; + } + else + { + /* end of the list not found */ + break; + } + } while(TRUE); + + if (list->clp) + { + list->clp->next = newLink; + /* reset the clp to the new link */ + list->clp = newLink; + (list->elemCount)++; + } + else + { + list->head = list->clp = newLink; + list->elemCount = 1; + } + } + else + { + list->head = list->clp = newLink; + list->elemCount = 1; + } + + /* copy linkData to the link */ + sharedLink = (LL_SHSEC_KEY_VAL_T*)list->clp->item; + sharedLink->kLen = kLen; + sharedLink->vLen = vLen; + sharedLink->key = (SS_UTF8_T *)(((uint8_t *)sharedLink) + sizeof(LL_SHSEC_KEY_VAL_T)); + sharedLink->value = (((uint8_t *)sharedLink) + sizeof(LL_SHSEC_KEY_VAL_T)) + keyLen; + + sscs_Utf8Strncpy(sharedLink->key, key, kLen); + memcpy(sharedLink->value, value, vLen); + + return(NSSCS_LL_SUCCESS); + } + else + { + return(NSSCS_E_LL_SYS_FAILURE); + } + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_InsertSharedSecretLink */ + + + + +/* */ +/* + * NAME - ll_RemoveSharedSecretLink + * + * DESCRIPTION + * This function removes a Shared Secret link from the link list at the + * CLP. + * + */ +int ll_RemoveSharedSecretLink + ( + LL_LINKLIST_T *list, + uint32_t kLen, + SS_UTF8_T *key + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + LL_LINK_T *prev = NULL; + +/* ############################## CODE STARTS HERE ############################ */ + + if(list->elemCount) + { + list->clp = list->head; + /* check for duplicates */ + do + { + // keys should be unique + if(((ll_GetSHSecKeyLen(list) == kLen) && + (memcmp(ll_GetSHSecKey(list), key, ll_GetSHSecKeyLen(list))) == 0)) + { + /* element already in the list */ + if(prev) + { + prev->next = list->clp->next; + free(list->clp); + list->clp = prev; + } + else + { + list->head = list->head->next; + free(list->clp); + list->clp = list->head; + } + + list->elemCount--; + return(NSSCS_LL_SUCCESS); + } + + /* move forward one link */ + if(list->clp->next) + { + prev = list->clp; + list->clp = list->clp->next; + continue; + } + else + { + /* end of the list item not found */ + return(NSSCS_LL_SUCCESS); + } + } while(TRUE); + } + + return(NSSCS_E_LL_SYS_FAILURE); + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_RemoveSharedSecretLink */ + + + + +/* */ +/* + * NAME - ll_DestroyList + * + * DESCRIPTION + * This function completely destroy a linked list by freeing the + * memory for all the links. + * + */ +void ll_DestroyList(LL_LINKLIST_T *list) +{ /* beginning of the call */ +/* ############################## CODE STARTS HERE ############################ */ + + /* kill the links in the link list */ + while(list->elemCount) + { + list->clp = list->head; + list->head = list->head->next; + free(list->clp); + list->elemCount--; + } + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_DestroyList */ + + + + +/* */ +/* + * NAME - ll_Next + * + * DESCRIPTION + * This function moves the CLP to point to the next + * link in the list and returns a TRUE or FALSE based on the + * success or failure (when it reaches the end of the list) of the + * operation. + * + */ +int ll_Next(LL_LINKLIST_T *list) +{ /* beginning of the call */ +/* ############################## CODE STARTS HERE ############################ */ + + if(list) + { + if(list->elemCount) + { + if(list->clp->next) + { + list->clp = list->clp->next; + return(TRUE); /* if not at the tail of the list */ + } + } + } + + return(FALSE); /* cannot go beyond the tail of the list */ + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_Next */ + + + + + +/* */ +/* + * NAME - ll_InsertNewLink + * + * DESCRIPTION + * Cache in a set of ds items. + * + */ +void *ll_InsertNewLink + ( + LL_LINKLIST_T *list, + uint32_t itemSize + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + LL_LINK_T *newLink = _ll_CreateLink(itemSize); + +/* ############################## CODE STARTS HERE ############################ */ + + if(newLink) + { + if(list->elemCount) + { + list->clp = list->head; + /* check for duplicates */ + while(list->clp->next) + { + list->clp = list->clp->next; + } + + list->clp->next = newLink; + /* reset the clp to the new link */ + list->clp = newLink; + (list->elemCount)++; + } + else + { + list->head = list->clp = newLink; + list->elemCount = 1; + } + + + + return(newLink->item); + } + else + { + return(NULL); + } + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_InsertNewLink */ + + + + + + +/* */ +/* + * NAME - ll_GetEntry + * + * DESCRIPTION + * This function returns a pointer to the current item + * in the list or returns NULL + * + */ +void* ll_GetEntry(LL_LINKLIST_T *list) +{ /* beginning of the call */ +/* ############################## CODE STARTS HERE ############################ */ + + if(list) + { + if(list->elemCount) + { + if(list->clp->item) + { + return list->clp->item; + } + } + } + + return NULL; + +/* ############################### CODE ENDS HERE ############################# */ +} /* end of ll_GetEntry */ diff --git a/CASA/micasadk/link.w32 b/CASA/micasadk/link.w32 deleted file mode 100644 index 6d925e35..00000000 --- a/CASA/micasadk/link.w32 +++ /dev/null @@ -1,57 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "/LIBPATH:../lib/w32" >> $(LINKDEF);\ - echo "kernel32.lib" >> $(LINKDEF);\ - echo "micasacache.lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/PDB:$(BINDIR)$(basename $(notdir $@)).pdb" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oleaut32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libcmtd" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:msvcr71.lib" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_CreateSHSHandle" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_DestroySHSHandle" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_GetNextSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_AddSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_RemoveSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASASetCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASAGetCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASADeleteCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASAOpenSecretStoreCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASACloseSecretStoreCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASAMergeCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteBinaryKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadBinaryKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAGetStoreInformation" >> $(LINKDEF);\ - echo "/EXPORT:miCASAEnumerateSecretIDs" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveSecretStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASASetMasterPassword" >> $(LINKDEF);\ - echo "/EXPORT:miCASAIsSecretPersistent" >> $(LINKDEF);\ - echo "/EXPORT:miCASAUnlockSecrets" >> $(LINKDEF);\ - echo "/EXPORT:miCASAUnlockStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASALockStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASAAddKeyChain" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveKeyChain" >> $(LINKDEF);\ - echo "/EXPORT:miCASAEnumerateKeyChainIDs" >> $(LINKDEF); - diff --git a/CASA/micasadk/link_mdd.w32 b/CASA/micasadk/link_mdd.w32 deleted file mode 100644 index 46c13e23..00000000 --- a/CASA/micasadk/link_mdd.w32 +++ /dev/null @@ -1,61 +0,0 @@ -LINK_DEF_BLD = \ - echo "$(addprefix $(OBJDIR),$(notdir $(OBJS)))" > $(LINKDEF);\ - echo "/LIBPATH:$(MSC)lib" >> $(LINKDEF);\ - echo "/LIBPATH:$(MSC)platformsdk/lib" >> $(LINKDEF);\ - echo "/LIBPATH:../lib/w32" >> $(LINKDEF);\ - echo "kernel32.lib" >> $(LINKDEF);\ - echo "ole32.lib" >> $(LINKDEF);\ - echo "micasacache.lib" >> $(LINKDEF);\ - echo "/DLL" >> $(LINKDEF);\ - echo "/OUT:$(BINDIR)$(basename $(notdir $@)).dll" >> $(LINKDEF);\ - echo "/MAP:$(BINDIR)$(basename $(notdir $@)).map" >> $(LINKDEF);\ - echo "/DEBUG" >> $(LINKDEF);\ - echo "/MACHINE:IX86" >> $(LINKDEF);\ - echo "/SUBSYSTEM:WINDOWS" >> $(LINKDEF);\ - echo "/INCREMENTAL:NO" >> $(LINKDEF);\ - echo "/VERSION:$(BLD_VER)" >> $(LINKDEF);\ - echo "/FIXED:NO" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oldnames" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:libc" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:uuid" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:MSVCRT" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:user32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:gdi32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comdlg32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:winspool" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:shell32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:comctl32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:olepro32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:oleaut32" >> $(LINKDEF);\ - echo "/NODEFAULTLIB:wininet" >> $(LINKDEF);\ - echo "/OPT:REF" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_CreateSHSHandle" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_DestroySHSHandle" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_GetNextSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_AddSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASA_RemoveSHSEntry" >> $(LINKDEF);\ - echo "/EXPORT:miCASASetCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASAGetCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASADeleteCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveCredential" >> $(LINKDEF);\ - echo "/EXPORT:miCASAOpenSecretStoreCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASACloseSecretStoreCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASAMergeCache" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteSecret" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAWriteBinaryKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAReadBinaryKey" >> $(LINKDEF);\ - echo "/EXPORT:miCASAGetStoreInformation" >> $(LINKDEF);\ - echo "/EXPORT:miCASAEnumerateSecretIDs" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveSecretStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASASetMasterPassword" >> $(LINKDEF);\ - echo "/EXPORT:miCASAIsSecretPersistent" >> $(LINKDEF);\ - echo "/EXPORT:miCASAUnlockSecrets" >> $(LINKDEF);\ - echo "/EXPORT:miCASAUnlockStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASALockStore" >> $(LINKDEF);\ - echo "/EXPORT:miCASAAddKeyChain" >> $(LINKDEF);\ - echo "/EXPORT:miCASARemoveKeyChain" >> $(LINKDEF);\ - echo "/EXPORT:miCASAEnumerateKeyChainIDs" >> $(LINKDEF); diff --git a/CASA/micasadk/linux/Makefile.am b/CASA/micasadk/linux/Makefile.am deleted file mode 100644 index b77b3713..00000000 --- a/CASA/micasadk/linux/Makefile.am +++ /dev/null @@ -1,114 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = *.exp - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) -OBJDIR = $(TARGET_CFG)/$(LIB) - -BUILD_VER = 1.1.1 - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =libmicasa -MODULE_EXT =so - -CFILES = ../sscs_ll.c \ - ../sscs_ndk.c - -CSFILES_CSC := -INCLUDES = -I. -I.. -I$(CASAROOT)/include -I/opt/gnome/include/gnome-keyring-1/ -EXTRA_CFLAGS = -RESOURCES = -CFLAGS += $(EXTRA_CFLAGS) $(INCLUDES) $(DEFINES) -LIBS = -L/$(CASALIBDIR)/$(TARGET_CFG) - -LDFLAGS = -Wl,-Bsymbolic -shared -Wl,--version-script=micasa_lux.exp \ - -lpthread \ - -ldl -Wl,-soname -Wl,libmicasa.so.1 -OBJS = $(addprefix $(OBJDIR)/, $(CFILES:%.c=%.o)) -#COMMON_OBJS = -L/../../c_common/linux/$(OBJDIR) ../../c_common/linux/$(OBJDIR)/sscs_ll.o -COMMON_OBJS = $(OBJDIR)/sscs_ll.o -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/%.o: %.cpp - $(CC) -c $(CFLAGS) -o $@ $< - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER): $(OBJDIR) $(OBJS) - @echo [======== Linking $@ ========] - cc $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(CASALIBDIR)/$(TARGET_CFG)/libmicasacache.a - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) - ln -sf $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).1 - ln -sf $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT).$(BUILD_VER) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/micasadk/linux/link.lux b/CASA/micasadk/linux/link.lux deleted file mode 100644 index 62016e7c..00000000 --- a/CASA/micasadk/linux/link.lux +++ /dev/null @@ -1,10 +0,0 @@ -LINK = $(CC) \ - -Wl,-Bsymbolic \ - -shared \ - -Wl,--version-script=$(TARGET)_$(PLAT).exp \ - -Wl,-rpath -Wl,/usr/lib$(ARC) \ - -L/usr/lib$(ARC) -lpthread -lc -ldl \ - -Wl,-soname -Wl,lib$(TARGET).so.$(PROD_NUM) \ - -o $(LIBDIR)$(XTRA)/lib$(TARGET).so.$(BLD_VER) \ - -L$(LIBDIR)$(XTRA) \ - $(OBJDIR)*.$(O) $(LIBDIR)$(XTRA)/libmicasacache.a diff --git a/CASA/micasadk/linux/objs.lux b/CASA/micasadk/linux/objs.lux deleted file mode 100644 index 678d6ac2..00000000 --- a/CASA/micasadk/linux/objs.lux +++ /dev/null @@ -1,4 +0,0 @@ -OBJS=\ - sscs_ll.$(O)\ - cardselector.$(0)\ - sscs_ndk.$(O) diff --git a/CASA/micasadk/micasa.def b/CASA/micasadk/micasa.def deleted file mode 100644 index 4cd2c554..00000000 --- a/CASA/micasadk/micasa.def +++ /dev/null @@ -1,33 +0,0 @@ -EXPORTS - miCASA_CreateSHSHandle - miCASA_DestroySHSHandle - miCASA_GetNextSHSEntry - miCASA_AddSHSEntry - miCASA_RemoveSHSEntry - miCASASetCredential - miCASAGetCredential - miCASADeleteCredential - miCASARemoveCredential - miCASAOpenSecretStoreCache - miCASACloseSecretStoreCache - miCASAMergeCache - miCASAReadSecret - miCASARemoveSecret - miCASAWriteSecret - miCASAWriteKey - miCASAWriteBinaryKey - miCASAReadKey - miCASAReadBinaryKey - miCASARemoveKey - miCASAGetStoreInformation - miCASAEnumerateSecretIDs - miCASARemoveSecretStore - miCASASetMasterPassword - miCASAIsSecretPersistent - miCASAUnlockSecrets - miCASAUnlockStore - miCASALockStore - miCASAAddKeyChain - miCASARemoveKeyChain - miCASAEnumerateKeyChainIDs - diff --git a/CASA/micasadk/linux/micasa_lux.exp b/CASA/micasadk/micasa_lux.exp similarity index 82% rename from CASA/micasadk/linux/micasa_lux.exp rename to CASA/micasadk/micasa_lux.exp index 4c95418f..7f16bdd0 100644 --- a/CASA/micasadk/linux/micasa_lux.exp +++ b/CASA/micasadk/micasa_lux.exp @@ -1,36 +1,36 @@ -VER_1.0 -{ - global: - miCASA_CreateSHSHandle; - miCASA_DestroySHSHandle; - miCASA_GetNextSHSEntry; - miCASA_AddSHSEntry; - miCASA_RemoveSHSEntry; - miCASAOpenSecretStoreCache; - miCASACloseSecretStoreCache; - miCASAReadSecret; - miCASAReadKey; - miCASAReadBinaryKey; - miCASADeleteSecret; - miCASARemoveSecret; - miCASARemoveKey; - miCASAWriteSecret; - miCASAWriteKey; - miCASAWriteBinaryKey; - miCASAGetStoreInformation; - miCASAEnumerateSecretIDs; - miCASARemoveSecretStore; - miCASASetMasterPassword; - miCASAUnlockSecrets; - miCASAUnlockStore; - miCASALockStore; - miCASARemoveKeyChain; - miCASARemoveCredential; - miCASADeleteCredential; - miCASASetCredential; - miCASAGetCredential; - miCASAIsSecretPersistent; - miCASASetMasterPasscode; - local: - *; -}; +VER_1.0 +{ + global: + miCASA_CreateSHSHandle; + miCASA_DestroySHSHandle; + miCASA_GetNextSHSEntry; + miCASA_AddSHSEntry; + miCASA_RemoveSHSEntry; + miCASAOpenSecretStoreCache; + miCASACloseSecretStoreCache; + miCASAReadSecret; + miCASAReadKey; + miCASAReadBinaryKey; + miCASADeleteSecret; + miCASARemoveSecret; + miCASARemoveKey; + miCASAWriteSecret; + miCASAWriteKey; + miCASAWriteBinaryKey; + miCASAGetStoreInformation; + miCASAEnumerateSecretIDs; + miCASARemoveSecretStore; + miCASASetMasterPassword; + miCASAUnlockSecrets; + miCASAUnlockStore; + miCASALockStore; + miCASARemoveKeyChain; + miCASARemoveCredential; + miCASADeleteCredential; + miCASASetCredential; + miCASAGetCredential; + miCASAIsSecretPersistent; + miCASASetMasterPasscode; + local: + *; +}; diff --git a/CASA/micasacache/sscs_ipc.c b/CASA/micasadk/micasacache/sscs_ipc.c similarity index 100% rename from CASA/micasacache/sscs_ipc.c rename to CASA/micasadk/micasacache/sscs_ipc.c diff --git a/CASA/micasacache/sscs_unx_cache.c b/CASA/micasadk/micasacache/sscs_unx_cache.c similarity index 100% rename from CASA/micasacache/sscs_unx_cache.c rename to CASA/micasadk/micasacache/sscs_unx_cache.c diff --git a/CASA/micasacache/sscs_unx_ipc_client.c b/CASA/micasadk/micasacache/sscs_unx_ipc_client.c similarity index 100% rename from CASA/micasacache/sscs_unx_ipc_client.c rename to CASA/micasadk/micasacache/sscs_unx_ipc_client.c diff --git a/CASA/micasadk/objs.w32 b/CASA/micasadk/objs.w32 deleted file mode 100644 index 75952ea3..00000000 --- a/CASA/micasadk/objs.w32 +++ /dev/null @@ -1,3 +0,0 @@ -OBJS=\ - sscs_ll.$(O)\ - sscs_ndk.$(O) \ No newline at end of file diff --git a/CASA/micasadk/sscs_win_calls.c b/CASA/micasadk/sscs_win_calls.c index e0d36209..c63f0d04 100644 --- a/CASA/micasadk/sscs_win_calls.c +++ b/CASA/micasadk/sscs_win_calls.c @@ -21,592 +21,592 @@ ***********************************************************************/ - -#include "nsscs_idk.h" -#include "sscs_lldefs.h" -#include "sscs_cache.h" - -#define INITGUID -#include -//#include "walletdef.h" -#include "sscs_win_secretstoredef.h" - -static PIVerifiedAccessSS pIAccess = NULL; -static PISecretStore pISecretStore = NULL; - -/* ######################################################################## */ -/* ############################### STUBS HERE ############################# */ -/* ######################################################################## */ - -/* - * NAME - sscs_CacheOpenSecretStore - * - * DESCRIPTION - * - * - */ -void * sscs_CacheOpenSecretStore -( - void *secretStoreID, - unsigned long ssFlags, - void *reserved - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status; - SCHANDLE *hSC = malloc(sizeof(SCHANDLE)); - -/* ############################## CODE STARTS HERE ############################ */ - - CoInitialize(NULL); - status = CoCreateInstance( - (REFCLSID)&CLSID_SecretStoreClientService, - NULL, - CLSCTX_SERVER, - (REFIID)&IID_VerifyAccessSS_1, - (void **)&pIAccess); - - - if (status == NC_STATUS_SUCCESS) - { - status = pIAccess->lpVtbl->QuerySecureInterface( - pIAccess, - GetModuleHandle(NULL), - (PGUID)&IID_SSCS, - (void **)&pISecretStore); - - - pIAccess->lpVtbl->Release(pIAccess); - - } - else if(status == REGDB_E_CLASSNOTREG) - { - OutputDebugString("SecretStore: Class not Registered"); - } - else if (status == CLASS_E_NOAGGREGATION ) - { - OutputDebugString("SecretStore: Class no aggregation"); - } - else if (status == E_NOINTERFACE) - { - OutputDebugString("SecretStore: No Interface"); - } - - if (status != NC_STATUS_SUCCESS) - { - CoUninitialize(); - return 0; - } - - - status = pISecretStore->lpVtbl->CacheOpenSecretStore ( - pISecretStore, - secretStoreID, - ssFlags, - hSC, - NULL - ); - - if (status != NC_STATUS_SUCCESS) - { - CoUninitialize(); - return 0; - } - else - return((void*)hSC); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheOpenSecretStore - - - - - -/* - * NAME - sscs_CacheCloseSecretStore - * - * DESCRIPTION - * - * - */ -int sscs_CacheCloseSecretStore -( - void *ssHandle, - unsigned long ssFlags, - void *reserved - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheCloseSecretStore ( - pISecretStore, - 0, - ssFlags, - reserved); - - pISecretStore->lpVtbl->Release(pISecretStore); - CoUninitialize(); - - return status; - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheCloseSecretStore - - -/* - * NAME - sscs_CacheRemoveSecretStore - * - * DESCRIPTION - * - * - */ -int sscs_CacheRemoveSecretStore -( - void *ssHandle, - unsigned long ssFlags, - void *reserved - ) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheRemoveSecretStore ( - pISecretStore, - &hSC, - ssFlags, - reserved); - - return status; - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheRemoveSecretStore - - - -/* - * NAME - sscs_CacheEnumerateKeychainIDs - * - * DESCRIPTION - * - * - */ -int sscs_CacheEnumerateKeychainIDs -( - void *ssHandle, - unsigned long ssFlags, - SSCS_SRCH_KEY_T *searchKey, - SSCS_KEYCHAIN_ID_LIST_T *kcIDList, - void *reserved -) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheEnumerateKeyChainIDs ( - pISecretStore, - 0, - ssFlags, - searchKey, - kcIDList, - reserved); - - return status; - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheEnumerateKeychainIDs - - -/* - * NAME - sscs_CacheAddKeychain - * - * DESCRIPTION - * - * - */ -int sscs_CacheAddKeychain -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - void *reserved -) -{ /* beginning of the call */ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheAddKeyChain( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheAddKeychain - - - -/* - * NAME - sscs_CacheRemoveKeychain - * - * DESCRIPTION - * - * - */ -int sscs_CacheRemoveKeychain -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - void *reserved -) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheRemoveKeyChain( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheRemoveKeychain - - - -/* - * NAME - sscs_CacheEnumerateSecretIDs - * - * DESCRIPTION - * - * - */ -int sscs_CacheEnumerateSecretIDs -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SRCH_KEY_T *searchKey, - SSCS_SECRET_ID_LIST_T *secretIDList, - void *reserved -) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheEnumerateSecretIDs( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - searchKey, - secretIDList, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheEnumerateSecretIDs - - - -/* - * NAME - sscs_CacheReadSecret - * - * DESCRIPTION - * - * - */ -int sscs_CacheReadSecret -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secredID, - SSCS_SECRET_T *secretData, - SSCS_PASSWORD_T *epPassword, - unsigned int *bytesRequired, - void *reserved -) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheReadSecret( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - secredID, - secretData, - epPassword, - bytesRequired, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheReadSecret - - - -/* - * NAME - sscs_CacheWriteSecret - * - * DESCRIPTION - * - * - */ -int sscs_CacheWriteSecret -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secredID, - SSCS_SECRET_T *secretData, - SSCS_PASSWORD_T *epPassword, - void *reserved -) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheWriteSecret( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - secredID, - secretData, - epPassword, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheWriteSecret - - - -/* - * NAME - sscs_CacheRemoveSecret - * - * DESCRIPTION - * - * - */ -int sscs_CacheRemoveSecret -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_SECRET_ID_T *secredID, - SSCS_PASSWORD_T *epPassword, - void *reserved -) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheRemoveSecret( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // keychainID - secredID, - epPassword, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheRemoveSecret - - - -/* - * NAME - sscs_CacheGetSecretStoreInfo - * - * DESCRIPTION - * - * - */ -int sscs_CacheGetSecretStoreInfo -( - void *ssHandle, - unsigned long ssFlags, - SSCS_SECRETSTORE_INFO_T *ssInfo, - void *reserved - ) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheGetSecretStoreInfo( - pISecretStore, - 0, // session - ssFlags, // flags - ssInfo, // - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_CacheGetSecretStoreInfo - - - -/* - * NAME - sscs_GetKeychainInfo - * - * DESCRIPTION - * - * - */ -int sscs_GetKeychainInfo -( - void *ssHandle, - unsigned long ssFlags, - SSCS_KEYCHAIN_ID_T *keyChainID, - SSCS_KEYCHAIN_INFO_T *kcInfo, - void *reserved - ) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->CacheGetKeychainInfo( - pISecretStore, - 0, // session - ssFlags, // flags - keyChainID, // - kcInfo, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_GetKeychainInfo - - - -/* - * NAME - sscs_LockCache - * - * DESCRIPTION - * - * - */ -int sscs_LockCache -( - void *ssHandle, - unsigned long ssFlags, - void *reserved - ) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->LockCache( - pISecretStore, - 0, // session - ssFlags, // flags - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_LockCache - - -/* - * NAME - sscs_UnlockCache - * - * DESCRIPTION - * - * - */ -int sscs_UnlockCache -( - void *ssHandle, - unsigned long ssFlags, - SSCS_PASSCODE_T *passcode, - void *reserved - ) -{ -/* ########################## DECLARATIONS START HERE ######################### */ - - NCSTATUS status = 0; - SCHANDLE hSC = (SCHANDLE)ssHandle; - -/* ############################## CODE STARTS HERE ############################ */ - - status = pISecretStore->lpVtbl->UnLockCache( - pISecretStore, - 0, // session - ssFlags, // flags - passcode, - reserved); - - return(status); - -/* ############################### CODE ENDS HERE ############################# */ -} //* sscs_UnlockCache - - + +#include "nsscs_idk.h" +#include "sscs_lldefs.h" +#include "sscs_cache.h" + +#define INITGUID +#include +//#include "walletdef.h" +#include "sscs_win_secretstoredef.h" + +static PIVerifiedAccessSS pIAccess = NULL; +static PISecretStore pISecretStore = NULL; + +/* ######################################################################## */ +/* ############################### STUBS HERE ############################# */ +/* ######################################################################## */ + +/* + * NAME - sscs_CacheOpenSecretStore + * + * DESCRIPTION + * + * + */ +void * sscs_CacheOpenSecretStore +( + void *secretStoreID, + unsigned long ssFlags, + void *reserved + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status; + SCHANDLE *hSC = malloc(sizeof(SCHANDLE)); + +/* ############################## CODE STARTS HERE ############################ */ + + CoInitialize(NULL); + status = CoCreateInstance( + (REFCLSID)&CLSID_SecretStoreClientService, + NULL, + CLSCTX_SERVER, + (REFIID)&IID_VerifyAccessSS_1, + (void **)&pIAccess); + + + if (status == NC_STATUS_SUCCESS) + { + status = pIAccess->lpVtbl->QuerySecureInterface( + pIAccess, + GetModuleHandle(NULL), + (PGUID)&IID_SSCS, + (void **)&pISecretStore); + + + pIAccess->lpVtbl->Release(pIAccess); + + } + else if(status == REGDB_E_CLASSNOTREG) + { + OutputDebugString("SecretStore: Class not Registered"); + } + else if (status == CLASS_E_NOAGGREGATION ) + { + OutputDebugString("SecretStore: Class no aggregation"); + } + else if (status == E_NOINTERFACE) + { + OutputDebugString("SecretStore: No Interface"); + } + + if (status != NC_STATUS_SUCCESS) + { + CoUninitialize(); + return 0; + } + + + status = pISecretStore->lpVtbl->CacheOpenSecretStore ( + pISecretStore, + secretStoreID, + ssFlags, + hSC, + NULL + ); + + if (status != NC_STATUS_SUCCESS) + { + CoUninitialize(); + return 0; + } + else + return((void*)hSC); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheOpenSecretStore + + + + + +/* + * NAME - sscs_CacheCloseSecretStore + * + * DESCRIPTION + * + * + */ +int sscs_CacheCloseSecretStore +( + void *ssHandle, + unsigned long ssFlags, + void *reserved + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheCloseSecretStore ( + pISecretStore, + 0, + ssFlags, + reserved); + + pISecretStore->lpVtbl->Release(pISecretStore); + CoUninitialize(); + + return status; + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheCloseSecretStore + + +/* + * NAME - sscs_CacheRemoveSecretStore + * + * DESCRIPTION + * + * + */ +int sscs_CacheRemoveSecretStore +( + void *ssHandle, + unsigned long ssFlags, + void *reserved + ) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheRemoveSecretStore ( + pISecretStore, + &hSC, + ssFlags, + reserved); + + return status; + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheRemoveSecretStore + + + +/* + * NAME - sscs_CacheEnumerateKeychainIDs + * + * DESCRIPTION + * + * + */ +int sscs_CacheEnumerateKeychainIDs +( + void *ssHandle, + unsigned long ssFlags, + SSCS_SRCH_KEY_T *searchKey, + SSCS_KEYCHAIN_ID_LIST_T *kcIDList, + void *reserved +) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheEnumerateKeyChainIDs ( + pISecretStore, + 0, + ssFlags, + searchKey, + kcIDList, + reserved); + + return status; + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheEnumerateKeychainIDs + + +/* + * NAME - sscs_CacheAddKeychain + * + * DESCRIPTION + * + * + */ +int sscs_CacheAddKeychain +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + void *reserved +) +{ /* beginning of the call */ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheAddKeyChain( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheAddKeychain + + + +/* + * NAME - sscs_CacheRemoveKeychain + * + * DESCRIPTION + * + * + */ +int sscs_CacheRemoveKeychain +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + void *reserved +) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheRemoveKeyChain( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheRemoveKeychain + + + +/* + * NAME - sscs_CacheEnumerateSecretIDs + * + * DESCRIPTION + * + * + */ +int sscs_CacheEnumerateSecretIDs +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SRCH_KEY_T *searchKey, + SSCS_SECRET_ID_LIST_T *secretIDList, + void *reserved +) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheEnumerateSecretIDs( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + searchKey, + secretIDList, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheEnumerateSecretIDs + + + +/* + * NAME - sscs_CacheReadSecret + * + * DESCRIPTION + * + * + */ +int sscs_CacheReadSecret +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secredID, + SSCS_SECRET_T *secretData, + SSCS_PASSWORD_T *epPassword, + unsigned int *bytesRequired, + void *reserved +) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheReadSecret( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + secredID, + secretData, + epPassword, + bytesRequired, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheReadSecret + + + +/* + * NAME - sscs_CacheWriteSecret + * + * DESCRIPTION + * + * + */ +int sscs_CacheWriteSecret +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secredID, + SSCS_SECRET_T *secretData, + SSCS_PASSWORD_T *epPassword, + void *reserved +) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheWriteSecret( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + secredID, + secretData, + epPassword, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheWriteSecret + + + +/* + * NAME - sscs_CacheRemoveSecret + * + * DESCRIPTION + * + * + */ +int sscs_CacheRemoveSecret +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_SECRET_ID_T *secredID, + SSCS_PASSWORD_T *epPassword, + void *reserved +) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheRemoveSecret( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // keychainID + secredID, + epPassword, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheRemoveSecret + + + +/* + * NAME - sscs_CacheGetSecretStoreInfo + * + * DESCRIPTION + * + * + */ +int sscs_CacheGetSecretStoreInfo +( + void *ssHandle, + unsigned long ssFlags, + SSCS_SECRETSTORE_INFO_T *ssInfo, + void *reserved + ) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheGetSecretStoreInfo( + pISecretStore, + 0, // session + ssFlags, // flags + ssInfo, // + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_CacheGetSecretStoreInfo + + + +/* + * NAME - sscs_GetKeychainInfo + * + * DESCRIPTION + * + * + */ +int sscs_GetKeychainInfo +( + void *ssHandle, + unsigned long ssFlags, + SSCS_KEYCHAIN_ID_T *keyChainID, + SSCS_KEYCHAIN_INFO_T *kcInfo, + void *reserved + ) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->CacheGetKeychainInfo( + pISecretStore, + 0, // session + ssFlags, // flags + keyChainID, // + kcInfo, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_GetKeychainInfo + + + +/* + * NAME - sscs_LockCache + * + * DESCRIPTION + * + * + */ +int sscs_LockCache +( + void *ssHandle, + unsigned long ssFlags, + void *reserved + ) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->LockCache( + pISecretStore, + 0, // session + ssFlags, // flags + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_LockCache + + +/* + * NAME - sscs_UnlockCache + * + * DESCRIPTION + * + * + */ +int sscs_UnlockCache +( + void *ssHandle, + unsigned long ssFlags, + SSCS_PASSCODE_T *passcode, + void *reserved + ) +{ +/* ########################## DECLARATIONS START HERE ######################### */ + + NCSTATUS status = 0; + SCHANDLE hSC = (SCHANDLE)ssHandle; + +/* ############################## CODE STARTS HERE ############################ */ + + status = pISecretStore->lpVtbl->UnLockCache( + pISecretStore, + 0, // session + ssFlags, // flags + passcode, + reserved); + + return(status); + +/* ############################### CODE ENDS HERE ############################# */ +} //* sscs_UnlockCache + + diff --git a/CASA/micasadk/sscsndk.rc b/CASA/micasadk/sscsndk.rc deleted file mode 100644 index ae3408c3..00000000 --- a/CASA/micasadk/sscsndk.rc +++ /dev/null @@ -1,75 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -#include "ssbldver.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION WSS_BLD_NO - PRODUCTVERSION WSS_BLD_NO - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", SSS_WCLIENT_STRING "\0" - VALUE "CompanyName", SSS_COMPANY_STR "\0" - VALUE "FileDescription", SSS_NSSS_PR_STRING "\0" - VALUE "FileVersion", WSS_BLD_STR "\0" - VALUE "LegalCopyright", SSS_COPYRIGHT_STR "\0" - VALUE "LegalTrademarks", SSS_PATENT_STR "\0" - VALUE "OriginalFilename", SSS_NSSS_STR "\0" - VALUE "ProductName", SSS_PRODUCT_STR "\0" - VALUE "ProductVersion", GSS_BLD_STR "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - diff --git a/CASA/micasadk/windows/Makefile.am b/CASA/micasadk/windows/Makefile.am deleted file mode 100755 index 0198923e..00000000 --- a/CASA/micasadk/windows/Makefile.am +++ /dev/null @@ -1,107 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(SFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/lib - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =micasa -MODULE_EXT =dll - -SFILES = $(CASAROOT)/package/windows/vs_solutions/CASA32-msi/CASA.sln - -PROJECT_NAME= micasa - -CUR_DIR := $(shell pwd) - -all: $(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - - - -$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) devenv - @echo [======== Building Solution $(SFILES) ========] -# cp -f ../micasa.def . -# cp -f ../c_micasadk.vcproj . - "$(VSINSTALLDIR)/devenv" /rebuild $(TARGET_CFG) /project $(PROJECT_NAME) $(SFILES) /out build.log - cp -f ../$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG) - -devenv: - @if ! test -x "$(VSINSTALLDIR)/devenv.exe";then echo "Error: MS Studio .NET is currently required to build MSI and MSM";exit 1;fi - -$(OBJDIR): - @echo [ ==creating lib dir ===] - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASABINDIR) ] || mkdir -p $(CASABINDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - if [ -d ../$(TARGET_CFG) ]; then rm -rf ../$(TARGET_CFG); fi - if [ -f build.log ]; then rm -f build.log; fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/Makefile.am b/CASA/package/Makefile.am deleted file mode 100644 index 0a350fb5..00000000 --- a/CASA/package/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = $(TARGET_OS) - -DIST_SUBDIRS = linux windows - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/linux/CASA.spec.in b/CASA/package/linux/CASA.spec.in deleted file mode 100644 index 6dca6f52..00000000 --- a/CASA/package/linux/CASA.spec.in +++ /dev/null @@ -1,327 +0,0 @@ -# -# spec file for package CASA (Version 1.7.0) -# -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org -# - -# norootforbuild - -# For debug build, please replace Release to Debug and set debug_opt to --enable-debug -%define cfg Release -%define debug_opt "" - - - -Name: @PACKAGE@ -URL: http://www.novell.com/products -BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel -%define prefix /usr/share/doc/packages -%define bin_prefix /usr -License: LGPL v2.1 or later -Group: Productivity/Other -AutoReqProv: on -# bug437293 -%ifarch ppc64 -Obsoletes: CASA-64bit -%endif -# -%define bldno 1.1.1 -Version: @VERSION@ -Release: 15 -Summary: Novell Common Authentication Services Adapter (CASA) -Source: %{name}-%{version}.tar.bz2 -#Patch: %{name}-%{version}.diff -#Patch2: CASA-detect_lib64.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: mono >= 1.1.13 mono-core >= 1.1.13 -PreReq: %fillup_prereq %insserv_prereq -#ExclusiveArch: %ix86 x86_64 -#NoSource: 0 - -%description -CASA (Common Authentication Services Adaptor) is a common -authentication and security package providing a set of libraries for -application and service developers to provide single sign-on to an -enterprise network. CASA provides a local on box credential store that -is purely session based in 1.0. This store is populated with your -Desktop and Network Login credentials on Novell Linux Desktop, Windows -and Apple workstations. -Authors: --------- -Novell, Inc. - -%package cli -License: LGPL v2.1 or later -Summary: CASA Command Line Interface -Group: Productivity/Other -Requires: CASA = %{version} - -%description cli -This package contains a CLI (command line interface) that provides a way -for administrators to set, reset or delete credentials used by -services. These credentials are stored in CASA. -Authors: --------- -Novell, Inc. - -%package devel -License: LGPL v2.1 or later -Summary: CASA include Files and Libraries mandatory for Development -Group: Productivity/Other -Requires: CASA >= 1.0.0 - -%description devel -This package contains all necessary include files and libraries needed -to develop applications that can use CASA (Common Authnetication Services Adapter) -for credential storage and single sign-on. -Authors: --------- -Novell, Inc. - -%package gui -License: LGPL v2.1 or later -Summary: The CASA Console Utility -Group: Productivity/Other -#Requires: CASA = %{version} gtk-sharp >= 1.0.9 kdelibs3 >= 3.2.1 gtk2 >= 2.4.14 -Requires: CASA = %{version} gtk-sharp2 >= 2.8.0 gtk2 >= 2.4.14 - -%description gui -This package contains the CASA (Common Authnetication Services Adapter) -Management application that allows you to manage credentials within -CASA and for your kwallet gnome keyring. Additionally, you can also -link secrets to one another. - -Authors: --------- -Novell, Inc. - - -%prep -%setup -q -#%patch -%if %{_lib} == "lib64" -%define binsource bin64 -%else -%define binsource bin -%endif - - -%build -export PATH=.:$PATH:/usr/%_lib/qt3/bin -%if %suse_version > 1000 -export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector" -%endif - -./autogen.sh -make - -%install - -export NO_BRP_CHECK_BYTECODE_VERSION="true" - -mkdir -p %{buildroot}%{prefix} -mkdir -p %{buildroot}%{bin_prefix}/share -mkdir -p %{buildroot}%{bin_prefix}/share/java -mkdir -p %{buildroot}%{bin_prefix}/share/java/CASA -mkdir -p %{buildroot}%{prefix}/CASA -mkdir -p %{buildroot}%{bin_prefix}/%{_lib} -mkdir -p %{buildroot}%{bin_prefix}/bin -mkdir -p %{buildroot}%{bin_prefix}/sbin -mkdir -p %{buildroot}%{bin_prefix}/include -mkdir -p %{buildroot}%{prefix}/CASA/images -mkdir -p %{buildroot}%{prefix}/CASA/help -mkdir -p %{buildroot}%{prefix}/CASA/help/en -mkdir -p %{buildroot}%{prefix}/CASA/doc -mkdir -p %{buildroot}/%{_lib}/security -mkdir -p %{buildroot}/etc/init.d -mkdir -p %{buildroot}/etc/ld.so.conf.d -mkdir -p %{buildroot}/etc/opt/novell/micasa - -install -m 755 %{_lib}/%{cfg}/libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.miCASAWrapper.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.Common.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.A-D.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.CASAPolicy.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.GnomeKeyring.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib} - -install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin -install -m 755 %{binsource}/%{cfg}/CASAcli %{buildroot}%{bin_prefix}/bin -install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin -install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin -install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images -install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en -install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d -install -m 755 micasad/startup/micasad.sh %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin -install -m 755 micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin -install -m 600 micasad/startup/micasad.conf.xml %{buildroot}/etc/opt/novell/micasa - -install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security - -install -d %{buildroot}%{bin_prefix}/%{_lib} -install -d %{buildroot}%{bin_prefix}/bin -install -d %{buildroot}%{bin_prefix}/sbin -install -d %{buildroot}%{bin_prefix}/include -install -d %{buildroot}%{prefix}/CASA/doc -install -d %{buildroot}%{prefix}/CASA/images -install -d %{buildroot}%{prefix}/CASA/help/en -install -d %{buildroot}/%{_lib}/security -install -d %{buildroot}/etc/init.d - -#install -m 644 %{buildroot}%{prefix}/%{_lib}/miCASA.jar %{buildroot}%{prefix}/CASA/%{_lib} -install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/%{_lib} -install -m 755 %{_lib}/%{cfg}/miCASA.jar %{buildroot}%{bin_prefix}/share/java/CASA/miCASA.jar - -install -m 644 doc/product/casa_enu.pdf %{buildroot}%{prefix}/CASA/doc -install -m 644 doc/product/License.txt %{buildroot}%{prefix}/CASA/doc -install -m 644 doc/product/Readme.txt %{buildroot}%{prefix}/CASA/doc -install -m 644 include/micasa_mgmd.h %{buildroot}%{bin_prefix}/include -install -m 644 include/micasa_types.h %{buildroot}%{bin_prefix}/include -install -m 644 include/sscs_string.h %{buildroot}%{bin_prefix}/include -install -m 644 include/sscs_utf8.h %{buildroot}%{bin_prefix}/include -install -m 644 include/micasa.h %{buildroot}%{bin_prefix}/include -install -m 644 include/casa_status.h %{buildroot}%{bin_prefix}/include - -ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so -ln -s libmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libmicasa.so.1 -ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so -ln -s libjmicasa.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libjmicasa.so.1 - -ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so -ln -s libad_gk.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_gk.so.1 - -ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so -ln -s libad_ff.so.%{bldno} %{buildroot}%{bin_prefix}/%{_lib}/libad_ff.so.1 - -ln -s /etc/init.d/micasad %{buildroot}%{bin_prefix}/sbin/rcmicasad -echo "/usr/%{_lib}/" >> %{buildroot}/etc/ld.so.conf.d/CASA.conf - -install -d %{buildroot}/usr/share/applications -install gui/CASAManager.desktop %{buildroot}/usr/share/applications -%suse_update_desktop_file -r CASAManager X-SuSE-ControlCenter-Personal -%post -%{fillup_and_insserv micasad} - -/sbin/ldconfig - -%post gui -/sbin/ldconfig - -%preun -%stop_on_removal micasad - -if [ "x$1" = "x0" ] -then - /usr/sbin/casaucfgpam -fi - - -%postun -%restart_on_update micasad -%insserv_cleanup -/sbin/ldconfig - -%postun gui -/sbin/ldconfig - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%dir %{bin_prefix}/share/java/CASA -%dir %{prefix}/CASA -%dir %{prefix}/CASA/doc -%dir %{bin_prefix}/%{_lib}/libmicasa.so.%{bldno} -%dir %{bin_prefix}/%{_lib}/libmicasa.so -%dir %{bin_prefix}/%{_lib}/libmicasa.so.1 -%dir %{bin_prefix}/%{_lib}/libjmicasa.so.%{bldno} -%dir %{bin_prefix}/%{_lib}/libjmicasa.so -%dir %{bin_prefix}/%{_lib}/libjmicasa.so.1 -%dir %{bin_prefix}/%{_lib}/Novell.CASA.miCASAWrapper.dll -%dir %{bin_prefix}/%{_lib}/Novell.CASA.Common.dll -%dir %{bin_prefix}/%{_lib}/Novell.CASA.CASAPolicy.dll -%dir /etc/opt/novell -%dir /etc/opt/novell/micasa - -/etc/init.d/micasad -/%{_lib}/security/pam_micasa.so -/etc/ld.so.conf.d/CASA.conf - -%{bin_prefix}/sbin/rcmicasad -%{bin_prefix}/sbin/casacfgpam -%{bin_prefix}/sbin/casaucfgpam -%{bin_prefix}/sbin/installcasa -%{bin_prefix}/sbin/uninstallcasa -%{bin_prefix}/sbin/iscasaconfiged -%{bin_prefix}/sbin/micasad.sh -%{bin_prefix}/%{_lib}/miCASA.jar -%{bin_prefix}/share/java/CASA/miCASA.jar - -%{bin_prefix}/bin/micasad.exe -%{bin_prefix}/bin/micasad-init -/etc/opt/novell/micasa/micasad.conf.xml - -%{prefix}/CASA/doc/casa_enu.pdf -%{prefix}/CASA/doc/License.txt -%{prefix}/CASA/doc/Readme.txt - -%files cli -%defattr(-,root,root) -%{bin_prefix}/bin/CASAcli - -%files devel -%defattr(-,root,root) -%{bin_prefix}/include/micasa_mgmd.h -%{bin_prefix}/include/micasa_types.h -%{bin_prefix}/include/sscs_string.h -%{bin_prefix}/include/sscs_utf8.h -%{bin_prefix}/include/micasa.h -%{bin_prefix}/include/casa_status.h - -%files gui -%defattr(-,root,root) -%{bin_prefix}/bin/CASAManager.sh -%{bin_prefix}/bin/CASAManager.exe.config -%{bin_prefix}/bin/CASAManager.exe -%{bin_prefix}/share/applications/CASAManager.desktop - -%{bin_prefix}/%{_lib}/libad_gk.so.%{bldno} -%{bin_prefix}/%{_lib}/libad_gk.so -%{bin_prefix}/%{_lib}/libad_gk.so.1 -%{bin_prefix}/%{_lib}/libad_ff.so.%{bldno} -%{bin_prefix}/%{_lib}/libad_ff.so -%{bin_prefix}/%{_lib}/libad_ff.so.1 -%{bin_prefix}/%{_lib}/Novell.CASA.A-D.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.GnomeKeyring.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.KWallet.dll -%{bin_prefix}/%{_lib}/Novell.CASA.DataEngines.FireFox.dll - -%dir %{prefix}/CASA/images -%{prefix}/CASA/images/* - -%dir %{prefix}/CASA/help -%dir %{prefix}/CASA/help/en -%{prefix}/CASA/help/en/* - -%changelog -n CASA diff --git a/CASA/package/linux/Makefile.am b/CASA/package/linux/Makefile.am deleted file mode 100644 index 674502eb..00000000 --- a/CASA/package/linux/Makefile.am +++ /dev/null @@ -1,67 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### -#how do you get the version?? -RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm -#SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm -SRPM_FILE = $(PACKAGE)-$(VERSION)*.src.rpm - -SPEC_FILE = CASA.spec - -.PHONY: package package-clean package-install package-uninstall casa - -#all: $(RPM_FILE) - -package: $(RPM_FILE) - -all clean: - -$(RPM_FILE): - cd $(top_srcdir); make dist-bzip2 - rm -rf RPM - mkdir RPM - echo %_topdir `pwd`/RPM > $(HOME)/.rpmmacros - mkdir -p RPM/BUILD - mkdir -p RPM/RPMS - mkdir -p RPM/SOURCES - mkdir -p RPM/SPECS - mkdir -p RPM/SRPMS - cp $(SPEC_FILE) RPM/SPECS - cp $(top_srcdir)/$(PACKAGE)-*.tar.bz2 RPM/SOURCES - mv $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION).tar.bz2 - rpmbuild -ba -v -vv --target=$(target_triplet) RPM/SPECS/$(SPEC_FILE) - cp RPM/RPMS/*/*.rpm . - cp RPM/SRPMS/$(SRPM_FILE) . - -package-install: package - su -c "rpm -Uvh $(RPM_FILE)" - -package-uninstall: - su -c "rpm -e $(PACKAGE)" - -package-clean clean-local: - rm -rf *.rpm RPM *.bz2 - -distclean-local: package-clean - rm -f Makefile $(SPEC_FILE) - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/windows/Makefile.am b/CASA/package/windows/Makefile.am deleted file mode 100755 index bce4f68e..00000000 --- a/CASA/package/windows/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = vs_solutions - -DIST_SUBDIRS = vs_solutions - -CFILES = - -EXTRA_DIST = - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/windows/vs_solutions/CASA-dev-msm/miCASA-Dev-msm.vdproj b/CASA/package/windows/vs_solutions/CASA-dev-msm/miCASA-Dev-msm.vdproj deleted file mode 100644 index d0f5b54f..00000000 --- a/CASA/package/windows/vs_solutions/CASA-dev-msm/miCASA-Dev-msm.vdproj +++ /dev/null @@ -1,764 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{06A35CCD-C46D-44D5-987B-CF40FF872267}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA-dev-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_0B68FA9FD8764C97960ACD3DAE5FC5A2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_24DA7E000C1645438F67455260F5A201" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_384A908A3DE54B359C611011C2A2AA97" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4CA6C9BB20C542A1B856271245513CC1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_56BCE057A062481D8C854220E8165A43" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6E1B9B1201C206482E813E63562592E5" - "OwnerKey" = "8:_718042C617DB414B91C69D1ACCD99A42" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_718042C617DB414B91C69D1ACCD99A42" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8D94F14CCA4C41669DA4EAE5E1DA9A5D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9630BD80B06842BB9DE27916F038665C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9BEBCD4FC9A543CCB3B45D7D1098AB83" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A7A23CA536234B8BAE08CA9528EC8F93" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BC2F0CC1092E45A3B9292CFAA9BE30C7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BFB5523F92C62717D5FFB02E609341F7" - "OwnerKey" = "8:_384A908A3DE54B359C611011C2A2AA97" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EE232DF9B4BC45A4930DB0E636A09A53" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_718042C617DB414B91C69D1ACCD99A42" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_56BCE057A062481D8C854220E8165A43" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_6E1B9B1201C206482E813E63562592E5" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\miCASA-Dev-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\miCASA-Dev-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0B68FA9FD8764C97960ACD3DAE5FC5A2" - { - "SourcePath" = "8:..\\..\\..\\..\\jwrapper\\src\\miCASA.jar" - "TargetName" = "8:miCASA.jar" - "Tag" = "8:" - "Folder" = "8:_1841C4B768B34541BC3EDA241449E509" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_24DA7E000C1645438F67455260F5A201" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa_mgmd.h" - "TargetName" = "8:micasa_mgmd.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4CA6C9BB20C542A1B856271245513CC1" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\casa_status.h" - "TargetName" = "8:casa_status.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_6E1B9B1201C206482E813E63562592E5" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.Casa.MiCasa, Version=1.7.0.0, Culture=neutral, PublicKeyToken=35accfbe728f56c2, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_6E1B9B1201C206482E813E63562592E5" - { - "Name" = "8:Novell.Casa.MiCasa.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.Casa.MiCasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_60E3A2D74B8D4F348C473CBA0F171A15" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8D94F14CCA4C41669DA4EAE5E1DA9A5D" - { - "SourcePath" = "8:..\\..\\..\\..\\micasadk\\Release\\micasa.lib" - "TargetName" = "8:micasa.lib" - "Tag" = "8:" - "Folder" = "8:_1841C4B768B34541BC3EDA241449E509" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9630BD80B06842BB9DE27916F038665C" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\sscs_utf8.h" - "TargetName" = "8:sscs_utf8.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9BEBCD4FC9A543CCB3B45D7D1098AB83" - { - "SourcePath" = "8:..\\..\\..\\..\\test\\java_sample\\src\\JavaSample.java" - "TargetName" = "8:JavaSample.java" - "Tag" = "8:" - "Folder" = "8:_05F7B25876E24EF4B5AB49C731A96CF4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A7A23CA536234B8BAE08CA9528EC8F93" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa_types.h" - "TargetName" = "8:micasa_types.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BC2F0CC1092E45A3B9292CFAA9BE30C7" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa.h" - "TargetName" = "8:micasa.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BFB5523F92C62717D5FFB02E609341F7" - { - "SourcePath" = "8:micasa.dll" - "TargetName" = "8:micasa.dll" - "Tag" = "8:" - "Folder" = "8:_F3F9192858114846913E6271C812F8FA" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EE232DF9B4BC45A4930DB0E636A09A53" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\sscs_string.h" - "TargetName" = "8:sscs_string.h" - "Tag" = "8:" - "Folder" = "8:_F75E988144C44BDEA22A81F4FBDBAE93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_6A39AEC667A240768B8352E51B4AEC7C" - { - "Name" = "8:#1912" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFilesFolder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_75AF0913C0C94E47A91BAAB619422AF7" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_5BC195E3AD1A4B418D23E2F61B97AA98" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_160AE1F235DC468497BAAA75CF421636" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_AC8DE56481BC41188BA7778CF264B52F" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_1841C4B768B34541BC3EDA241449E509" - { - "Name" = "8:lib" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_72B5A925ABE74106A43A53CB39630F2C" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_68A1C582E5434B93B5D5C1C14DC6D189" - { - "Name" = "8:src" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_74E0406CEB3F42C782F6315659AC26A4" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_D7CA67BD7CB34D748C9F780F81AB6786" - { - "Name" = "8:sample" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F8718FE4F8414B34BB777E90467328CF" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_05F7B25876E24EF4B5AB49C731A96CF4" - { - "Name" = "8:java" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_99C6F4406A774B1086527B3AAE418FC0" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_60E3A2D74B8D4F348C473CBA0F171A15" - { - "Name" = "8:c#" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_AAEF785BB0EA4F6EA2F984DA1E1CF82F" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_F3F9192858114846913E6271C812F8FA" - { - "Name" = "8:c" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_37F78980DB32433DB4647DB651E1717B" - "Folders" - { - } - } - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_F75E988144C44BDEA22A81F4FBDBAE93" - { - "Name" = "8:include" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_BC978FEEE0074E63A62C6C9F305F4E20" - "Folders" - { - } - } - } - } - } - } - } - } - "{F4FE1E22-A4D2-4EE8-9259-29A1CE8BB2FF}:_B6C1229B225648EFA75C92C76F521BEB" - { - "DefaultLocation" = "8:[TARGETDIR]" - "DisplayName" = "8:Module Retargetable Folder" - "Description" = "8:" - "Name" = "8:Module Retargetable Folder" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:TRUE" - "Property" = "8:NEWRETARGETABLEPROPERTY1" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_CBC3068B03774BDDA50FB68C7A68FC73" - { - "Name" = "8:#1910" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:CommonFilesFolder" - "Folders" - { - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.4F1ACC03A482468C9BEBF6D83FA4F7FE" - "Version" = "8:1.5.0.0" - "Title" = "8:miCASA-Dev-msm" - "Subject" = "8:" - "Author" = "8:Organization" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_384A908A3DE54B359C611011C2A2AA97" - { - "SourcePath" = "8:..\\..\\..\\..\\test\\c_sample\\Debug\\cSample.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F3F9192858114846913E6271C812F8FA" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_56BCE057A062481D8C854220E8165A43" - { - "SourcePath" = "8:..\\..\\..\\..\\sharp\\Novell.Casa.MiCasa\\obj\\Debug\\Novell.Casa.MiCasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1841C4B768B34541BC3EDA241449E509" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{7B56383F-6551-4BCD-81BB-A039BBECBD9C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_718042C617DB414B91C69D1ACCD99A42" - { - "SourcePath" = "8:..\\..\\..\\..\\test\\c_sharp_sample\\obj\\Debug\\CSharpSample.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_60E3A2D74B8D4F348C473CBA0F171A15" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{3FB57160-F475-4650-A45C-19D020661A2D}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A5034D1213CE4A0D9C91B42C63B95A93" - { - "SourcePath" = "8:" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F3F9192858114846913E6271C812F8FA" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:SourceFiles" - "OutputProjectGuid" = "8:{2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_CA5099843E68433DB4C2D4D6B21C4ACF" - { - "SourcePath" = "8:" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_60E3A2D74B8D4F348C473CBA0F171A15" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:SourceFiles" - "OutputProjectGuid" = "8:{3FB57160-F475-4650-A45C-19D020661A2D}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA-dev64-msm/CASA-dev64-msm.vdproj b/CASA/package/windows/vs_solutions/CASA-dev64-msm/CASA-dev64-msm.vdproj deleted file mode 100644 index f0d48602..00000000 --- a/CASA/package/windows/vs_solutions/CASA-dev64-msm/CASA-dev64-msm.vdproj +++ /dev/null @@ -1,393 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{06A35CCD-C46D-44D5-987B-CF40FF872267}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA-dev64-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_0B55CD36DD8F4748AE4A96F2A697DD27" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1BF54BF3466F4215BFF442BF63F8CA8B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_604193C1C86B4849A699CE559E5671C5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_610B65C824414E63B9064CAD2D06EA90" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_76C66263C5D848999FE09AA2EB42C29E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA7921BA36849BEA2101434BAEDFE3E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B94B6104C6964E65830FCF63237E6122" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA-dev64-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA-dev64-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0B55CD36DD8F4748AE4A96F2A697DD27" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa_types.h" - "TargetName" = "8:micasa_types.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1BF54BF3466F4215BFF442BF63F8CA8B" - { - "SourcePath" = "8:..\\..\\..\\..\\micasadk\\x64\\Release\\micasa.lib" - "TargetName" = "8:micasa.lib" - "Tag" = "8:" - "Folder" = "8:_7B717E3B84D7465194063D21CBB1A6E8" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_604193C1C86B4849A699CE559E5671C5" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\casa_status.h" - "TargetName" = "8:casa_status.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_610B65C824414E63B9064CAD2D06EA90" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\sscs_string.h" - "TargetName" = "8:sscs_string.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_76C66263C5D848999FE09AA2EB42C29E" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa.h" - "TargetName" = "8:micasa.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_ADA7921BA36849BEA2101434BAEDFE3E" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\sscs_utf8.h" - "TargetName" = "8:sscs_utf8.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B94B6104C6964E65830FCF63237E6122" - { - "SourcePath" = "8:..\\..\\..\\..\\include\\micasa_mgmd.h" - "TargetName" = "8:micasa_mgmd.h" - "Tag" = "8:" - "Folder" = "8:_43F0E8E06716444980CEB86EEAC79E2B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_E86F559A4A7A47DFBC784176F89D7200" - { - "Name" = "8:#1935" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFiles64Folder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_A5583A3F9D824F078FDC852853FCD264" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F99029CF5F4347E3BA993D72FF18FDC9" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_3B9E6F40CE0C4247BFC5CE5A316CD9E9" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_741490E06430417BA86B8EFB3B58C60C" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_43F0E8E06716444980CEB86EEAC79E2B" - { - "Name" = "8:include" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_99BFF9950CB34604B6F0AF7F4348211F" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_7B717E3B84D7465194063D21CBB1A6E8" - { - "Name" = "8:lib" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_6D3B7A08B8174B87815A3A57D1E86925" - "Folders" - { - } - } - } - } - } - } - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.EF3D7DE424DC4F5F854CBB6A0B20F544" - "Version" = "8:1.0.0.0" - "Title" = "8:CASA-dev64-msm" - "Subject" = "8:" - "Author" = "8:Microsoft" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:1" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "ProjectOutput" - { - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA-gui-msm/CASA-gui.vdproj b/CASA/package/windows/vs_solutions/CASA-gui-msm/CASA-gui.vdproj deleted file mode 100644 index 03f65ff2..00000000 --- a/CASA/package/windows/vs_solutions/CASA-gui-msm/CASA-gui.vdproj +++ /dev/null @@ -1,2488 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{06A35CCD-C46D-44D5-987B-CF40FF872267}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA-gui-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_0027F10528599F59095F3B2932AADB09" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0027F10528599F59095F3B2932AADB09" - "OwnerKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0347DB1DB50B4B92999256E4E1F81605" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_078AD0982CF449369874F224A6C5DC47" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_08BC3F7F70434C9E9753AAA4276F64BA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_093959E314CD47858AAB0115166F4EDE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0AAB1DB02C4842B297C515DA5589F393" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_3BE47B443FD85F3330271CF01C0C44D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_244D9AD63656291902F7B29C44FB68ED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_53A9B20B69C065F9101103CB97108A54" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_B78122743125BF27DED33595E570F5C1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "OwnerKey" = "8:_885FE992C0BD46D6FEB9EE337844A385" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "OwnerKey" = "8:_B78122743125BF27DED33595E570F5C1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "OwnerKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "OwnerKey" = "8:_B78122743125BF27DED33595E570F5C1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1016759B731F47B6864509E480A6B588" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_10CD175C5B164B16865CE8E151B45459" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1FDAEF2ACAF941B9B19C84EE2A817D2B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_244D9AD63656291902F7B29C44FB68ED" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_244D9AD63656291902F7B29C44FB68ED" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_24A8C3717CAF4AEC80415436C9DDF55D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_26BC762D46534281BB83CAF01EE85C2F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2FC6C14836C8409F85216C1257E5B966" - "OwnerKey" = "8:_3BE47B443FD85F3330271CF01C0C44D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2FC6C14836C8409F85216C1257E5B966" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3BE47B443FD85F3330271CF01C0C44D6" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3E7509B663214E61A2F54B6B62D645C7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4125F570D335441D9356C5AB32557D11" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_489CC67A288246A4842856C040736145" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4DD870F12EB74C64BCE321B94F0DF6BC" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5050B21F54654F839088C583AB17F4BA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_51B9AB0C08F74E49AE88B681863A171F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_53A9B20B69C065F9101103CB97108A54" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_53A9B20B69C065F9101103CB97108A54" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5918D07C1C3C4737A549C277AFF68F4E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5D2766EAEDC068801AE6ED71837A864F" - "OwnerKey" = "8:_F1B18C2C9D954713B52DF27D1E838BD3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5D2766EAEDC068801AE6ED71837A864F" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5E0F2A44FC3F451481F43A5AC6B0C13A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_65FBA6E38B6947238D99A6770598EC5C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6B0C204E311245CF811813AB689C6582" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6CBB16C9A5BC4609855D133771617626" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_72681F248187436A8C91C8A652DF5E8A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_771A7DEC3B0742FBA61047D1DB81D15A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_77392B6FA55E4A759E27E9A3F5A04A0A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7B3FD5D130A74444A9E0F70CEFBCFD4D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7B790E0B045C430F9893C258364E1A4D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7F66007A6ED94BDDB88D0BD0ADBAC7A2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8638B642E1BF4E5592BEDD35E6ABA14D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8677F82D7C53B8ADF0EB026EDCDA075E" - "OwnerKey" = "8:_F1B18C2C9D954713B52DF27D1E838BD3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8677F82D7C53B8ADF0EB026EDCDA075E" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8677F82D7C53B8ADF0EB026EDCDA075E" - "OwnerKey" = "8:_5D2766EAEDC068801AE6ED71837A864F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_885FE992C0BD46D6FEB9EE337844A385" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_885FE992C0BD46D6FEB9EE337844A385" - "OwnerKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8993A91CFEF14D339296D317CD414365" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8A276DF09073476987EC9B622AED5451" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8F08CFE07E654010A3637393D0164480" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9BDAEA6F23AA465097F7A5779C2DD445" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A5E415E7B2C54F08A9D0DA559B8C5E24" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AD1ED07EB625461A810C1C21C99F4E08" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AEE2937AC2D445BEBC2B9E8DBD7C39DF" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B56DC703BE1348948688E0545F87EB80" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B78122743125BF27DED33595E570F5C1" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C16E2E80AB6942F6AAEC00FBE56B6D42" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "OwnerKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "OwnerKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C88A14768CFE48E1AC26BF76DA9D0E3E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CA237CE0F24E4976801E6C53792B62B8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CDF020443D1640E4A1BE0CACC2D818E1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D0DDAE58CB714323B0D13814784CB65D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D89B0111B39941A4B477653A6FC2A866" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E31C9CAAF8104F62BC61FF57B33B4FB5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E325784B497A4CD0B8D6FB9EB2B4E48C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E3B9C6BE447F59433954ABEF41311465" - "OwnerKey" = "8:_3BE47B443FD85F3330271CF01C0C44D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E3B9C6BE447F59433954ABEF41311465" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E9F028EA13E24EF2A67C4D8C8B84F37F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EC7B06EC73A442BAB101B4D591752816" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EF9D3143CBC040798AADD81561401541" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F1B18C2C9D954713B52DF27D1E838BD3" - "OwnerKey" = "8:_E3B9C6BE447F59433954ABEF41311465" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F1B18C2C9D954713B52DF27D1E838BD3" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F805694D27464A11A8783764FEF7E7A9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F955A91D119544D38B3D3FED376273D3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_0027F10528599F59095F3B2932AADB09" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_D0DDAE58CB714323B0D13814784CB65D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_C313592161CE221A89C08C1DC26EC9B2" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_B78122743125BF27DED33595E570F5C1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_885FE992C0BD46D6FEB9EE337844A385" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_2C5B1D40D1A14364D78BDF21022B7B4D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_0FE38E7BBF5005661253C593A851B46C" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_0ED86F6C365B290D2269032633FDCBF4" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_0D19FB04E09B629B1373F744D286B255" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_51EB75B4CAAF4FCD804298CB7E75B11F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_3BE47B443FD85F3330271CF01C0C44D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E3B9C6BE447F59433954ABEF41311465" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_F1B18C2C9D954713B52DF27D1E838BD3" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_5D2766EAEDC068801AE6ED71837A864F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_8677F82D7C53B8ADF0EB026EDCDA075E" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_2FC6C14836C8409F85216C1257E5B966" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_244D9AD63656291902F7B29C44FB68ED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_53A9B20B69C065F9101103CB97108A54" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA-gui.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA-gui.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0027F10528599F59095F3B2932AADB09" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:Mono.Cairo, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" - "ScatterAssemblies" - { - "_0027F10528599F59095F3B2932AADB09" - { - "Name" = "8:Mono.Cairo.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Mono.Cairo.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0347DB1DB50B4B92999256E4E1F81605" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Contents.htm" - "TargetName" = "8:Contents.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_078AD0982CF449369874F224A6C5DC47" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Preferences.htm" - "TargetName" = "8:Preferences.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_08BC3F7F70434C9E9753AAA4276F64BA" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\firefox-logo.png" - "TargetName" = "8:firefox-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0AAB1DB02C4842B297C515DA5589F393" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\ViewSecrets.htm" - "TargetName" = "8:ViewSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0D19FB04E09B629B1373F744D286B255" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:glib-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_0D19FB04E09B629B1373F744D286B255" - { - "Name" = "8:glib-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:glib-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0ED86F6C365B290D2269032633FDCBF4" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:gtk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_0ED86F6C365B290D2269032633FDCBF4" - { - "Name" = "8:gtk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gtk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0FE38E7BBF5005661253C593A851B46C" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:gdk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_0FE38E7BBF5005661253C593A851B46C" - { - "Name" = "8:gdk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gdk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1016759B731F47B6864509E480A6B588" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo-left.png" - "TargetName" = "8:casa-logo-left.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_10CD175C5B164B16865CE8E151B45459" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\LinkingSecrets.png" - "TargetName" = "8:LinkingSecrets.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1FDAEF2ACAF941B9B19C84EE2A817D2B" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\folder.png" - "TargetName" = "8:folder.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_244D9AD63656291902F7B29C44FB68ED" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:gnome-vfs-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_244D9AD63656291902F7B29C44FB68ED" - { - "Name" = "8:gnome-vfs-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gnome-vfs-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_24A8C3717CAF4AEC80415436C9DDF55D" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\help_zcc_bg.gif" - "TargetName" = "8:help_zcc_bg.gif" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_26BC762D46534281BB83CAF01EE85C2F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\UnlockSecrets.htm" - "TargetName" = "8:UnlockSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2C5B1D40D1A14364D78BDF21022B7B4D" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:gnome-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_2C5B1D40D1A14364D78BDF21022B7B4D" - { - "Name" = "8:gnome-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gnome-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_2FC6C14836C8409F85216C1257E5B966" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.CASAPol, Version=1.6.2565.17988, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_2FC6C14836C8409F85216C1257E5B966" - { - "Name" = "8:Novell.CASA.CASAPol.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.CASAPol.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_3BE47B443FD85F3330271CF01C0C44D6" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.DataEngines, Version=1.6.2565.24038, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_3BE47B443FD85F3330271CF01C0C44D6" - { - "Name" = "8:Novell.CASA.DataEngines.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.DataEngines.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3E7509B663214E61A2F54B6B62D645C7" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\EditingSecrets.png" - "TargetName" = "8:EditingSecrets.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4125F570D335441D9356C5AB32557D11" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_22.png" - "TargetName" = "8:CASA_22.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_489CC67A288246A4842856C040736145" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_16.png" - "TargetName" = "8:CASA_16.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4DD870F12EB74C64BCE321B94F0DF6BC" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\CASA_Reference_Guide.pdf" - "TargetName" = "8:CASA_Reference_Guide.pdf" - "Tag" = "8:" - "Folder" = "8:_789567E7134E4E13BD3359C2AFD0B1B5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5050B21F54654F839088C583AB17F4BA" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\h1_help_zcc.gif" - "TargetName" = "8:h1_help_zcc.gif" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_51B9AB0C08F74E49AE88B681863A171F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\kwallet-logo.png" - "TargetName" = "8:kwallet-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_53A9B20B69C065F9101103CB97108A54" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:art-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_53A9B20B69C065F9101103CB97108A54" - { - "Name" = "8:art-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:art-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5918D07C1C3C4737A549C277AFF68F4E" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\ViewingSecrets.png" - "TargetName" = "8:ViewingSecrets.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5D2766EAEDC068801AE6ED71837A864F" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.NamedPipes, Version=1.6.0.24037, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_5D2766EAEDC068801AE6ED71837A864F" - { - "Name" = "8:AppModule.NamedPipes.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.NamedPipes.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5E0F2A44FC3F451481F43A5AC6B0C13A" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\RefreshCredentialStores.png" - "TargetName" = "8:RefreshCredentialStores.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_65FBA6E38B6947238D99A6770598EC5C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa.gladep" - "TargetName" = "8:casa.gladep" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6B0C204E311245CF811813AB689C6582" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\DestroyingSecrets.png" - "TargetName" = "8:DestroyingSecrets.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6CBB16C9A5BC4609855D133771617626" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\hf_style.css" - "TargetName" = "8:hf_style.css" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_771A7DEC3B0742FBA61047D1DB81D15A" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa.glade" - "TargetName" = "8:casa.glade" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_77392B6FA55E4A759E27E9A3F5A04A0A" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\CASAMasterPasswordAuthentication.htm" - "TargetName" = "8:CASAMasterPasswordAuthentication.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B3FD5D130A74444A9E0F70CEFBCFD4D" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\AddingNewSecrets.png" - "TargetName" = "8:AddingNewSecrets.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7B790E0B045C430F9893C258364E1A4D" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo-right.png" - "TargetName" = "8:casa-logo-right.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7F66007A6ED94BDDB88D0BD0ADBAC7A2" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\keyring-logo.png" - "TargetName" = "8:keyring-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8638B642E1BF4E5592BEDD35E6ABA14D" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\micasa-logo.png" - "TargetName" = "8:micasa-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8677F82D7C53B8ADF0EB026EDCDA075E" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.InterProcessComm, Version=1.6.0.17988, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_8677F82D7C53B8ADF0EB026EDCDA075E" - { - "Name" = "8:AppModule.InterProcessComm.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.InterProcessComm.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_885FE992C0BD46D6FEB9EE337844A385" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:atk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_885FE992C0BD46D6FEB9EE337844A385" - { - "Name" = "8:atk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:atk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8993A91CFEF14D339296D317CD414365" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\AddNewSecrets.htm" - "TargetName" = "8:AddNewSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8A276DF09073476987EC9B622AED5451" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\License.txt" - "TargetName" = "8:License.txt" - "Tag" = "8:" - "Folder" = "8:_789567E7134E4E13BD3359C2AFD0B1B5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8F08CFE07E654010A3637393D0164480" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\SettingMasterPassword.png" - "TargetName" = "8:SettingMasterPassword.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9BDAEA6F23AA465097F7A5779C2DD445" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\novell-logo.png" - "TargetName" = "8:novell-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A5E415E7B2C54F08A9D0DA559B8C5E24" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\mozilla-logo.png" - "TargetName" = "8:mozilla-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AD1ED07EB625461A810C1C21C99F4E08" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Persistent_Storage.htm" - "TargetName" = "8:Persistent_Storage.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AEE2937AC2D445BEBC2B9E8DBD7C39DF" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAicons.ico" - "TargetName" = "8:CASAicons.ico" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B56DC703BE1348948688E0545F87EB80" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\DestroyingSecrets.htm" - "TargetName" = "8:DestroyingSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_B78122743125BF27DED33595E570F5C1" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:glade-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_B78122743125BF27DED33595E570F5C1" - { - "Name" = "8:glade-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:glade-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C16E2E80AB6942F6AAEC00FBE56B6D42" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA.bmp" - "TargetName" = "8:CASA.bmp" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C313592161CE221A89C08C1DC26EC9B2" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:TRUE" - "AssemblyAsmDisplayName" = "8:pango-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_C313592161CE221A89C08C1DC26EC9B2" - { - "Name" = "8:pango-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:pango-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C88A14768CFE48E1AC26BF76DA9D0E3E" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_32.png" - "TargetName" = "8:CASA_32.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CA237CE0F24E4976801E6C53792B62B8" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\PersistentStorage.png" - "TargetName" = "8:PersistentStorage.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CDF020443D1640E4A1BE0CACC2D818E1" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_48.png" - "TargetName" = "8:CASA_48.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D89B0111B39941A4B477653A6FC2A866" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\CASADesktopPassword.htm" - "TargetName" = "8:CASADesktopPassword.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E31C9CAAF8104F62BC61FF57B33B4FB5" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\Readme.txt" - "TargetName" = "8:Readme.txt" - "Tag" = "8:" - "Folder" = "8:_789567E7134E4E13BD3359C2AFD0B1B5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E325784B497A4CD0B8D6FB9EB2B4E48C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo.png" - "TargetName" = "8:casa-logo.png" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E3B9C6BE447F59433954ABEF41311465" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.miCASAWrapper, Version=1.6.2565.24038, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_E3B9C6BE447F59433954ABEF41311465" - { - "Name" = "8:Novell.CASA.miCASAWrapper.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.miCASAWrapper.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E9F028EA13E24EF2A67C4D8C8B84F37F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Preferences.png" - "TargetName" = "8:Preferences.png" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EC7B06EC73A442BAB101B4D591752816" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\LinkingSecrets.htm" - "TargetName" = "8:LinkingSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EF9D3143CBC040798AADD81561401541" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAiconsLocked.ico" - "TargetName" = "8:CASAiconsLocked.ico" - "Tag" = "8:" - "Folder" = "8:_989647F1003B4F56B1CA11AC6EFFA30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F1B18C2C9D954713B52DF27D1E838BD3" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.Common, Version=1.6.2565.24037, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_F1B18C2C9D954713B52DF27D1E838BD3" - { - "Name" = "8:Novell.CASA.Common.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.Common.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F805694D27464A11A8783764FEF7E7A9" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\legal_notices_en.html" - "TargetName" = "8:legal_notices_en.html" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F955A91D119544D38B3D3FED376273D3" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\EditingSecrets.html" - "TargetName" = "8:EditingSecrets.html" - "Tag" = "8:" - "Folder" = "8:_52BD206942CA4C07B80D607A68ADF81A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_11DB92663C7B458B938971CF2DE15BB3" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_2C3FB966F84B412D8A4B853BA2503A62" - { - "Name" = "8:Novell CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_F4692C6A98B64EBBA02A28F2B6AD909F" - "Folders" - { - } - } - } - } - "{F4FE1E22-A4D2-4EE8-9259-29A1CE8BB2FF}:_4EA7FB5C5DFB4954AB3B5CB0C9AA046F" - { - "DefaultLocation" = "8:[TARGETDIR]" - "DisplayName" = "8:Module Retargetable Folder" - "Description" = "8:" - "Name" = "8:Module Retargetable Folder" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:TRUE" - "Property" = "8:NEWRETARGETABLEPROPERTY1" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_9281D6666E9E49C6BDAA6F211F9923D0" - { - "Name" = "8:#1912" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFilesFolder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_AEAD1E4977864FFDA55A2EDD198B67D1" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_81E5419F55F940E08A661F6DE8BFE922" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_C94CDAE3DBD74D81B3F076E5C4B23CA9" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_FDD240AD6CC442F487E8FD2630E251DA" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_789567E7134E4E13BD3359C2AFD0B1B5" - { - "Name" = "8:doc" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_3D89A0A078794FF1B440500685ECE2EF" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_989647F1003B4F56B1CA11AC6EFFA30C" - { - "Name" = "8:images" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_C058CBFB378A4C5BB5510BDA0A97ED6C" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_D690CD6E705C4EE481B9339C5E61DF1B" - { - "Name" = "8:help" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_E982D3F73D004136B1024F5F428DEDAE" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_52BD206942CA4C07B80D607A68ADF81A" - { - "Name" = "8:en" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_91AE7C0271FE46CAAF3C1B25A37BB5C0" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_F8730948A6CD40509FB6776A183C0BD7" - { - "Name" = "8:bin" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_B42B7BEDDC844B0AB25B0C77A73F2258" - "Folders" - { - } - } - } - } - } - } - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.C6D5B5D8C4B84657BAA9E6F44CAD0FD7" - "Version" = "8:1.7.0.0" - "Title" = "8:CASA-gui" - "Subject" = "8:" - "Author" = "8:Novell" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_093959E314CD47858AAB0115166F4EDE" - { - "SourcePath" = "8:..\\..\\..\\..\\adlib\\ad_ff\\Debug\\ad_ff.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{BB304ECF-FCBA-4693-9D47-86749815DDC8}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_51EB75B4CAAF4FCD804298CB7E75B11F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\obj\\Debug\\CASAManager.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{A1A805D0-B400-4D11-A772-348CE13F1046}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_72681F248187436A8C91C8A652DF5E8A" - { - "SourcePath" = "8:..\\..\\..\\..\\adlib\\ad_ff\\Debug\\ad_ff.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_4EA7FB5C5DFB4954AB3B5CB0C9AA046F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{BB304ECF-FCBA-4693-9D47-86749815DDC8}" - "ShowKeyOutput" = "11:FALSE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D0DDAE58CB714323B0D13814784CB65D" - { - "SourcePath" = "8:..\\..\\..\\..\\launcher\\obj\\Debug\\launcher.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_FF7EC6414E154369B9795588293643B3" - { - "Name" = "8:CASA Manager" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_D0DDAE58CB714323B0D13814784CB65D" - "Folder" = "8:_2C3FB966F84B412D8A4B853BA2503A62" - "WorkingFolder" = "8:_F8730948A6CD40509FB6776A183C0BD7" - "Icon" = "8:_AEE2937AC2D445BEBC2B9E8DBD7C39DF" - "Feature" = "8:" - } - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA-msm/CASA-msm.vdproj b/CASA/package/windows/vs_solutions/CASA-msm/CASA-msm.vdproj deleted file mode 100644 index 1adadc54..00000000 --- a/CASA/package/windows/vs_solutions/CASA-msm/CASA-msm.vdproj +++ /dev/null @@ -1,820 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{06A35CCD-C46D-44D5-987B-CF40FF872267}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_01C1EAD583CE4AD39778A1F9EC86204D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_11B0506C6E534CED95D82DA0A8EC9F82" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_20EACF4A7D16CC22AFC572EFEEAA047B" - "OwnerKey" = "8:_3FAA064A5C5743BB8AD74340F1E51D54" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_20EACF4A7D16CC22AFC572EFEEAA047B" - "OwnerKey" = "8:_69B8715C6C864CE4BA0C8234D344175F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3FAA064A5C5743BB8AD74340F1E51D54" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_53A2168DF64E4E9EB3FD5516424E732E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_69B8715C6C864CE4BA0C8234D344175F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8223A91955C125BA9C4479274243444F" - "OwnerKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8F5B7EB470FBBD7481C8C1661BE3BDAC" - "OwnerKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8F5B7EB470FBBD7481C8C1661BE3BDAC" - "OwnerKey" = "8:_8223A91955C125BA9C4479274243444F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_90C16B41FE7F435A8640BFDDD7C02619" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E9A07FF096B3E2C3D94E47A886020DDE" - "OwnerKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F02B7A3B8CC42888CE9066367A5F49C8" - "OwnerKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F02B7A3B8CC42888CE9066367A5F49C8" - "OwnerKey" = "8:_8223A91955C125BA9C4479274243444F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F02B7A3B8CC42888CE9066367A5F49C8" - "OwnerKey" = "8:_8F5B7EB470FBBD7481C8C1661BE3BDAC" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FCA9C6770F0FB28185373954659263CB" - "OwnerKey" = "8:_01C1EAD583CE4AD39778A1F9EC86204D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E9A07FF096B3E2C3D94E47A886020DDE" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_8223A91955C125BA9C4479274243444F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_8F5B7EB470FBBD7481C8C1661BE3BDAC" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_F02B7A3B8CC42888CE9066367A5F49C8" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_11B0506C6E534CED95D82DA0A8EC9F82" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - } - "Deployable" - { - "CustomAction" - { - "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_013452D619C547C68B71BA6FD2842FD0" - { - "Name" = "8:Primary output from micasad (Active)" - "Condition" = "8:" - "Object" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "FileType" = "3:2" - "InstallAction" = "3:1" - "Arguments" = "8:/install" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_FB65FC12_0EFA_48AF_8FC1_533D5239C93B" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_99C08E208A824461B87B6784F0710A98" - { - "Name" = "8:Primary output from micasad (Active)" - "Condition" = "8:CAPTURECHECKBOX" - "Object" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "FileType" = "3:2" - "InstallAction" = "3:1" - "Arguments" = "8:/hookclient" - "EntryPoint" = "8:" - "Sequence" = "3:2" - "Identifier" = "8:_59E88BBE_39ED_4920_A453_12AA5451C45A" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_F893AB0289144D1BB1926D594164A8E8" - { - "Name" = "8:Primary output from micasad (Active)" - "Condition" = "8:" - "Object" = "8:_C37A35F33FD14730BC7E7C47DF9C2DD1" - "FileType" = "3:2" - "InstallAction" = "3:4" - "Arguments" = "8:/uninstall" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_FA3DB03D_CA59_40B2_8002_961B66E6646D" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_20EACF4A7D16CC22AFC572EFEEAA047B" - { - "SourcePath" = "8:micasa.dll" - "TargetName" = "8:micasa.dll" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8223A91955C125BA9C4479274243444F" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.Common, Version=1.6.3013.27007, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_8223A91955C125BA9C4479274243444F" - { - "Name" = "8:Novell.CASA.Common.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.Common.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_8F5B7EB470FBBD7481C8C1661BE3BDAC" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.NamedPipes, Version=1.6.0.27007, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_8F5B7EB470FBBD7481C8C1661BE3BDAC" - { - "Name" = "8:AppModule.NamedPipes.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.NamedPipes.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_E9A07FF096B3E2C3D94E47A886020DDE" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.CASAPol, Version=1.6.3013.27008, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_E9A07FF096B3E2C3D94E47A886020DDE" - { - "Name" = "8:Novell.CASA.CASAPol.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.CASAPol.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_F02B7A3B8CC42888CE9066367A5F49C8" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.InterProcessComm, Version=1.6.0.27006, Culture=neutral, processorArchitecture=MSIL" - "ScatterAssemblies" - { - "_F02B7A3B8CC42888CE9066367A5F49C8" - { - "Name" = "8:AppModule.InterProcessComm.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.InterProcessComm.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FCA9C6770F0FB28185373954659263CB" - { - "SourcePath" = "8:micasacache.dll" - "TargetName" = "8:micasacache.dll" - "Tag" = "8:" - "Folder" = "8:_4913CF477F8E455DA2D13A4A6892F4F7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{C7E34266-2C30-44B9-A9A3-4E394ABD6E18}:_1362415FE8D943B49FA4E4380970C97B" - { - "Name" = "8:#1927" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:GAC" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_4913CF477F8E455DA2D13A4A6892F4F7" - { - "Name" = "8:#1914" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:SystemFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_B518993B04A240C6A13F16A5F28D6462" - { - "Name" = "8:#1912" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFilesFolder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_7F1DAE4B78DB4782B9F7947EF1D99D99" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_EA99EEEEF4A14B35886DBC19573913BC" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_40B1718C61314712BBCD7C504E392E8D" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_07E2D3BB731A4BF6AA9A72296B024EDD" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_24B477312C8840DB8DF8C1E373E7FC6D" - { - "Name" = "8:bin" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_83CEB2DECC5C429980555A20CB456C24" - "Folders" - { - } - } - } - } - } - } - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.8A7083089CB74F97BC7C185519FDD924" - "Version" = "8:1.7.0.0" - "Title" = "8:CASA-msm" - "Subject" = "8:" - "Author" = "8:Novell" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_01C1EAD583CE4AD39778A1F9EC86204D" - { - "SourcePath" = "8:..\\..\\..\\..\\micasadk\\Debug\\micasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_4913CF477F8E455DA2D13A4A6892F4F7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{99988A22-4C58-4BF7-A2DB-57761E76FB26}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_11B0506C6E534CED95D82DA0A8EC9F82" - { - "SourcePath" = "8:..\\..\\..\\..\\sharp\\Novell.Casa.MiCasa\\obj\\Debug\\Novell.Casa.MiCasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1362415FE8D943B49FA4E4380970C97B" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{7B56383F-6551-4BCD-81BB-A039BBECBD9C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_3FAA064A5C5743BB8AD74340F1E51D54" - { - "SourcePath" = "8:..\\..\\..\\..\\cli\\Debug\\CASAcli.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_53A2168DF64E4E9EB3FD5516424E732E" - { - "SourcePath" = "8:..\\..\\..\\..\\micasacache\\Debug\\micasacache.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_4913CF477F8E455DA2D13A4A6892F4F7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_69B8715C6C864CE4BA0C8234D344175F" - { - "SourcePath" = "8:..\\..\\..\\..\\jwrapper\\jnsscs\\Debug\\jmicasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_4913CF477F8E455DA2D13A4A6892F4F7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D2BD9955-65B4-4E34-B178-52D71444AE63}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_90C16B41FE7F435A8640BFDDD7C02619" - { - "SourcePath" = "8:..\\..\\..\\..\\logincapture\\windows\\bin\\Debug\\lcredmgr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{55E85618-3643-4213-A15F-08DA1F02D9BB}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_C37A35F33FD14730BC7E7C47DF9C2DD1" - { - "SourcePath" = "8:..\\..\\..\\..\\micasad\\obj\\Debug\\micasad.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_24B477312C8840DB8DF8C1E373E7FC6D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{E39D2266-AB30-430E-A466-AC909363A830}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_29B80E2CA766458DA4F6EE96E41E5376" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_BF4429790BFE48F083671F77CAC63EA1" - { - "Name" = "8:Novell" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_575764BFD85043F3B949A11C497AD7D4" - { - "Name" = "8:CASA" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - "{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_3596F3FBFBB545CFBAD84A730F0BAB9F" - { - "Name" = "8:CacheDesktopPassword" - "Condition" = "8:ALLOWDESKTOPACCESS" - "Transitive" = "11:FALSE" - "ValueTypes" = "3:1" - "Value" = "8:true" - } - "{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_D1F2575EBB414D9692433063C8808D7E" - { - "Name" = "8:UseMasterPassword" - "Condition" = "8:USEMASTERPASSWORD" - "Transitive" = "11:FALSE" - "ValueTypes" = "3:1" - "Value" = "8:true" - } - } - } - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.ncb b/CASA/package/windows/vs_solutions/CASA32-msi/CASA.ncb deleted file mode 100644 index 7cdd4cab..00000000 Binary files a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.ncb and /dev/null differ diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.sln b/CASA/package/windows/vs_solutions/CASA32-msi/CASA.sln deleted file mode 100644 index fa2cc2f0..00000000 --- a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.sln +++ /dev/null @@ -1,309 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-dev-msm", "..\CASA-dev-msm\miCASA-Dev-msm.vdproj", "{51235A10-C83F-4B56-B16D-9DD695F9FB93}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cSample", "..\..\..\..\test\c_sample\CSample.vcproj", "{2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}" - ProjectSection(ProjectDependencies) = postProject - {99988A22-4C58-4BF7-A2DB-57761E76FB26} = {99988A22-4C58-4BF7-A2DB-57761E76FB26} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cSharpSample", "..\..\..\..\test\c_sharp_sample\cSharpSample.csproj", "{3FB57160-F475-4650-A45C-19D020661A2D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcredmgr", "..\..\..\..\LoginCapture\windows\windows.vcproj", "{55E85618-3643-4213-A15F-08DA1F02D9BB}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.miCASAWrapper", "..\..\..\..\sharp\NSSCSWrapper\Novell.CASA.miCASAWrapper.csproj", "{E21DD887-22F4-4935-9851-409715F663B0}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} = {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.Common", "..\..\..\..\micasad\lib\Novell.CASA.Common.csproj", "{57CD94A2-5B4A-40C3-8189-CB760FB78357}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} = {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CASAManager", "..\..\..\..\gui\CASAManager.csproj", "{A1A805D0-B400-4D11-A772-348CE13F1046}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.A-D", "..\..\..\..\adlib\Novell.CASA.A-D.csproj", "{25D49F34-F655-4CCF-93F1-449243AF7A32}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.CASAPolicy", "..\..\..\..\policy\Novell.CASA.CASAPolicy.csproj", "{636A9D7E-BFB5-4EB9-96F8-51FF85A98826}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "micasad", "..\..\..\..\micasad\micasad.csproj", "{E39D2266-AB30-430E-A466-AC909363A830}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.InterProcessComm", "..\..\..\..\extern\w32\namedpipes\AppModule.InterProcessComm\AppModule.InterProcessComm.csproj", "{E98F1F7E-40B6-44C8-AC66-EC867B141FA1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.NamedPipes", "..\..\..\..\extern\w32\namedpipes\AppModule.NamedPipes\AppModule.NamedPipes.csproj", "{077B53BB-404A-4B2F-BA17-AAE98C5E9C66}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ad_firefox_native", "..\..\..\..\adlib\ad_ff\firefox.vcproj", "{BB304ECF-FCBA-4693-9D47-86749815DDC8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasacache", "..\..\..\..\micasacache\c_micasacache.vcproj", "{B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasa", "..\..\..\..\micasadk\c_micasadk.vcproj", "{99988A22-4C58-4BF7-A2DB-57761E76FB26}" - ProjectSection(ProjectDependencies) = postProject - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3} = {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3} - EndProjectSection -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-msm", "..\CASA-msm\CASA-msm.vdproj", "{DD759BE4-D018-4014-916D-5F25BA209C26}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-gui-msm", "..\CASA-gui-msm\CASA-gui.vdproj", "{0B3208BF-0948-4FA9-89C8-61A0AD00D241}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jmicasa", "..\..\..\..\jwrapper\jnsscs\jnsscs.vcproj", "{D2BD9955-65B4-4E34-B178-52D71444AE63}" - ProjectSection(ProjectDependencies) = postProject - {99988A22-4C58-4BF7-A2DB-57761E76FB26} = {99988A22-4C58-4BF7-A2DB-57761E76FB26} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.Casa.MiCasa", "..\..\..\..\sharp\Novell.Casa.MiCasa\Novell.Casa.MiCasa.csproj", "{7B56383F-6551-4BCD-81BB-A039BBECBD9C}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA", "CASA.vdproj", "{2D740D52-D112-4001-9A52-48B61DC15CD0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "launcher", "..\..\..\..\launcher\launcher.csproj", "{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CASAcli", "..\..\..\..\cli\CASAcli.vcproj", "{4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Any CPU.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Any CPU.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Mixed Platforms.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Mixed Platforms.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Win32.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Win32.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Any CPU.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Any CPU.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Mixed Platforms.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Mixed Platforms.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Win32.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Win32.Build.0 = Release - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Win32.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Win32.Build.0 = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Any CPU.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Mixed Platforms.Build.0 = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Win32.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Win32.Build.0 = Release|Win32 - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Win32.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Any CPU.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Win32.ActiveCfg = Release|Any CPU - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Win32.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Win32.Build.0 = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Any CPU.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Mixed Platforms.Build.0 = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Win32.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Win32.Build.0 = Release|Win32 - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Any CPU.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Win32.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Any CPU.Build.0 = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Win32.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Any CPU.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Any CPU.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Win32.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Win32.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Any CPU.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Win32.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Any CPU.Build.0 = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Win32.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Any CPU.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Any CPU.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Win32.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Any CPU.Build.0 = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Win32.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Any CPU.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Any CPU.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Win32.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Any CPU.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Win32.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Any CPU.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Win32.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Any CPU.Build.0 = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Win32.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Any CPU.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Any CPU.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Win32.ActiveCfg = Release|Any CPU - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Win32.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Win32.Build.0 = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Any CPU.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Mixed Platforms.Build.0 = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Win32.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Win32.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Win32.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Win32.Build.0 = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Any CPU.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Mixed Platforms.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Win32.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Win32.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Win32.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Win32.Build.0 = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Any CPU.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Mixed Platforms.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Win32.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Win32.Build.0 = Release|Win32 - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Any CPU.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Any CPU.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Mixed Platforms.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Mixed Platforms.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Win32.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Win32.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Any CPU.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Any CPU.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Mixed Platforms.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Mixed Platforms.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Win32.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Win32.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Any CPU.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Any CPU.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Mixed Platforms.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Mixed Platforms.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Win32.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Win32.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Any CPU.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Any CPU.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Mixed Platforms.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Mixed Platforms.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Win32.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Win32.Build.0 = Release - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Win32.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Win32.Build.0 = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Any CPU.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Mixed Platforms.Build.0 = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Win32.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Win32.Build.0 = Release|Win32 - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Win32.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Any CPU.Build.0 = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Win32.ActiveCfg = Release|Any CPU - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Any CPU.ActiveCfg = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Any CPU.Build.0 = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Mixed Platforms.ActiveCfg = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Mixed Platforms.Build.0 = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Win32.ActiveCfg = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Debug|Win32.Build.0 = Debug - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Any CPU.ActiveCfg = Release - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Any CPU.Build.0 = Release - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Mixed Platforms.ActiveCfg = Release - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Mixed Platforms.Build.0 = Release - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Win32.ActiveCfg = Release - {2D740D52-D112-4001-9A52-48B61DC15CD0}.Release|Win32.Build.0 = Release - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Win32.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.Build.0 = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Win32.ActiveCfg = Release|Any CPU - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Win32.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Win32.Build.0 = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Any CPU.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Mixed Platforms.Build.0 = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Win32.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.suo b/CASA/package/windows/vs_solutions/CASA32-msi/CASA.suo deleted file mode 100644 index 434f1258..00000000 Binary files a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.suo and /dev/null differ diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.vdproj b/CASA/package/windows/vs_solutions/CASA32-msi/CASA.vdproj deleted file mode 100644 index 9af2050b..00000000 --- a/CASA/package/windows/vs_solutions/CASA32-msi/CASA.vdproj +++ /dev/null @@ -1,1217 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_1759661D2FDA4F2E95C0E7FC36CFA63C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6CE0B932302E4E3783AAD1EA468ABD34" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_93A5D480D91747B086FD13789A12978B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_98DCC664712A41B993FCD33026D06FFC" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BF2CE61978054B2DB482792974E390F0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D0342628EEE84A0EBF9229899988B52A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EF467E7BEF8E4109BAD7E2FE47508D13" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_BF2CE61978054B2DB482792974E390F0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_98DCC664712A41B993FCD33026D06FFC" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0" - { - "Name" = "8:Microsoft .NET Framework 2.0" - "ProductCode" = "8:Microsoft.Net.Framework.2.0" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_A2BD16F0A2D841E185A2693B44E38894" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "Version" = "8:2.0.50727" - "AllowLaterVersions" = "11:TRUE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=9832" - "SupportedRuntimes" = "8:1.1.4322;2.0.50727" - } - } - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1759661D2FDA4F2E95C0E7FC36CFA63C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAicons.ico" - "TargetName" = "8:CASAicons.ico" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6CE0B932302E4E3783AAD1EA468ABD34" - { - "SourcePath" = "8:casa.rtf" - "TargetName" = "8:casa.rtf" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_93A5D480D91747B086FD13789A12978B" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA.bmp" - "TargetName" = "8:CASA.bmp" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D0342628EEE84A0EBF9229899988B52A" - { - "SourcePath" = "8:eula.rtf" - "TargetName" = "8:eula.rtf" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EF467E7BEF8E4109BAD7E2FE47508D13" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAicons.ico" - "TargetName" = "8:CASAicons.ico" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_17899554DCDD429CBE16F5ABA17ECA55" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_D42B2A98AEE145CC8C3FE0CDC4623CB8" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - "{CF66B7F7-B7DA-4B08-A67A-233430638C9C}:_78C54417FB8C4A82A630EC45D85A4E34" - { - "Name" = "8:Search for RegistryEntry1" - "Root" = "2:1" - "RegKey" = "8:SOFTWARE\\GTK\\2.0" - "Value" = "8:Version" - "Property" = "8:REGISTRYVALUE1" - } - } - "MsiBootstrapper" - { - "LangId" = "3:1033" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:CASA" - "ProductCode" = "8:{334EA151-EE96-456E-AE0B-26C877E2D082}" - "PackageCode" = "8:{9DB7BF48-CCF3-45A4-93AF-C7F7BA768048}" - "UpgradeCode" = "8:{DFD8B8A0-EA51-4202-831C-7CD2B90A63AE}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:TRUE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:TRUE" - "ProductVersion" = "8:1.7.1554" - "Manufacturer" = "8:Novell" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:CASA" - "Subject" = "8:" - "ARPCONTACT" = "8:Novell" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:_EF467E7BEF8E4109BAD7E2FE47508D13" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_4BB197AB2240488E8148166A10D21E61" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_72B8E336A9544882BED367899462B8B3" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_1BE21DBCBBCF4447A8083C09F821ADDA" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_A84A60CC3F1F4916AF8EDFA88D91B6EE" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_3EC25E6A88C743F180E15BB5B1723782" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_957D6A7B56004E75A33D175980479E41" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_55398D84A5A7466A8651904B78BC8C83" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9884B8BC675B4D79A009562CAB63B597" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_7F1336E6B8334CE392EA107B9321B43F" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_8ECF7FBD327B449BB8682A51906420F2" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_027AA62A3BCA4B3381C5ACFBD0508CCC" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_43F160682AA8469CBB6E9E613A9F43CC" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9CF93927456B4308AFF3958A83E035EB" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_AA5D060BC6C44BC79854D69A99CF17C8" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_168355FD285E4059925B44754162B77B" - { - "Sequence" = "3:400" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_42A318B9FD8D40EBA982516EB3F6DD93" - { - "Sequence" = "3:300" - "DisplayName" = "8:Checkboxes (A)" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdCustomCheck1Dlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - "BannerText" - { - "Name" = "8:BannerText" - "DisplayName" = "8:#1014" - "Description" = "8:#1114" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Options" - "DefaultValue" = "8:#1214" - "UsePlugInResources" = "11:TRUE" - } - "BodyText" - { - "Name" = "8:BodyText" - "DisplayName" = "8:#1015" - "Description" = "8:#1115" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:CASA supports the following options. 1. The Desktop Password is used to encrypt and store credentials. 2. The MasterPassword provides a way to recover credentials if the desktop password is forgotten and changed. 3. CASA can also capture your username and password when you authenticate to Directory Services using the Novell Client." - "DefaultValue" = "8:#1215" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Label" - { - "Name" = "8:Checkbox1Label" - "DisplayName" = "8:#1034" - "Description" = "8:#1134" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Allow applications to use my Desktop username and password to authenticate." - "DefaultValue" = "8:#1234" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Property" - { - "Name" = "8:Checkbox1Property" - "DisplayName" = "8:#1030" - "Description" = "8:#1130" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:ALLOWDESKTOPACCESS" - "DefaultValue" = "8:CHECKBOXA1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Value" - { - "Name" = "8:Checkbox1Value" - "DisplayName" = "8:#1038" - "Description" = "8:#1138" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Visible" - { - "Name" = "8:Checkbox1Visible" - "DisplayName" = "8:#1026" - "Description" = "8:#1126" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Label" - { - "Name" = "8:Checkbox2Label" - "DisplayName" = "8:#1035" - "Description" = "8:#1135" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Enable the Master Password feature." - "DefaultValue" = "8:#1235" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Property" - { - "Name" = "8:Checkbox2Property" - "DisplayName" = "8:#1031" - "Description" = "8:#1131" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:USEMASTERPASSWORD" - "DefaultValue" = "8:CHECKBOXA2" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Value" - { - "Name" = "8:Checkbox2Value" - "DisplayName" = "8:#1039" - "Description" = "8:#1139" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Visible" - { - "Name" = "8:Checkbox2Visible" - "DisplayName" = "8:#1027" - "Description" = "8:#1127" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Label" - { - "Name" = "8:Checkbox3Label" - "DisplayName" = "8:#1036" - "Description" = "8:#1136" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Capture my credentials when Novell Client is present." - "DefaultValue" = "8:#1236" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Property" - { - "Name" = "8:Checkbox3Property" - "DisplayName" = "8:#1032" - "Description" = "8:#1132" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:CAPTURECHECKBOX" - "DefaultValue" = "8:CHECKBOXA3" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Value" - { - "Name" = "8:Checkbox3Value" - "DisplayName" = "8:#1040" - "Description" = "8:#1140" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Visible" - { - "Name" = "8:Checkbox3Visible" - "DisplayName" = "8:#1028" - "Description" = "8:#1128" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Label" - { - "Name" = "8:Checkbox4Label" - "DisplayName" = "8:#1037" - "Description" = "8:#1137" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1237" - "DefaultValue" = "8:#1237" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Property" - { - "Name" = "8:Checkbox4Property" - "DisplayName" = "8:#1033" - "Description" = "8:#1133" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:CHECKBOXA4" - "DefaultValue" = "8:CHECKBOXA4" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Value" - { - "Name" = "8:Checkbox4Value" - "DisplayName" = "8:#1041" - "Description" = "8:#1141" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Visible" - { - "Name" = "8:Checkbox4Visible" - "DisplayName" = "8:#1029" - "Description" = "8:#1129" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:0" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_72A96753BD2044C99316BD7497386565" - { - "Sequence" = "3:200" - "DisplayName" = "8:License Agreement" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdLicenseDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - "EulaText" - { - "Name" = "8:EulaText" - "DisplayName" = "8:#1008" - "Description" = "8:#1108" - "Type" = "3:6" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:_D0342628EEE84A0EBF9229899988B52A" - "UsePlugInResources" = "11:TRUE" - } - "Sunken" - { - "Name" = "8:Sunken" - "DisplayName" = "8:#1007" - "Description" = "8:#1107" - "Type" = "3:5" - "ContextData" = "8:4;True=4;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:4" - "DefaultValue" = "3:4" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DB237FC4DFF5418CA9F31A1501A7B924" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_93A5D480D91747B086FD13789A12978B" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_AF5FE26CC41045039C92A34602231708" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7EE1E9118BE74E54AEA749670A690A98" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_FB08867A0D134999B515B595F0E2E5B6" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_CA56EFD48C504676ABCBB7D389D5A36B" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_FCC249783F7D4BE9BFE20688E273F46A" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_98DCC664712A41B993FCD33026D06FFC" - { - "SourcePath" = "8:..\\CASA-gui-msm\\Debug\\CASA-gui.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{0B3208BF-0948-4FA9-89C8-61A0AD00D241}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-gui-msm\\Debug\\CASA-gui.msm" - "Properties" - { - "_4EA7FB5C5DFB4954AB3B5CB0C9AA046F.C6D5B5D8C4B84657BAA9E6F44CAD0FD7" - { - "Name" = "8:_4EA7FB5C5DFB4954AB3B5CB0C9AA046F.C6D5B5D8C4B84657BAA9E6F44CAD0FD7" - "DisplayName" = "8:Module Retargetable Folder" - "Description" = "8:" - "Type" = "3:32769" - "ContextData" = "8:_RetargetableFolder" - "Attributes" = "3:6" - "Setting" = "3:1" - "UsePlugInResources" = "11:FALSE" - } - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_BF2CE61978054B2DB482792974E390F0" - { - "SourcePath" = "8:..\\CASA-msm\\Debug\\CASA-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{DD759BE4-D018-4014-916D-5F25BA209C26}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-msm\\Release\\CASA-msm.msm" - "Properties" - { - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_E8900D5F0BD44DC0BB0BEFDF7C43B30C" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - } - "VJSharpPlugin" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/Makefile.am b/CASA/package/windows/vs_solutions/CASA32-msi/Makefile.am deleted file mode 100755 index d2d879cf..00000000 --- a/CASA/package/windows/vs_solutions/CASA32-msi/Makefile.am +++ /dev/null @@ -1,112 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(SFILES) - -CASAROOT = ../../../.. - -CASALIBDIR = $(CASAROOT)/lib - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -OBJDIR = ./BUILT - -MODULE_NAME =CASA -MODULE_EXT =msi - -SFILES = CASA.sln -MSMFILE = ../CASA-msm/CASA-msm.vdproj -MSIFILE = CASA.vdproj - -CUR_DIR := $(shell pwd) - -all: $(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(MODULE_NAME).$(MODULE_EXT): $(SFILES) $(OBJDIR) devenv - @echo [======== Updating msi and msm numbe ========] - "$(TOOLDIR)/w32/VersionVDProj/bin/VersionVDProj.exe" -msi $(MSIFILE) version=$(VERSION) - @echo [======== Building Solution $(SFILES) ========] - "$(VSINSTALLDIR)\devenv" /rebuild $(TARGET_CFG) $(SFILES) /out build.log - cp -f $(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) $(OBJDIR) - cp -f $(TARGET_CFG)/setup.exe $(OBJDIR) - tar -cvf $(PACKAGE)-$(VERSION).tar $(OBJDIR) - bzip2 -z $(PACKAGE)-$(VERSION).tar - - -devenv: - @if ! test -x "$(VSINSTALLDIR)\devenv.exe";then echo "Error: MS Studio .NET is currently required to build MSI and MSM";exit 1;fi - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - @echo [======== Cleaning Solution $(SFILES) ========] - "$(VSINSTALLDIR)\devenv" /clean $(TARGET_CFG) $(SFILES) - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - if [ -d Debug ]; then rm -rf Debug; fi - if [ -f build.log ]; then rm -f build.log; fi - if [ -d $(OBJDIR) ]; then rm -rf $(OBJDIR); fi - if [ -f $(PACKAGE)-$(VERSION).tar.bz2 ]; then rm -f $(PACKAGE)-$(VERSION).tar.bz2; fi -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/windows/vs_solutions/CASA32-msi/eula.rtf b/CASA/package/windows/vs_solutions/CASA32-msi/eula.rtf deleted file mode 100644 index 3c791852..00000000 --- a/CASA/package/windows/vs_solutions/CASA32-msi/eula.rtf +++ /dev/null @@ -1,39 +0,0 @@ -{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;} -{\f2\fmodern\fcharset0\fprq1{\*\panose 02070309020205020404}Courier New;}{\f36\froman\fcharset238\fprq2 Times New Roman CE;}{\f37\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f39\froman\fcharset161\fprq2 Times New Roman Greek;} -{\f40\froman\fcharset162\fprq2 Times New Roman Tur;}{\f41\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f42\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f43\froman\fcharset186\fprq2 Times New Roman Baltic;} -{\f44\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f56\fmodern\fcharset238\fprq1 Courier New CE;}{\f57\fmodern\fcharset204\fprq1 Courier New Cyr;}{\f59\fmodern\fcharset161\fprq1 Courier New Greek;} -{\f60\fmodern\fcharset162\fprq1 Courier New Tur;}{\f61\fmodern\fcharset177\fprq1 Courier New (Hebrew);}{\f62\fmodern\fcharset178\fprq1 Courier New (Arabic);}{\f63\fmodern\fcharset186\fprq1 Courier New Baltic;} -{\f64\fmodern\fcharset163\fprq1 Courier New (Vietnamese);}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255; -\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{ -\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\* -\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv -\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}}{\*\latentstyles\lsdstimax156\lsdlockeddef0}{\*\rsidtbl \rsid1538247\rsid5597720 -\rsid6366133\rsid9387745\rsid10228552\rsid11414545}{\*\generator Microsoft Word 11.0.5604;}{\info{\title You must pay Cameron Mashayekhi 50 dollars to use this software}{\author User}{\operator User}{\creatim\yr2006\mo1\dy20\hr8\min54} -{\revtim\yr2006\mo1\dy20\hr10\min35}{\version6}{\edmins6}{\nofpages1}{\nofwords121}{\nofchars691}{\*\company Organization}{\nofcharsws811}{\vern24689}} -\widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\formshade\horzdoc\dgmargin\dghspace180\dgvspace180\dghorigin1800\dgvorigin1440\dghshow1\dgvshow1 -\jexpand\viewkind1\viewscale130\pgbrdrhead\pgbrdrfoot\splytwnine\ftnlytwnine\htmautsp\nolnhtadjtbl\useltbaln\alntblind\lytcalctblwd\lyttblrtgr\lnbrkrule\nobrkwrptbl\snaptogridincell\allowfieldendsel\wrppunct\asianbrkrule\nojkernpunct\rsidroot11414545 -\fet0\sectd \linex0\endnhere\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}} -{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang -{\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\widctlpar\faauto\rin0\lin0\itap0\pararsid6366133 -\fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\f2\fs20\insrsid6366133\charrsid6366133 Copyright (C) 2005-2006 Novell, Inc. -\par -\par This library is free software; you can redistribute}{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 it and/or}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 modify it under the terms of the }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 GNU Lesser General Public}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 License as published by the}{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 Free Software Foundation; version 2.1}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 of the License. -\par -\par This library is distributed in the hope that it will}{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 be useful,}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 but WITHOUT ANY WARRANTY; without even the }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 implied warranty of}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 MERCHANTABILITY or FITNESS FOR A }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 PARTICULAR PURPOSE. See the GNU}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 Library General }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 Public License for more details. -\par -\par You should have received a copy of the GNU Lesser }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 General Public}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 License along with this library; }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 if not, write to the Free}{\f2\fs20\insrsid9387745 }{\f2\fs20\insrsid6366133\charrsid6366133 Software Foundation, Inc., }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 675 Mass Ave, Cambridge, MA 02139, USA. -\par -\par To contact Novell about this file by physical or }{\f2\fs20\insrsid9387745 -\par }\pard \ql \li0\ri0\widctlpar\faauto\rin0\lin0\itap0\pararsid9387745 {\f2\fs20\insrsid6366133\charrsid6366133 electronic mail, you may find current contact }{\f2\fs20\insrsid9387745 -\par }{\f2\fs20\insrsid6366133\charrsid6366133 information at www.novell.com.}{\insrsid11414545\charrsid6366133 -\par }} \ No newline at end of file diff --git a/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.sln b/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.sln deleted file mode 100644 index eee0d750..00000000 --- a/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.sln +++ /dev/null @@ -1,681 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-dev-msm", "..\CASA-dev-msm\miCASA-Dev-msm.vdproj", "{51235A10-C83F-4B56-B16D-9DD695F9FB93}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cSample", "..\..\..\..\test\c_sample\CSample.vcproj", "{2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}" - ProjectSection(ProjectDependencies) = postProject - {99988A22-4C58-4BF7-A2DB-57761E76FB26} = {99988A22-4C58-4BF7-A2DB-57761E76FB26} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cSharpSample", "..\..\..\..\test\c_sharp_sample\cSharpSample.csproj", "{3FB57160-F475-4650-A45C-19D020661A2D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcredmgr", "..\..\..\..\LoginCapture\windows\windows.vcproj", "{55E85618-3643-4213-A15F-08DA1F02D9BB}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.miCASAWrapper", "..\..\..\..\sharp\NSSCSWrapper\Novell.CASA.miCASAWrapper.csproj", "{E21DD887-22F4-4935-9851-409715F663B0}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} = {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.Common", "..\..\..\..\micasad\lib\Novell.CASA.Common.csproj", "{57CD94A2-5B4A-40C3-8189-CB760FB78357}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} = {077B53BB-404A-4B2F-BA17-AAE98C5E9C66} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CASAManager", "..\..\..\..\gui\CASAManager.csproj", "{A1A805D0-B400-4D11-A772-348CE13F1046}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.A-D", "..\..\..\..\adlib\Novell.CASA.A-D.csproj", "{25D49F34-F655-4CCF-93F1-449243AF7A32}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.CASAPolicy", "..\..\..\..\policy\Novell.CASA.CASAPolicy.csproj", "{636A9D7E-BFB5-4EB9-96F8-51FF85A98826}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "micasad", "..\..\..\..\micasad\micasad.csproj", "{E39D2266-AB30-430E-A466-AC909363A830}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.InterProcessComm", "..\..\..\..\extern\w32\namedpipes\AppModule.InterProcessComm\AppModule.InterProcessComm.csproj", "{E98F1F7E-40B6-44C8-AC66-EC867B141FA1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.NamedPipes", "..\..\..\..\extern\w32\namedpipes\AppModule.NamedPipes\AppModule.NamedPipes.csproj", "{077B53BB-404A-4B2F-BA17-AAE98C5E9C66}" - ProjectSection(ProjectDependencies) = postProject - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} = {E98F1F7E-40B6-44C8-AC66-EC867B141FA1} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ad_firefox_native", "..\..\..\..\adlib\ad_ff\firefox.vcproj", "{BB304ECF-FCBA-4693-9D47-86749815DDC8}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasacache", "..\..\..\..\micasacache\c_micasacache.vcproj", "{B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasa", "..\..\..\..\micasadk\c_micasadk.vcproj", "{99988A22-4C58-4BF7-A2DB-57761E76FB26}" - ProjectSection(ProjectDependencies) = postProject - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3} = {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3} - EndProjectSection -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-msm", "..\CASA-msm\CASA-msm.vdproj", "{DD759BE4-D018-4014-916D-5F25BA209C26}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-gui-msm", "..\CASA-gui-msm\CASA-gui.vdproj", "{0B3208BF-0948-4FA9-89C8-61A0AD00D241}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lcredmgr_x64", "..\..\..\..\logincapture\windows\windows64.vcproj", "{D5D6D4AB-D79D-492E-AE2C-43214641814A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasacache_x64", "..\..\..\..\micasacache\c_micasacache64.vcproj", "{741DEA76-6CB9-45C2-A98E-E717AC9AED22}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "micasa_x64", "..\..\..\..\micasadk\c_micasadk64.vcproj", "{45D09CBF-4FCF-49C7-9851-E073C3EB073B}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA64-msm", "..\CASA64-msm\CASA64-msm.vdproj", "{DDA9C223-D8B8-4579-B1C2-682BD59C6D08}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA", "..\CASA32-msi\CASA.vdproj", "{0B52FC6F-9F75-4E43-8D86-BC08D5082E97}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA_x64", "CASA64.vdproj", "{BC994AC7-4A6D-47BF-B86C-A6C7911329AB}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jmicasa", "..\..\..\..\jwrapper\jnsscs\jnsscs.vcproj", "{D2BD9955-65B4-4E34-B178-52D71444AE63}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.Casa.MiCasa", "..\..\..\..\sharp\Novell.Casa.MiCasa\Novell.Casa.MiCasa.csproj", "{7B56383F-6551-4BCD-81BB-A039BBECBD9C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "launcher", "..\..\..\..\launcher\launcher.csproj", "{D267C0E4-584C-4A9A-B189-50CEA39ACA4B}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA_sdk", "..\CASA_sdk\CASA_sdk.vdproj", "{92CAD193-2C37-4179-8D7A-EBD8322857A8}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA-dev64-msm", "..\CASA-dev64-msm\CASA-dev64-msm.vdproj", "{10D40E96-18B3-4F64-8E92-7682CDAFCCF4}" -EndProject -Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CASA_sdk_x64", "..\CASA_sdk_x64\CASA_sdk_x64.vdproj", "{73EC78A8-3FB5-4147-959B-A19B791197B0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CASAcli", "..\..\..\..\cli\CASAcli.vcproj", "{4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|ia64 = Debug|ia64 - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Smartphone 2003 (ARMV4) = Debug|Smartphone 2003 (ARMV4) - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Any CPU = Release|Any CPU - Release|ia64 = Release|ia64 - Release|Mixed Platforms = Release|Mixed Platforms - Release|Smartphone 2003 (ARMV4) = Release|Smartphone 2003 (ARMV4) - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Any CPU.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Any CPU.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|ia64.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|ia64.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Mixed Platforms.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Mixed Platforms.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Win32.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|Win32.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|x64.ActiveCfg = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Debug|x64.Build.0 = Debug - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Any CPU.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Any CPU.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|ia64.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|ia64.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Mixed Platforms.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Mixed Platforms.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Win32.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|Win32.Build.0 = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|x64.ActiveCfg = Release - {51235A10-C83F-4B56-B16D-9DD695F9FB93}.Release|x64.Build.0 = Release - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|ia64.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Win32.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|Win32.Build.0 = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Debug|x64.ActiveCfg = Debug|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Any CPU.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|ia64.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|ia64.Build.0 = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Mixed Platforms.Build.0 = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Win32.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|Win32.Build.0 = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|x64.ActiveCfg = Release|Win32 - {2635AF48-A4B2-42BD-97E2-A9AD9FF79E8C}.Release|x64.Build.0 = Release|Win32 - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|ia64.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|Win32.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug|x64.ActiveCfg = Debug|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Any CPU.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|ia64.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|ia64.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Win32.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|Win32.Build.0 = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|x64.ActiveCfg = Release|Any CPU - {3FB57160-F475-4650-A45C-19D020661A2D}.Release|x64.Build.0 = Release|Any CPU - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|ia64.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Win32.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|Win32.Build.0 = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Debug|x64.ActiveCfg = Debug|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Any CPU.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|ia64.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|ia64.Build.0 = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Mixed Platforms.Build.0 = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Win32.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|Win32.Build.0 = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|x64.ActiveCfg = Release|Win32 - {55E85618-3643-4213-A15F-08DA1F02D9BB}.Release|x64.Build.0 = Release|Win32 - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|ia64.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Debug|x64.ActiveCfg = Debug|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Any CPU.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|ia64.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|ia64.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Win32.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|Win32.Build.0 = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|x64.ActiveCfg = Release|Any CPU - {E21DD887-22F4-4935-9851-409715F663B0}.Release|x64.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Any CPU.Build.0 = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|ia64.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|Win32.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug|x64.ActiveCfg = Debug|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Any CPU.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Any CPU.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|ia64.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|ia64.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Win32.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|Win32.Build.0 = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|x64.ActiveCfg = Release|Any CPU - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release|x64.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|ia64.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|Win32.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug|x64.ActiveCfg = Debug|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Any CPU.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|ia64.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|ia64.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Win32.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|Win32.Build.0 = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|x64.ActiveCfg = Release|Any CPU - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release|x64.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Any CPU.Build.0 = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|ia64.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|Win32.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug|x64.ActiveCfg = Debug|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Any CPU.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Any CPU.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|ia64.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|ia64.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Win32.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|Win32.Build.0 = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|x64.ActiveCfg = Release|Any CPU - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release|x64.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Any CPU.Build.0 = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|ia64.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|Win32.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug|x64.ActiveCfg = Debug|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Any CPU.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Any CPU.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|ia64.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|ia64.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Win32.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|Win32.Build.0 = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|x64.ActiveCfg = Release|Any CPU - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release|x64.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|ia64.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Debug|x64.ActiveCfg = Debug|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Any CPU.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|ia64.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|ia64.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Win32.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|Win32.Build.0 = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|x64.ActiveCfg = Release|Any CPU - {E39D2266-AB30-430E-A466-AC909363A830}.Release|x64.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|ia64.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|Win32.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug|x64.ActiveCfg = Debug|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Any CPU.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|ia64.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|ia64.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Win32.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|Win32.Build.0 = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|x64.ActiveCfg = Release|Any CPU - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release|x64.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Any CPU.Build.0 = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|ia64.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|Win32.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug|x64.ActiveCfg = Debug|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Any CPU.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Any CPU.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|ia64.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|ia64.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Win32.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|Win32.Build.0 = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|x64.ActiveCfg = Release|Any CPU - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release|x64.Build.0 = Release|Any CPU - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|ia64.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Win32.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|Win32.Build.0 = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Debug|x64.ActiveCfg = Debug|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Any CPU.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|ia64.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|ia64.Build.0 = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Mixed Platforms.Build.0 = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Win32.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|Win32.Build.0 = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|x64.ActiveCfg = Release|Win32 - {BB304ECF-FCBA-4693-9D47-86749815DDC8}.Release|x64.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|ia64.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Win32.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|Win32.Build.0 = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Debug|x64.ActiveCfg = Debug|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Any CPU.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|ia64.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|ia64.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Mixed Platforms.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Win32.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|Win32.Build.0 = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|x64.ActiveCfg = Release|Win32 - {B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}.Release|x64.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|ia64.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Win32.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|Win32.Build.0 = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Debug|x64.ActiveCfg = Debug|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Any CPU.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|ia64.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|ia64.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Mixed Platforms.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Win32.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|Win32.Build.0 = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|x64.ActiveCfg = Release|Win32 - {99988A22-4C58-4BF7-A2DB-57761E76FB26}.Release|x64.Build.0 = Release|Win32 - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Any CPU.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Any CPU.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|ia64.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|ia64.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Mixed Platforms.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Mixed Platforms.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Win32.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|Win32.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|x64.ActiveCfg = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Debug|x64.Build.0 = Debug - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Any CPU.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Any CPU.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|ia64.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|ia64.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Mixed Platforms.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Mixed Platforms.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Win32.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|Win32.Build.0 = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|x64.ActiveCfg = Release - {DD759BE4-D018-4014-916D-5F25BA209C26}.Release|x64.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Any CPU.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Any CPU.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|ia64.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|ia64.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Mixed Platforms.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Mixed Platforms.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Win32.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|Win32.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|x64.ActiveCfg = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Debug|x64.Build.0 = Debug - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Any CPU.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Any CPU.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|ia64.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|ia64.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Mixed Platforms.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Mixed Platforms.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Win32.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|Win32.Build.0 = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|x64.ActiveCfg = Release - {0B3208BF-0948-4FA9-89C8-61A0AD00D241}.Release|x64.Build.0 = Release - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Any CPU.ActiveCfg = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|ia64.ActiveCfg = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|ia64.Build.0 = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Mixed Platforms.ActiveCfg = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Mixed Platforms.Build.0 = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Win32.ActiveCfg = Debug|Win32 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|Win32.Build.0 = Debug|Win32 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|x64.ActiveCfg = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Debug|x64.Build.0 = Debug|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Any CPU.ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|ia64.ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|ia64.Build.0 = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Mixed Platforms.ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Mixed Platforms.Build.0 = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Win32.ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|Win32.Build.0 = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|x64.ActiveCfg = Release|x64 - {D5D6D4AB-D79D-492E-AE2C-43214641814A}.Release|x64.Build.0 = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Any CPU.ActiveCfg = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|ia64.ActiveCfg = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|ia64.Build.0 = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Mixed Platforms.ActiveCfg = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Mixed Platforms.Build.0 = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Win32.ActiveCfg = Debug|Win32 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|Win32.Build.0 = Debug|Win32 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|x64.ActiveCfg = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Debug|x64.Build.0 = Debug|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Any CPU.ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|ia64.ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|ia64.Build.0 = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Mixed Platforms.ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Mixed Platforms.Build.0 = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Win32.ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|Win32.Build.0 = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|x64.ActiveCfg = Release|x64 - {741DEA76-6CB9-45C2-A98E-E717AC9AED22}.Release|x64.Build.0 = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Any CPU.ActiveCfg = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|ia64.ActiveCfg = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|ia64.Build.0 = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Mixed Platforms.ActiveCfg = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Mixed Platforms.Build.0 = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Win32.ActiveCfg = Debug|Win32 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|Win32.Build.0 = Debug|Win32 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|x64.ActiveCfg = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Debug|x64.Build.0 = Debug|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Any CPU.ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|ia64.ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|ia64.Build.0 = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Mixed Platforms.ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Mixed Platforms.Build.0 = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Win32.ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|Win32.Build.0 = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|x64.ActiveCfg = Release|x64 - {45D09CBF-4FCF-49C7-9851-E073C3EB073B}.Release|x64.Build.0 = Release|x64 - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Any CPU.ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Any CPU.Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|ia64.ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|ia64.Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Mixed Platforms.ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Mixed Platforms.Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Win32.ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|Win32.Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|x64.ActiveCfg = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Debug|x64.Build.0 = Debug - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Any CPU.ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Any CPU.Build.0 = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|ia64.ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|ia64.Build.0 = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Mixed Platforms.ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Mixed Platforms.Build.0 = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Win32.ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|Win32.Build.0 = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|x64.ActiveCfg = Release - {DDA9C223-D8B8-4579-B1C2-682BD59C6D08}.Release|x64.Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Any CPU.ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Any CPU.Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|ia64.ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|ia64.Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Mixed Platforms.ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Mixed Platforms.Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Win32.ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|Win32.Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|x64.ActiveCfg = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Debug|x64.Build.0 = Debug - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Any CPU.ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Any CPU.Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|ia64.ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|ia64.Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Mixed Platforms.ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Mixed Platforms.Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Win32.ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|Win32.Build.0 = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|x64.ActiveCfg = Release - {0B52FC6F-9F75-4E43-8D86-BC08D5082E97}.Release|x64.Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Any CPU.ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Any CPU.Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|ia64.ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|ia64.Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Mixed Platforms.ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Mixed Platforms.Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Win32.ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|Win32.Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|x64.ActiveCfg = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Debug|x64.Build.0 = Debug - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Any CPU.ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Any CPU.Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|ia64.ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|ia64.Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Mixed Platforms.ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Mixed Platforms.Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Win32.ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|Win32.Build.0 = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|x64.ActiveCfg = Release - {BC994AC7-4A6D-47BF-B86C-A6C7911329AB}.Release|x64.Build.0 = Release - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|ia64.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Win32.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|Win32.Build.0 = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Debug|x64.ActiveCfg = Debug|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Any CPU.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|ia64.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Mixed Platforms.Build.0 = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Win32.ActiveCfg = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|Win32.Build.0 = Release|Win32 - {D2BD9955-65B4-4E34-B178-52D71444AE63}.Release|x64.ActiveCfg = Release|Win32 - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|ia64.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|Win32.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Debug|x64.ActiveCfg = Debug|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Any CPU.Build.0 = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|ia64.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|Win32.ActiveCfg = Release|Any CPU - {7B56383F-6551-4BCD-81BB-A039BBECBD9C}.Release|x64.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|ia64.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|Win32.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Debug|x64.ActiveCfg = Debug|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Any CPU.Build.0 = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|ia64.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|Win32.ActiveCfg = Release|Any CPU - {D267C0E4-584C-4A9A-B189-50CEA39ACA4B}.Release|x64.ActiveCfg = Release|Any CPU - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|Any CPU.ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|ia64.ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|Mixed Platforms.ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|Mixed Platforms.Build.0 = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|Win32.ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Debug|x64.ActiveCfg = Debug - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|Any CPU.ActiveCfg = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|ia64.ActiveCfg = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|Mixed Platforms.ActiveCfg = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|Mixed Platforms.Build.0 = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|Win32.ActiveCfg = Release - {92CAD193-2C37-4179-8D7A-EBD8322857A8}.Release|x64.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Any CPU.ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Any CPU.Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|ia64.ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|ia64.Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Mixed Platforms.ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Mixed Platforms.Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Win32.ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|Win32.Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|x64.ActiveCfg = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Debug|x64.Build.0 = Debug - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Any CPU.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Any CPU.Build.0 = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|ia64.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|ia64.Build.0 = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Mixed Platforms.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Mixed Platforms.Build.0 = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Smartphone 2003 (ARMV4).Build.0 = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Win32.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|Win32.Build.0 = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|x64.ActiveCfg = Release - {10D40E96-18B3-4F64-8E92-7682CDAFCCF4}.Release|x64.Build.0 = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|Any CPU.ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|ia64.ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|Mixed Platforms.ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|Mixed Platforms.Build.0 = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|Win32.ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Debug|x64.ActiveCfg = Debug - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|Any CPU.ActiveCfg = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|ia64.ActiveCfg = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|Mixed Platforms.ActiveCfg = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|Mixed Platforms.Build.0 = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|Win32.ActiveCfg = Release - {73EC78A8-3FB5-4147-959B-A19B791197B0}.Release|x64.ActiveCfg = Release - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|ia64.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Win32.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|Win32.Build.0 = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Debug|x64.ActiveCfg = Debug|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Any CPU.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|ia64.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Mixed Platforms.Build.0 = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Win32.ActiveCfg = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|Win32.Build.0 = Release|Win32 - {4AFEB4A4-C9D7-4EAD-BCE4-BA84E00ACA23}.Release|x64.ActiveCfg = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.suo b/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.suo deleted file mode 100644 index 39ffdd3d..00000000 Binary files a/CASA/package/windows/vs_solutions/CASA64-msi/CASA-64-32.suo and /dev/null differ diff --git a/CASA/package/windows/vs_solutions/CASA64-msi/CASA64.vdproj b/CASA/package/windows/vs_solutions/CASA64-msi/CASA64.vdproj deleted file mode 100644 index 9c6af979..00000000 --- a/CASA/package/windows/vs_solutions/CASA64-msi/CASA64.vdproj +++ /dev/null @@ -1,1178 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA_x64" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_2B131795756E4872A317773196AC9C97" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_77D4084289944DE9B4A25EB3569A6B0D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_89A4D614ED354A6CBFFC1E32636E3819" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B53ECB839EAB490C99E541111A3135C1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BAB7BD0E68D24483AFFBE2ABF4539E98" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_77D4084289944DE9B4A25EB3569A6B0D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_2B131795756E4872A317773196AC9C97" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA64.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA_x64.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:TRUE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0" - { - "Name" = "8:Microsoft .NET Framework 2.0" - "ProductCode" = "8:Microsoft.Net.Framework.2.0" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_80192B5A7EAA433D9934F9A68491BAF8" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "Version" = "8:2.0.50727" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=9832" - } - } - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B53ECB839EAB490C99E541111A3135C1" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA.bmp" - "TargetName" = "8:CASA.bmp" - "Tag" = "8:" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BAB7BD0E68D24483AFFBE2ABF4539E98" - { - "SourcePath" = "8:..\\CASA32-msi\\eula.rtf" - "TargetName" = "8:eula.rtf" - "Tag" = "8:" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_68B47AFEAC7A40E480CD17C53CDF6783" - { - "DefaultLocation" = "8:[ProgramFiles64Folder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_78F16BB879404B3AB1640E4C56498B4C" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_B527C56269704D7B9C3475D8CB443227" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1033" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:CASA" - "ProductCode" = "8:{FCB6656C-03E2-4E88-A6B6-2375BA482E07}" - "PackageCode" = "8:{8428BACF-84D6-42A5-959E-4BCFA5676BD5}" - "UpgradeCode" = "8:{ADA759A5-EBFE-4789-97C1-5C64EB4DCF16}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:TRUE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.7.916" - "Manufacturer" = "8:Novell" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:CASA64" - "Subject" = "8:" - "ARPCONTACT" = "8:Default Company Name" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:1" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_E2AAC113058B4C9891C7C11E33131C36" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_AEDC7A31B443424D8947B8A03A9A6052" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_5D19CB3B4F4F45DB916942ABE0D4C889" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_00C63462368441E3A12DE14F4A66A498" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_021EF356709B41A88E59E3794411984F" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0219229FCE5F4C6492E0071066458509" - { - "Sequence" = "3:200" - "DisplayName" = "8:License Agreement" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdLicenseDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - "EulaText" - { - "Name" = "8:EulaText" - "DisplayName" = "8:#1008" - "Description" = "8:#1108" - "Type" = "3:6" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:_BAB7BD0E68D24483AFFBE2ABF4539E98" - "UsePlugInResources" = "11:TRUE" - } - "Sunken" - { - "Name" = "8:Sunken" - "DisplayName" = "8:#1007" - "Description" = "8:#1107" - "Type" = "3:5" - "ContextData" = "8:4;True=4;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:4" - "DefaultValue" = "3:4" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1B756FD38C68454A9CCFBE6E77DE0AFA" - { - "Sequence" = "3:300" - "DisplayName" = "8:Checkboxes (A)" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdCustomCheck1Dlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - "BannerText" - { - "Name" = "8:BannerText" - "DisplayName" = "8:#1014" - "Description" = "8:#1114" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Options" - "DefaultValue" = "8:#1214" - "UsePlugInResources" = "11:TRUE" - } - "BodyText" - { - "Name" = "8:BodyText" - "DisplayName" = "8:#1015" - "Description" = "8:#1115" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:CASA supports the following options. 1. The Desktop Password is used to encrypt and store credentials. 2. The MasterPassword provides a way to recover credentials if the desktop password is forgotten and changed. 3. CASA can also capture your username and password when you authenticate to Directory Services using the Novell Client." - "DefaultValue" = "8:#1215" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Label" - { - "Name" = "8:Checkbox1Label" - "DisplayName" = "8:#1034" - "Description" = "8:#1134" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Allow applications to use my Desktop username and password to authenticate." - "DefaultValue" = "8:#1234" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Property" - { - "Name" = "8:Checkbox1Property" - "DisplayName" = "8:#1030" - "Description" = "8:#1130" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:ALLOWDESKTOPACCESS" - "DefaultValue" = "8:CHECKBOXA1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Value" - { - "Name" = "8:Checkbox1Value" - "DisplayName" = "8:#1038" - "Description" = "8:#1138" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox1Visible" - { - "Name" = "8:Checkbox1Visible" - "DisplayName" = "8:#1026" - "Description" = "8:#1126" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Label" - { - "Name" = "8:Checkbox2Label" - "DisplayName" = "8:#1035" - "Description" = "8:#1135" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Enable the Master Password feature." - "DefaultValue" = "8:#1235" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Property" - { - "Name" = "8:Checkbox2Property" - "DisplayName" = "8:#1031" - "Description" = "8:#1131" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:USEMASTERPASSWORD" - "DefaultValue" = "8:CHECKBOXA2" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Value" - { - "Name" = "8:Checkbox2Value" - "DisplayName" = "8:#1039" - "Description" = "8:#1139" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox2Visible" - { - "Name" = "8:Checkbox2Visible" - "DisplayName" = "8:#1027" - "Description" = "8:#1127" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Label" - { - "Name" = "8:Checkbox3Label" - "DisplayName" = "8:#1036" - "Description" = "8:#1136" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:Capture my credentials when Novell Client is present." - "DefaultValue" = "8:#1236" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Property" - { - "Name" = "8:Checkbox3Property" - "DisplayName" = "8:#1032" - "Description" = "8:#1132" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:CAPTURECHECKBOX" - "DefaultValue" = "8:CHECKBOXA3" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Value" - { - "Name" = "8:Checkbox3Value" - "DisplayName" = "8:#1040" - "Description" = "8:#1140" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox3Visible" - { - "Name" = "8:Checkbox3Visible" - "DisplayName" = "8:#1028" - "Description" = "8:#1128" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Label" - { - "Name" = "8:Checkbox4Label" - "DisplayName" = "8:#1037" - "Description" = "8:#1137" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1237" - "DefaultValue" = "8:#1237" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Property" - { - "Name" = "8:Checkbox4Property" - "DisplayName" = "8:#1033" - "Description" = "8:#1133" - "Type" = "3:14" - "ContextData" = "8:Public" - "Attributes" = "3:2" - "Setting" = "3:2" - "Value" = "8:CHECKBOXA4" - "DefaultValue" = "8:CHECKBOXA4" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Value" - { - "Name" = "8:Checkbox4Value" - "DisplayName" = "8:#1041" - "Description" = "8:#1141" - "Type" = "3:2" - "ContextData" = "8:Unchecked=;Checked=1" - "Attributes" = "3:0" - "Setting" = "3:2" - "Value" = "8:" - "DefaultValue" = "8:" - "UsePlugInResources" = "11:TRUE" - } - "Checkbox4Visible" - { - "Name" = "8:Checkbox4Visible" - "DisplayName" = "8:#1029" - "Description" = "8:#1129" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:0" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_66E13DF2A0F84FB78B758FBCF0526824" - { - "Sequence" = "3:400" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7BA3221C1698493A8A8AFBACD243C734" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_06F59F7993DE430A90B30D08426C1A2F" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0E749D3A9DBC43978D56AE7683D081C1" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_21632371A8894C40B314E9286F73BB92" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_386A34D1810948C49FBF04D0B435646C" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F4E2527597194752A1B9821C549939D7" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_788CEAF7DA7E411898E25993BC555768" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_16C1562E7AAD4B2992E2A79524C7CF8B" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_A9CC826C75FE4E60A6BDB53EAF43B78F" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B94602F3A1E947C0B293148AD64794E9" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_969818C9D4414D77875C282245496568" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_CFE327D7C3374989AA743ADE9C3A2CFE" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C9C95A7F1A074DC893B5859B7FCE1466" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_DD5B3C243E2F40908B95D075103B7408" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E095A9A5E0FC479083BD1855C0D9CB54" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:2" - "Value" = "8:_B53ECB839EAB490C99E541111A3135C1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2B131795756E4872A317773196AC9C97" - { - "SourcePath" = "8:..\\CASA-gui-msm\\Debug\\CASA-gui.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{0B3208BF-0948-4FA9-89C8-61A0AD00D241}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-gui-msm\\Release\\CASA-gui.msm" - "Properties" - { - "_4EA7FB5C5DFB4954AB3B5CB0C9AA046F.C6D5B5D8C4B84657BAA9E6F44CAD0FD7" - { - "Name" = "8:_4EA7FB5C5DFB4954AB3B5CB0C9AA046F.C6D5B5D8C4B84657BAA9E6F44CAD0FD7" - "DisplayName" = "8:Module Retargetable Folder" - "Description" = "8:" - "Type" = "3:32769" - "ContextData" = "8:_RetargetableFolder" - "Attributes" = "3:6" - "Setting" = "3:1" - "UsePlugInResources" = "11:FALSE" - } - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_77D4084289944DE9B4A25EB3569A6B0D" - { - "SourcePath" = "8:..\\CASA-msm\\Debug\\CASA-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{DD759BE4-D018-4014-916D-5F25BA209C26}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-msm\\Release\\CASA-msm.msm" - "Properties" - { - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_89A4D614ED354A6CBFFC1E32636E3819" - { - "SourcePath" = "8:..\\CASA64-msm\\Debug\\CASA64-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{DDA9C223-D8B8-4579-B1C2-682BD59C6D08}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA64-msm\\Release\\CASA64-msm.msm" - "Properties" - { - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_68B47AFEAC7A40E480CD17C53CDF6783" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - } - "VJSharpPlugin" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA64-msi/Makefile.am b/CASA/package/windows/vs_solutions/CASA64-msi/Makefile.am deleted file mode 100644 index 0aa5d12d..00000000 --- a/CASA/package/windows/vs_solutions/CASA64-msi/Makefile.am +++ /dev/null @@ -1,119 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = $(SFILES) - -CASAROOT = ../../../.. - -CASALIBDIR = $(CASAROOT)/lib - -if LIB64 -CASABINDIR = $(CASAROOT)/bin64 -else -CASABINDIR = $(CASAROOT)/bin -endif - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = .. -PLATFORMDEPENDENTSOURCEDIR = . - -OBJDIR = ../BUILT - -MODULE_NAME =CASA_x64 -MODULE_EXT =msi - -SFILES = CASA-64-32.sln -MSMFILE = ../CASA64-msm/CASA64-msm.vdproj -MSIFILE = CASA64.vdproj - -CUR_DIR := $(shell pwd) - -all: $(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - - - -$(MODULE_NAME).$(MODULE_EXT): $(SFILES) $(OBJDIR) devenv - @echo [======== Updating msi and msm number========] - "$(TOOLDIR)/w32/VersionVDProj/bin/VersionVDProj.exe" -msi $(MSIFILE) version=$(VERSION) - @echo [======== Building Solution $(SFILES) ========] - "$(VSINSTALLDIR)\devenv" /rebuild $(TARGET_CFG) $(SFILES) /out build.log - cp -f $(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) $(OBJDIR)/bin64 - cp -f $(TARGET_CFG)/setup.exe $(OBJDIR)/bin64 - cp -p ../CASA32-msi/$(TARGET_CFG)/setup.exe $(OBJDIR)/bin - cp -p ../CASA32-msi/$(TARGET_CFG)/CASA.msi $(OBJDIR)/bin - tar -cvf $(PACKAGE)-$(VERSION).tar $(OBJDIR) - bzip2 -z $(PACKAGE)-$(VERSION).tar - - -devenv: - @if ! test -x "$(VSINSTALLDIR)\devenv.exe";then echo "Error: MS Studio .NET is currently required to build MSI and MSM";exit 1;fi - -$(OBJDIR): - echo "creating obj dir" - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR)/bin64 - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR)/bin - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - @echo [======== Cleaning Solution $(SFILES) ========] - "$(VSINSTALLDIR)\devenv" /clean $(TARGET_CFG) $(SFILES) - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - if [ -d Debug ]; then rm -rf Debug; fi - if [ -f build.log ]; then rm -f build.log; fi - if [ -d ../BUILT ]; then rm -rf ../BUILT; fi - if [ -f $(PACKAGE)-$(VERSION).tar.bz2 ]; then rm -f $(PACKAGE)-$(VERSION).tar.bz2; fi -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/windows/vs_solutions/CASA64-msm/CASA64-msm.vdproj b/CASA/package/windows/vs_solutions/CASA64-msm/CASA64-msm.vdproj deleted file mode 100644 index 0521c6e5..00000000 --- a/CASA/package/windows/vs_solutions/CASA64-msm/CASA64-msm.vdproj +++ /dev/null @@ -1,291 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{06A35CCD-C46D-44D5-987B-CF40FF872267}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA64-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_1D19AE1F051948699AC4DE803DCB9AA4" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_214BB366F9034CA4ADF19EBF6B51AAB8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_36D4CB3CEF1B4DA69506E9FC242806FE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA64-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA64-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_4FB5F13DC2054B269CEF3DB958E052CC" - { - "Name" = "8:#1935" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFiles64Folder" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_09661EF315B5444886AF4D39B65B4CD6" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_7436212A40244461862CA7384E0EE71C" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_1ACE86A927864A1C9538071A46654E76" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_696AB14E43B740758A0F21D8C0F16275" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_5DFDB12C3E3B4F1FABC98BB932442F70" - { - "Name" = "8:Bin" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_306487C27D4A488CB4D27883CC50A01F" - "Folders" - { - } - } - } - } - } - } - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_F9451DBF9E7B492EBBDE6ECB6CF2E186" - { - "Name" = "8:#1936" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:System64Folder" - "Folders" - { - } - } - } - "Sequences" - { - } - "MergeModule" - { - } - "Module" - { - "ModuleSignature" = "8:MergeModule.37161EADD600451AAA5D56BCA6927F5D" - "Version" = "8:1.7.0.0" - "Title" = "8:CASA64-msm" - "Subject" = "8:" - "Author" = "8:Novell" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:1" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_1D19AE1F051948699AC4DE803DCB9AA4" - { - "SourcePath" = "8:..\\..\\..\\..\\micasadk\\x64\\Release\\micasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F9451DBF9E7B492EBBDE6ECB6CF2E186" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{45D09CBF-4FCF-49C7-9851-E073C3EB073B}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_214BB366F9034CA4ADF19EBF6B51AAB8" - { - "SourcePath" = "8:..\\..\\..\\..\\micasacache\\x64\\Release\\micasacache.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_F9451DBF9E7B492EBBDE6ECB6CF2E186" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{741DEA76-6CB9-45C2-A98E-E717AC9AED22}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_36D4CB3CEF1B4DA69506E9FC242806FE" - { - "SourcePath" = "8:..\\..\\..\\..\\logincapture\\windows\\x64\\Release\\lcredmgr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_5DFDB12C3E3B4F1FABC98BB932442F70" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D5D6D4AB-D79D-492E-AE2C-43214641814A}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASAManager/CASAManager.sln b/CASA/package/windows/vs_solutions/CASAManager/CASAManager.sln deleted file mode 100644 index fe8d9e84..00000000 --- a/CASA/package/windows/vs_solutions/CASAManager/CASAManager.sln +++ /dev/null @@ -1,77 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CASAManager", "..\..\..\..\gui\CASAManager.csproj", "{A1A805D0-B400-4D11-A772-348CE13F1046}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.A-D", "..\..\..\..\adlib\Novell.CASA.A-D.csproj", "{25D49F34-F655-4CCF-93F1-449243AF7A32}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.CASAPolicy", "..\..\..\..\policy\Novell.CASA.CASAPolicy.csproj", "{636A9D7E-BFB5-4EB9-96F8-51FF85A98826}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.Common", "..\..\..\..\micasad\lib\Novell.CASA.Common.csproj", "{57CD94A2-5B4A-40C3-8189-CB760FB78357}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.miCASAWrapper", "..\..\..\..\sharp\NSSCSWrapper\Novell.CASA.miCASAWrapper.csproj", "{E21DD887-22F4-4935-9851-409715F663B0}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cSharpSample", "..\..\..\..\test\c_sharp_sample\cSharpSample.csproj", "{3FB57160-F475-4650-A45C-19D020661A2D}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.InterProcessComm", "..\..\..\..\extern\w32\namedpipes\AppModule.InterProcessComm\AppModule.InterProcessComm.csproj", "{E98F1F7E-40B6-44C8-AC66-EC867B141FA1}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.NamedPipes", "..\..\..\..\extern\w32\namedpipes\AppModule.NamedPipes\AppModule.NamedPipes.csproj", "{077B53BB-404A-4B2F-BA17-AAE98C5E9C66}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug.ActiveCfg = Debug|.NET - {A1A805D0-B400-4D11-A772-348CE13F1046}.Debug.Build.0 = Debug|.NET - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release.ActiveCfg = Release|.NET - {A1A805D0-B400-4D11-A772-348CE13F1046}.Release.Build.0 = Release|.NET - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug.ActiveCfg = Debug|.NET - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Debug.Build.0 = Debug|.NET - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release.ActiveCfg = Release|.NET - {25D49F34-F655-4CCF-93F1-449243AF7A32}.Release.Build.0 = Release|.NET - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug.ActiveCfg = Debug|.NET - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Debug.Build.0 = Debug|.NET - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release.ActiveCfg = Release|.NET - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826}.Release.Build.0 = Release|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug.ActiveCfg = Debug|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug.Build.0 = Debug|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release.ActiveCfg = Release|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release.Build.0 = Release|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Debug.ActiveCfg = Debug|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Debug.Build.0 = Debug|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Release.ActiveCfg = Release|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Release.Build.0 = Release|.NET - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug.ActiveCfg = Debug|.NET - {3FB57160-F475-4650-A45C-19D020661A2D}.Debug.Build.0 = Debug|.NET - {3FB57160-F475-4650-A45C-19D020661A2D}.Release.ActiveCfg = Release|.NET - {3FB57160-F475-4650-A45C-19D020661A2D}.Release.Build.0 = Release|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug.ActiveCfg = Debug|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug.Build.0 = Debug|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release.ActiveCfg = Release|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release.Build.0 = Release|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug.ActiveCfg = Debug|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug.Build.0 = Debug|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release.ActiveCfg = Release|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/CASA/package/windows/vs_solutions/CASAManager/CASAManager.suo b/CASA/package/windows/vs_solutions/CASAManager/CASAManager.suo deleted file mode 100644 index 4cd18ab7..00000000 Binary files a/CASA/package/windows/vs_solutions/CASAManager/CASAManager.suo and /dev/null differ diff --git a/CASA/package/windows/vs_solutions/CASA_sdk/CASA_sdk.vdproj b/CASA/package/windows/vs_solutions/CASA_sdk/CASA_sdk.vdproj deleted file mode 100644 index 648268df..00000000 --- a/CASA/package/windows/vs_solutions/CASA_sdk/CASA_sdk.vdproj +++ /dev/null @@ -1,677 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA_sdk" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_62FAD62D7ACB4DF5AF52BBCE2FAE78A4" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_62FAD62D7ACB4DF5AF52BBCE2FAE78A4" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA_sdk.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA_sdk.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_1CC2FFE4BA1646B5BF97E94785EBE018" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "Version" = "8:2.0.50727" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=9832" - } - } - } - "File" - { - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_0C80ADE2BCCF48C484D898099CC3E40C" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_EF4EE4587EB44D66836AAE4246A9D9D4" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_FA01F30697C74A848D32D5141E0DEAF5" - { - "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1033" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:CASA_sdk" - "ProductCode" = "8:{DBA7F580-4EA6-4D5F-B9FE-9FD27F7190B3}" - "PackageCode" = "8:{CA56FF20-EE7B-4D8E-B35F-BEBFE19AF3A9}" - "UpgradeCode" = "8:{30561F7E-2327-42FC-870E-8FAB3624A79C}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:TRUE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:TRUE" - "ProductVersion" = "8:1.7.916" - "Manufacturer" = "8:Novell" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:CASA_sdk" - "Subject" = "8:" - "ARPCONTACT" = "8:Novell" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_4EF697C328A34D31BCFA5DABEB705400" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_8E73C0FA510B4BCBBEB185981BCF5003" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_380DABF46AD940BE8EF4234E0BCC2C7F" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_063A18BD87CA4114B147AE2703DD42D4" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_092149D7F6D1475FBCA6997438A3A662" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_21C52572FBB04E5AB13C697F5CD54A32" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_11A53A05F3A84CCBAC7F41FE98BF904D" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E0BD5229A1E94A2EA88688B49421BAD0" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_68D06DE41AF743898B3C19B17BB994BC" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_9AE47C8A2CCD46B0A161028E20FCC205" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4A711E97E1854735B7315EEC8227F922" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_5F2CEAA765C24B0084EE714CD8F5A530" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B5EB20297CC2430EAE944678DC13C2F0" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_A1214C4030D647CD9AC93ADCEC348D51" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_333182B072B64D059CB195D3EF552441" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_C5CB84A8487A48E5AAF0369B13060218" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7D43087FC03A46FFB13057DD56DF7FCB" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F6F25C564D8244ABA62A1A08DADD6245" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_CB0706170327499E9C08E0B12CD8F563" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_DC77FE43B51946AC9E21B2C1383A0436" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_FEB700D9CE444561B02C4DA2FC7FF31C" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_62FAD62D7ACB4DF5AF52BBCE2FAE78A4" - { - "SourcePath" = "8:..\\CASA-dev-msm\\Release\\miCASA-Dev-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_FA01F30697C74A848D32D5141E0DEAF5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{51235A10-C83F-4B56-B16D-9DD695F9FB93}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-dev-msm\\Release\\miCASA-Dev-msm.msm" - "Properties" - { - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_FA01F30697C74A848D32D5141E0DEAF5" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - } - "VJSharpPlugin" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/CASA_sdk_x64/CASA_sdk_x64.vdproj b/CASA/package/windows/vs_solutions/CASA_sdk_x64/CASA_sdk_x64.vdproj deleted file mode 100644 index 682ce3e5..00000000 --- a/CASA/package/windows/vs_solutions/CASA_sdk_x64/CASA_sdk_x64.vdproj +++ /dev/null @@ -1,736 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:CASA_sdk_x64" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_09D6D72FDA724698BAC00B78D6D1153F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E6E0B64B82B641588CD8B38CFF4E28B0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E6E0B64B82B641588CD8B38CFF4E28B0" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\CASA_sdk_x64.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\CASA_sdk_x64.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_B34259C7B13E42BA93D444BD70DB1C75" - { - "Name" = "8:.NET Framework" - "Message" = "8:[VSDNETMSG]" - "Version" = "8:2.0.50727" - "AllowLaterVersions" = "11:FALSE" - "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=9832" - } - } - } - "File" - { - } - "FileType" - { - } - "Folder" - { - "{1525181F-901A-416C-8A58-119130FE478E}:_0DE3A8449E1041CEAC48B2DE2876BCEC" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_3699F7232F8B43699DA6F0EAE4E73013" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_9B7D905E65F1454B95A17293C7B9486D" - { - "DefaultLocation" = "8:[ProgramFiles64Folder][Manufacturer]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1033" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:CASA_sdk_x64" - "ProductCode" = "8:{5D6830AE-650D-4217-8F11-F4138ECCB138}" - "PackageCode" = "8:{A71E8155-5C10-488F-A425-43CFBCC5CFA7}" - "UpgradeCode" = "8:{ACAE2350-A624-4979-ADBC-CBC5337B04AC}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:TRUE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:TRUE" - "ProductVersion" = "8:1.7.916" - "Manufacturer" = "8:Novell" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:CASA_sdk_x64" - "Subject" = "8:" - "ARPCONTACT" = "8:Novell" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:1" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_6DD19B3A81F841DB92D86F0474DB0A1D" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_78B7F2CBFE11463FA8597199752D4600" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_A6EFA08190F14C66B71B837DBC730812" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_457B1A1294F74944B46C55ADE9F19CAD" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_239B35C0204447508091E865EC85DB1C" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_10E6492ABB47425D88799CC5B5998B45" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_2C807F61BDD341419FF62B1E1BBF6C95" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_397B91C346774F2EA7FC71B592EB3450" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1061A89326A24108B42BCC5A1A03DE58" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E58AE5568A874181A61459C5540B79AE" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_3C84EE01AADC47E89DE9803830709309" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_FBB27C740652470EB5C7AAB8F62DDD58" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_8B4A7399ECB44872A76564B2F20BF809" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_467C859999CA471CA2EBC0BE1303E5B2" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_ABD41894DBC840A6ABEA261B1667E336" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_C31C1B7FAD0B4A6DB966769B467354BB" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_9624B195D95540E18A7D51295E2D1E4D" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1619F481706749C292A02A1FB75A5192" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_C102672CEB9446F6B992EAA5AA601D94" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_FCA24BFFB4E14CC4A948C47B232DD1AD" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_2DE9BEECDF544652B576CE6E2F5AD9EA" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_09D6D72FDA724698BAC00B78D6D1153F" - { - "SourcePath" = "8:..\\CASA-dev64-msm\\Release\\CASA-dev64-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_9B7D905E65F1454B95A17293C7B9486D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{10D40E96-18B3-4F64-8E92-7682CDAFCCF4}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-dev64-msm\\Release\\CASA-dev64-msm.msm" - "Properties" - { - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_9B7D905E65F1454B95A17293C7B9486D" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_E6E0B64B82B641588CD8B38CFF4E28B0" - { - "SourcePath" = "8:..\\CASA-dev-msm\\Release\\miCASA-Dev-msm.msm" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_9B7D905E65F1454B95A17293C7B9486D" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{51235A10-C83F-4B56-B16D-9DD695F9FB93}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - "KeyOutputModule" - { - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:..\\CASA-dev-msm\\Release\\miCASA-Dev-msm.msm" - "Properties" - { - "_B6C1229B225648EFA75C92C76F521BEB.4F1ACC03A482468C9BEBF6D83FA4F7FE" - { - "Name" = "8:_B6C1229B225648EFA75C92C76F521BEB.4F1ACC03A482468C9BEBF6D83FA4F7FE" - "DisplayName" = "8:Module Retargetable Folder" - "Description" = "8:" - "Type" = "3:32769" - "ContextData" = "8:_RetargetableFolder" - "Attributes" = "3:6" - "Setting" = "3:1" - "UsePlugInResources" = "11:FALSE" - } - } - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:_9B7D905E65F1454B95A17293C7B9486D" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - } - "VJSharpPlugin" - { - } - } -} diff --git a/CASA/package/windows/vs_solutions/Makefile.am b/CASA/package/windows/vs_solutions/Makefile.am deleted file mode 100755 index 77cde4cd..00000000 --- a/CASA/package/windows/vs_solutions/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if LIB64 -SUBDIRS = CASA64-msi -DIST_SUBDIRS = CASA64-msi -else -SUBDIRS = CASA32-msi -DIST_SUBDIRS = CASA32-msi -endif - - -CFILES = - -EXTRA_DIST = CASA32-msi CASA64-msi - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/package/windows/vs_solutions/miCASA-msm/miCASA-msm.vdproj b/CASA/package/windows/vs_solutions/miCASA-msm/miCASA-msm.vdproj deleted file mode 100644 index 360f6f4f..00000000 --- a/CASA/package/windows/vs_solutions/miCASA-msm/miCASA-msm.vdproj +++ /dev/null @@ -1,2098 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:701" -"ProjectType" = "8:{DD7A5B58-C2F9-40FF-B2EF-0773356FB978}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:miCASA-msm" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_03CB5353398E4ABCAEE43E37DFCF1D9F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "OwnerKey" = "8:_DB58E9C8C1681555585C2444A85E6B3E" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "OwnerKey" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0A48F3D45CA4E1A105ABF703C4D417D6" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0ADA6B629D5B445F86DAE215C22505D9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0EAC2F6ADBCE4199803BEB35F4D80649" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1A4CE567CBB9469C9EAF7D6B15A1C2D6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_542EBD2FD1030B16D065ACA7AFBBC72B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_E0E3929560172978D568C94FDFC9AD79" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_0A48F3D45CA4E1A105ABF703C4D417D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_BA8476912DF2788D51D648E19BE334D8" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "OwnerKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "OwnerKey" = "8:_0A48F3D45CA4E1A105ABF703C4D417D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2562AD84E5AA4718821B55D9C71C9238" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2AB5DFE5CB52481893AD07B20DBCEB3A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_340AA9E468AF4E0DB22EEF2862558201" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_367B92CCF61D4ADE8F51DD47838F7019" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_43C5AD518B0C4C6C827007AC72BCB242" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_469EFF3E20DC4443866D8ADF279C95AB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_2033AAED47940B2F66D545A2694A2C1D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_6BAEECCF997DC2140E37E14BF224F362" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_D510A60BE9A93238E0034A62A97E4EE2" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_DB58E9C8C1681555585C2444A85E6B3E" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_A4C07770342847DD1557BB4EBA548F25" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_E0E3929560172978D568C94FDFC9AD79" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_0A48F3D45CA4E1A105ABF703C4D417D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_BA8476912DF2788D51D648E19BE334D8" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - "OwnerKey" = "8:_542EBD2FD1030B16D065ACA7AFBBC72B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_52BF328273034BF199E0FBBB91655492" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_542EBD2FD1030B16D065ACA7AFBBC72B" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_542EBD2FD1030B16D065ACA7AFBBC72B" - "OwnerKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_54F11B1DAF9741A9B6168E91C3C15AF3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5606BD74E5FA4D3EA46024E3D95AA78E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_58BC0A46983941A1A7379649B5647B5C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6BAEECCF997DC2140E37E14BF224F362" - "OwnerKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6BAEECCF997DC2140E37E14BF224F362" - "OwnerKey" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6BAEECCF997DC2140E37E14BF224F362" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_73DEC168970C49708048B56E260BD164" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7673A20B83CD47F5A64DE855D8D20D19" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7FA135531FA94C1A94B168DFF6DCF3D6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8129918EC476A3D3B3486A5C0D6C7143" - "OwnerKey" = "8:_9966AA9D87C64321B90C8A10CE95475D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_85D845B31C1847ECAEEE4E7566B2B036" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8B160C580DCD4755A9EE368E7811A487" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8C1C73400DCB4428A4CB558D11D27F7C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9966AA9D87C64321B90C8A10CE95475D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9E43DCBEEB65462F88331F1C3B34D0DD" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9F02EC19780C4A55B1BA87EF07363894" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A4C07770342847DD1557BB4EBA548F25" - "OwnerKey" = "8:_E0E3929560172978D568C94FDFC9AD79" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A4C07770342847DD1557BB4EBA548F25" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A4F596F8DE01439D9A48A168F8CC983B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A823D9BB0A4B415C9FDCCCF33405A45C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "OwnerKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "OwnerKey" = "8:_0A48F3D45CA4E1A105ABF703C4D417D6" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AB845EA4C04B447E87FE0585398C75AE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B518A6FBE9E147398154C99B22D364B6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B60B56B34AB54FEFBB1792C5F139FB14" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B62020EEF7C24F289FD35FEECBB90645" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BA8476912DF2788D51D648E19BE334D8" - "OwnerKey" = "8:_A9E2669A9ED2DD09341EF6120D3E2817" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BA8476912DF2788D51D648E19BE334D8" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BA8476912DF2788D51D648E19BE334D8" - "OwnerKey" = "8:_22052FF0D582B6908E2FF041C7E0B8A5" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C02C849B278743DF9ABA4D13A374B307" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CC926AC5EE2C4920B2395B7DE6C4DAA2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D0E27E85B2394070991BB562B86F1985" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D510A60BE9A93238E0034A62A97E4EE2" - "OwnerKey" = "8:_04EEAA7C2DD99D0320601A010A7DF715" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D510A60BE9A93238E0034A62A97E4EE2" - "OwnerKey" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D510A60BE9A93238E0034A62A97E4EE2" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D510A60BE9A93238E0034A62A97E4EE2" - "OwnerKey" = "8:_6BAEECCF997DC2140E37E14BF224F362" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D8BE4B1E9CB842079C5A337A97573B8F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_DB58E9C8C1681555585C2444A85E6B3E" - "OwnerKey" = "8:_E0E3929560172978D568C94FDFC9AD79" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_DB58E9C8C1681555585C2444A85E6B3E" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E0E3929560172978D568C94FDFC9AD79" - "OwnerKey" = "8:_00A157D73BD142028C639E9E59679CF0" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E8524E7375714B688C81B1F9729B3C18" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EDB1B20B62DA4C08AF276EC0816776C3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F9C6B0BF829649D48A44135B6C7360EA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FBA55A285FF94555AC432BDCCE57A0DF" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FD1050C73307449F9F2D7130D268FA0D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FFD9E1013ED54F3F9FDC07B341BB6432" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\miCASA-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\miCASA-msm.msm" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:1" - } - } - "Deployable" - { - "CustomAction" - { - "{0C9D821E-95BB-411F-BE03-2864360EBF94}:_50F9CB4BE6F642E0916F6C459CF338B9" - { - "Name" = "8:Primary output from micasad (Active)" - "Condition" = "8:" - "Object" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "FileType" = "3:2" - "InstallAction" = "3:4" - "Arguments" = "8:/Uninstall" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_CFEB676B_9AB1_4313_BACD_95AC9554F30B" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - "{0C9D821E-95BB-411F-BE03-2864360EBF94}:_B0214618F06E489FBF8FBCCE39B91738" - { - "Name" = "8:Primary output from micasad (Active)" - "Condition" = "8:" - "Object" = "8:_53CD7D10E6CC45EF83D4C371BF5BECEF" - "FileType" = "3:2" - "InstallAction" = "3:1" - "Arguments" = "8:/Install" - "EntryPoint" = "8:" - "Sequence" = "3:1" - "Identifier" = "8:_8D2CEF7A_1762_4B2D_9A12_0920B845DE5B" - "InstallerClass" = "11:FALSE" - "CustomActionData" = "8:" - } - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "File" - { - "{A582A373-4685-4296-BEFE-614B80A702C3}:_03CB5353398E4ABCAEE43E37DFCF1D9F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\h1_help_zcc.gif" - "TargetName" = "8:h1_help_zcc.gif" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_04EEAA7C2DD99D0320601A010A7DF715" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.Common, Version=1.6.2378.16676, Culture=neutral" - "ScatterAssemblies" - { - "_04EEAA7C2DD99D0320601A010A7DF715" - { - "Name" = "8:Novell.CASA.Common.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.Common.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_0A48F3D45CA4E1A105ABF703C4D417D6" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:glade-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_0A48F3D45CA4E1A105ABF703C4D417D6" - { - "Name" = "8:glade-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:glade-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_0ADA6B629D5B445F86DAE215C22505D9" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_16.png" - "TargetName" = "8:CASA_16.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_0EAC2F6ADBCE4199803BEB35F4D80649" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\novell-logo.png" - "TargetName" = "8:novell-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_1A4CE567CBB9469C9EAF7D6B15A1C2D6" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAicons.ico" - "TargetName" = "8:CASAicons.ico" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_2033AAED47940B2F66D545A2694A2C1D" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:glib-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_2033AAED47940B2F66D545A2694A2C1D" - { - "Name" = "8:glib-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:glib-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_22052FF0D582B6908E2FF041C7E0B8A5" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_22052FF0D582B6908E2FF041C7E0B8A5" - { - "Name" = "8:gtk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gtk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_2562AD84E5AA4718821B55D9C71C9238" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\CASAMasterPasswordAuthentication.htm" - "TargetName" = "8:CASAMasterPasswordAuthentication.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_2AB5DFE5CB52481893AD07B20DBCEB3A" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\legal_notices_en.html" - "TargetName" = "8:legal_notices_en.html" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_340AA9E468AF4E0DB22EEF2862558201" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\firefox-logo.png" - "TargetName" = "8:firefox-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_367B92CCF61D4ADE8F51DD47838F7019" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\Readme.txt" - "TargetName" = "8:Readme.txt" - "Tag" = "8:" - "Folder" = "8:_03838E82B8D44391A6087F49B760E71C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_43C5AD518B0C4C6C827007AC72BCB242" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo.png" - "TargetName" = "8:casa-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_469EFF3E20DC4443866D8ADF279C95AB" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\DestroyingSecrets.htm" - "TargetName" = "8:DestroyingSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_542EBD2FD1030B16D065ACA7AFBBC72B" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:atk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_542EBD2FD1030B16D065ACA7AFBBC72B" - { - "Name" = "8:atk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:atk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_5606BD74E5FA4D3EA46024E3D95AA78E" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa.glade" - "TargetName" = "8:casa.glade" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_58BC0A46983941A1A7379649B5647B5C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASAiconsLocked.ico" - "TargetName" = "8:CASAiconsLocked.ico" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_6BAEECCF997DC2140E37E14BF224F362" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.NamedPipes, Version=1.6.0.16676, Culture=neutral" - "ScatterAssemblies" - { - "_6BAEECCF997DC2140E37E14BF224F362" - { - "Name" = "8:AppModule.NamedPipes.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.NamedPipes.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_73DEC168970C49708048B56E260BD164" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\hf_style.css" - "TargetName" = "8:hf_style.css" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_7673A20B83CD47F5A64DE855D8D20D19" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Preferences.htm" - "TargetName" = "8:Preferences.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_7FA135531FA94C1A94B168DFF6DCF3D6" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Contents.htm" - "TargetName" = "8:Contents.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_8129918EC476A3D3B3486A5C0D6C7143" - { - "SourcePath" = "8:micasacache.dll" - "TargetName" = "8:micasacache.dll" - "Tag" = "8:" - "Folder" = "8:_C1CBE5086B7D44B18CAE8FD49384EEFE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_8B160C580DCD4755A9EE368E7811A487" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo-left.png" - "TargetName" = "8:casa-logo-left.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_8C1C73400DCB4428A4CB558D11D27F7C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\micasa-logo.png" - "TargetName" = "8:micasa-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_9E43DCBEEB65462F88331F1C3B34D0DD" - { - "SourcePath" = "8:C:\\WINDOWS\\system32\\regsvr32.exe" - "TargetName" = "8:regsvr32.exe" - "Tag" = "8:" - "Folder" = "8:_C1CBE5086B7D44B18CAE8FD49384EEFE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_9F02EC19780C4A55B1BA87EF07363894" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\LinkingSecrets.htm" - "TargetName" = "8:LinkingSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_A4C07770342847DD1557BB4EBA548F25" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.CASAPol, Version=1.6.2378.16677, Culture=neutral" - "ScatterAssemblies" - { - "_A4C07770342847DD1557BB4EBA548F25" - { - "Name" = "8:Novell.CASA.CASAPol.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.CASAPol.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_A4F596F8DE01439D9A48A168F8CC983B" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_48.png" - "TargetName" = "8:CASA_48.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_A823D9BB0A4B415C9FDCCCF33405A45C" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\CASADesktopPassword.htm" - "TargetName" = "8:CASADesktopPassword.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_A9E2669A9ED2DD09341EF6120D3E2817" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:gdk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_A9E2669A9ED2DD09341EF6120D3E2817" - { - "Name" = "8:gdk-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:gdk-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_AB845EA4C04B447E87FE0585398C75AE" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\UnlockSecrets.htm" - "TargetName" = "8:UnlockSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_B518A6FBE9E147398154C99B22D364B6" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\keyring-logo.png" - "TargetName" = "8:keyring-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_B60B56B34AB54FEFBB1792C5F139FB14" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\mozilla-logo.png" - "TargetName" = "8:mozilla-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_B62020EEF7C24F289FD35FEECBB90645" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\ViewSecrets.htm" - "TargetName" = "8:ViewSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_BA8476912DF2788D51D648E19BE334D8" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:pango-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" - "ScatterAssemblies" - { - "_BA8476912DF2788D51D648E19BE334D8" - { - "Name" = "8:pango-sharp.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:pango-sharp.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_C02C849B278743DF9ABA4D13A374B307" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\License.txt" - "TargetName" = "8:License.txt" - "Tag" = "8:" - "Folder" = "8:_03838E82B8D44391A6087F49B760E71C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_CC926AC5EE2C4920B2395B7DE6C4DAA2" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\help_zcc_bg.gif" - "TargetName" = "8:help_zcc_bg.gif" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_D0E27E85B2394070991BB562B86F1985" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\AddNewSecrets.htm" - "TargetName" = "8:AddNewSecrets.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_D510A60BE9A93238E0034A62A97E4EE2" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:AppModule.InterProcessComm, Version=1.6.0.16675, Culture=neutral" - "ScatterAssemblies" - { - "_D510A60BE9A93238E0034A62A97E4EE2" - { - "Name" = "8:AppModule.InterProcessComm.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:AppModule.InterProcessComm.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_D8BE4B1E9CB842079C5A337A97573B8F" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\CASA_32.png" - "TargetName" = "8:CASA_32.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_DB58E9C8C1681555585C2444A85E6B3E" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.miCASAWrapper, Version=1.6.2378.16677, Culture=neutral" - "ScatterAssemblies" - { - "_DB58E9C8C1681555585C2444A85E6B3E" - { - "Name" = "8:Novell.CASA.miCASAWrapper.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.miCASAWrapper.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{FB480208-1853-44D0-9ABD-A3B734C3FAAA}:_E0E3929560172978D568C94FDFC9AD79" - { - "AssemblyRegister" = "3:1" - "AssemblyIsInGAC" = "11:FALSE" - "AssemblyAsmDisplayName" = "8:Novell.CASA.DataEngines, Version=1.6.2378.16678, Culture=neutral" - "ScatterAssemblies" - { - "_E0E3929560172978D568C94FDFC9AD79" - { - "Name" = "8:Novell.CASA.DataEngines.dll" - "Attributes" = "3:512" - } - } - "SourcePath" = "8:Novell.CASA.DataEngines.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_E8524E7375714B688C81B1F9729B3C18" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\EditingSecrets.html" - "TargetName" = "8:EditingSecrets.html" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_EDB1B20B62DA4C08AF276EC0816776C3" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\kwallet-logo.png" - "TargetName" = "8:kwallet-logo.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_F9C6B0BF829649D48A44135B6C7360EA" - { - "SourcePath" = "8:..\\..\\..\\..\\doc\\product\\CASA_Reference_Guide.pdf" - "TargetName" = "8:CASA_Reference_Guide.pdf" - "Tag" = "8:" - "Folder" = "8:_03838E82B8D44391A6087F49B760E71C" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_FBA55A285FF94555AC432BDCCE57A0DF" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\help\\en\\Persistent_Storage.htm" - "TargetName" = "8:Persistent_Storage.htm" - "Tag" = "8:" - "Folder" = "8:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_FD1050C73307449F9F2D7130D268FA0D" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\images\\casa-logo-right.png" - "TargetName" = "8:casa-logo-right.png" - "Tag" = "8:" - "Folder" = "8:_162CCA8002474F63A499FB7BA61C66B4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{A582A373-4685-4296-BEFE-614B80A702C3}:_FFD9E1013ED54F3F9FDC07B341BB6432" - { - "SourcePath" = "8:C:\\WINDOWS\\system32\\regsvc.dll" - "TargetName" = "8:regsvc.dll" - "Tag" = "8:" - "Folder" = "8:_C1CBE5086B7D44B18CAE8FD49384EEFE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_0CD2EA5305A44AD6B8294CFECA21D99E" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_63573C2B6ED94D9CAB279DE2F85119AC" - { - "Name" = "8:#1912" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramFilesFolder" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_CE5C290B9FB74FCC83390564D220BB06" - { - "Name" = "8:Novell" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_D7C8E8CE112548878B3923D6B6DD6BAE" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_ECF87E7485804AF29075D1E8F74D9251" - { - "Name" = "8:CASA" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_115A38F3DC8940EF9053628253BCFD3A" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_03838E82B8D44391A6087F49B760E71C" - { - "Name" = "8:doc" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_CE495B67F3E4457599AEB158422AB6FB" - "Folders" - { - } - } - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_1236C5CCF7794A1F9F9629930BC2392B" - { - "Name" = "8:help" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_54C5D791512146E09DD6A64BD60E9DCE" - "Folders" - { - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_87E65670B4D54F8B8F50ADC1C4DA4AC0" - { - "Name" = "8:en" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_77496B123CE94C9FA9B293C3D979BB35" - "Folders" - { - } - } - } - } - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_162CCA8002474F63A499FB7BA61C66B4" - { - "Name" = "8:images" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_CF3524A1439540F8A18CF3F9BDBFBAE2" - "Folders" - { - } - } - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_1A41C925C695498E975E522C6E5A77F9" - { - "Name" = "8:bin" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_A3CAE20A87CD40B684611112BCA50924" - "Folders" - { - } - } - "{F27BD5C5-A65D-4608-96D4-7C5DA1F76302}:_22F23757AF0F47E4B699DA72A8803029" - { - "Name" = "8:lib" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_56A21AD93B064A0AA37FE2BD3C1C8D27" - "Folders" - { - } - } - } - } - } - } - } - } - "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_C1CBE5086B7D44B18CAE8FD49384EEFE" - { - "Name" = "8:#1914" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:SystemFolder" - "Folders" - { - } - } - } - "Sequences" - { - } - "MergeModule" - { - "{35A69C6E-5BA4-440D-803D-762B59A45393}:_4EB3DAAFCC204C0982D1BFCB8FD3D6DD" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:TRUE" - "SourcePath" = "8:dotnetfxredist_x86.msm" - "LanguageId" = "3:1033" - "Exclude" = "11:FALSE" - "Folder" = "8:" - "Feature" = "8:" - "IsolateTo" = "8:" - } - } - "Module" - { - "ModuleSignature" = "8:MergeModule.23882DEA21CB4D9C85AFFC59560C0630" - "Version" = "8:1.7.678.0" - "Title" = "8:miCASA-msm" - "Subject" = "8:" - "Author" = "8:Organization" - "Keywords" = "8:" - "Comments" = "8:" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - } - "ProjectOutput" - { - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_00A157D73BD142028C639E9E59679CF0" - { - "SourcePath" = "8:..\\..\\..\\..\\gui\\obj\\Debug\\CASAManager.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{A1A805D0-B400-4D11-A772-348CE13F1046}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_52BF328273034BF199E0FBBB91655492" - { - "SourcePath" = "8:..\\..\\..\\..\\logincapture\\windows\\bin\\Debug\\lcredmgr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{55E85618-3643-4213-A15F-08DA1F02D9BB}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_53CD7D10E6CC45EF83D4C371BF5BECEF" - { - "SourcePath" = "8:..\\..\\..\\..\\micasad\\obj\\Debug\\micasad.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{E39D2266-AB30-430E-A466-AC909363A830}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_54F11B1DAF9741A9B6168E91C3C15AF3" - { - "SourcePath" = "8:..\\..\\..\\..\\micasacache\\Debug\\micasacache.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_C1CBE5086B7D44B18CAE8FD49384EEFE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{B5DB4B53-AB02-4EDC-9C02-BF7DE68F91A3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_85D845B31C1847ECAEEE4E7566B2B036" - { - "SourcePath" = "8:d:\\casaclean2\\c_gui\\debug\\ad_ff.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{BB304ECF-FCBA-4693-9D47-86749815DDC8}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_9966AA9D87C64321B90C8A10CE95475D" - { - "SourcePath" = "8:..\\..\\..\\..\\micasadk\\Debug\\micasa.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_C1CBE5086B7D44B18CAE8FD49384EEFE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{99988A22-4C58-4BF7-A2DB-57761E76FB26}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - "Registry" - { - "HKLM" - { - "Keys" - { - } - } - "HKCU" - { - "Keys" - { - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Shortcut" - { - "{478F747B-8505-45D1-9AAE-8C3B645C26E3}:_BD08079F5E2E43A48E80D019121FBE9C" - { - "Name" = "8:CASA Manager" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_00A157D73BD142028C639E9E59679CF0" - "Folder" = "8:_0CD2EA5305A44AD6B8294CFECA21D99E" - "WorkingFolder" = "8:_1A41C925C695498E975E522C6E5A77F9" - "Icon" = "8:_1A4CE567CBB9469C9EAF7D6B15A1C2D6" - "Feature" = "8:" - } - } - } -} diff --git a/CASA/package/windows/vs_solutions/micasad/micasad.sln b/CASA/package/windows/vs_solutions/micasad/micasad.sln deleted file mode 100644 index ed3b4ebe..00000000 --- a/CASA/package/windows/vs_solutions/micasad/micasad.sln +++ /dev/null @@ -1,45 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.InterProcessComm", "..\..\..\..\extern\w32\namedpipes\AppModule.InterProcessComm\AppModule.InterProcessComm.csproj", "{E98F1F7E-40B6-44C8-AC66-EC867B141FA1}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppModule.NamedPipes", "..\..\..\..\extern\w32\namedpipes\AppModule.NamedPipes\AppModule.NamedPipes.csproj", "{077B53BB-404A-4B2F-BA17-AAE98C5E9C66}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "micasad", "..\..\..\..\micasad\micasad.csproj", "{E39D2266-AB30-430E-A466-AC909363A830}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.CASA.Common", "..\..\..\..\micasad\lib\Novell.CASA.Common.csproj", "{57CD94A2-5B4A-40C3-8189-CB760FB78357}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug.ActiveCfg = Debug|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Debug.Build.0 = Debug|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release.ActiveCfg = Release|.NET - {E98F1F7E-40B6-44C8-AC66-EC867B141FA1}.Release.Build.0 = Release|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug.ActiveCfg = Debug|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Debug.Build.0 = Debug|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release.ActiveCfg = Release|.NET - {077B53BB-404A-4B2F-BA17-AAE98C5E9C66}.Release.Build.0 = Release|.NET - {E39D2266-AB30-430E-A466-AC909363A830}.Debug.ActiveCfg = Debug|.NET - {E39D2266-AB30-430E-A466-AC909363A830}.Debug.Build.0 = Debug|.NET - {E39D2266-AB30-430E-A466-AC909363A830}.Release.ActiveCfg = Release|.NET - {E39D2266-AB30-430E-A466-AC909363A830}.Release.Build.0 = Release|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug.ActiveCfg = Debug|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Debug.Build.0 = Debug|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release.ActiveCfg = Release|.NET - {57CD94A2-5B4A-40C3-8189-CB760FB78357}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/CASA/package/windows/vs_solutions/micasad/micasad.suo b/CASA/package/windows/vs_solutions/micasad/micasad.suo deleted file mode 100644 index e373cc83..00000000 Binary files a/CASA/package/windows/vs_solutions/micasad/micasad.suo and /dev/null differ diff --git a/CASA/policy/AggregationPol.cs b/CASA/policy/AggregationPol.cs index 1dae3e34..b1897d2e 100644 --- a/CASA/policy/AggregationPol.cs +++ b/CASA/policy/AggregationPol.cs @@ -20,105 +20,105 @@ * ***********************************************************************/ -using System; -using System.Collections; -using System.Xml; -using System.Xml.Serialization; -namespace Novell.CASA.CASAPolicy -{ -public class Store -{ - string storeName; - public string StoreName - { - get - { - return storeName; - } - set - { - storeName = value; - } - } - string storeId; - public string StoreId - { - get - { - return storeId; - } - set - { - storeId = value; - } - } - public Store(string name,string id) - { - storeId = id; - storeName = name; - } -} - -public class AggregationPol : CASAPol -{ - ArrayList storeList; - public ArrayList StoreList - { - get - { - return storeList; - } - } - public AggregationPol(ArrayList stores) - { - policyType = CASAPolType.AGGREGATION_POL; - storeList = stores; - } - - public override void DumpPol() - { - Console.WriteLine("\nAggregation Policy"); - IEnumerator enumerator = storeList.GetEnumerator(); - while(enumerator.MoveNext()) - { - Console.WriteLine("StoreName = " + ((Store)(enumerator.Current)).StoreName + " StoreId = " + ((Store)(enumerator.Current)).StoreId); - } - } - - internal override void AppendToDoc(XmlDocument doc) - { - try - { - XmlElement storeElem; - XmlAttribute storeNameAttr; - XmlAttribute storeIdAttr; - string xPath = ""; - - xPath = "//" + XmlConsts.CASAPolicyNode; - XmlNode rootElem = doc.SelectSingleNode(xPath); - - XmlElement aggPolElem = doc.CreateElement(XmlConsts.AggregationPolicyNode); - rootElem.AppendChild(aggPolElem); - - IEnumerator enumerator = storeList.GetEnumerator(); - while(enumerator.MoveNext()) - { - storeElem = doc.CreateElement(XmlConsts.StoreAttr); - storeNameAttr = doc.CreateAttribute(XmlConsts.StoreNameAttr); - storeNameAttr.Value = ((Store)(enumerator.Current)).StoreName; - storeElem.SetAttributeNode(storeNameAttr); - - storeIdAttr = doc.CreateAttribute(XmlConsts.StoreIdAttr); - storeIdAttr.Value = ((Store)(enumerator.Current)).StoreId; - storeElem.SetAttributeNode(storeIdAttr); - - aggPolElem.AppendChild(storeElem); - } - } - catch(Exception) - { - //Console.WriteLine(e.ToString()); - } - } -} -} +using System; +using System.Collections; +using System.Xml; +using System.Xml.Serialization; +namespace Novell.CASA.CASAPolicy +{ +public class Store +{ + string storeName; + public string StoreName + { + get + { + return storeName; + } + set + { + storeName = value; + } + } + string storeId; + public string StoreId + { + get + { + return storeId; + } + set + { + storeId = value; + } + } + public Store(string name,string id) + { + storeId = id; + storeName = name; + } +} + +public class AggregationPol : CASAPol +{ + ArrayList storeList; + public ArrayList StoreList + { + get + { + return storeList; + } + } + public AggregationPol(ArrayList stores) + { + policyType = CASAPolType.AGGREGATION_POL; + storeList = stores; + } + + public override void DumpPol() + { + Console.WriteLine("\nAggregation Policy"); + IEnumerator enumerator = storeList.GetEnumerator(); + while(enumerator.MoveNext()) + { + Console.WriteLine("StoreName = " + ((Store)(enumerator.Current)).StoreName + " StoreId = " + ((Store)(enumerator.Current)).StoreId); + } + } + + internal override void AppendToDoc(XmlDocument doc) + { + try + { + XmlElement storeElem; + XmlAttribute storeNameAttr; + XmlAttribute storeIdAttr; + string xPath = ""; + + xPath = "//" + XmlConsts.CASAPolicyNode; + XmlNode rootElem = doc.SelectSingleNode(xPath); + + XmlElement aggPolElem = doc.CreateElement(XmlConsts.AggregationPolicyNode); + rootElem.AppendChild(aggPolElem); + + IEnumerator enumerator = storeList.GetEnumerator(); + while(enumerator.MoveNext()) + { + storeElem = doc.CreateElement(XmlConsts.StoreAttr); + storeNameAttr = doc.CreateAttribute(XmlConsts.StoreNameAttr); + storeNameAttr.Value = ((Store)(enumerator.Current)).StoreName; + storeElem.SetAttributeNode(storeNameAttr); + + storeIdAttr = doc.CreateAttribute(XmlConsts.StoreIdAttr); + storeIdAttr.Value = ((Store)(enumerator.Current)).StoreId; + storeElem.SetAttributeNode(storeIdAttr); + + aggPolElem.AppendChild(storeElem); + } + } + catch(Exception) + { + //Console.WriteLine(e.ToString()); + } + } +} +} diff --git a/CASA/policy/AssemblyInfo.cs b/CASA/policy/AssemblyInfo.cs index eceb85b9..9fa4effd 100644 --- a/CASA/policy/AssemblyInfo.cs +++ b/CASA/policy/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.CASAPolicy.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.CASAPolicy.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/policy/CMakeLists.txt b/CASA/policy/CMakeLists.txt new file mode 100644 index 00000000..b80b1cf0 --- /dev/null +++ b/CASA/policy/CMakeLists.txt @@ -0,0 +1,50 @@ +################################# +# Project +############## + +project(policy) + +enable_language(CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +SET(SRC_CS AssemblyInfo.cs + Policy.cs + PolicyImpl.cs + PolicyConstants.cs + AggregationPol.cs + PersistencePol.cs + UIPol.cs + SynchPol.cs) + +################################# +# Linking +############## + +#SET(CS_FLAGS -r:Mono.Posix.dll -d:LINUX /d:MONO) +#CSHARP_ADD_LIBRARY(Novell.CASA.miCASAWrapper "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /d:MONO /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.CASAPolicy "${SRC_CS}" REFERENCES Mono.Posix) +#ADD_DEPENDENCIES(akonadi kde-dotnet akonadi-sharp smokeakonadi) + +################################# +# Install Files +############## + +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.CASAPolicy.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) \ No newline at end of file diff --git a/CASA/policy/Makefile.am b/CASA/policy/Makefile.am deleted file mode 100644 index d4325393..00000000 --- a/CASA/policy/Makefile.am +++ /dev/null @@ -1,107 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = *.cs $(CSFILES) - -CASAROOT = .. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.CASAPolicy -MODULE_EXT =dll - -CSFILES = $(srcdir)/AssemblyInfo.cs \ - $(srcdir)/Policy.cs \ - $(srcdir)/PolicyImpl.cs \ - $(srcdir)/PolicyConstants.cs \ - $(srcdir)/AggregationPol.cs \ - $(srcdir)/PersistencePol.cs \ - $(srcdir)/UIPol.cs \ - $(srcdir)/SynchPol.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = $(CSC_LIBFLAG) -CS_RESOURCES = -CS_LIBS = Mono.Posix.dll -CS_LIBPATH = - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) $(CS_LIBS:%=/r:%) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/policy/Novell.CASA.CASAPolicy.csproj b/CASA/policy/Novell.CASA.CASAPolicy.csproj deleted file mode 100644 index e1bd0d63..00000000 --- a/CASA/policy/Novell.CASA.CASAPolicy.csproj +++ /dev/null @@ -1,124 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {636A9D7E-BFB5-4EB9-96F8-51FF85A98826} - Debug - AnyCPU - - - - - Novell.CASA.CASAPol - - - JScript - Grid - IE50 - false - Library - Novell.CASA.CASAPol - OnBuildSuccess - - - - - - - - - bin\Debug\ - false - 285212672 - false - - - DEBUG;TRACE - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - bin\Release\ - false - 285212672 - false - - - TRACE - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - System - - - System.Data - - - System.XML - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - - \ No newline at end of file diff --git a/CASA/policy/Novell.CASA.CASAPolicy.csproj.user b/CASA/policy/Novell.CASA.CASAPolicy.csproj.user deleted file mode 100644 index 910c64b5..00000000 --- a/CASA/policy/Novell.CASA.CASAPolicy.csproj.user +++ /dev/null @@ -1,58 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ProjectFiles - 0 - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - \ No newline at end of file diff --git a/CASA/policy/PersistencePol.cs b/CASA/policy/PersistencePol.cs index 9573d60a..60e2bbec 100644 --- a/CASA/policy/PersistencePol.cs +++ b/CASA/policy/PersistencePol.cs @@ -20,199 +20,199 @@ * ***********************************************************************/ -using System; -using System.Collections; -using System.Collections.Specialized; - -using System.Xml; -using System.Xml.Serialization; - -namespace Novell.CASA.CASAPolicy -{ -public class PersistencePol : CASAPol -{ - string os; - public string OS - { - get - { - return os; - } - } - string filePath; - public string FilePath - { - get - { - return filePath; - } - } - int pollInterval; - public int PollInterval - { - get - { - return pollInterval; - } - } - - public PersistencePol(string osName,string path, int time) - { - policyType = CASAPolType.PERSISTENCE_POL; - os = osName; - filePath = path; - pollInterval = time; - } - - - public PersistencePol(string osName,string path, int time, Hashtable htPolicies) - { - policyType = CASAPolType.PERSISTENCE_POL; - os = osName; - filePath = path; - pollInterval = time; - htSecretPolicys = htPolicies; - } - - private Hashtable htSecretPolicys; // = new Hashtable(); - public void SetSecretPolicy(string sSecretID, string sPolicyAttribID, string sPolicyAttribValue, string sDefaultValue) - { - - if (htSecretPolicys == null) - { - htSecretPolicys = new Hashtable(); - } - - // find policys for given secretID - NameValueCollection nvc = (NameValueCollection)htSecretPolicys[sSecretID]; - if (nvc == null) - { - nvc = new NameValueCollection(); - htSecretPolicys.Add(sSecretID, nvc); - } - - if (sPolicyAttribValue.Equals(sDefaultValue)) - { - nvc.Remove(sPolicyAttribID); - } - else - { - nvc.Set(sPolicyAttribID, sPolicyAttribValue); - } - } - - public bool GetSecretPolicy(string sSecretID, string sPolicyAttribID, bool bDefaultValue) - { - string sReturn = GetSecretPolicy(sSecretID, sPolicyAttribID, bDefaultValue.ToString()); - return bool.Parse(sReturn); - } - - public string GetSecretPolicy(string sSecretID, string sPolicyAttribID, string sDefaultValue) - { - if (htSecretPolicys != null) - { - NameValueCollection nvc = (NameValueCollection)htSecretPolicys[sSecretID]; - if (nvc != null) - { - try - { - return nvc.GetValues(sPolicyAttribID)[0]; - } - catch - { - } - } - } - - return sDefaultValue; - } - - public ArrayList GetNonpersistentSecretIDs() - { - ArrayList al = new ArrayList(); - - //enumerate all secrets loaded - if (htSecretPolicys != null) - { - IDictionaryEnumerator idEnum = htSecretPolicys.GetEnumerator(); - while (idEnum.MoveNext()) - { - string sSecretID = (string)idEnum.Key; - al.Add(sSecretID); - } - } - - return al; - } - - public override void DumpPol() - { - Console.WriteLine("\nPersistent Policy"); - Console.WriteLine("os = " + os); - Console.WriteLine("filePath = " + filePath); - Console.WriteLine("pollInterval = " + pollInterval); - } - internal override void AppendToDoc(XmlDocument doc) - { - XmlElement elem; - XmlAttribute attr; - string xPath = ""; - try - { - xPath = "//" + XmlConsts.CASAPolicyNode; - XmlNode rootElem = doc.SelectSingleNode(xPath); - - XmlElement persistPolElem = doc.CreateElement(XmlConsts.PersistencePolicyNode); - rootElem.AppendChild(persistPolElem); - - elem = doc.CreateElement(XmlConsts.StoreFileLocationAttr); - elem.InnerText = filePath; - - attr = doc.CreateAttribute(XmlConsts.OSAttr); - attr.Value = os; - elem.SetAttributeNode(attr); - - persistPolElem.AppendChild(elem); - - elem = doc.CreateElement(XmlConsts.PollIntervalNode); - elem.InnerText = pollInterval.ToString(); - - persistPolElem.AppendChild(elem); - - // write out policy for secrets - // write out NameValueCollection - XmlElement configElem = doc.CreateElement("SecretPolicies"); - persistPolElem.AppendChild(configElem); - - IDictionaryEnumerator ienum = htSecretPolicys.GetEnumerator(); - while (ienum.MoveNext()) - { - // get the collection for current SecretID - string sCurrentID = ienum.Key.ToString(); - NameValueCollection nvc = (NameValueCollection)htSecretPolicys[sCurrentID]; - - // if no attributes exist, skip it - if (nvc.Count == 0) continue; - - // create a policy element - XmlElement policyElement = doc.CreateElement("Secret"); - policyElement.SetAttribute("id", sCurrentID); - - // add all attributes - for (int i=0; i [--enable-debug] - -2. To reconfigure later, or to configure software that came from a source -distribution (.tar.gz) file, use configure. -./configure --prefix/ [--enable-debug] -(run ./configure --help for more options) - -3. Choose your make target, here are a few interesting ones: -make - compile and create binaries - -make clean - clean up binaries - -make package - create source.tar.gz and rpm - -**make install - not available -**make test - not available +----------------------------------------------------------------- +REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON LINUX +----------------------------------------------------------------- + + - Install latest mono and mono-devel (mono 1.1.13 or above) + www.go-mono.org + - Install JAVA 1.5 + www.java.sun.com + + +----------------------------------------------------------------- +BUILD +----------------------------------------------------------------- + +1. Generate autotools files: +./autogen.sh --prefix=/ [--enable-debug] + +2. To reconfigure later, or to configure software that came from a source +distribution (.tar.gz) file, use configure. +./configure --prefix/ [--enable-debug] +(run ./configure --help for more options) + +3. Choose your make target, here are a few interesting ones: +make - compile and create binaries + +make clean - clean up binaries + +make package - create source.tar.gz and rpm + +**make install - not available +**make test - not available diff --git a/CASA/readme-folder/readme-win.txt b/CASA/readme-folder/readme-win.txt index 18f3f12b..e9d435bb 100644 --- a/CASA/readme-folder/readme-win.txt +++ b/CASA/readme-folder/readme-win.txt @@ -1,133 +1,133 @@ ------------------------------------------------------------------ -REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS ------------------------------------------------------------------ - - Install Visual Studio 2005 - - Install Cygwin - - Install JAVA 1.5 - - Install GTK 2.6 ------------------------------------------------------------------ -Installation and setup Cygwin ------------------------------------------------------------------ -Download and start cygwin install: -Browse to http://sources.redhat.com/cygwin/ - -Click on "Install or update now!" or "Install Cygwin now" - -Cygwin Setup: -Next - -Cygwin Setup - Choose Installation Type: -Install from Internet -Next - -Cygwin Setup - Choose Installation Directory: -Root Directory: C:\cygwin -Install For: "All Users" - -Default Text File Type: DOS - -Cygwin Setup - Select Local Package Directory: - Local Package Directory: C:\cygwin-packages - -Cygwin Setup - Select Connection Type: - Direct Connection - -Choose A Download Site: - ftp://ftp.nas.nasa.gov - -Cywin Setup - Select Packages: - Base: - defaults - - Devel: - autoconf - automake - gcc - gcc-g++ - libtool - make - pkgconfig - subversion - - Editors: - vim (optional) - - Net: - openssh - openssl - - Text: - more - - Utils: - clear (optional) - -Cygwin Setup - Create Icons: -Finish - ------------------------------------------------------------------- -Installation of JAVA ------------------------------------------------------------------- -Download the latest Jave JDK and J2EE from "http://java.sun.com" -and install them on the machine. - - ------------------------------------------------------------------ -Installation of GTK ------------------------------------------------------------------ - ------------------------------------------------------------------ -Example of cygwin.bat ------------------------------------------------------------------ -Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to -%VS71COMNTOOLS%\vsvars32.bat (see example below). Also -add the MSCS and JAVA_HOME environment parameters to -this file. This sets up the Visual Studio and Java tools -in Cygwin. - -Sample cygwin.bat: - -@echo off - -set JAVA_HOME=C:/Program Files/Java/jdk1.5.0_07 -set VSINSTALLDIR=C:/Program Files/Microsoft Visual Studio 2005/Common7/IDE -set MSC=C:/Program Files/Microsoft Visual Studio 2005/VC - -set PATH=%PATH%:/cygdrive/c/Program Files/Java/jdk1.5.0_07/bin -set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio 2005/VC/bin -set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio 2005/Common7/IDE - -set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include -set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include\win32 -set INCLUDE=%INCLUDE%;c:\Program Files\Microsoft Visual Studio 2005\VC\include - -C: -chdir C:\cygwin\bin - -bash --login -i - - ------------------------------------------------------------------ -Build ------------------------------------------------------------------ - -1.Start cygin (or Run cygwin.bat to start up Cygwin). - -2. Generate autotools files: -./autogen.sh --prefix=/ [--enable-debug] - -3. To reconfigure later, or to configure software that came from a source -distribution (.tar.gz) file, use configure. -./configure --prefix/ [--enable-debug] -(run ./configure --help for more options) - -4. Choose your make target, here are a few interesting ones: -make - compile and create binaries, and setup files. - -make clean - clean up binaries - -**make package - not available -**make install - not available -**make test - not available - - +----------------------------------------------------------------- +REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS +----------------------------------------------------------------- + - Install Visual Studio 2005 + - Install Cygwin + - Install JAVA 1.5 + - Install GTK 2.6 +----------------------------------------------------------------- +Installation and setup Cygwin +----------------------------------------------------------------- +Download and start cygwin install: +Browse to http://sources.redhat.com/cygwin/ + +Click on "Install or update now!" or "Install Cygwin now" + +Cygwin Setup: +Next + +Cygwin Setup - Choose Installation Type: +Install from Internet +Next + +Cygwin Setup - Choose Installation Directory: +Root Directory: C:\cygwin +Install For: "All Users" + +Default Text File Type: DOS + +Cygwin Setup - Select Local Package Directory: + Local Package Directory: C:\cygwin-packages + +Cygwin Setup - Select Connection Type: + Direct Connection + +Choose A Download Site: + ftp://ftp.nas.nasa.gov + +Cywin Setup - Select Packages: + Base: + defaults + + Devel: + autoconf + automake + gcc + gcc-g++ + libtool + make + pkgconfig + subversion + + Editors: + vim (optional) + + Net: + openssh + openssl + + Text: + more + + Utils: + clear (optional) + +Cygwin Setup - Create Icons: +Finish + +------------------------------------------------------------------ +Installation of JAVA +------------------------------------------------------------------ +Download the latest Jave JDK and J2EE from "http://java.sun.com" +and install them on the machine. + + +----------------------------------------------------------------- +Installation of GTK +----------------------------------------------------------------- + +----------------------------------------------------------------- +Example of cygwin.bat +----------------------------------------------------------------- +Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to +%VS71COMNTOOLS%\vsvars32.bat (see example below). Also +add the MSCS and JAVA_HOME environment parameters to +this file. This sets up the Visual Studio and Java tools +in Cygwin. + +Sample cygwin.bat: + +@echo off + +set JAVA_HOME=C:/Program Files/Java/jdk1.5.0_07 +set VSINSTALLDIR=C:/Program Files/Microsoft Visual Studio 2005/Common7/IDE +set MSC=C:/Program Files/Microsoft Visual Studio 2005/VC + +set PATH=%PATH%:/cygdrive/c/Program Files/Java/jdk1.5.0_07/bin +set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio 2005/VC/bin +set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio 2005/Common7/IDE + +set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include +set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include\win32 +set INCLUDE=%INCLUDE%;c:\Program Files\Microsoft Visual Studio 2005\VC\include + +C: +chdir C:\cygwin\bin + +bash --login -i + + +----------------------------------------------------------------- +Build +----------------------------------------------------------------- + +1.Start cygin (or Run cygwin.bat to start up Cygwin). + +2. Generate autotools files: +./autogen.sh --prefix=/ [--enable-debug] + +3. To reconfigure later, or to configure software that came from a source +distribution (.tar.gz) file, use configure. +./configure --prefix/ [--enable-debug] +(run ./configure --help for more options) + +4. Choose your make target, here are a few interesting ones: +make - compile and create binaries, and setup files. + +make clean - clean up binaries + +**make package - not available +**make install - not available +**make test - not available + + diff --git a/CASA/sharp/CMakeLists.txt b/CASA/sharp/CMakeLists.txt new file mode 100644 index 00000000..56359e93 --- /dev/null +++ b/CASA/sharp/CMakeLists.txt @@ -0,0 +1,32 @@ +################################# +# Project +############## + +IF (UNIX) + add_subdirectory(NSSCSWrapper) +ENDIF (UNIX) + +IF (WIN32) + add_subdirectory(Novell.Casa.MiCasa) +ENDIF (WIN32) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +################################# +# Source Files +############## + +################################# +# Linking +############## + +################################# +# Install Files +############## + diff --git a/CASA/sharp/Makefile.am b/CASA/sharp/Makefile.am deleted file mode 100644 index 17553c0f..00000000 --- a/CASA/sharp/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -SUBDIRS = NSSCSWrapper - -DIST_SUBDIRS = NSSCSWrapper - -EXTRA_DIST = - -.PHONY: package package-clean package-install package-uninstall -package package-clean package-install package-uninstall: - $(MAKE) -C $(TARGET_OS) $@ - -maintainer-clean-local: - rm -f Makefile.in - diff --git a/CASA/sharp/NSSCSWrapper/AssemblyInfo.cs b/CASA/sharp/NSSCSWrapper/AssemblyInfo.cs index 001ad949..bb32a0c5 100644 --- a/CASA/sharp/NSSCSWrapper/AssemblyInfo.cs +++ b/CASA/sharp/NSSCSWrapper/AssemblyInfo.cs @@ -20,61 +20,61 @@ * ***********************************************************************/ -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Novell.CASA.miCASAWrapper.dll")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Novell, Inc")] -[assembly: AssemblyProduct("CASA")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.7.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] +using System.Reflection; +using System.Runtime.CompilerServices; + +// +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +// +[assembly: AssemblyTitle("Novell.CASA.miCASAWrapper.dll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Novell, Inc")] +[assembly: AssemblyProduct("CASA")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.7.*")] + +// +// In order to sign your assembly you must specify a key to use. Refer to the +// Microsoft .NET Framework documentation for more information on assembly signing. +// +// Use the attributes below to control which key is used for signing. +// +// Notes: +// (*) If no key is specified, the assembly is not signed. +// (*) KeyName refers to a key that has been installed in the Crypto Service +// Provider (CSP) on your machine. KeyFile refers to a file which contains +// a key. +// (*) If the KeyFile and the KeyName values are both specified, the +// following processing occurs: +// (1) If the KeyName can be found in the CSP, that key is used. +// (2) If the KeyName does not exist and the KeyFile does exist, the key +// in the KeyFile is installed into the CSP and used. +// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. +// When specifying the KeyFile, the location of the KeyFile should be +// relative to the project output directory which is +// %Project Directory%\obj\. For example, if your KeyFile is +// located in the project directory, you would specify the AssemblyKeyFile +// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] +// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework +// documentation for more information on this. +// +[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("")] +[assembly: AssemblyKeyName("")] diff --git a/CASA/sharp/NSSCSWrapper/BasicCredential.cs b/CASA/sharp/NSSCSWrapper/BasicCredential.cs index f16d05e8..89ea0491 100644 --- a/CASA/sharp/NSSCSWrapper/BasicCredential.cs +++ b/CASA/sharp/NSSCSWrapper/BasicCredential.cs @@ -20,33 +20,33 @@ * ***********************************************************************/ -using System; - -namespace Novell.CASA -{ - /// - /// Summary description for BasicCredential. - /// - public class BasicCredential - { - - private string m_username = ""; - private string m_password = ""; - - public BasicCredential(string username, string password) - { - m_username = username; - m_password = password; - } - - public string GetUsername() - { - return m_username; - } - - public string GetPassword() - { - return m_password; - } - } -} +using System; + +namespace Novell.CASA +{ + /// + /// Summary description for BasicCredential. + /// + public class BasicCredential + { + + private string m_username = ""; + private string m_password = ""; + + public BasicCredential(string username, string password) + { + m_username = username; + m_password = password; + } + + public string GetUsername() + { + return m_username; + } + + public string GetPassword() + { + return m_password; + } + } +} diff --git a/CASA/sharp/NSSCSWrapper/CMakeLists.txt b/CASA/sharp/NSSCSWrapper/CMakeLists.txt new file mode 100644 index 00000000..7c14975f --- /dev/null +++ b/CASA/sharp/NSSCSWrapper/CMakeLists.txt @@ -0,0 +1,49 @@ +################################# +# Project +############## + +project(NSSCSWrapper) + +enable_language(CSharp) + +################################# +# Dependencies +############## + +################################# +# Compiler Switches +############## + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} +) + +add_definitions( -D_GNU_SOURCE ) + +################################# +# Source Files +############## + +SET(SRC_CS miCasaException.cs + BasicCredential.cs + miCASA.cs + AssemblyInfo.cs + NativeCalls.cs + Secret.cs + SecretStore.cs) + +################################# +# Linking +############## + +SET(CS_FLAGS -r:${CMAKE_BINARY_DIR}/micasad/lib/Novell.CASA.Common.dll) +#CSHARP_ADD_LIBRARY(Novell.CASA.miCASAWrapper "${SRC_CS}" REFERENCES Mono.Posix COMPILE_FLAGS /d:LINUX /warn:0 /keyfile:${KEYFILE}) +CSHARP_ADD_LIBRARY(Novell.CASA.miCASAWrapper "${SRC_CS}" REFERENCES Novell.CASA.Common) +ADD_DEPENDENCIES(Novell.CASA.miCASAWrapper Novell.CASA.Common) + +################################# +# Install Files +############## + +INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/Novell.CASA.miCASAWrapper.dll DESTINATION ${LIBEXEC_INSTALL_DIR}) \ No newline at end of file diff --git a/CASA/sharp/NSSCSWrapper/Makefile.am b/CASA/sharp/NSSCSWrapper/Makefile.am deleted file mode 100644 index fa59ef3a..00000000 --- a/CASA/sharp/NSSCSWrapper/Makefile.am +++ /dev/null @@ -1,111 +0,0 @@ -####################################################################### -# -# Copyright (C) 2006 Novell, Inc. -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public -# License along with this program; if not, write to the Free -# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# -# -####################################################################### - -if DEBUG -TARGET_CFG = Debug -CFLAGS += -v -w -CS_EXTRA_FLAGS = $(CSCFLAGS_DEBUG) -else -TARGET_CFG = Release -endif - -SUBDIRS = -DIST_SUBDIRS = - -EXTRA_DIST = *.cs $(CSFILES) - -CASAROOT = ../.. - -CASALIBDIR = $(CASAROOT)/$(LIB) - -# handle Mono secondary dependencies -export MONO_PATH := $(MONO_PATH) - -PLATFORMINDEPENDENTSOURCEDIR = -PLATFORMDEPENDENTSOURCEDIR = . - -MODULE_NAME =Novell.CASA.miCASAWrapper -MODULE_EXT =dll - -CSFILES = $(srcdir)/miCasaException.cs \ - $(srcdir)/BasicCredential.cs \ - $(srcdir)/miCASA.cs \ - $(srcdir)/AssemblyInfo.cs \ - $(srcdir)/NativeCalls.cs \ - $(srcdir)/Secret.cs \ - $(srcdir)/SecretStore.cs - -CSFILES_CSC := $(subst /,$(SEP),$(CSFILES)) -CS_FLAGS = /target:"library" -CS_RESOURCES = -CS_LIBS =$(CASALIBDIR)/$(TARGET_CFG)/Novell.CASA.Common.dll -CS_LIBPATH = $(CASALIBDIR)/$(TARGET_CFG) - -OBJDIR = ./$(TARGET_CFG)/$(LIB) - -#OBJS = $(addprefix $(OBJDIR)/, $(CSFILES:%.dll=%.cs)) - -CUR_DIR := $(shell pwd) - -all: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - -# -# Pattern based rules. -# -vpath %.c $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cpp $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) -vpath %.cs $(PLATFORMDEPENDENTSOURCEDIR) $(PLATFORMINDEPENDENTSOURCEDIR) - -$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(CSFILES) - $(CSC) $(CS_FLAGS) $(CS_EXTRA_FLAGS) $(CS_LIBS:%=/r:%) $(CS_LIBPATH:%=-lib:%) -out:$@ $(CSFILES_CSC) - cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -#$(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT): $(OBJDIR) $(OBJS) -# @echo [======== Linking $@ ========] -# $(LINK) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) -# cp -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(CASALIBDIR)/$(TARGET_CFG)/$(MODULE_NAME).$(MODULE_EXT) - -$(OBJDIR): - [ -d $(OBJDIR) ] || mkdir -p $(OBJDIR) - [ -d $(CASALIBDIR) ] || mkdir -p $(CASALIBDIR) - [ -d $(CASALIBDIR)/$(TARGET_CFG) ] || mkdir -p $(CASALIBDIR)/$(TARGET_CFG) - - -install-exec-local: $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - $(mkinstalldirs) $(DESTDIR)$(libdir) - $(INSTALL_PROGRAM) $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) $(DESTDIR)$(libdir)/ - -uninstall-local: - cd $(DESTDIR)$(libdir); rm -f $(OBJDIR)/$(MODULE_NAME).$(MODULE_EXT) - rmdir $(DESTDIR)$(libdir) - -#installcheck-local: install -# $(mkinstalldirs) $(DESTDIR)$(libdir) -# $(INSTALL_PROGRAM) $(DESTDIR)$(libdir) -# cd $(DESTDIR)$(libdir); $(MONO) - -clean-local: - if [ -d $(TARGET_CFG) ]; then rm -rf $(TARGET_CFG); fi - -distclean-local: - -maintainer-clean-local: - rm -f Makefile.in diff --git a/CASA/sharp/NSSCSWrapper/NativeCalls.cs b/CASA/sharp/NSSCSWrapper/NativeCalls.cs index 23971a20..be0c5f72 100644 --- a/CASA/sharp/NSSCSWrapper/NativeCalls.cs +++ b/CASA/sharp/NSSCSWrapper/NativeCalls.cs @@ -222,7 +222,7 @@ namespace Novell.CASA private const string NDK_LIBRARY = "micasa"; - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASARemoveCredential ( [In] uint ssFlags, // IN @@ -233,7 +233,7 @@ namespace Novell.CASA - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAGetCredential ( [In] uint ssFlags, // IN @@ -245,7 +245,7 @@ namespace Novell.CASA ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASASetCredential ( [In] uint ssFlags, // IN @@ -255,7 +255,7 @@ namespace Novell.CASA [In] IntPtr credential, [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASASetMasterPasscode ( [In] uint ssFlags, @@ -263,7 +263,7 @@ namespace Novell.CASA [In] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAIsSecretPersistent ( [In] uint ssFlags, @@ -271,7 +271,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern IntPtr miCASAOpenSecretStoreCache ( [In, Out] SSCS_SECRET_STORE_ID_T ssid, @@ -289,7 +289,7 @@ namespace Novell.CASA ); - [DllImport(NDK_LIBRARY) ] + [DllImport(NDK_LIBRARY) ] internal static extern int miCASAReadSecret ( [In] IntPtr context, @@ -304,7 +304,7 @@ namespace Novell.CASA // TODO: check the order of these paramters - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASARemoveSecret ( [In] IntPtr context, @@ -316,7 +316,7 @@ namespace Novell.CASA ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAWriteSecret ( [In] IntPtr context, @@ -328,7 +328,7 @@ namespace Novell.CASA [In] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAGetStoreInformation ( [In] IntPtr context, @@ -337,7 +337,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAEnumerateSecretIDs ( [In] IntPtr context, @@ -348,7 +348,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAEnumerateKeyChainIDs ( [In] IntPtr context, @@ -358,7 +358,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASARemoveSecretStore ( [In] IntPtr context, @@ -366,7 +366,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASASetMasterPassword ( [In] uint ssFlags, @@ -384,7 +384,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASALockStore ( [In] IntPtr context, @@ -392,7 +392,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAUnlockStore ( [In] IntPtr context, @@ -402,7 +402,7 @@ namespace Novell.CASA ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASARemoveKeyChain ( [In] IntPtr context, @@ -411,7 +411,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASAAddKeyChain ( [In] IntPtr context, @@ -424,15 +424,15 @@ namespace Novell.CASA //* Support Functions for processing (populating or extracting) //* data components from a Shared Secret //************************************************************** - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern IntPtr miCASA_CreateSHSHandle(); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASA_DestroySHSHandle( [In] IntPtr secretHandle); - [DllImport(NDK_LIBRARY, CharSet=CharSet.None) ] + [DllImport(NDK_LIBRARY, CharSet=CharSet.None) ] internal static extern int miCASA_GetNextSHSEntry ( [In] int restart, //* in (set to 1 to begin from head of list) @@ -444,7 +444,7 @@ namespace Novell.CASA ); - [DllImport(NDK_LIBRARY, CharSet=CharSet.None)] + [DllImport(NDK_LIBRARY, CharSet=CharSet.None)] internal static extern int miCASA_AddSHSEntry ( [In] IntPtr secretHandle, //* in] @@ -455,7 +455,7 @@ namespace Novell.CASA string val //* in /uchar ); - [DllImport(NDK_LIBRARY, CharSet=CharSet.None)] + [DllImport(NDK_LIBRARY, CharSet=CharSet.None)] internal static extern int miCASAWriteKey ( [In] IntPtr context, @@ -472,7 +472,7 @@ namespace Novell.CASA [In, Out] SSCS_EXT_T ext ); - [DllImport(NDK_LIBRARY)] + [DllImport(NDK_LIBRARY)] internal static extern int miCASA_RemoveSHSEntry ( [In] IntPtr secretHandle, //* in @@ -929,8 +929,8 @@ namespace Novell.CASA SSCS_KEYCHAIN_ID_T keyChainID = new SSCS_KEYCHAIN_ID_T(); keyChainID.keychainID = sKeyChainID; - keyChainID.len = sKeyChainID.Length + 1; - + keyChainID.len = sKeyChainID.Length + 1; + SSCS_PASSWORD_T epPassword = new SSCS_PASSWORD_T(); if (sEPPassword != null && sEPPassword.Length > 0) { @@ -987,7 +987,7 @@ namespace Novell.CASA if (USE_OBJECT_SERIALIZATION) { - //sc = (StringCollection)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_SECRETIDS, null, null, null, sc); + //sc = (StringCollection)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_SECRETIDS, null, null, null, sc); sc = (StringCollection)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_SECRETIDS, sKeyChainID, null, null, sc); return sc; } @@ -1043,8 +1043,8 @@ namespace Novell.CASA Marshal.FreeHGlobal(idList.secretIDList); return sc; } - } - + } + internal void AddKeyChain( IntPtr context, uint ssFlags, @@ -1060,9 +1060,9 @@ namespace Novell.CASA SSCS_EXT_T ext = new SSCS_EXT_T(); int rcode = miCASAAddKeyChain(context, ssFlags, keyChainID, ext); - } - - + } + + internal static BasicCredential GetCredential( uint ssFlags, string sAppSecretID, @@ -1130,9 +1130,9 @@ namespace Novell.CASA throw new miCasaException(rcode); } - } - - + } + + internal static void SetCredential( uint ssFlags, string sAppSecretID, @@ -1255,7 +1255,7 @@ namespace Novell.CASA //Console.WriteLine(e.ToString()); } return rcode; - } + } internal static int SetMasterPassword( uint ssFlags, string mPasswd) @@ -1295,7 +1295,7 @@ namespace Novell.CASA { if(ssFlags == 0) { - if ((null == id) || ("" == id)) + if ((null == id) || ("" == id)) return false; secretID.len = id.Length; diff --git a/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj b/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj deleted file mode 100644 index 6562e56e..00000000 --- a/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj +++ /dev/null @@ -1,132 +0,0 @@ - - - Local - 8.0.50727 - 2.0 - {E21DD887-22F4-4935-9851-409715F663B0} - Debug - AnyCPU - - - - - Novell.CASA.miCASAWrapper - - - JScript - Grid - IE50 - false - Library - Novell.CASA - OnBuildSuccess - - - - - - - - - bin\Debug\ - false - 285212672 - false - - - DEBUG;TRACE - - - true - 4096 - false - - - false - false - false - false - 4 - full - prompt - - - bin\Release\ - false - 285212672 - false - - - TRACE - - - false - 4096 - false - - - true - false - false - false - 4 - none - prompt - x86 - - - - System - - - System.Data - - - System.Runtime.Remoting - - - System.XML - - - Novell.CASA.Common - {57CD94A2-5B4A-40C3-8189-CB760FB78357} - {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - - - - - - - - - \ No newline at end of file diff --git a/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj.user b/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj.user deleted file mode 100644 index de7d26eb..00000000 --- a/CASA/sharp/NSSCSWrapper/Novell.CASA.miCASAWrapper.csproj.user +++ /dev/null @@ -1,58 +0,0 @@ - - - 7.10.3077 - Debug - AnyCPU - - - - - - - 0 - ShowAllFiles - 0 - - - false - false - true - false - false - - - Project - - - - - - - - - - - true - - - false - false - false - false - false - - - Project - - - - - - - - - - - true - - \ No newline at end of file diff --git a/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.sln b/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.sln deleted file mode 100644 index 2d35d672..00000000 --- a/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Novell.SecretStoreClient.NSSCSWrapper", "Novell.SecretStoreClient.NSSCSWrapper.csproj", "{E21DD887-22F4-4935-9851-409715F663B0}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {E21DD887-22F4-4935-9851-409715F663B0}.Debug.ActiveCfg = Debug|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Debug.Build.0 = Debug|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Release.ActiveCfg = Release|.NET - {E21DD887-22F4-4935-9851-409715F663B0}.Release.Build.0 = Release|.NET - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.suo b/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.suo deleted file mode 100644 index f12611ee..00000000 Binary files a/CASA/sharp/NSSCSWrapper/Novell.SecretStoreClient.suo and /dev/null differ diff --git a/CASA/sharp/NSSCSWrapper/RemoteClient.cs b/CASA/sharp/NSSCSWrapper/RemoteClient.cs index 2141f887..7f277f8a 100644 --- a/CASA/sharp/NSSCSWrapper/RemoteClient.cs +++ b/CASA/sharp/NSSCSWrapper/RemoteClient.cs @@ -20,92 +20,92 @@ * ***********************************************************************/ -using System; -using System.Collections.Specialized; -using System.Runtime.Remoting; -using System.Runtime.Remoting.Channels; -using System.Runtime.Remoting.Channels.Tcp; - -namespace Novell.CASA -{ - /// - /// Summary description for RemoteClient. - /// - public class RemoteClient - { - - private SecretStore obj; - TcpChannel chan = null; - - public RemoteClient() - { - } - - - public void OpenSocket(string serverAddr, string sPort) - { - // Create a channel for communicating w/ the remote object - // Notice no port is specified on the client - chan = new TcpChannel(); - - - try - { - ChannelServices.RegisterChannel(chan); - } - catch (Exception) - { - - } - // Create an instance of the remote object - obj = (SecretStore) Activator.GetObject( - typeof(Novell.CASA.SecretStore), - "tcp://"+serverAddr + ":" + sPort + "/enumerateSecretIDs" ); - } - - public void CloseSocket() - { - if (chan != null) - { - ChannelServices.UnregisterChannel(chan); - //chan = null; - } - } - - - public StringCollection GetRemoteSecretIDS() - { - // Use the object - try - { - if( obj.Equals(null) ) - { - System.Console.WriteLine("Error: unable to locate server"); - return null; - } - else - { - //Console.WriteLine(obj.enumerateSecretIDs()); - return obj.EnumerateSecretIDs(); - } - } - catch (Exception e) - { - throw e; - } - } - - public Secret GetRemoteSecret(string id) - { - - if (obj.Equals(null)) - { - return null; - } - else - { - return obj.GetSecret(id); - } - } - } -} +using System; +using System.Collections.Specialized; +using System.Runtime.Remoting; +using System.Runtime.Remoting.Channels; +using System.Runtime.Remoting.Channels.Tcp; + +namespace Novell.CASA +{ + /// + /// Summary description for RemoteClient. + /// + public class RemoteClient + { + + private SecretStore obj; + TcpChannel chan = null; + + public RemoteClient() + { + } + + + public void OpenSocket(string serverAddr, string sPort) + { + // Create a channel for communicating w/ the remote object + // Notice no port is specified on the client + chan = new TcpChannel(); + + + try + { + ChannelServices.RegisterChannel(chan); + } + catch (Exception) + { + + } + // Create an instance of the remote object + obj = (SecretStore) Activator.GetObject( + typeof(Novell.CASA.SecretStore), + "tcp://"+serverAddr + ":" + sPort + "/enumerateSecretIDs" ); + } + + public void CloseSocket() + { + if (chan != null) + { + ChannelServices.UnregisterChannel(chan); + //chan = null; + } + } + + + public StringCollection GetRemoteSecretIDS() + { + // Use the object + try + { + if( obj.Equals(null) ) + { + System.Console.WriteLine("Error: unable to locate server"); + return null; + } + else + { + //Console.WriteLine(obj.enumerateSecretIDs()); + return obj.EnumerateSecretIDs(); + } + } + catch (Exception e) + { + throw e; + } + } + + public Secret GetRemoteSecret(string id) + { + + if (obj.Equals(null)) + { + return null; + } + else + { + return obj.GetSecret(id); + } + } + } +} diff --git a/CASA/sharp/NSSCSWrapper/RemoteServer.cs b/CASA/sharp/NSSCSWrapper/RemoteServer.cs index d454e92b..c5616ec6 100644 --- a/CASA/sharp/NSSCSWrapper/RemoteServer.cs +++ b/CASA/sharp/NSSCSWrapper/RemoteServer.cs @@ -20,68 +20,68 @@ * ***********************************************************************/ -using System; -using System.Runtime.Remoting; -using System.Runtime.Remoting.Channels; -using System.Runtime.Remoting.Channels.Tcp; - -namespace Novell.CASA -{ - /// - /// Summary description for RemoteServer. - /// - public class RemoteServer - { - - - TcpChannel channel; - public RemoteServer() - { - // - // TODO: Add constructor logic here - // - } - - public void StartServer(int port) - { - int iPort = port; - if (iPort == 0) - iPort = 8080; - - channel = new TcpChannel(iPort); - - try - { - ChannelServices.RegisterChannel(channel); - } - catch (Exception e) - { - throw e; - } - - // Register as an available service with the name HelloWorld - RemotingConfiguration.RegisterWellKnownServiceType( - typeof(SecretStore), - "enumerateSecretIDs", - WellKnownObjectMode.SingleCall ); - - RemotingConfiguration.RegisterWellKnownServiceType( - typeof(SecretStore), - "getSecret(string id)", - WellKnownObjectMode.SingleCall ); - - System.Console.WriteLine("Server Started on "+ iPort); -// System.Console.ReadLine(); - //return 0; - } - - public void StopServer() - { - if (channel != null) - { - System.Console.WriteLine("Stopping server"); - ChannelServices.UnregisterChannel(channel); - } - } - } -} +using System; +using System.Runtime.Remoting; +using System.Runtime.Remoting.Channels; +using System.Runtime.Remoting.Channels.Tcp; + +namespace Novell.CASA +{ + /// + /// Summary description for RemoteServer. + /// + public class RemoteServer + { + + + TcpChannel channel; + public RemoteServer() + { + // + // TODO: Add constructor logic here + // + } + + public void StartServer(int port) + { + int iPort = port; + if (iPort == 0) + iPort = 8080; + + channel = new TcpChannel(iPort); + + try + { + ChannelServices.RegisterChannel(channel); + } + catch (Exception e) + { + throw e; + } + + // Register as an available service with the name HelloWorld + RemotingConfiguration.RegisterWellKnownServiceType( + typeof(SecretStore), + "enumerateSecretIDs", + WellKnownObjectMode.SingleCall ); + + RemotingConfiguration.RegisterWellKnownServiceType( + typeof(SecretStore), + "getSecret(string id)", + WellKnownObjectMode.SingleCall ); + + System.Console.WriteLine("Server Started on "+ iPort); +// System.Console.ReadLine(); + //return 0; + } + + public void StopServer() + { + if (channel != null) + { + System.Console.WriteLine("Stopping server"); + ChannelServices.UnregisterChannel(channel); + } + } + } +} diff --git a/CASA/sharp/NSSCSWrapper/Secret.cs b/CASA/sharp/NSSCSWrapper/Secret.cs index d4cac9de..83dbc8b9 100644 --- a/CASA/sharp/NSSCSWrapper/Secret.cs +++ b/CASA/sharp/NSSCSWrapper/Secret.cs @@ -20,242 +20,242 @@ * ***********************************************************************/ -using System; -using System.Collections; - -using System.Collections.Specialized; -using Novell.CASA.MiCasa.Common; -using Novell.CASA.MiCasa.Communication; - -namespace Novell.CASA -{ - /// - /// Summary description for Secret. - /// - public class Secret : MarshalByRefObject - { - internal IntPtr m_pHsc; - private string m_keyChainID; - private uint m_ssFlags; - internal IntPtr m_secretHandle; - private string m_secretID; - private string m_epPassword = null; - private uint m_iCreateTime = 0; - private uint m_iModifyTime = 0; - private uint m_iAccessTime = 0; - internal int m_type = 0; - - // holds name value pairs for this secret - private System.Collections.Specialized.NameValueCollection m_nvc; - private byte[] m_baValue = null; - - public static int SS_APP = 1; - public static int SS_CREDSET = 2; - public static int SS_BINARY = 4; - - - // constructor - internal Secret( - IntPtr pHSC, - string sKeyChainID, - uint iSSFlags, - IntPtr ptrHandle, - string sSecretID, - int iSecretType, - string sEPPassword) - { - m_pHsc = pHSC; - m_keyChainID = sKeyChainID; - m_ssFlags = iSSFlags; - m_secretHandle = ptrHandle; - m_secretID = sSecretID; - m_epPassword = sEPPassword; - - m_type = iSecretType; - - if (sSecretID.StartsWith("SS_CredSet")) - m_type = Secret.SS_CREDSET; - else if (sSecretID.StartsWith("SS_App")) - m_type = Secret.SS_APP; - else if (sSecretID.StartsWith("SS_Binary")) - m_type = Secret.SS_BINARY; - - // create collection - m_nvc = new System.Collections.Specialized.NameValueCollection(); - - } - - // TO clean up SecretHandle - - public string GetID() - { - return m_secretID; - } - - public void SetKeyValuePair(string sKey, string sKeyValue) - { - if (m_type == Secret.SS_APP) - m_nvc.Add(sKey, sKeyValue); - else - m_nvc.Set(sKey, sKeyValue); - } - - public byte[] GetBinaryValue() - { - return m_baValue; - } - - // used for binary secrets, throws exception if not - public void SetBinaryValue(byte[] baData) - { - // make sure this is a binary secret - if (this.m_type == SS_BINARY) - { - m_baValue = baData; - } - else - { - throw new Exception(); - } - } - - public string[] GetKeyValues(string sKey) - { - return m_nvc.GetValues(sKey); - } - - public string GetKeyValue(string sKey) - { - return m_nvc.Get(sKey); - } - - public int GetSecretType() - { - return this.m_type; - } - -// public string getSecretValue() -// { -// // TODO this is for a raw secret, just an ID and value -// // should be only one key in the NameValueCollection -// } - - public NameValueCollection GetKeyValueCollection() - { - return m_nvc; - } - - public void MergeKeyValueCollection(NameValueCollection nvc) - { - //if (m_nvc == null) - m_nvc = nvc; - } - - public void SetEnhancedProtectionPassword(string sEPPassword) - { - m_epPassword = sEPPassword; - } - - internal string GetEnhancedProtectionPassword() - { - return m_epPassword; - } - - public bool IsEnhancedProtected() - { - if (m_epPassword != null) - return true; - else - return false; - } - - public void RemoveKey(string sKey, uint ctxFlags) - { - //call the ndk to remove that one too. - NativeCalls.RemoveKeyValue(this.m_secretHandle, sKey, m_nvc.Get(sKey), ctxFlags); - - // remove from our collection - m_nvc.Remove(sKey); - } - - internal void SetTimeStamps(uint uiCreated, uint uiModified, uint uiAccessed) - { - m_iCreateTime = uiCreated; - m_iModifyTime = uiModified; - m_iAccessTime = uiAccessed; - } - - public DateTime GetCreateTime() - { - // send request for create time - DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_CREATE_TIME, - this.m_keyChainID, - this.m_secretID, - null, - null); - return dt; - } - - public DateTime GetModifiedTime() - { - // send request for modified time - DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_MODIFIED_TIME, - this.m_keyChainID, - this.m_secretID, - null, - null); - return dt; - } - - public DateTime GetCreateTimeForKey(string sKey) - { - // send request for create time - DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_CREATE_TIME, - this.m_keyChainID, - this.m_secretID, - sKey, - null); - return dt; - } - - public DateTime GetModifiedTimeForKey(string sKey) - { - // send request for modified time - DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_MODIFIED_TIME, - this.m_keyChainID, - this.m_secretID, - sKey, - null); - return dt; - } - private uint GetAccessTime() - { - return m_iAccessTime; - } - - public Hashtable GetLinkedKeys(string sKey) - { - Hashtable htLinkedKeys = (Hashtable)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_LINKED_KEYS, - null, - this.GetID(), - sKey, - null); - - - return htLinkedKeys; - - } - - /* - public DateTime GetKeyModifiedTime(string sKey) - { - return null; - } - - public DateTime GetKeyCreateTime(string sKey) - { - return null; - } - */ - } -} +using System; +using System.Collections; + +using System.Collections.Specialized; +using Novell.CASA.MiCasa.Common; +using Novell.CASA.MiCasa.Communication; + +namespace Novell.CASA +{ + /// + /// Summary description for Secret. + /// + public class Secret : MarshalByRefObject + { + internal IntPtr m_pHsc; + private string m_keyChainID; + private uint m_ssFlags; + internal IntPtr m_secretHandle; + private string m_secretID; + private string m_epPassword = null; + private uint m_iCreateTime = 0; + private uint m_iModifyTime = 0; + private uint m_iAccessTime = 0; + internal int m_type = 0; + + // holds name value pairs for this secret + private System.Collections.Specialized.NameValueCollection m_nvc; + private byte[] m_baValue = null; + + public static int SS_APP = 1; + public static int SS_CREDSET = 2; + public static int SS_BINARY = 4; + + + // constructor + internal Secret( + IntPtr pHSC, + string sKeyChainID, + uint iSSFlags, + IntPtr ptrHandle, + string sSecretID, + int iSecretType, + string sEPPassword) + { + m_pHsc = pHSC; + m_keyChainID = sKeyChainID; + m_ssFlags = iSSFlags; + m_secretHandle = ptrHandle; + m_secretID = sSecretID; + m_epPassword = sEPPassword; + + m_type = iSecretType; + + if (sSecretID.StartsWith("SS_CredSet")) + m_type = Secret.SS_CREDSET; + else if (sSecretID.StartsWith("SS_App")) + m_type = Secret.SS_APP; + else if (sSecretID.StartsWith("SS_Binary")) + m_type = Secret.SS_BINARY; + + // create collection + m_nvc = new System.Collections.Specialized.NameValueCollection(); + + } + + // TO clean up SecretHandle + + public string GetID() + { + return m_secretID; + } + + public void SetKeyValuePair(string sKey, string sKeyValue) + { + if (m_type == Secret.SS_APP) + m_nvc.Add(sKey, sKeyValue); + else + m_nvc.Set(sKey, sKeyValue); + } + + public byte[] GetBinaryValue() + { + return m_baValue; + } + + // used for binary secrets, throws exception if not + public void SetBinaryValue(byte[] baData) + { + // make sure this is a binary secret + if (this.m_type == SS_BINARY) + { + m_baValue = baData; + } + else + { + throw new Exception(); + } + } + + public string[] GetKeyValues(string sKey) + { + return m_nvc.GetValues(sKey); + } + + public string GetKeyValue(string sKey) + { + return m_nvc.Get(sKey); + } + + public int GetSecretType() + { + return this.m_type; + } + +// public string getSecretValue() +// { +// // TODO this is for a raw secret, just an ID and value +// // should be only one key in the NameValueCollection +// } + + public NameValueCollection GetKeyValueCollection() + { + return m_nvc; + } + + public void MergeKeyValueCollection(NameValueCollection nvc) + { + //if (m_nvc == null) + m_nvc = nvc; + } + + public void SetEnhancedProtectionPassword(string sEPPassword) + { + m_epPassword = sEPPassword; + } + + internal string GetEnhancedProtectionPassword() + { + return m_epPassword; + } + + public bool IsEnhancedProtected() + { + if (m_epPassword != null) + return true; + else + return false; + } + + public void RemoveKey(string sKey, uint ctxFlags) + { + //call the ndk to remove that one too. + NativeCalls.RemoveKeyValue(this.m_secretHandle, sKey, m_nvc.Get(sKey), ctxFlags); + + // remove from our collection + m_nvc.Remove(sKey); + } + + internal void SetTimeStamps(uint uiCreated, uint uiModified, uint uiAccessed) + { + m_iCreateTime = uiCreated; + m_iModifyTime = uiModified; + m_iAccessTime = uiAccessed; + } + + public DateTime GetCreateTime() + { + // send request for create time + DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_CREATE_TIME, + this.m_keyChainID, + this.m_secretID, + null, + null); + return dt; + } + + public DateTime GetModifiedTime() + { + // send request for modified time + DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_MODIFIED_TIME, + this.m_keyChainID, + this.m_secretID, + null, + null); + return dt; + } + + public DateTime GetCreateTimeForKey(string sKey) + { + // send request for create time + DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_CREATE_TIME, + this.m_keyChainID, + this.m_secretID, + sKey, + null); + return dt; + } + + public DateTime GetModifiedTimeForKey(string sKey) + { + // send request for modified time + DateTime dt = (DateTime)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_MODIFIED_TIME, + this.m_keyChainID, + this.m_secretID, + sKey, + null); + return dt; + } + private uint GetAccessTime() + { + return m_iAccessTime; + } + + public Hashtable GetLinkedKeys(string sKey) + { + Hashtable htLinkedKeys = (Hashtable)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_LINKED_KEYS, + null, + this.GetID(), + sKey, + null); + + + return htLinkedKeys; + + } + + /* + public DateTime GetKeyModifiedTime(string sKey) + { + return null; + } + + public DateTime GetKeyCreateTime(string sKey) + { + return null; + } + */ + } +} diff --git a/CASA/sharp/NSSCSWrapper/SecretStore.cs b/CASA/sharp/NSSCSWrapper/SecretStore.cs index 2ede0dfe..77f95f8c 100644 --- a/CASA/sharp/NSSCSWrapper/SecretStore.cs +++ b/CASA/sharp/NSSCSWrapper/SecretStore.cs @@ -21,158 +21,158 @@ ***********************************************************************/ -using System; -using System.Collections.Specialized; - - -namespace Novell.CASA -{ - /// - /// Represents the SecretStore - /// - public class SecretStore : MarshalByRefObject - { - private string m_sMasterPassword = null; - public static string SESSION_KEY_CHAIN = "SSCS_SESSION_KEY_CHAIN_ID"; - public static string SERVER_KEY_CHAIN = "SSCS_SERVER_KEY_CHAIN_ID"; - public static string LOCAL_REMOTE_KEY_CHAIN = "SSCS_LOCAL_REMOTE_KEY_CHAIN_ID"; - - public static string SSCS_CONFLICT_KEYCHAIN = "SSCS_CONFLICT_KEYCHAIN_ID"; - - private NativeCalls m_NativeCalls = null; - private IntPtr m_hsc = IntPtr.Zero; - - public SecretStore() - { - DoSetup(); - } - - ~SecretStore() - { - ReleaseInstance(); - } - - private void DoSetup() - { - m_NativeCalls = new NativeCalls(); - m_hsc = m_NativeCalls.OpenSecretStore("SecretStore"); - //Console.WriteLine("Session handle: {0}", m_hsc); - } - - public static SecretStore GetInstance() - { - SecretStore newSS = new SecretStore(); - return newSS; - } - - public void ReleaseInstance() - { - if (m_hsc != IntPtr.Zero) - { - m_NativeCalls.CloseSecretStore(m_hsc); - m_hsc = IntPtr.Zero; - } - } - - /* - public static void ReleaseInstance() - { - // TODO: - - } - */ - - - public Secret GetSecret(string sKeyChainID, uint ssFlags, string sSecretID, int iSecretType, string sEPPassword) - { - if (m_NativeCalls != null) - return m_NativeCalls.GetSecret(m_hsc, sKeyChainID, ssFlags, sSecretID, iSecretType, sEPPassword); - else - return null; - } - - - - public Secret GetSecret(string id) - { - string sSecretId = id; - int iSecretType = Secret.SS_BINARY; - - //Console.WriteLine("GetSecret called for "+id); - if (sSecretId.StartsWith("SS_CredSet")) - { - sSecretId = sSecretId.Substring(11); - iSecretType = Secret.SS_CREDSET; - } - else if (sSecretId.StartsWith("SS_App")) - { - sSecretId = sSecretId.Substring(10); - iSecretType = Secret.SS_APP; - } - - return GetSecret(0, sSecretId, iSecretType, ""); - } - - public Secret GetSecret(uint ssFlags, string sSecretID, int iSecretType, string sEPPassword) - { - return GetSecret(SESSION_KEY_CHAIN, ssFlags, sSecretID, iSecretType, sEPPassword); - } - - public void SetSecret(uint flags, string sKeyChainID, Secret secret, int iSecretType) - { - m_NativeCalls.SetSecret(m_hsc, sKeyChainID, flags, secret, iSecretType); - } - - public void SetSecret(uint flags, Secret secret, int iSecretType) - { - // call the native calls to write this secret - m_NativeCalls.SetSecret(m_hsc, SESSION_KEY_CHAIN, flags, secret, iSecretType); - } - - private void SetSecret(uint flags, string sSecretID, string sEPPassword) - { - //setSecret(flags, SESSION_KEY_CHAIN, sSecretID, sEPPassword); - } - - public void RemoveSecret(uint ssFlags, string sKeyChainID, string sEPPassword, string sSecretID, int iSecretType) - { - m_NativeCalls.RemoveSecret(m_hsc, ssFlags, sKeyChainID, sEPPassword, sSecretID, iSecretType); - } - - public void RemoveSecret(string sSecretID, int iSecretType) - { - RemoveSecret(0, SESSION_KEY_CHAIN, "", sSecretID, iSecretType); - } - - - private void EnumerateKeychainIDs(string sSearchSting) - { - if (m_NativeCalls != null) - { - //m_NativeCalls.enumKeychainIDs(); - } - } - - - public void SetMasterPassword(string sMasterPassword) - { - m_sMasterPassword = sMasterPassword; - } - - public StringCollection EnumerateSecretIDs() - { - return EnumerateSecretIDs(SESSION_KEY_CHAIN); - } - - - public StringCollection EnumerateSecretIDs(string sKeyChainID) - { - return m_NativeCalls.EnumerateSecretIDs(m_hsc, 0, sKeyChainID, ""); - } - public void AddKeyChain(string sKeyChainID) - { - m_NativeCalls.AddKeyChain(m_hsc, 0, sKeyChainID); - } - - } +using System; +using System.Collections.Specialized; + + +namespace Novell.CASA +{ + /// + /// Represents the SecretStore + /// + public class SecretStore : MarshalByRefObject + { + private string m_sMasterPassword = null; + public static string SESSION_KEY_CHAIN = "SSCS_SESSION_KEY_CHAIN_ID"; + public static string SERVER_KEY_CHAIN = "SSCS_SERVER_KEY_CHAIN_ID"; + public static string LOCAL_REMOTE_KEY_CHAIN = "SSCS_LOCAL_REMOTE_KEY_CHAIN_ID"; + + public static string SSCS_CONFLICT_KEYCHAIN = "SSCS_CONFLICT_KEYCHAIN_ID"; + + private NativeCalls m_NativeCalls = null; + private IntPtr m_hsc = IntPtr.Zero; + + public SecretStore() + { + DoSetup(); + } + + ~SecretStore() + { + ReleaseInstance(); + } + + private void DoSetup() + { + m_NativeCalls = new NativeCalls(); + m_hsc = m_NativeCalls.OpenSecretStore("SecretStore"); + //Console.WriteLine("Session handle: {0}", m_hsc); + } + + public static SecretStore GetInstance() + { + SecretStore newSS = new SecretStore(); + return newSS; + } + + public void ReleaseInstance() + { + if (m_hsc != IntPtr.Zero) + { + m_NativeCalls.CloseSecretStore(m_hsc); + m_hsc = IntPtr.Zero; + } + } + + /* + public static void ReleaseInstance() + { + // TODO: + + } + */ + + + public Secret GetSecret(string sKeyChainID, uint ssFlags, string sSecretID, int iSecretType, string sEPPassword) + { + if (m_NativeCalls != null) + return m_NativeCalls.GetSecret(m_hsc, sKeyChainID, ssFlags, sSecretID, iSecretType, sEPPassword); + else + return null; + } + + + + public Secret GetSecret(string id) + { + string sSecretId = id; + int iSecretType = Secret.SS_BINARY; + + //Console.WriteLine("GetSecret called for "+id); + if (sSecretId.StartsWith("SS_CredSet")) + { + sSecretId = sSecretId.Substring(11); + iSecretType = Secret.SS_CREDSET; + } + else if (sSecretId.StartsWith("SS_App")) + { + sSecretId = sSecretId.Substring(10); + iSecretType = Secret.SS_APP; + } + + return GetSecret(0, sSecretId, iSecretType, ""); + } + + public Secret GetSecret(uint ssFlags, string sSecretID, int iSecretType, string sEPPassword) + { + return GetSecret(SESSION_KEY_CHAIN, ssFlags, sSecretID, iSecretType, sEPPassword); + } + + public void SetSecret(uint flags, string sKeyChainID, Secret secret, int iSecretType) + { + m_NativeCalls.SetSecret(m_hsc, sKeyChainID, flags, secret, iSecretType); + } + + public void SetSecret(uint flags, Secret secret, int iSecretType) + { + // call the native calls to write this secret + m_NativeCalls.SetSecret(m_hsc, SESSION_KEY_CHAIN, flags, secret, iSecretType); + } + + private void SetSecret(uint flags, string sSecretID, string sEPPassword) + { + //setSecret(flags, SESSION_KEY_CHAIN, sSecretID, sEPPassword); + } + + public void RemoveSecret(uint ssFlags, string sKeyChainID, string sEPPassword, string sSecretID, int iSecretType) + { + m_NativeCalls.RemoveSecret(m_hsc, ssFlags, sKeyChainID, sEPPassword, sSecretID, iSecretType); + } + + public void RemoveSecret(string sSecretID, int iSecretType) + { + RemoveSecret(0, SESSION_KEY_CHAIN, "", sSecretID, iSecretType); + } + + + private void EnumerateKeychainIDs(string sSearchSting) + { + if (m_NativeCalls != null) + { + //m_NativeCalls.enumKeychainIDs(); + } + } + + + public void SetMasterPassword(string sMasterPassword) + { + m_sMasterPassword = sMasterPassword; + } + + public StringCollection EnumerateSecretIDs() + { + return EnumerateSecretIDs(SESSION_KEY_CHAIN); + } + + + public StringCollection EnumerateSecretIDs(string sKeyChainID) + { + return m_NativeCalls.EnumerateSecretIDs(m_hsc, 0, sKeyChainID, ""); + } + public void AddKeyChain(string sKeyChainID) + { + m_NativeCalls.AddKeyChain(m_hsc, 0, sKeyChainID); + } + + } } \ No newline at end of file diff --git a/CASA/sharp/NSSCSWrapper/miCasaException.cs b/CASA/sharp/NSSCSWrapper/miCasaException.cs index 4e5dc606..b3a2a291 100644 --- a/CASA/sharp/NSSCSWrapper/miCasaException.cs +++ b/CASA/sharp/NSSCSWrapper/miCasaException.cs @@ -20,501 +20,501 @@ * ***********************************************************************/ -using System; - -namespace Novell.CASA -{ - /// - /// Summary description for MiCasaException. - /// - public class miCasaException:Exception - { - - int m_iException = 0; - - public const int NSSCS_E_OBJECT_NOT_FOUND = -800; //0xFFFFFCE0; /* -800 */ - - /** - * NICI operations have failed. - */ - public const int NSSCS_E_NICI_FAILURE = -801; - - /** - * Secret ID is not in the User Secret Store. - */ - public const int NSSCS_E_INVALID_SECRET_ID = -802; - - /** - * Some internal operating system services have not been available. - */ - public const int NSSCS_E_SYSTEM_FAILURE = -803; - - /** - * Access to the target SecretStore has been denied. - */ - public const int NSSCS_E_ACCESS_DENIED = -804; - - /** - * Some internal NDS services have not been available. - */ - public const int NSSCS_E_NDS_INTERNAL_FAILURE = -805; - - /** - * Secret has not been initialized with a write. - */ - public const int NSSCS_E_SECRET_UNINITIALIZED = -806; - - /** - * Size of the buffer is not in a nominal range between minimum and maximum. - */ - public const int NSSCS_E_BUFFER_LEN = -807; - - /** - * Client and server components are not of the compatible versions. - */ - public const int NSSCS_E_INCOMPATIBLE_VERSION = -808; - - /** - * SecretStore data on the server has been corrupted. - */ - public const int NSSCS_E_CORRUPTED_STORE = -809; - - /** - * Secret ID already exists in the Secret Store. - */ - public const int NSSCS_E_SECRET_ID_EXISTS = -810; - - /** - * User NDS password has been changed by the administrator. - */ - public const int NSSCS_E_NDS_PWORD_CHANGED = -811; - - /** - * Target NDS User object not found. - */ - public const int NSSCS_E_INVALID_TARGET_OBJECT = -812; - - /** - * Target NDS User object does not have a SecretStore. - */ - public const int NSSCS_E_STORE_NOT_FOUND = -813; - - /** - * SecretStore not on the Network. - */ - public const int NSSCS_E_SERVICE_NOT_FOUND = -814; - - /** - * Length of the Secret ID buffer exceeds the limit. - */ - public const int NSSCS_E_SECRET_ID_TOO_LONG = -815; - - /** - * Length of the Enumeration buffer too int. - */ - public const int NSSCS_E_ENUM_BUFF_TOO_SHORT = -816; - - /** - * User not authenticated. - */ - public const int NSSCS_E_NOT_AUTHENTICATED = -817; - - /** - * Not supported operations. - */ - public const int NSSCS_E_NOT_SUPPORTED = -818; - - /** - * Typed in NDS password not valid. - */ - public const int NSSCS_E_NDS_PWORD_INVALID = -819; - - /** - * Session keys of the client and server NICI are out of sync. - */ - public const int NSSCS_E_NICI_OUTOF_SYNC = -820; - - /** - * Requested service not supported yet. - */ - public const int NSSCS_E_SERVICE_NOT_SUPPORTED = -821; - - /** - * NDS authentication type not supported. - */ - public const int NSSCS_E_TOKEN_NOT_SUPPORTED = -822; - - /** - * Unicode text conversion operation failed. - */ - public const int NSSCS_E_UNICODE_OP_FAILURE = -823; - - /** - * Connection to server is lost. - */ - public const int NSSCS_E_TRANSPORT_FAILURE = -824; - - /** - * Cryptographic operation failed. - */ - public const int NSSCS_E_CRYPTO_OP_FAILURE = -825; - - /** - * Opening a connection to the server failed. - */ - public const int NSSCS_E_SERVER_CONN_FAILURE = -826; - - /** - * Access to server connection failed. - */ - public const int NSSCS_E_CONN_ACCESS_FAILURE = -827; - - /** - * Size of the enumeration buffer exceeds the limit. - */ - public const int NSSCS_E_ENUM_BUFF_TOO_LONG = -828; - - /** - * Size of the Secret buffer exceeds the limit. - */ - public const int NSSCS_E_SECRET_BUFF_TOO_LONG = -829; - - /** - * Length of the Secret ID should be greater than zero. - */ - public const int NSSCS_E_SECRET_ID_TOO_SHORT = -830; - - /** - * Protocol data corrupted on the wire. - */ - public const int NSSCS_E_CORRUPTED_PACKET_DATA = -831; - - /** - * EP password validation failed. Access to the secret denied! - */ - public const int NSSCS_E_EP_ACCESS_DENIED = -832; - - /** - * Schema is not extended to support SecreStore on the target tree. - */ - public const int NSSCS_E_SCHEMA_NOT_EXTENDED = -833; - - /** - * One of the optional service attributes is not instantiated. - */ - public const int NSSCS_E_ATTR_NOT_FOUND = -834; - - /** - * Server has been upgraded and user SecretStore should be updated. - */ - public const int NSSCS_E_MIGRATION_NEEDED = -835; - - /** - * Master password could not be verified to read or unlock the secrets. - */ - public const int NSSCS_E_MP_PWORD_INVALID = -836; - - /** - * Master password has not been set on the SecretStore. - */ - public const int NSSCS_E_MP_PWORD_NOT_SET = -837; - - /** - * Ability to use master password has been disabled. - */ - public const int NSSCS_E_MP_PWORD_NOT_ALLOWED = -838; - - /** - * Not a writeable replica of NDS. - */ - public const int NSSCS_E_WRONG_REPLICA_TYPE = -839; - - /** - * Target attribute is not instantiated in NDS. - * - * @since 3.0 - */ - public const int NSSCS_E_ATTR_VAL_NOT_FOUND = -840; - - /** - * API parameter is not initialized. - * - * @since 3.0 - */ - public const int NSSCS_E_INVALID_PARAM = -841; - - /** - * Connection to SecretStore needs to be over SSL. - * - * @since 3.0 - */ - public const int NSSCS_E_NEED_SECURE_CHANNEL = -842; - - /** - * No server to support the given override configuration is found. - * - * @since 3.02 - */ - public const int NSSCS_E_CONFIG_NOT_SUPPORTED = -843; - - /** - * Attempt to unlock SecretStore failed because the store is not locked. - * - * @since 3.02 - */ - public const int NSSCS_E_STORE_NOT_LOCKED = -844; - - /** - * NDS Replica on the server that holds SecretStore is out of sync with the replica ring. - * - * @since 3.2 - */ - public const int NSSCS_E_TIME_OUT_OF_SYNC = -845; - - /** - * Versions of the client dlls don't match. - * - * @since 3.2 - */ - public const int NSSCS_E_VERSION_MISMATCH = -846; - - /** - * Buffer supplied for the secret is too short. - * - * @since 3.2 - */ - public const int NSSCS_E_SECRET_BUFF_TOO_SHORT = -847; - - /** - * Shared Secret processing and operations failed. - * - * @since 3.2 - */ - public const int NSSCS_E_SH_SECRET_FAILURE = -848; - - /** - * Shared Secret parser operations failed. - * - * @since 3.2 - */ - public const int NSSCS_E_PARSER_FAILURE = -849; - - /** - * Utf8 string operations failed. - * - * @since 3.2 - */ - public const int NSSCS_E_UTF8_OP_FAILURE = -850; - - /** - * Contextless name for LDAP bind does not resolve to a unique DN. - * - * @since 3.2 - */ - public const int NSSCS_E_CTX_LESS_CN_NOT_UNIQUE = -851; - - /** - * Feature not implemented yet. - */ - public const int NSSCS_E_NOT_IMPLEMENTED = -888; - - /** - * Product's BETA life has expired! Official release copy should be purchased. - */ - public const int NSSCS_E_BETA_EXPIRED = -899; - - - public miCasaException() - { - // - // TODO: Add constructor logic here - // - } - - public miCasaException(int iException) - { - m_iException = iException; - } - - public string GetMessage() - { - return GetMessage(m_iException); - } - - public int GetErrorCode() - { - return m_iException; - } - - public string GetMessage(int iException) - { - switch (iException) - { - case NSSCS_E_OBJECT_NOT_FOUND: - return "Can't find the target object DN in NDS"; - - case NSSCS_E_NICI_FAILURE: - return "NICI operations have failed"; - - case NSSCS_E_INVALID_SECRET_ID: - return "Secret ID is not in the User Secret Store"; - - case NSSCS_E_SYSTEM_FAILURE: - return "Some internal operating system services have not been available"; - - case NSSCS_E_ACCESS_DENIED: - return "Access to the target SecretStore has been denied"; - - case NSSCS_E_NDS_INTERNAL_FAILURE: - return "Some internal NDS services have not been available"; - - case NSSCS_E_SECRET_UNINITIALIZED: - return "Secret has not been initialized with a write"; - - case NSSCS_E_BUFFER_LEN: - return "Size of the buffer is not in a nominal range between minimum and maximum"; - - case NSSCS_E_INCOMPATIBLE_VERSION: - return "Client and server components are not of the compatible versions"; - - case NSSCS_E_CORRUPTED_STORE: - return "SecretStore data on the server has been corrupted"; - - case NSSCS_E_SECRET_ID_EXISTS: - return "Secret ID is already in SecretStore"; - - case NSSCS_E_NDS_PWORD_CHANGED: - return "User NDS password has been changed by the administrator"; - - case NSSCS_E_INVALID_TARGET_OBJECT: - return "Target NDS User object not found"; - - case NSSCS_E_STORE_NOT_FOUND: - return "Target NDS User object does not have a SecretStore"; - - case NSSCS_E_SERVICE_NOT_FOUND: - return "SecretStore not on the Network"; - - case NSSCS_E_SECRET_ID_TOO_LONG: - return "Length of the Secret ID buffer exceeds the limit"; - - case NSSCS_E_ENUM_BUFF_TOO_SHORT: - return "Length of the Enumeration buffer too short"; - - case NSSCS_E_NOT_AUTHENTICATED: - return "User not authenticated"; - - case NSSCS_E_NOT_SUPPORTED: - return "Not supported operations"; - - case NSSCS_E_NDS_PWORD_INVALID: - return "Typed in NDS password not valid"; - - case NSSCS_E_NICI_OUTOF_SYNC: - return "Session keys of the client and server NICI are out of sync"; - - case NSSCS_E_SERVICE_NOT_SUPPORTED: - return "Requested service not supported yet"; - - case NSSCS_E_TOKEN_NOT_SUPPORTED: - return "NDS authentication type not supported"; - - case NSSCS_E_UNICODE_OP_FAILURE: - return "Unicode text conversion operation failed"; - - case NSSCS_E_TRANSPORT_FAILURE: - return "Connection to server is lost"; - - case NSSCS_E_CRYPTO_OP_FAILURE: - return "Cryptographic operation failed"; - - case NSSCS_E_SERVER_CONN_FAILURE: - return "Opening a connection to the server failed"; - - case NSSCS_E_CONN_ACCESS_FAILURE: - return "Access to server connection failed"; - - case NSSCS_E_ENUM_BUFF_TOO_LONG: - return "Size of the enumeration buffer exceeds the limit"; - - case NSSCS_E_SECRET_BUFF_TOO_LONG: - return "Size of the Secret buffer exceeds the limit"; - - case NSSCS_E_SECRET_ID_TOO_SHORT: - return "Length of the Secret ID should be greater than zero"; - - case NSSCS_E_CORRUPTED_PACKET_DATA: - return "Protocol data corrupted on the wire"; - - case NSSCS_E_EP_ACCESS_DENIED: - return "EP password validation failed. Access to the secret denied"; - - case NSSCS_E_SCHEMA_NOT_EXTENDED: - return "Schema is not extended to support SecreStore on the target tree"; - - case NSSCS_E_ATTR_NOT_FOUND: - return "One of the optional service attributes is not instantiated"; - - case NSSCS_E_MIGRATION_NEEDED: - return "Server has been upgraded and user SecretStore should be updated"; - - case NSSCS_E_MP_PWORD_INVALID: - return "Master password could not be verified to read or unlock the secrets"; - - case NSSCS_E_MP_PWORD_NOT_SET: - return "Master password has not been set on the SecretStore"; - - case NSSCS_E_MP_PWORD_NOT_ALLOWED: - return "Ability to use master password has been disabled"; - - case NSSCS_E_WRONG_REPLICA_TYPE: - return "Not a writeable replica of NDS"; - - case NSSCS_E_ATTR_VAL_NOT_FOUND: - return "Target attribute is not instantiated in NDS"; - - case NSSCS_E_INVALID_PARAM: - return "API parameter is not initialized"; - - case NSSCS_E_NEED_SECURE_CHANNEL: - return "Connection to SecretStore needs to be over SSL"; - - case NSSCS_E_CONFIG_NOT_SUPPORTED: - return "No server to support the given override configuration is found"; - - case NSSCS_E_STORE_NOT_LOCKED: - return "Attempt to unlock SecretStore failed because the store is not locked"; - - case NSSCS_E_TIME_OUT_OF_SYNC: - return "NDS Replica on the server that holds SecretStore is out of sync with the replica ring"; - - case NSSCS_E_VERSION_MISMATCH: - return "Versions of the client dlls don't match"; - - case NSSCS_E_SECRET_BUFF_TOO_SHORT: - return "Buffer supplied for the secret is too short"; - - case NSSCS_E_SH_SECRET_FAILURE: - return "Shared Secret processing and operations failed"; - - case NSSCS_E_PARSER_FAILURE: - return "Shared Secret parser operations failed"; - - case NSSCS_E_UTF8_OP_FAILURE: - return "Utf8 string operations failed"; - - case NSSCS_E_CTX_LESS_CN_NOT_UNIQUE: - return "Contextless name for LDAP bind does not resolve to a unique DN"; - - case NSSCS_E_NOT_IMPLEMENTED: - return "Feature not implemented yet"; - - case NSSCS_E_BETA_EXPIRED: - return "Product's BETA life has expired! Official release copy should be purchased"; - } - - return ""; - - } - } -} +using System; + +namespace Novell.CASA +{ + /// + /// Summary description for MiCasaException. + /// + public class miCasaException:Exception + { + + int m_iException = 0; + + public const int NSSCS_E_OBJECT_NOT_FOUND = -800; //0xFFFFFCE0; /* -800 */ + + /** + * NICI operations have failed. + */ + public const int NSSCS_E_NICI_FAILURE = -801; + + /** + * Secret ID is not in the User Secret Store. + */ + public const int NSSCS_E_INVALID_SECRET_ID = -802; + + /** + * Some internal operating system services have not been available. + */ + public const int NSSCS_E_SYSTEM_FAILURE = -803; + + /** + * Access to the target SecretStore has been denied. + */ + public const int NSSCS_E_ACCESS_DENIED = -804; + + /** + * Some internal NDS services have not been available. + */ + public const int NSSCS_E_NDS_INTERNAL_FAILURE = -805; + + /** + * Secret has not been initialized with a write. + */ + public const int NSSCS_E_SECRET_UNINITIALIZED = -806; + + /** + * Size of the buffer is not in a nominal range between minimum and maximum. + */ + public const int NSSCS_E_BUFFER_LEN = -807; + + /** + * Client and server components are not of the compatible versions. + */ + public const int NSSCS_E_INCOMPATIBLE_VERSION = -808; + + /** + * SecretStore data on the server has been corrupted. + */ + public const int NSSCS_E_CORRUPTED_STORE = -809; + + /** + * Secret ID already exists in the Secret Store. + */ + public const int NSSCS_E_SECRET_ID_EXISTS = -810; + + /** + * User NDS password has been changed by the administrator. + */ + public const int NSSCS_E_NDS_PWORD_CHANGED = -811; + + /** + * Target NDS User object not found. + */ + public const int NSSCS_E_INVALID_TARGET_OBJECT = -812; + + /** + * Target NDS User object does not have a SecretStore. + */ + public const int NSSCS_E_STORE_NOT_FOUND = -813; + + /** + * SecretStore not on the Network. + */ + public const int NSSCS_E_SERVICE_NOT_FOUND = -814; + + /** + * Length of the Secret ID buffer exceeds the limit. + */ + public const int NSSCS_E_SECRET_ID_TOO_LONG = -815; + + /** + * Length of the Enumeration buffer too int. + */ + public const int NSSCS_E_ENUM_BUFF_TOO_SHORT = -816; + + /** + * User not authenticated. + */ + public const int NSSCS_E_NOT_AUTHENTICATED = -817; + + /** + * Not supported operations. + */ + public const int NSSCS_E_NOT_SUPPORTED = -818; + + /** + * Typed in NDS password not valid. + */ + public const int NSSCS_E_NDS_PWORD_INVALID = -819; + + /** + * Session keys of the client and server NICI are out of sync. + */ + public const int NSSCS_E_NICI_OUTOF_SYNC = -820; + + /** + * Requested service not supported yet. + */ + public const int NSSCS_E_SERVICE_NOT_SUPPORTED = -821; + + /** + * NDS authentication type not supported. + */ + public const int NSSCS_E_TOKEN_NOT_SUPPORTED = -822; + + /** + * Unicode text conversion operation failed. + */ + public const int NSSCS_E_UNICODE_OP_FAILURE = -823; + + /** + * Connection to server is lost. + */ + public const int NSSCS_E_TRANSPORT_FAILURE = -824; + + /** + * Cryptographic operation failed. + */ + public const int NSSCS_E_CRYPTO_OP_FAILURE = -825; + + /** + * Opening a connection to the server failed. + */ + public const int NSSCS_E_SERVER_CONN_FAILURE = -826; + + /** + * Access to server connection failed. + */ + public const int NSSCS_E_CONN_ACCESS_FAILURE = -827; + + /** + * Size of the enumeration buffer exceeds the limit. + */ + public const int NSSCS_E_ENUM_BUFF_TOO_LONG = -828; + + /** + * Size of the Secret buffer exceeds the limit. + */ + public const int NSSCS_E_SECRET_BUFF_TOO_LONG = -829; + + /** + * Length of the Secret ID should be greater than zero. + */ + public const int NSSCS_E_SECRET_ID_TOO_SHORT = -830; + + /** + * Protocol data corrupted on the wire. + */ + public const int NSSCS_E_CORRUPTED_PACKET_DATA = -831; + + /** + * EP password validation failed. Access to the secret denied! + */ + public const int NSSCS_E_EP_ACCESS_DENIED = -832; + + /** + * Schema is not extended to support SecreStore on the target tree. + */ + public const int NSSCS_E_SCHEMA_NOT_EXTENDED = -833; + + /** + * One of the optional service attributes is not instantiated. + */ + public const int NSSCS_E_ATTR_NOT_FOUND = -834; + + /** + * Server has been upgraded and user SecretStore should be updated. + */ + public const int NSSCS_E_MIGRATION_NEEDED = -835; + + /** + * Master password could not be verified to read or unlock the secrets. + */ + public const int NSSCS_E_MP_PWORD_INVALID = -836; + + /** + * Master password has not been set on the SecretStore. + */ + public const int NSSCS_E_MP_PWORD_NOT_SET = -837; + + /** + * Ability to use master password has been disabled. + */ + public const int NSSCS_E_MP_PWORD_NOT_ALLOWED = -838; + + /** + * Not a writeable replica of NDS. + */ + public const int NSSCS_E_WRONG_REPLICA_TYPE = -839; + + /** + * Target attribute is not instantiated in NDS. + * + * @since 3.0 + */ + public const int NSSCS_E_ATTR_VAL_NOT_FOUND = -840; + + /** + * API parameter is not initialized. + * + * @since 3.0 + */ + public const int NSSCS_E_INVALID_PARAM = -841; + + /** + * Connection to SecretStore needs to be over SSL. + * + * @since 3.0 + */ + public const int NSSCS_E_NEED_SECURE_CHANNEL = -842; + + /** + * No server to support the given override configuration is found. + * + * @since 3.02 + */ + public const int NSSCS_E_CONFIG_NOT_SUPPORTED = -843; + + /** + * Attempt to unlock SecretStore failed because the store is not locked. + * + * @since 3.02 + */ + public const int NSSCS_E_STORE_NOT_LOCKED = -844; + + /** + * NDS Replica on the server that holds SecretStore is out of sync with the replica ring. + * + * @since 3.2 + */ + public const int NSSCS_E_TIME_OUT_OF_SYNC = -845; + + /** + * Versions of the client dlls don't match. + * + * @since 3.2 + */ + public const int NSSCS_E_VERSION_MISMATCH = -846; + + /** + * Buffer supplied for the secret is too short. + * + * @since 3.2 + */ + public const int NSSCS_E_SECRET_BUFF_TOO_SHORT = -847; + + /** + * Shared Secret processing and operations failed. + * + * @since 3.2 + */ + public const int NSSCS_E_SH_SECRET_FAILURE = -848; + + /** + * Shared Secret parser operations failed. + * + * @since 3.2 + */ + public const int NSSCS_E_PARSER_FAILURE = -849; + + /** + * Utf8 string operations failed. + * + * @since 3.2 + */ + public const int NSSCS_E_UTF8_OP_FAILURE = -850; + + /** + * Contextless name for LDAP bind does not resolve to a unique DN. + * + * @since 3.2 + */ + public const int NSSCS_E_CTX_LESS_CN_NOT_UNIQUE = -851; + + /** + * Feature not implemented yet. + */ + public const int NSSCS_E_NOT_IMPLEMENTED = -888; + + /** + * Product's BETA life has expired! Official release copy should be purchased. + */ + public const int NSSCS_E_BETA_EXPIRED = -899; + + + public miCasaException() + { + // + // TODO: Add constructor logic here + // + } + + public miCasaException(int iException) + { + m_iException = iException; + } + + public string GetMessage() + { + return GetMessage(m_iException); + } + + public int GetErrorCode() + { + return m_iException; + } + + public string GetMessage(int iException) + { + switch (iException) + { + case NSSCS_E_OBJECT_NOT_FOUND: + return "Can't find the target object DN in NDS"; + + case NSSCS_E_NICI_FAILURE: + return "NICI operations have failed"; + + case NSSCS_E_INVALID_SECRET_ID: + return "Secret ID is not in the User Secret Store"; + + case NSSCS_E_SYSTEM_FAILURE: + return "Some internal operating system services have not been available"; + + case NSSCS_E_ACCESS_DENIED: + return "Access to the target SecretStore has been denied"; + + case NSSCS_E_NDS_INTERNAL_FAILURE: + return "Some internal NDS services have not been available"; + + case NSSCS_E_SECRET_UNINITIALIZED: + return "Secret has not been initialized with a write"; + + case NSSCS_E_BUFFER_LEN: + return "Size of the buffer is not in a nominal range between minimum and maximum"; + + case NSSCS_E_INCOMPATIBLE_VERSION: + return "Client and server components are not of the compatible versions"; + + case NSSCS_E_CORRUPTED_STORE: + return "SecretStore data on the server has been corrupted"; + + case NSSCS_E_SECRET_ID_EXISTS: + return "Secret ID is already in SecretStore"; + + case NSSCS_E_NDS_PWORD_CHANGED: + return "User NDS password has been changed by the administrator"; + + case NSSCS_E_INVALID_TARGET_OBJECT: + return "Target NDS User object not found"; + + case NSSCS_E_STORE_NOT_FOUND: + return "Target NDS User object does not have a SecretStore"; + + case NSSCS_E_SERVICE_NOT_FOUND: + return "SecretStore not on the Network"; + + case NSSCS_E_SECRET_ID_TOO_LONG: + return "Length of the Secret ID buffer exceeds the limit"; + + case NSSCS_E_ENUM_BUFF_TOO_SHORT: + return "Length of the Enumeration buffer too short"; + + case NSSCS_E_NOT_AUTHENTICATED: + return "User not authenticated"; + + case NSSCS_E_NOT_SUPPORTED: + return "Not supported operations"; + + case NSSCS_E_NDS_PWORD_INVALID: + return "Typed in NDS password not valid"; + + case NSSCS_E_NICI_OUTOF_SYNC: + return "Session keys of the client and server NICI are out of sync"; + + case NSSCS_E_SERVICE_NOT_SUPPORTED: + return "Requested service not supported yet"; + + case NSSCS_E_TOKEN_NOT_SUPPORTED: + return "NDS authentication type not supported"; + + case NSSCS_E_UNICODE_OP_FAILURE: + return "Unicode text conversion operation failed"; + + case NSSCS_E_TRANSPORT_FAILURE: + return "Connection to server is lost"; + + case NSSCS_E_CRYPTO_OP_FAILURE: + return "Cryptographic operation failed"; + + case NSSCS_E_SERVER_CONN_FAILURE: + return "Opening a connection to the server failed"; + + case NSSCS_E_CONN_ACCESS_FAILURE: + return "Access to server connection failed"; + + case NSSCS_E_ENUM_BUFF_TOO_LONG: + return "Size of the enumeration buffer exceeds the limit"; + + case NSSCS_E_SECRET_BUFF_TOO_LONG: + return "Size of the Secret buffer exceeds the limit"; + + case NSSCS_E_SECRET_ID_TOO_SHORT: + return "Length of the Secret ID should be greater than zero"; + + case NSSCS_E_CORRUPTED_PACKET_DATA: + return "Protocol data corrupted on the wire"; + + case NSSCS_E_EP_ACCESS_DENIED: + return "EP password validation failed. Access to the secret denied"; + + case NSSCS_E_SCHEMA_NOT_EXTENDED: + return "Schema is not extended to support SecreStore on the target tree"; + + case NSSCS_E_ATTR_NOT_FOUND: + return "One of the optional service attributes is not instantiated"; + + case NSSCS_E_MIGRATION_NEEDED: + return "Server has been upgraded and user SecretStore should be updated"; + + case NSSCS_E_MP_PWORD_INVALID: + return "Master password could not be verified to read or unlock the secrets"; + + case NSSCS_E_MP_PWORD_NOT_SET: + return "Master password has not been set on the SecretStore"; + + case NSSCS_E_MP_PWORD_NOT_ALLOWED: + return "Ability to use master password has been disabled"; + + case NSSCS_E_WRONG_REPLICA_TYPE: + return "Not a writeable replica of NDS"; + + case NSSCS_E_ATTR_VAL_NOT_FOUND: + return "Target attribute is not instantiated in NDS"; + + case NSSCS_E_INVALID_PARAM: + return "API parameter is not initialized"; + + case NSSCS_E_NEED_SECURE_CHANNEL: + return "Connection to SecretStore needs to be over SSL"; + + case NSSCS_E_CONFIG_NOT_SUPPORTED: + return "No server to support the given override configuration is found"; + + case NSSCS_E_STORE_NOT_LOCKED: + return "Attempt to unlock SecretStore failed because the store is not locked"; + + case NSSCS_E_TIME_OUT_OF_SYNC: + return "NDS Replica on the server that holds SecretStore is out of sync with the replica ring"; + + case NSSCS_E_VERSION_MISMATCH: + return "Versions of the client dlls don't match"; + + case NSSCS_E_SECRET_BUFF_TOO_SHORT: + return "Buffer supplied for the secret is too short"; + + case NSSCS_E_SH_SECRET_FAILURE: + return "Shared Secret processing and operations failed"; + + case NSSCS_E_PARSER_FAILURE: + return "Shared Secret parser operations failed"; + + case NSSCS_E_UTF8_OP_FAILURE: + return "Utf8 string operations failed"; + + case NSSCS_E_CTX_LESS_CN_NOT_UNIQUE: + return "Contextless name for LDAP bind does not resolve to a unique DN"; + + case NSSCS_E_NOT_IMPLEMENTED: + return "Feature not implemented yet"; + + case NSSCS_E_BETA_EXPIRED: + return "Product's BETA life has expired! Official release copy should be purchased"; + } + + return ""; + + } + } +} diff --git a/CASA/sharp/NSSCSWrapper/objs.lux b/CASA/sharp/NSSCSWrapper/objs.lux deleted file mode 100644 index d13006e9..00000000 --- a/CASA/sharp/NSSCSWrapper/objs.lux +++ /dev/null @@ -1,10 +0,0 @@ -OBJS=\ - AssemblyInfo\ - miCasaException\ - BasicCredential\ - miCASA\ - AssemblyInfo\ - NativeCalls\ - Secret\ - SecretStore - diff --git a/CASA/sharp/NSSCSWrapper/objs.w32 b/CASA/sharp/NSSCSWrapper/objs.w32 deleted file mode 100644 index b13b64d0..00000000 --- a/CASA/sharp/NSSCSWrapper/objs.w32 +++ /dev/null @@ -1,9 +0,0 @@ -OBJS=\ - miCasaException\ - BasicCredential\ - miCASA\ - AssemblyInfo\ - NativeCalls\ - Secret\ - SecretStore - diff --git a/CASA/sharp/NSSCSWrapper/src.lux b/CASA/sharp/NSSCSWrapper/src.lux deleted file mode 100644 index e7d07a58..00000000 --- a/CASA/sharp/NSSCSWrapper/src.lux +++ /dev/null @@ -1,10 +0,0 @@ -SRC=\ - AssemblyInfo.cs\ - miCasaException.cs\ - BasicCredential.cs\ - miCASA.cs\ - AssemblyInfo.cs\ - NativeCalls.cs\ - Secret.cs\ - SecretStore.cs - diff --git a/CASA/sharp/NSSCSWrapper/src.w32 b/CASA/sharp/NSSCSWrapper/src.w32 deleted file mode 100644 index fff3a281..00000000 --- a/CASA/sharp/NSSCSWrapper/src.w32 +++ /dev/null @@ -1,9 +0,0 @@ -SRC=\ - miCasaException.cs\ - BasicCredential.cs\ - miCASA.cs\ - AssemblyInfo.cs\ - NativeCalls.cs\ - Secret.cs\ - SecretStore.cs - diff --git a/CASA/tools/linux/abldimg32 b/CASA/tools/linux/abldimg32 deleted file mode 100755 index 298ce4e3..00000000 --- a/CASA/tools/linux/abldimg32 +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -source /opt/SuSE/bin/.profile -export BUILD_DIST=i386 build -sudo build --clean - diff --git a/CASA/tools/linux/abldimg64 b/CASA/tools/linux/abldimg64 deleted file mode 100755 index 1fef7c7d..00000000 --- a/CASA/tools/linux/abldimg64 +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -source /opt/SuSE/bin/.profile -export BUILD_DIST=x86_64 -sudo build --clean - diff --git a/CASA/tools/linux/mk-casa-tar b/CASA/tools/linux/mk-casa-tar deleted file mode 100755 index e5eb6059..00000000 --- a/CASA/tools/linux/mk-casa-tar +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/bash -#set -x -if [ $# -gt 2 ] > /dev/null 2>&1 -then -echo Working... - -#create build temp directory -mkdir -p ~/bld_tst -rm -rf ~/bld_tst/* -mkdir -p ~/bld_tst/CASA-$1.$2.$3 - -#copy the source to build temp directory -cd ../.. -cp -R ./* ~/bld_tst/CASA-$1.$2.$3 - -#go to build temp directory -cd ~/bld_tst/CASA-$1.$2.$3 - -#do dos2unx and remove unncessary directory - -dos2unix micasad/startup/micasad > /dev/null 2>&1 -chmod +x micasad/startup/micasad -rm -rf products bin bin64 lib lib64 obj obj64 - -find . -name "*.lux" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs dos2unix > /dev/null 2>&1 -find . -name "mk*" | xargs chmod +x > /dev/null 2>&1 -find . -name "Make*" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.c" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cs" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cpp" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.java" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.h" | xargs dos2unix > /dev/null 2>&1 -find . -name "link*" | xargs dos2unix > /dev/null 2>&1 -find . -name ".svn" | xargs rm -rf > /dev/null 2>&1 -find . -name "*.sh" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.sh" | xargs chmod +x > /dev/null 2>&1 -find . -name "*ver.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*build.txt" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.mak" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.cl" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.spec" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.patch" | xargs dos2unix > /dev/null 2>&1 -find . -name "*.changes" | xargs dos2unix > /dev/null 2>&1 - -#create spec file from spec template -cp -f ./package/linux/CASA.spec.in ./package/linux/CASA.spec -cp -f ./CASA.changes ./package/linux/CASA.changes - -#do create spec file -cd ./package/linux -dos2unix CASA.spec CASA.changes > /dev/null 2>&1 -sed -i "s/@VERSION@/$1\.$2\.$3/" CASA.spec -sed -i "s/@PACKAGE@/CASA/" CASA.spec -cd ~/bld_tst/CASA-$1.$2.$3 -sed -i "s/\(AM_INIT_AUTOMAKE.*\))/\AM_INIT_AUTOMAKE\(CASA, 1\.6\.$SVN_REVISION\)/" ./configure.in - -#create source tar file -cd ~/bld_tst -tar cjf CASA-$1.$2.$3.tar.bz2 ./CASA-$1.$2.$3/ > /dev/null 2>&1 - -#copy the tar,spec,changes file to package directory. -cd CASA-$1.$2.$3 -mkdir -p SOURCE -cp -f ../CASA-$1.$2.$3.tar.bz2 ./SOURCE -cp -f ./package/linux/CASA.spec ./SOURCE -cp -f ./CASA.changes ./SOURCE - -#copy abldimg -cd ~/bld_tst/CASA-$1.$2.$3/tools/linux -chmod +x abldimg32 abldimg64 -ARCH=`uname -a | grep -c 64` -if [ $ARCH -gt 0 ] > /dev/null 2>&1 -then cp -f ./abldimg32 ~/bld_tst/CASA-$1.$2.$3/SOURCE -else -cp -f ./abldimg64 ~/bld_tst/CASA-$1.$2.$3/SOURCE -fi -echo Done! - -else -echo -echo Usage: mk-casa-tar maj min bld [d] -echo maj = major version number -echo min = minor version number -echo bld = svn bld revision number -echo "d = debug rpm (optional)" -echo example = mk-patch-tar 1 5 187 -echo example = mk-patch-tar 2 5 236 d -echo -fi diff --git a/CASA/tools/w32/VersionVDProj/App.cs b/CASA/tools/w32/VersionVDProj/App.cs deleted file mode 100644 index 40577c7d..00000000 --- a/CASA/tools/w32/VersionVDProj/App.cs +++ /dev/null @@ -1,105 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -// -// copyright 2003 Don Kackman - mailto:dkackman_2000@yahoo.com -// -// no warranty expressed or implied -// use however you'd like -// -using System; - -namespace VersionVDProj -{ - /// - /// This is the class that has the Main method. This class is responsible for parsing command line - /// arguments and dispatching them to the correct classes - /// - class App - { - /// - /// The main entry point for the application. - /// - [STAThread] - static int Main(string[] args) - { - if ( args.Length != 0 ) - { - try - { - ArgumentParser arguments = new ArgumentParser( args ); - VDProjectVersioner versioner = null; - - switch ( arguments.Command ) - { - case "msi": - versioner = new MSIProjectVersioner( arguments.ProjectFile ); - break; - case "msm": - versioner = new MSMProjectVersioner( arguments.ProjectFile ); - break; - default: - throw new Exception( string.Format( "Unrecognized command {0}", arguments.Command ) ); - } - - versioner.UpdateFile( arguments.Options ); - return 0; - } - catch ( Exception e ) - { - Console.WriteLine( "ERROR" ); - Console.WriteLine( e.Message ); - return 1; - } - } - - // with no arguments show the usage - ShowUsage(); - return 0; - } - - private static void ShowUsage() - { - Console.WriteLine( "VersionVDProj -msi version= [package=]" ); - Console.WriteLine( "\t[product=] [upgrade=]" ); - Console.WriteLine( "The -msi switch is used for updating MSI installer projects" ); - Console.WriteLine( "" ); - Console.WriteLine( " is the path to the vdproj file (without braces)" ); - Console.WriteLine( " is the version to use in format #.#.# (without braces)" ); - Console.WriteLine( " Optional package guid (if not specified will be auto-generated)" ); - Console.WriteLine( " Optional product guid (if not specified will be set to the" ); - Console.WriteLine( "\tsame value used to set the package guid)" ); - Console.WriteLine( " Optional upgrade guid (if not specified the upgrade code will" ); - Console.WriteLine( "\tnot be modified)" ); - Console.WriteLine( "" ); - Console.WriteLine( "VersionVDProj -msm version= [signature=]" ); - Console.WriteLine( "The -msm switch is used for updating merge module projects" ); - Console.WriteLine( "" ); - Console.WriteLine( " is the path to the vdproj file (without braces)" ); - Console.WriteLine( " is the version to use in format #.#.# (without braces)" ); - Console.WriteLine( " Optional unique id for the merge module (if not specified a guid" ); - Console.WriteLine( "\tbased signature will be auto-generated)" ); - Console.WriteLine( "" ); - Console.WriteLine( "Named arguments can be specified in any order" ); - } - } -} diff --git a/CASA/tools/w32/VersionVDProj/App.ico b/CASA/tools/w32/VersionVDProj/App.ico deleted file mode 100644 index 3a5525fd..00000000 Binary files a/CASA/tools/w32/VersionVDProj/App.ico and /dev/null differ diff --git a/CASA/tools/w32/VersionVDProj/ArgumentParser.cs b/CASA/tools/w32/VersionVDProj/ArgumentParser.cs deleted file mode 100644 index 3ad2e449..00000000 --- a/CASA/tools/w32/VersionVDProj/ArgumentParser.cs +++ /dev/null @@ -1,82 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -using System; -using System.IO; -using System.Collections; - -namespace VersionVDProj -{ - /// - /// Summary description for ArgumentParser. - /// - public class ArgumentParser - { - public readonly Hashtable Options; - public readonly string Command; - public readonly FileInfo ProjectFile; - - public ArgumentParser( string[] args ) - { - Options = new Hashtable(); - - if ( args.Length < 2 ) - throw new Exception( "Wrong number of arguments" ); - - Command = ParseCommand( args[0] ); - ProjectFile = ParseFileName( args[1] ); - - for ( int i = 2; i < args.Length; i++ ) - ParseArgument( args[i] ); - } - - private string ParseCommand( string command ) - { - if ( command.Substring( 0, 1 ) != "-" ) - throw new Exception( string.Format( "Unrecognized command {0}", command ) ); - - return command.Substring( 1 ).ToLower(); - } - - private FileInfo ParseFileName( string path ) - { - FileInfo file = new FileInfo( path ); - if ( !file.Exists ) - throw new Exception( string.Format( "The file {0} could not be found", path ) ); - - return file; - } - - private void ParseArgument( string arg ) - { - int eqPos = arg.IndexOf( '=', 0 ); - - if ( eqPos == -1 ) - throw new Exception( string.Format( "The argument {0} is not in the format NAME=VALUE", arg ) ); - - string name = arg.Substring( 0, eqPos ); - string val = arg.Substring( eqPos + 1 ); - - Options.Add( name.ToLower(), val ); - } - } -} diff --git a/CASA/tools/w32/VersionVDProj/AssemblyInfo.cs b/CASA/tools/w32/VersionVDProj/AssemblyInfo.cs deleted file mode 100644 index c5fedddf..00000000 --- a/CASA/tools/w32/VersionVDProj/AssemblyInfo.cs +++ /dev/null @@ -1,86 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -// -// copyright 2003 Don Kackman - mailto:dkackman_2000@yahoo.com -// -// no warranty expressed or implied -// use however you'd like -// -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("Deployment Project Versioning Tool")] -[assembly: AssemblyDescription("Updates the version and guid of Visual Studio.Net deployment projects")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("2003 Don Kackman")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: - -[assembly: AssemblyVersion("1.0.*")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/CASA/tools/w32/VersionVDProj/MSIProjectVersioner.cs b/CASA/tools/w32/VersionVDProj/MSIProjectVersioner.cs deleted file mode 100644 index 86df039c..00000000 --- a/CASA/tools/w32/VersionVDProj/MSIProjectVersioner.cs +++ /dev/null @@ -1,93 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ - -// -// copyright 2003 Don Kackman - mailto:dkackman_2000@yahoo.com -// -// no warranty expressed or implied -// use however you'd like -// -using System; -using System.IO; -using System.Collections; - -namespace VersionVDProj -{ - /// - /// Class that updates the version info of MSI projects - /// - public class MSIProjectVersioner : VDProjectVersioner - { - private readonly static Guid MSI_PROJECT_TYPE = new Guid( "{978C614F-708E-4E1A-B201-565925725DBA}" ); - - private Guid productCode = Guid.Empty; - private Guid packageCode = Guid.Empty; - private Guid upgradeCode = Guid.Empty; - /// - /// createas a new instance of the class - /// - /// the project file - public MSIProjectVersioner( FileInfo file ) : base( file, MSI_PROJECT_TYPE ) - { - - } - - protected override void SetOptions( Hashtable options ) - { - // get the package code - generate if not specified - if ( options.Contains("packagecode") ) - packageCode = new Guid( options["packagecode"].ToString() ); - else - packageCode = Guid.NewGuid(); - - // get the product code - set to package code if not specified - if ( options.Contains("productcode") ) - productCode = new Guid( options["productcode"].ToString() ); - else - productCode = packageCode; - - // get the upgrade code - leave empty if not specified - if ( options.Contains("upgradecode") ) - upgradeCode = new Guid( options["upgradecode"].ToString() ); - } - - protected override string TranslateLine( string line ) - { - // look for the properties we are interested in changing - // if we find them, replace the old value with the new and return the new line string - // otherwise just return the line string - if ( line.IndexOf( "\"ProductVersion\"" ) != -1 ) - line = ReplaceValue( line, "ProductVersion", version.ThreePartVersion ); - - else if ( productCode != Guid.Empty && line.IndexOf( "\"ProductCode\"" ) != -1 ) - line = ReplaceValue( line, "ProductCode", "{" + productCode.ToString().ToUpper() + "}" ); - - else if ( packageCode != Guid.Empty && line.IndexOf( "\"PackageCode\"" ) != -1 ) - line = ReplaceValue( line, "PackageCode", "{" + packageCode.ToString().ToUpper() + "}" ); - - else if ( upgradeCode != Guid.Empty && line.IndexOf( "\"UpgradeCode\"" ) != -1 ) - line = ReplaceValue( line, "UpgradeCode", "{" + upgradeCode.ToString().ToUpper() + "}" ); - - return line; - } - } -} diff --git a/CASA/tools/w32/VersionVDProj/MSMProjectVersioner.cs b/CASA/tools/w32/VersionVDProj/MSMProjectVersioner.cs deleted file mode 100644 index 01adff84..00000000 --- a/CASA/tools/w32/VersionVDProj/MSMProjectVersioner.cs +++ /dev/null @@ -1,76 +0,0 @@ -/*********************************************************************** - * - * Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 - * of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, Novell, Inc. - * - * To contact Novell about this file by physical or electronic mail, - * you may find current contact information at www.novell.com. - * - ***********************************************************************/ -// -// copyright 2003 Don Kackman - mailto:dkackman_2000@yahoo.com -// -// no warranty expressed or implied -// use however you'd like -// - -using System; -using System.IO; -using System.Collections; - -namespace VersionVDProj -{ - /// - /// Class that updates the version info of merge module projects - /// - public class MSMProjectVersioner : VDProjectVersioner - { - private readonly static Guid MSM_PROJECT_TYPE = new Guid( "{DD7A5B58-C2F9-40FF-B2EF-0773356FB978}" ); - - private string signature; - - /// - /// createas a new instance of the class - /// - /// the project file - public MSMProjectVersioner( FileInfo file ) : base( file, MSM_PROJECT_TYPE ) - { - } - - protected override void SetOptions( Hashtable options ) - { - // get the signature - generate if not specified - if ( options.Contains( "signature" ) ) - signature = options[signature].ToString(); - else - signature = "MergeModule." + Guid.NewGuid().ToString().ToUpper().Replace( "-", "" ); - } - - protected override string TranslateLine( string line ) - { - // look for the properties we are interested in changing - // if we find them, replace the old value with the new and return the new line string - // otherwise just return the line string - if ( line.IndexOf( "\"Version\"" ) != -1 ) - line = ReplaceValue( line, "Version", version.FourPartVersion ); - - // module signature cannot have dashes - else if ( line.IndexOf( "\"ModuleSignature\"" ) != -1 ) - line = ReplaceValue( line, "ModuleSignature", signature ); - - return line; - } - } -} diff --git a/CASA/tools/w32/VersionVDProj/README b/CASA/tools/w32/VersionVDProj/README deleted file mode 100644 index b4c63c7b..00000000 --- a/CASA/tools/w32/VersionVDProj/README +++ /dev/null @@ -1,21 +0,0 @@ -This is a command line utility that updates the version and GUID of VS.NET project files. - -The source for this tool has been downloaded from the following site. - -http://www.codeproject.com/dotnet/VersionVDProj.asp#xx1436860xx - -The copy right associated with this tool is as followings: - -//////////////////////////////////////////////////////////////// -// copyright 2003 Don Kackman - mailto:dkackman_2000@yahoo.com -// -// no warranty expressed or implied -// use however you'd like -//////////////////////////////////////////////////////////////// - - -4/14/2006 - -10/18/2006 change MSI_PROJECT_TYPE to work with VS 2006 - - diff --git a/CASA/tools/w32/VersionVDProj/VersionVDProj.csproj b/CASA/tools/w32/VersionVDProj/VersionVDProj.csproj deleted file mode 100644 index 4f848ea1..00000000 --- a/CASA/tools/w32/VersionVDProj/VersionVDProj.csproj +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.exe b/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.exe deleted file mode 100755 index a5233e57..00000000 Binary files a/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.exe and /dev/null differ diff --git a/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.pdb b/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.pdb deleted file mode 100644 index 105161d1..00000000 Binary files a/CASA/tools/w32/VersionVDProj/bin/VersionVDProj.pdb and /dev/null differ diff --git a/CASA/winbuild.bat b/CASA/winbuild.bat deleted file mode 100755 index 24cf2f9d..00000000 --- a/CASA/winbuild.bat +++ /dev/null @@ -1,2 +0,0 @@ -set JAVA_HOME=C:\JDK15~1.0_1 -build_config\win64\builduser.cmd %SVN_REVISION%