commit b1f1665c72279f3cdc8a778b20ccf897442e6d9e Author: Bruce Guenter Date: Sat Jan 31 07:59:23 2015 -0600 Fix #include in sqlite module cvm-sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 774d6ab7042e1396208c51b1136f2793829731c3 Author: Bruce Guenter Date: Fri Jan 30 15:55:21 2015 -0600 Bump version to 0.97 NEWS | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit eb99f913562bcc93f83ff3f9a3102388881d423e Author: Bruce Guenter Date: Fri Jan 30 14:27:44 2015 -0600 Update #includes and libs for bglibs v2 NEWS | 2 ++ client_setenv.c | 2 +- client_xfer_command.c | 2 +- client_xfer_compat.c | 2 +- client_xfer_local.c | 4 ++-- client_xfer_udp.c | 4 ++-- cvm-benchclient.c | 4 ++-- cvm-chain.c | 2 +- cvm-checkpassword.c | 4 ++-- cvm-mysql.c | 2 +- cvm-pgsql.c | 2 +- cvm-pwfile.c | 6 +++--- cvm-qmail.c | 6 +++--- cvm-sqlite.c | 4 ++-- cvm-testclient.c | 8 ++++---- cvm-unix.c | 2 +- cvm-v1benchclient.c | 4 ++-- cvm-v1checkpassword.c | 4 ++-- cvm-v1testclient.c | 8 ++++---- cvm-vmailmgr-local=x | 1 + cvm-vmailmgr-udp=x | 1 + cvm-vmailmgr.c | 14 +++++++------- cvm-vmailmgr=x | 1 + getpwnam.c | 2 +- module.h | 2 +- module_local.c | 6 +++--- module_local_main.c | 2 +- module_main.c | 2 +- module_udp.c | 4 ++-- module_udp_main.c | 2 +- qmail-domains.c | 8 ++++---- qmail-dotfile.c | 4 ++-- qmail-lookup.c | 2 +- qmail-users.c | 10 +++++----- qmail.h | 2 +- random.c | 6 +++--- sasl-auth-test.c | 6 +++--- sasl.h | 2 +- sasl_auth.c | 8 ++++---- sasl_cram_md5.c | 2 +- sasl_init.c | 2 +- sql-auth.c | 2 +- sql-query-test.c | 4 ++-- sql-query.c | 2 +- sql.h | 2 +- v1client.c | 4 ++-- v2client.c | 8 ++++---- v2client.h | 2 +- vmautoconvert.c | 12 ++++++------ vmlookup.c | 14 +++++++------- 50 files changed, 108 insertions(+), 103 deletions(-) commit d2b8a90683d3e2652c3d24d38b36e77f6f1ddf04 Author: Bruce Guenter Date: Fri Jan 30 14:27:26 2015 -0600 Fixup for spac in Python3 programs.spac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f25821a43086466074a39baaca8b9a5f534b3e36 Author: Bruce Guenter Date: Fri Jan 30 11:08:56 2015 -0600 README: Note development sources moved to github README.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0cd94285563cc1f82297720dd988d5c78cef541d Author: Bruce Guenter Date: Thu Jan 21 16:47:49 2010 -0600 Update copyright year to 2010 client_domain.c | 2 +- client_setenv.c | 2 +- client_setugid.c | 2 +- client_xfer_command.c | 2 +- client_xfer_compat.c | 2 +- client_xfer_local.c | 2 +- client_xfer_udp.c | 2 +- cvm-benchclient.c | 2 +- cvm-checkpassword.c | 2 +- cvm-mysql.c | 2 +- cvm-pgsql.c | 2 +- cvm-pwfile.c | 2 +- cvm-qmail.c | 2 +- cvm-sqlite.c | 3 ++- cvm-testclient.c | 2 +- cvm-unix.c | 2 +- cvm-v1benchclient.c | 2 +- cvm-v1checkpassword.c | 2 +- cvm-v1testclient.c | 2 +- cvm-vmailmgr.c | 2 +- errors.c | 2 +- facts.c | 2 +- getpwnam.c | 2 +- module_command.c | 2 +- module_command_main.c | 2 +- module_local.c | 2 +- module_local_main.c | 2 +- module_log.c | 2 +- module_main.c | 2 +- module_output.c | 2 +- module_request.c | 2 +- module_udp.c | 2 +- module_udp_main.c | 2 +- qmail-domains.c | 2 +- qmail-dotfile.c | 2 +- qmail-init.c | 2 +- qmail-lookup.c | 2 +- qmail-users.c | 2 +- random.c | 2 +- sql-auth.c | 2 +- sql-query.c | 2 +- v1client.c | 2 +- v2client.c | 2 +- v2client_wrappers.c | 2 +- vmautoconvert.c | 2 +- vmlookup.c | 2 +- 46 files changed, 47 insertions(+), 46 deletions(-) commit c37eb0fddec9541b9e388cf6b996e169e9e79648 Author: Bruce Guenter Date: Thu Jan 21 16:38:13 2010 -0600 Add casts to eliminate pointer sign mismatch warnings client_xfer_udp.c | 4 ++-- module_command.c | 2 +- module_output.c | 2 +- module_request.c | 4 ++-- module_udp.c | 5 +++-- sasl_auth.c | 3 ++- v1client.c | 4 ++-- v2client.c | 2 +- vmautoconvert.c | 4 ++-- 9 files changed, 16 insertions(+), 14 deletions(-) commit 97d65c1536a272b5bd003f13347b59c71bf6f404 Author: Bruce Guenter Date: Thu Jan 21 16:34:53 2010 -0600 Ignore ltcompile instead of libcompile .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 558ac2703d56c0f37ab9b496a778a3c5a8db3ce4 Author: Bruce Guenter Date: Thu Jan 21 13:43:54 2010 -0600 qmail-domains: Merge load_locals and load_vdomains qmail-domains.c | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) commit 7445d974a86ea9b9e12754631b8750eb22ea603e Author: Bruce Guenter Date: Tue Jan 19 18:04:46 2010 -0600 qmail-domains: Fix reloading qmail locals/virtualdomains if they are deleted TODO | 4 ---- qmail-domains.c | 24 ++++++++++++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) commit 11377e2806a35a6a1b4e777e223a0ec38759000d Author: Bruce Guenter Date: Thu Jan 14 14:43:07 2010 -0600 qmail-domains: Fix to not die if control/locals is missing NEWS | 2 ++ TODO | 4 ++++ qmail-domains.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) commit 5cca802019a21a964893d81147fe45258774b4e3 Author: Bruce Guenter Date: Mon Jan 11 22:38:54 2010 -0600 Add support for I/O timeouts to local modules NEWS | 2 ++ cvm.html | 4 +++- module.h | 1 + module_local.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 54 insertions(+), 3 deletions(-) commit 0021c0210799072b07627ebcfc703d7d302a09d6 Author: Bruce Guenter Date: Mon Jan 11 11:06:38 2010 -0600 Add TODO note about SQL prepare/execute idea TODO | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit fa31274aab5dd945ffa0afaf7d0fc14817c4f051 Author: Bruce Guenter Date: Mon Jan 11 10:49:17 2010 -0600 cvm-qmail: Add permission checking with seteuid NEWS | 3 +++ cvm-qmail.c | 26 +++++++++++++++++++++++++- cvm-qmail.html | 7 +++++++ tests/qmail-lookup-perms | 40 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 tests/qmail-lookup-perms commit 7ef7b8205bae3da7ce939dc48bf7603d083eecb5 Author: Bruce Guenter Date: Fri Jan 8 23:49:54 2010 -0600 Move the fake qmail home directory into a subdirectory in tests tests.inc | 24 +++++++++++++--------- tests/chain-client | 6 +++--- tests/chain-module | 6 +++--- tests/qmail-lookup | 48 ++++++++++++++++++++++---------------------- tests/qmail-lookup-assume | 6 +++--- tests/qmail-lookup-lookaside | 8 ++++---- tests/qmail-lookup-nodomain | 6 +++--- tests/split | 30 +++++++++++++-------------- tests/vmailmgr-normal | 6 +++--- tests/vmailmgr-upper-domain | 6 +++--- tests/vmailmgr-upper-virt | 6 +++--- tests/vmailmgr-xconvert | 14 ++++++------- tests/vmlookup-normal | 6 +++--- tests/vmlookup-notable | 8 ++++---- tests/vmlookup-pass | 6 +++--- tests/vmlookup-upper-domain | 6 +++--- tests/vmlookup-upper-virt | 6 +++--- 17 files changed, 101 insertions(+), 97 deletions(-) commit b27df59e84eb49d6ffc4400493b9aa4c1384bd6a Author: Bruce Guenter Date: Mon Feb 16 15:47:50 2009 -0600 Fix the SQLite module to copy the row data in the callback function. NEWS | 2 ++ cvm-sqlite.c | 22 +++++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) commit c6d7cd76e97053ed121b2230d997ab8fb649baad Author: Bruce Guenter Date: Mon Feb 16 10:48:42 2009 -0600 Added note about SQLite module to the README. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da87c9476edbba5173ff7c7f66b1603a46222386 Author: Bruce Guenter Date: Mon Feb 16 16:28:36 2009 -0600 Bumped version to 0.96 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit bbecd1a5b5220844abc75f8efdb568f60618122f Author: Bruce Guenter Date: Tue Jan 13 22:50:30 2009 -0600 Bumped version to 0.95 NEWS | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5e7732cf3d7d3e6b92a2606566600d33b3e36ece Author: Bruce Guenter Date: Tue Jan 13 22:49:45 2009 -0600 Added note about cvm-sqlite to the NEWS file. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 897a02f57ab67b9c2ed14b08d06ef5c3eb7d7496 Author: Bruce Guenter Date: Tue Jan 13 22:47:20 2009 -0600 Wayne placed cvm-sqlite in the public domain; I added some slight touchups. Date: Tue, 13 Jan 2009 10:02:55 +0000 From: Wayne Marshall To: Bruce Guenter Subject: Re: cvm-sqlite Message-ID: <20090113100255.162456ba@alloy.copperisle.com> Hi Bruce, > > I was just going to push out a new version of cvm, and noticed I hadn't > merged the SQLite module yet. I noticed the sources I had downloaded > from your site don't have any copyright notice on them. Please publish > a version that has a copyright compatible with the GPLv2, or send me a > note assigning copyright to me, so I can include this in the main cvm > package. > Please consider the sources as public domain. Best regards, Wayne cvm-sqlite.c | 36 +++++++++++++++++++----------------- cvm-sqlite.html | 21 +++++---------------- 2 files changed, 24 insertions(+), 33 deletions(-) commit 94de1ef0deca5d6ae5ae3b84d91a8f3e209fa123 Author: Bruce Guenter Date: Tue Jan 13 22:45:02 2009 -0600 Added self tests for the SQLite CVM. tests.inc | 28 ++++++++++++++++++++++++++++ tests/sqlite | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 tests/sqlite commit e0d62ae6da1642506c20ce38bce27be7b501b4fe Author: Bruce Guenter Date: Mon Jan 12 14:39:59 2009 -0600 Skip cvm-sqlite in the main "programs" target. programs.spac | 1 + 1 file changed, 1 insertion(+) commit c125a76f2e75ca7a39c7ce69d3ccdc871b7ab4fa Author: Bruce Guenter Date: Mon Jan 12 14:39:27 2009 -0600 Fixed some compiler warnings about unused parameters in cvm-sqlite.c cvm-sqlite.c | 3 +++ 1 file changed, 3 insertions(+) commit ab212c65db311f7cd756924caba051c86297e979 Author: Bruce Guenter Date: Mon Jan 12 14:32:20 2009 -0600 Removed a trailing space in the SQLite CVM. cvm-sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27dbfda73d826a4be4947462d557dac572ff58f1 Author: Bruce Guenter Date: Mon Apr 14 17:25:04 2008 -0600 Added cvm-sqlite implementation from Wayne Marshall INSTHIER | 1 + TOP.spac | 2 +- cvm-sqlite.c | 131 ++++++++++++++++++++++++++++++++++++++++++++ cvm-sqlite.html | 107 ++++++++++++++++++++++++++++++++++++ cvm-pgsql=x => cvm-sqlite=x | 2 +- sqlite.spac | 1 + 6 files changed, 242 insertions(+), 2 deletions(-) create mode 100644 cvm-sqlite.c create mode 100644 cvm-sqlite.html copy cvm-pgsql=x => cvm-sqlite=x (65%) create mode 100644 sqlite.spac commit 47d7a8d49ef3bd3a049bce3ef7444e975ba11b52 Author: Bruce Guenter Date: Mon Jan 12 15:56:35 2009 -0600 Touched up the documentation for $CVM_QMAIL_LOOKASIDE. cvm-qmail.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 68715f891e7876fbb8fa916bbe0d1dcad8eb3a40 Author: Bruce Guenter Date: Fri Apr 18 17:06:07 2008 -0600 Added a "lookaside" mode to cvm-qmail, to assist with proper chaining to cvm-vmailmgr or other modules. NEWS | 3 ++ cvm-qmail.c | 81 +++++++++++++++++++++++++++++++++++++++----- cvm-qmail.html | 9 +++++ tests/qmail-lookup-lookaside | 50 +++++++++++++++++++++++++++ 4 files changed, 135 insertions(+), 8 deletions(-) create mode 100644 tests/qmail-lookup-lookaside commit 35e06ba21b4d8292d3c3ea6729c4674acc7e205c Author: Bruce Guenter Date: Fri Apr 18 15:48:00 2008 -0600 Made qmail_dotfile_exists output the path to the .qmail file to the caller. cvm-qmail.c | 3 ++- qmail-dotfile.c | 26 +++++++++++++------------- qmail.h | 3 ++- 3 files changed, 17 insertions(+), 15 deletions(-) commit 56499ed5b2c5db9cdd6fb3cc9c8eb7d80fdd9be8 Author: Bruce Guenter Date: Mon Jan 12 14:30:47 2009 -0600 Added some TODO notes. TODO | 5 +++++ 1 file changed, 5 insertions(+) commit cc61e88b1c2572739146ae72162eaa5ba993d436 Author: Bruce Guenter Date: Fri Jan 9 11:08:14 2009 -0600 Fix a compiler warning with a NULL in pipefork. client_xfer_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20a7ce2a37c48ebb55416845bbb66276ab7a9771 Author: Bruce Guenter Date: Fri Jan 9 11:07:42 2009 -0600 Eliminate an unused variable in cvm_random_init. random.c | 1 - 1 file changed, 1 deletion(-) commit de65cb868de4dbe0c0da3f8b0f309811e62f1b2f Author: Bruce Guenter Date: Fri Apr 18 17:35:42 2008 -0600 Added notes about OUTOFSCOPE to the HTML documentation. cvm-qmail.html | 15 +++++++++------ cvm-vmailmgr.html | 4 +++- 2 files changed, 12 insertions(+), 7 deletions(-) commit e6898800e15f53d9bc805346ab41bfab05f979b3 Author: Bruce Guenter Date: Fri Apr 18 17:32:41 2008 -0600 Make vmlookup fail with OUTOFSCOPE=1 when the password table is not there. Previously, cvm-vmailmgr would fail with an I/O error when the virtual password table was missing. This would cause problems for chaining properly with other modules. NEWS | 4 ++++ tests/vmlookup-notable | 15 +++++++++++++++ vmlookup.c | 8 +++++++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/vmlookup-notable commit 3eec484b9ba9eec1fb12b3d891d2a5bfbf20a18a Author: Bruce Guenter Date: Mon Apr 14 17:26:07 2008 -0600 Fixed portability problem in tests/qmail-lookup-nodomain Thanks Gerrit Pape tests/qmail-lookup-nodomain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c1b8f4eb8f53e129dc7a8862112b06c53f34d961 Author: Bruce Guenter Date: Mon Apr 14 17:02:50 2008 -0600 Fixed client.h symlink to point to v2client.h to match the library. INSTHIER | 2 +- NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 0afc023c43090c1a24a45f089ccccb4d38ff1309 Author: Bruce Guenter Date: Mon Apr 14 16:15:46 2008 -0600 Fixed failure in cvm-qmail when virtualdomains did not exist. NEWS | 1 + qmail-domains.c | 3 ++- tests/qmail-lookup-novirtualdomains | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tests/qmail-lookup-novirtualdomains commit 9ee2e1dc01882f019a24795717cde7ece3b4749c Author: Bruce Guenter Date: Mon Apr 14 16:14:52 2008 -0600 Bumped version to 0.91 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit b3e870f546807d5d5f5bf27edbb659dda704e05a Author: Bruce Guenter Date: Fri Apr 11 21:01:47 2008 -0600 Fixed Require/BuildRequires for bglibs in the spec. spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d9527c62c479318bc07fce5752889902e1c6fa8c Author: Bruce Guenter Date: Fri Apr 11 21:01:34 2008 -0600 Fixed requirement for bglibs version 1.103 in the README. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5e5853cc3373e37e80a85028caa2b6bdd8d3de5 Author: Bruce Guenter Date: Fri Apr 11 17:51:59 2008 -0600 Bumped LIBVERSION and VERSION in preparation for release. LIBVERSION | 2 +- NEWS | 2 +- VERSION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 4cd773bb274e9d4b0f4f9a2df3c91bc0ae0f997e Author: Bruce Guenter Date: Fri Apr 11 17:49:51 2008 -0600 Added compatibility wrapper functions to the client_xfer_* functions. The actual functions are renamed to a new name of client_xfer_*_packets, and wrapper functions were added with the original names and signatures. This is done to prevent requiring a major version bump to LIBVERSION, which would break all clients that linked to the shared library. client_xfer_command.c | 6 ++--- client_xfer_compat.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ client_xfer_local.c | 6 ++--- client_xfer_udp.c | 6 ++--- libcvm-v1client=l | 1 + libcvm-v2client=l | 1 + v1client.c | 6 ++--- v1client.h | 23 ++++++++++++----- v2client.c | 6 ++--- v2client.h | 23 ++++++++++++----- 10 files changed, 120 insertions(+), 27 deletions(-) create mode 100644 client_xfer_compat.c commit e9c90d275972753f6abf8437399adda448b3d84f Author: Bruce Guenter Date: Fri Apr 11 17:22:48 2008 -0600 Added two tests that were missing from the previous commits. tests/chain-client | 38 ++++++++++++++++++++++++++++++++++++++ tests/chain-module | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 tests/chain-client create mode 100644 tests/chain-module commit 5838d329188acbb974f21b034036b2073f49992e Author: Bruce Guenter Date: Fri Apr 11 17:21:36 2008 -0600 Moved the note about the random tag into the v2 client documentation. cvm.html | 5 ----- v2client.html | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) commit 6ab3f46136798c4f64198d63e8297c97fe82a6e4 Author: Bruce Guenter Date: Fri Apr 11 17:19:56 2008 -0600 Added support for chaining modules in the v2 library. NEWS | 8 ++++++++ TODO | 5 ----- cvm-chain.html | 3 ++- cvm.html | 8 ++++++++ tests/chain | 44 ---------------------------------------- v2client.c | 64 ++++++++++++++++++++++++++++++++++++++++++++-------------- 6 files changed, 67 insertions(+), 65 deletions(-) delete mode 100644 tests/chain commit bae2ac68954b1d19020771ff28c5f920e3b71cd8 Author: Bruce Guenter Date: Fri Apr 11 16:24:02 2008 -0600 Seperate the single xfer packet into request and response packets. This again breaks the previous ABI, and requires a LIBVERSION bump. client_xfer_command.c | 11 ++++++----- client_xfer_local.c | 15 ++++++++------- client_xfer_udp.c | 18 ++++++++++-------- v1client.c | 15 ++++++++------- v1client.h | 9 ++++++--- v2client.c | 16 +++++++++------- v2client.h | 9 ++++++--- 7 files changed, 53 insertions(+), 40 deletions(-) commit 3028400e3141622aca2603daa0f6779430b377d7 Author: Bruce Guenter Date: Fri Apr 11 16:06:53 2008 -0600 Introduced struct cvm_packet, and modified many client functions to use it. This will require a major bump to the library version, as all the client_xfer_* functions are now incompatible with the previous versions. client_xfer_command.c | 9 +++---- client_xfer_local.c | 13 +++++----- client_xfer_udp.c | 16 ++++++------ v1client.c | 57 +++++++++++++++++++++------------------- v1client.h | 15 ++++++----- v2client.c | 72 ++++++++++++++++++++++++--------------------------- v2client.h | 15 ++++++----- 7 files changed, 101 insertions(+), 96 deletions(-) commit eba511388ab210394cdc1648a9e4a7c6b46dc353 Author: Bruce Guenter Date: Fri Apr 11 14:14:16 2008 -0600 Moved the client buffer data into a structure. This is the start of preparation for having both an input and output buffer, which is required for transferring multiple packets in the client. v2client.c | 71 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 39 insertions(+), 32 deletions(-) commit ea954c8b67a725ea7788da2ef8861db4c664afce Author: Bruce Guenter Date: Fri Apr 11 13:03:20 2008 -0600 Clarify the semantics of the return path of cvm_client_authenticate. v2client.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 08579e77b0768e426f655bbcfe67c2a822b1cb68 Author: Bruce Guenter Date: Fri Apr 11 11:19:31 2008 -0600 Simplified the logic in cvm-chain slightly. cvm-chain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit bbfbe51f1d3e860d6c7a88c741a43c9d60973348 Author: Bruce Guenter Date: Thu Apr 10 13:10:54 2008 -0600 Added notes to NEWS about which modules handle OUTOFSCOPE. NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4069686096f6942788aa4236b87f78a90820d87a Author: Bruce Guenter Date: Thu Apr 10 13:09:38 2008 -0600 Handle the OUTOFSCOPE fact in cvm-chain by passing it through. cvm-chain.c | 8 ++++++++ cvm-chain.html | 6 ++++++ tests/chain | 2 ++ 3 files changed, 16 insertions(+) commit f00e590a59c0b6baf71abcdb7c0dd0e05a7188aa Author: Bruce Guenter Date: Thu Apr 10 11:40:02 2008 -0600 Bumped the revision number in LIBVERSION in preparation for release. LIBVERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c123d75f0a650a427bf02754ab03da91f517ddf Author: Bruce Guenter Date: Thu Apr 10 10:34:20 2008 -0600 Added two missing vmailmgr lookup self-tests. tests/{qmail-lookup-baddomain => vmlookup-baddomain} | 5 ++--- tests/{vmailmgr-upper-pass => vmlookup-baduser} | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) copy tests/{qmail-lookup-baddomain => vmlookup-baddomain} (53%) copy tests/{vmailmgr-upper-pass => vmlookup-baduser} (53%) commit 645465c10c46dda4ba9ab88802a63d439dc2dc56 Author: Bruce Guenter Date: Thu Apr 10 10:34:00 2008 -0600 Fixed up some HTML bugs in the documentation. credentials.html | 10 ++++++---- cvm.html | 22 +++++++++++++--------- errors.html | 7 +++++-- facts.html | 14 ++++++++------ module.html | 11 ++++++++--- protocol-1.html | 18 ++++++++++++------ protocol-2.html | 3 +-- rationale.html | 3 +++ sasl.html | 6 ++++-- sql.html | 4 ++-- v1client.html | 8 ++++++-- v2client.html | 9 +++++++-- 12 files changed, 75 insertions(+), 40 deletions(-) commit f9e6280122f07d3f6447951cabf2954680e50c4a Author: Bruce Guenter Date: Thu Apr 10 10:25:01 2008 -0600 Added a note about $CVM_RANDOM_BYTES to the HTML documentation. cvm.html | 5 +++++ 1 file changed, 5 insertions(+) commit 834fe8834f5dca529701a89d60522b5b73453bd4 Author: Bruce Guenter Date: Thu Apr 10 10:11:01 2008 -0600 Fixed make_randombytes to only initialize once. v2client.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit ed54d4afe40a84e16fe7de148231f20f56a1d2a3 Author: Bruce Guenter Date: Thu Apr 10 09:56:45 2008 -0600 Switched to using the new surfrand in bglibs to generate random data. random.c | 58 ++++++++++------------------------------------------------ random.h | 2 +- spec | 2 +- v2client.c | 3 +-- 4 files changed, 13 insertions(+), 52 deletions(-) commit 0762fd93ae6e62d7eb6856f4336a6c47acf04b93 Author: Bruce Guenter Date: Thu Apr 10 09:44:55 2008 -0600 Add OUTOFSCOPE facts in all PERMFAIL exits in qmail and vmailmgr CVMs. cvm-qmail.c | 4 +++- cvm-vmailmgr.c | 3 +++ tests/qmail-lookup | 4 ++++ tests/vmailmgr-normal | 1 + tests/vmailmgr-upper-pass | 1 + tests/vmlookup-badpass | 1 + vmlookup.c | 2 ++ 7 files changed, 15 insertions(+), 1 deletion(-) commit 592c52683bf9fc7061684ec787cc8d42d7b4de7b Author: Bruce Guenter Date: Sun Mar 30 22:01:34 2008 -0600 Only add the random tag when transmitting over UDP. v2client.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit a6f11de73eaf6a2ed37cc109f9629f1794e179ed Author: Bruce Guenter Date: Sun Mar 30 14:59:45 2008 -0600 Let the random tag length be set by $CVM_RANDOM_BYTES. NEWS | 3 +++ v2client.c | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit c756cc0335b6f515c1ca7f1642fb60641825ac7a Author: Bruce Guenter Date: Sun Mar 30 14:56:27 2008 -0600 Add 8 bytes of random data to client requests. libcvm-v2client=l | 1 + random.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ random.h | 7 +++++ v2client.c | 20 ++++++++++++- 4 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 random.c create mode 100644 random.h commit 3bcf5c4b86aebe260fe03b590621d289f1dc8a1a Author: Bruce Guenter Date: Sat Mar 29 23:42:30 2008 -0600 Output the out of scope fact in qmail and vmailmgr CVMs When a qmail lookup is done on a domain that does not exist in virtualdomains, no determination can be made about users in that domain, so the result is "out of scope". Similarly, vmailmgr treats any failed qmail lookup as "out of scope", since it can't then do its virtual user lookup. This fact is also reported on error in cvm-testclient. Also bumped the version to 0.85, due to the significance of this change. NEWS | 6 +++++- TODO | 2 ++ VERSION | 2 +- cvm-qmail.c | 7 ++++++- cvm-testclient.c | 7 ++++--- qmail-lookup.c | 14 ++++++++++---- tests/chain | 4 ++++ tests/qmail-lookup-assume | 1 + tests/qmail-lookup-baddomain | 6 ++++++ tests/split | 4 ++++ tests/vmailmgr-normal | 4 ++++ vmlookup.c | 18 ++++++++++++++---- 12 files changed, 61 insertions(+), 14 deletions(-) create mode 100644 tests/qmail-lookup-baddomain commit e0d65bdc3ab9ba2be5d389cb50d16c4a10f30693 Author: Bruce Guenter Date: Sat Mar 29 18:55:44 2008 -0600 Changed the fatal error in cvm-testclient to a message. cvm-testclient.c | 3 ++- tests/chain | 2 +- tests/command-bad-password | 2 +- tests/command-bad-username | 2 +- tests/lookup | 4 ++-- tests/pwfile-bad-password | 2 +- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/qmail-lookup | 8 ++++---- tests/qmail-lookup-assume | 2 +- tests/split | 8 ++++---- tests/vmailmgr-upper-pass | 2 +- tests/vmlookup-badpass | 2 +- 13 files changed, 21 insertions(+), 20 deletions(-) commit 48d4f28acbec04698d70fb333af8706c202f3bdb Author: Bruce Guenter Date: Fri Mar 28 17:48:51 2008 -0600 Add an "out of scope" fact, to be used on permanent failures. facts.h | 1 + facts.html | 11 +++++++++++ 2 files changed, 12 insertions(+) commit 2f0bfb87ae2347bbd1306eee8a4451ab376cb6f6 Author: Bruce Guenter Date: Fri Mar 28 17:16:13 2008 -0600 The v2 protocol will now allow facts in the response packet. protocol-2.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ec467434975b61b37545da501d14ec56cd5ccef7 Author: Bruce Guenter Date: Fri Mar 28 17:04:29 2008 -0600 Always do a minimal parse on the input buffer in v2client. v2client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8d1d10d71ac199584e5d2671215dcfefffa2ec83 Author: Bruce Guenter Date: Fri Mar 28 17:01:22 2008 -0600 Don't truncate the module output when the result code is not zero. module_output.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 2730e859f2e67f1031427c77934a2fa8ae5cdd39 Author: Bruce Guenter Date: Fri Mar 28 16:47:21 2008 -0600 Added a test for a bad password with pwfile in command mode. tests/{command-bad-username => pwfile-bad-password} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) copy tests/{command-bad-username => pwfile-bad-password} (64%) commit c2734cee638eb109caa004247d21da0b673b8b82 Author: Bruce Guenter Date: Fri Mar 28 15:58:36 2008 -0600 Make command mode transfers work the same as other transfers. The local and UDP transfer functions both return the status of the transfer itself. The command mode returns CVME_IO if the transfer failed, but if the module failed it also would return that error code. This modification stuffs the result code into the buffer as expected and returns 0 if the transfer succeeded. client_xfer_command.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit e7ba58ea3627c97133b4b1c892bce4803379c922 Author: Bruce Guenter Date: Fri Mar 28 15:49:30 2008 -0600 Rewrote several constant return values to use CVME_* macros. client_xfer_command.c | 6 +++--- client_xfer_udp.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 8f038d92c5268c19f7cd9cb9fa15a183a6bc1bb1 Author: Bruce Guenter Date: Thu Mar 20 14:44:19 2008 -0600 Point to the GIT repository for development versions. README.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dc58a1d308d23232007e20e68bc2603f2ecc29f0 Author: Bruce Guenter Date: Thu Mar 20 14:43:57 2008 -0600 Ignore most automatically generated files. .gitignore | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitignore commit 1377a540163964a4688f338e3df851e243672d29 Author: Bruce Guenter Date: Fri Jan 5 19:30:07 2007 +0000 Fixed a bug that caused the domain output to be set incorrectly when doing qmail lookups with a domain not in the control files with $CVM_QMAIL_ASSUME_LOCAL set. NEWS | 3 +++ qmail-domains.c | 13 +++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) commit f9b79ae998564f07a56c83092a5af8070136daf9 Author: Bruce Guenter Date: Thu Jan 4 08:38:10 2007 +0000 Bumped version to 0.83 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 2cb0b2a8c0b844218d05cd3b3797292174d26aec Author: Bruce Guenter Date: Wed Aug 30 23:55:33 2006 +0000 Bumped the library revision number. LIBVERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9aef171e9359bde6a8ac7f3524d7f1e976fdfae5 Author: Bruce Guenter Date: Wed Aug 30 23:09:45 2006 +0000 Fixed handling of user/domain name splitting in the client library when the caller doesn't initially provide a domain name. NEWS | 3 ++ tests/split | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ v2client_wrappers.c | 40 +++++++++++++++++---------- 3 files changed, 109 insertions(+), 14 deletions(-) create mode 100644 tests/split commit 7f564868aeeaa34aa17ff26711740f35cdc02c51 Author: Bruce Guenter Date: Wed Aug 30 23:09:37 2006 +0000 Split domain names from the username in the test client (for testing). cvm-testclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1d5fde08b81cbf6cb42cec5e5fe646a8d999db0e Author: Bruce Guenter Date: Wed Aug 30 21:56:35 2006 +0000 Added a note in the documentation about $MAIL and $MAILDIR. v1client.html | 4 ++++ v2client.html | 4 ++++ 2 files changed, 8 insertions(+) commit 0e780bc64e3a55d0c1c94655fcfa31db3629be5e Author: Bruce Guenter Date: Wed Aug 30 21:55:16 2006 +0000 Set $MAILDIR in cvm_client_setenv NEWS | 1 + client_setenv.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 9776ace0e914f0ac23cf91ee17ab711a319e007b Author: Bruce Guenter Date: Wed Aug 30 21:53:13 2006 +0000 Bumped version to 0.82 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 42a707d7dc5cd5c6d068c21a4503f4ec8ca682ae Author: Bruce Guenter Date: Sun Jul 30 22:27:44 2006 +0000 Fixed a typo in the INSTHIER file that caused incomplete installations. INSTHIER | 2 ++ NEWS | 2 ++ 2 files changed, 4 insertions(+) commit 4f7e1a3edd5be264ec24350bcee7beac6f9f5c94 Author: Bruce Guenter Date: Sun Jul 30 20:41:17 2006 +0000 Bumped version to 0.81 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 3e502f88f59e3e333803f45fe0d63a32c58f849b Author: Bruce Guenter Date: Fri Jul 28 22:23:55 2006 +0000 Fixed up the README documentation. README.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 716a6b0605672e834adeba75446f1e36bfe04012 Author: Bruce Guenter Date: Fri Jul 28 22:21:57 2006 +0000 Fixed up the spec for the shared library install. spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit ef9f5dda256090f45683bafa5987db013709c077 Author: Bruce Guenter Date: Fri Jul 28 22:21:38 2006 +0000 Added note about shared library change to NEWS. NEWS | 2 ++ 1 file changed, 2 insertions(+) commit e11fe9d45051bcd2cd743db3fed609f0e5d75b9e Author: Bruce Guenter Date: Fri Jul 28 22:20:49 2006 +0000 The installed libraries need to be made executable. INSTHIER | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit cf16e001345f1ea069f564e3bd81e7a203a65464 Author: Bruce Guenter Date: Fri Jul 28 04:51:55 2006 +0000 Bumped version to 0.80 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e629bb2a5e581b74620f7b8c30d9c02e89dca08d Author: Bruce Guenter Date: Fri Jul 28 04:51:14 2006 +0000 Rewrote the remaining em.ca addresses to untroubled.org. client_domain.c | 2 +- client_setenv.c | 2 +- client_setugid.c | 2 +- client_xfer_command.c | 2 +- client_xfer_local.c | 2 +- client_xfer_udp.c | 2 +- cvm-benchclient.c | 2 +- cvm-checkpassword.c | 2 +- cvm-mysql.c | 2 +- cvm-pgsql.c | 2 +- cvm-pwfile.c | 2 +- cvm-qmail.c | 2 +- cvm-testclient.c | 2 +- cvm-unix.c | 2 +- cvm-v1benchclient.c | 2 +- cvm-v1checkpassword.c | 2 +- cvm-v1testclient.c | 2 +- cvm-vmailmgr.c | 2 +- errors.c | 2 +- facts.c | 2 +- getpwnam.c | 2 +- module_command.c | 2 +- module_command_main.c | 2 +- module_local.c | 2 +- module_local_main.c | 2 +- module_log.c | 2 +- module_main.c | 2 +- module_output.c | 2 +- module_request.c | 2 +- module_udp.c | 2 +- module_udp_main.c | 2 +- qmail-domains.c | 2 +- qmail-dotfile.c | 2 +- qmail-init.c | 2 +- qmail-lookup.c | 2 +- qmail-users.c | 2 +- spec | 4 ++-- sql-auth.c | 2 +- sql-query.c | 2 +- v1client.c | 2 +- v2client.c | 2 +- v2client_wrappers.c | 2 +- vmautoconvert.c | 2 +- vmlookup.c | 2 +- 44 files changed, 45 insertions(+), 45 deletions(-) commit dd3a793d80c251a5bd443342cd8b7066ec051661 Author: Bruce Guenter Date: Fri Jul 28 04:48:43 2006 +0000 Create, link, and install shared libraries. INSTHIER | 62 ++++++++++++++++++++++++++------------------------- LIBVERSION | 1 + cvm-benchclient=x | 2 +- cvm-chain=x | 4 ++-- cvm-checkpassword=x | 2 +- cvm-mysql-local=x | 4 ++-- cvm-mysql-udp=x | 4 ++-- cvm-mysql=x | 4 ++-- cvm-pgsql-local=x | 4 ++-- cvm-pgsql-udp=x | 4 ++-- cvm-pgsql=x | 4 ++-- cvm-pwfile=x | 2 +- cvm-qmail=x | 4 ++-- cvm-testclient=x | 2 +- cvm-unix=x | 2 +- cvm-v1benchclient=x | 2 +- cvm-v1checkpassword=x | 2 +- cvm-v1testclient=x | 2 +- cvm-vchkpw=x | 2 +- cvm-vmailmgr-local=x | 4 ++-- cvm-vmailmgr-udp=x | 4 ++-- cvm-vmailmgr=x | 4 ++-- sasl-auth-test=x | 4 ++-- 23 files changed, 66 insertions(+), 63 deletions(-) create mode 100644 LIBVERSION commit 6746aeec1bfbaf2103e4a3fea10e82bbd4f4267e Author: Bruce Guenter Date: Fri Jul 28 04:46:51 2006 +0000 Fixed the old em.ca email address. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0fdea6d9c1493ebebd3c8475adf3adb6262e2157 Author: Bruce Guenter Date: Wed Jul 26 14:56:32 2006 +0000 Renamed all the libraries to have their target libcvm- prefix. INSTHIER | 16 ++++++++-------- cvm-benchclient=x | 2 +- cvm-chain=x | 4 ++-- cvm-checkpassword=x | 2 +- cvm-mysql-local=x | 4 ++-- cvm-mysql-udp=x | 4 ++-- cvm-mysql=x | 4 ++-- cvm-pgsql-local=x | 4 ++-- cvm-pgsql-udp=x | 4 ++-- cvm-pgsql=x | 4 ++-- cvm-pwfile=x | 2 +- cvm-qmail=x | 4 ++-- cvm-testclient=x | 2 +- cvm-unix=x | 2 +- cvm-v1benchclient=x | 2 +- cvm-v1checkpassword=x | 2 +- cvm-v1testclient=x | 2 +- cvm-vchkpw=x | 2 +- cvm-vmailmgr-local=x | 4 ++-- cvm-vmailmgr-udp=x | 4 ++-- cvm-vmailmgr=x | 4 ++-- command=l => libcvm-command=l | 0 local=l => libcvm-local=l | 0 module=l => libcvm-module=l | 0 qmail=l => libcvm-qmail=l | 0 sasl=l => libcvm-sasl=l | 0 sql=l => libcvm-sql=l | 0 udp=l => libcvm-udp=l | 0 v1client=l => libcvm-v1client=l | 0 v2client=l => libcvm-v2client=l | 0 sasl-auth-test=x | 4 ++-- 31 files changed, 41 insertions(+), 41 deletions(-) rename command=l => libcvm-command=l (100%) rename local=l => libcvm-local=l (100%) rename module=l => libcvm-module=l (100%) rename qmail=l => libcvm-qmail=l (100%) rename sasl=l => libcvm-sasl=l (100%) rename sql=l => libcvm-sql=l (100%) rename udp=l => libcvm-udp=l (100%) rename v1client=l => libcvm-v1client=l (100%) rename v2client=l => libcvm-v2client=l (100%) commit 674b8fdadc9bb2076d5af548e89dfa5d30f123ed Author: Bruce Guenter Date: Mon Aug 29 16:02:41 2005 +0000 Documentation touch-ups: make reference to cvm-qmail in cvm-vmailmgr config variables, and properly alphabetize the variable names. cvm-qmail.html | 11 ++++++----- cvm-vmailmgr.html | 26 ++++++++++++-------------- 2 files changed, 18 insertions(+), 19 deletions(-) commit b022e652256b321679ff53103bc803d9c82143d6 Author: Bruce Guenter Date: Mon Aug 29 15:55:32 2005 +0000 Added a feature to all qmail-based modules to treat all domains as local if $CVM_QMAIL_ASSUME_LOCAL is set. NEWS | 3 +++ cvm-qmail.html | 4 ++++ qmail-domains.c | 8 +++++++- tests/qmail-lookup-assume | 22 ++++++++++++++++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 tests/qmail-lookup-assume commit 69f2b82e3609c48aa5d8bacdcd175f21684eafad Author: Bruce Guenter Date: Sun Aug 28 21:41:50 2005 +0000 Fixed a missing-escaped-$ typo on the vmailmgr-xconvert test. tests/vmailmgr-xconvert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4911f9350b69ecd51fc80a30aaf2ad81ac979d30 Author: Bruce Guenter Date: Sun Aug 28 21:40:43 2005 +0000 Fixed the autoconvert feature of cvm-vmailmgr to set the permissions and ownership of the created password table to that of the original. NEWS | 2 ++ vmautoconvert.c | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 1d0459b3de1c3714ac4c305018e737a9fd590317 Author: Bruce Guenter Date: Sun Aug 28 21:28:05 2005 +0000 Bumped version to 0.76 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 91a69ac3169874fe5db088ea56a21daacffc455a Author: Bruce Guenter Date: Sat Aug 27 06:46:41 2005 +0000 Use cdbget to dump the converted record in a more useful format. tests/vmailmgr-xconvert | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit e379c4e4e3cd0e925c4d91a749e088e9526cc224 Author: Bruce Guenter Date: Tue Aug 23 19:35:46 2005 +0000 Fixed up printf invocations to make them work around the bugs in ash's builtin printf. tests.inc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 752c8899cae14a6ad835e075d06a5f2acbc43c6d Author: Bruce Guenter Date: Tue Aug 23 18:22:48 2005 +0000 Bumped version number to 0.75, just because. NEWS | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fe38b19c2405f8f08fab02f50614116acd95cf37 Author: Bruce Guenter Date: Fri Aug 19 23:35:32 2005 +0000 Documented the new $VMAILMGR_AUTOCONVERT environment variable. NEWS | 3 ++- cvm-vmailmgr.html | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) commit 0325b7c841ac1cd359e96ec073798c2b2fd071eb Author: Bruce Guenter Date: Fri Aug 19 22:42:17 2005 +0000 The previous cvm-vmailmgr autoconvert fix requires a patch only present in bglibs 1.027. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25834b571395cc91513a7ebb834c81854fb468fb Author: Bruce Guenter Date: Fri Aug 19 22:40:49 2005 +0000 Added an "autoconvert" mode to cvm-vmailmgr, which converts encrypted passwords to plain-text on successful authentication. NEWS | 2 + TODO | 12 ++--- cvm-vmailmgr-local=x | 1 + cvm-vmailmgr-udp=x | 1 + cvm-vmailmgr.c | 8 +++- cvm-vmailmgr.h | 1 + cvm-vmailmgr=x | 1 + tests.inc | 12 ++--- tests/vmailmgr-xconvert | 35 ++++++++++++++ vmautoconvert.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 181 insertions(+), 16 deletions(-) create mode 100644 tests/vmailmgr-xconvert create mode 100644 vmautoconvert.c commit 29f315139b80cc69e6b4ddbb0e8289c034580902 Author: Bruce Guenter Date: Fri Aug 19 21:00:18 2005 +0000 Since there is no more cvm-vmlookup module, merge vmmain.c back into cvm-vmailmgr.c (and adjust cvm-vmailmgr.h to match). cvm-vmailmgr-local=x | 1 - cvm-vmailmgr-udp=x | 1 - cvm-vmailmgr.c | 93 ++++++++++++++++++++++++++++++++++++++++- cvm-vmailmgr.h | 3 -- cvm-vmailmgr=x | 1 - vmmain.c | 114 --------------------------------------------------- 6 files changed, 91 insertions(+), 122 deletions(-) delete mode 100644 vmmain.c commit 06b0b0db32ccde56163763637cf29074d6bfa049 Author: Bruce Guenter Date: Fri Aug 19 20:53:11 2005 +0000 Converted to use bg-installer for installation. INSTHIER | 44 +++++++++++++++++++++++++++++++++++++++++ insthier.c | 66 -------------------------------------------------------------- spec | 17 +++++++--------- 3 files changed, 51 insertions(+), 76 deletions(-) create mode 100644 INSTHIER delete mode 100644 insthier.c commit 82f676a1b8ee8add2c3d585e1ea5ad77a384eec8 Author: Bruce Guenter Date: Fri Aug 19 20:43:24 2005 +0000 Bumped version to 0.72 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 4010efebcaa073b7115816b669c1d35887a429a7 Author: Bruce Guenter Date: Thu Jun 2 04:55:07 2005 +0000 Add the ChangeLog to the list of "extra" website files. makedist.py | 1 + 1 file changed, 1 insertion(+) commit 4f76b66b4bff655dcd0137e7d6b2092e40642678 Author: Bruce Guenter Date: Thu Jun 2 04:20:11 2005 +0000 Updated the cvm-vchkpw module. It now compiles, and should work but remains completely untested. NEWS | 2 ++ TOP.spac | 2 +- cvm-vchkpw.c | 44 ++++++++++++++++++++++---------------------- cvm-vchkpw=x | 11 +++++++++++ programs.spac | 4 +++- 5 files changed, 39 insertions(+), 24 deletions(-) create mode 100644 cvm-vchkpw=x commit bbca084e8ec365dc385db2a3883074b72fddab10 Author: Bruce Guenter Date: Thu Jun 2 04:02:23 2005 +0000 Initial commit of sasl_auth.c source. sasl_auth.c | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 sasl_auth.c commit 0a0918380b5147a82877524b8ad282ea95429e11 Author: Bruce Guenter Date: Thu Jun 2 03:59:43 2005 +0000 Initial commit of the cvm-chain.html documentation page. cvm-chain.html | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cvm-chain.html commit 2efdbbcb67c128bad5fe013e5075e9b979788c3c Author: Bruce Guenter Date: Thu Jun 2 01:39:19 2005 +0000 Set PROTO to make UCSPI variables work. tests.inc | 1 + 1 file changed, 1 insertion(+) commit 18612d50590bab463a4aabdea6dbda27116fefb2 Author: Bruce Guenter Date: Thu Jun 2 01:39:00 2005 +0000 Use %{_includedir} for locaing the PostgreSQL headers. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 219600cc1bd52dffb347e9d3f03af0f2ec0b6621 Author: Bruce Guenter Date: Thu Jun 2 01:38:32 2005 +0000 Added a to do note about auto-converting passwords. TODO | 4 ++++ 1 file changed, 4 insertions(+) commit 7e8fa37fcb0358fe4f8069879cf11bc551129f33 Author: Bruce Guenter Date: Thu Jun 2 01:38:12 2005 +0000 Rewrote v2client_wrappers to avoid static strings. TODO | 2 -- v2client_wrappers.c | 33 +++++++++++++++++++++------------ 2 files changed, 21 insertions(+), 14 deletions(-) commit aa63ca143b93bb8251baadc102fad0ecbab474cc Author: Bruce Guenter Date: Thu Jun 2 01:19:28 2005 +0000 Bumped version to 0.71 for several brown-paper-bag bug fixes. NEWS | 7 +++++++ VERSION | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 6d64e106eef170a61f325e360208f172f8627e2e Author: Bruce Guenter Date: Thu Jun 2 01:18:49 2005 +0000 If no domain is present, use an empty one instead of crashing. sasl_authenticate.c | 2 ++ 1 file changed, 2 insertions(+) commit aa8b6f855c7222d4f00e2f33cc8148e824bc8b85 Author: Bruce Guenter Date: Thu Jun 2 01:17:34 2005 +0000 Use ucspi_localhost() instead of getenv("TCPLOCALHOST") to determine the local host name. cvm-checkpassword.c | 6 ++++-- cvm-v1checkpassword.c | 5 +++-- sasl_init.c | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) commit e52561c6d6e660c886ad2e8a0570330881d42b9e Author: Bruce Guenter Date: Thu Jun 2 01:13:21 2005 +0000 Only set sa->response if no initial response is present. sasl_login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d67f1120638fe6ce754aeae5e34c7c0c1582085f Author: Bruce Guenter Date: Thu Jun 2 01:12:59 2005 +0000 Switched to a static response function. sasl_plain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0739385948e7403a10f531f0b50b3970e5c9b0ee Author: Bruce Guenter Date: Thu Jun 2 01:12:30 2005 +0000 Switched to a static response function. sasl_cram_md5.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8219f9631ed20b46064345788cc383067b51d3b8 Author: Bruce Guenter Date: Thu Jun 2 01:09:46 2005 +0000 Use multiple response functions instead of keeping state based on the length of sa->username. sasl_login.c | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit 6b1da0761bf8cf921f9c37d3bff95a792e58890e Author: Bruce Guenter Date: Thu Jun 2 01:04:26 2005 +0000 Make sure to set the username empty before starting the login process, otherwise all logins after the first will fail. sasl_login.c | 1 + 1 file changed, 1 insertion(+) commit 6ebc2be95a6696485566d475987fbb8ea64cec88 Author: Bruce Guenter Date: Wed Jun 1 23:16:14 2005 +0000 Make sure the "install" target is in the local TOP spac rule. TOP.spac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b063ada4d54addfb8b3b69b995256e1983b07b83 Author: Bruce Guenter Date: Wed Jun 1 22:48:45 2005 +0000 Now requires bglibs-1.020 (format strings). README.in | 2 +- spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c1eb15c2d7f38754b5737cef5a1ad2e87ccebda0 Author: Bruce Guenter Date: Wed Jun 1 20:11:07 2005 +0000 Rewrote SASL API to eliminate static data, making it reentrant. Bumped version up to 0.70 as a result. NEWS | 10 +++++++--- VERSION | 2 +- sasl.h | 25 ++++++++++++++++-------- sasl_authenticate.c | 24 +++++++++++++---------- sasl_cram_md5.c | 56 ++++++++++++++++++++++++++++------------------------- sasl_init.c | 34 +++++++++++++++----------------- sasl_internal.h | 20 +++++++------------ sasl_login.c | 39 +++++++++++++++++++++---------------- sasl_plain.c | 32 ++++++++++++++++++------------ sasl_start.c | 13 +++++-------- 10 files changed, 139 insertions(+), 116 deletions(-) commit 77c2a25ab6c4d21df8429e5cd00f9983012d14f3 Author: Bruce Guenter Date: Wed Jun 1 19:42:26 2005 +0000 Added SASL generic text I/O authentication framework from mailfront. NEWS | 2 ++ TODO | 2 ++ sasl-auth-test.c | 36 +++++++++++++++++++ cvm-benchclient=x => sasl-auth-test=x | 2 +- sasl.h | 19 ++++++++++ sasl=l | 1 + sasl_authenticate.c | 65 ++++++++++++++++++++++++++++++++--- tests.inc | 9 +++++ tests/sasl-eof | 8 +++++ tests/sasl-login1 | 10 ++++++ tests/sasl-login2 | 8 +++++ tests/sasl-nomech | 7 ++++ tests/sasl-plain-fail | 7 ++++ tests/sasl-plain1 | 8 +++++ tests/sasl-plain2 | 5 +++ 15 files changed, 184 insertions(+), 5 deletions(-) create mode 100644 sasl-auth-test.c copy cvm-benchclient=x => sasl-auth-test=x (59%) create mode 100644 tests/sasl-eof create mode 100644 tests/sasl-login1 create mode 100644 tests/sasl-login2 create mode 100644 tests/sasl-nomech create mode 100644 tests/sasl-plain-fail create mode 100644 tests/sasl-plain1 create mode 100644 tests/sasl-plain2 commit 54ec21b2e76d3fa6a65e0cb49e4f3a1cc19cfe29 Author: Bruce Guenter Date: Tue May 31 19:28:03 2005 +0000 Fixed up the SASL library to use the v2 client library. NEWS | 1 + 1 file changed, 1 insertion(+) commit 1be3087d15c36e58a580e77f7063bab9c319f34d Author: Bruce Guenter Date: Tue May 31 19:27:53 2005 +0000 Fixed up the SASL library to use the v2 client library. sasl_cram_md5.c | 37 ++++++++++++++++++++++++++++++------- sasl_internal.h | 4 +++- sasl_login.c | 5 +---- sasl_plain.c | 5 +---- 4 files changed, 35 insertions(+), 16 deletions(-) commit 5f02201c047e639c0e2c97c6350af21de5f6d81b Author: Bruce Guenter Date: Tue May 31 19:26:54 2005 +0000 Bumped version to 0.65 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit f040a31d8142979328903171a5361c0587e120e0 Author: Bruce Guenter Date: Tue May 31 16:51:07 2005 +0000 Clarified the CVM_CRED_RESPONSE_TYPE value semantics. credentials.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bede08a08b9947ad2f397bab252a9766b3122158 Author: Bruce Guenter Date: Tue May 31 15:37:56 2005 +0000 Make the credentials parameter const, as it is not modified. v2client.c | 4 ++-- v2client.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 74e0647cc53f89d3baab50c83b4327e73fe847c2 Author: Bruce Guenter Date: Mon May 30 05:46:34 2005 +0000 Move #include to the first in the list, as BSD needs this. client_xfer_command.c | 2 +- client_xfer_udp.c | 2 +- cvm-chain.c | 2 +- cvm-unix.c | 2 +- cvm-vchkpw.c | 2 +- cvm-vmailmgr.c | 2 +- module_output.c | 2 +- sasl_cram_md5.c | 2 +- v1client.c | 2 +- v2client.c | 2 +- vmlookup.c | 2 +- vmmain.c | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) commit 07b4a7cdfa8019c30e24c386f2e3dc1906fbe739 Author: Bruce Guenter Date: Sun May 29 22:41:13 2005 +0000 Added test for cvm-chain. TODO | 4 ++-- tests/chain | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 tests/chain commit 98428778ca68ae9ecf0093b4835ed6604e5f9a82 Author: Bruce Guenter Date: Fri May 27 23:01:19 2005 +0000 Added cvm-chain combination client/module program (adapted from code contributed by Dale Woolridge). NEWS | 3 ++ cvm-chain.c | 87 ++++++++++++++++++++++++++++++++++++++++ cvm-benchclient=x => cvm-chain=x | 4 +- cvm.html | 1 + insthier.c | 1 + 5 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 cvm-chain.c copy cvm-benchclient=x => cvm-chain=x (64%) commit 53b6c7ca58ba768b3c68ddfd923e5a0be057cff1 Author: Bruce Guenter Date: Fri May 27 17:55:05 2005 +0000 Renamed client and module library symbols in the documentation. module.html | 43 +++++++++++++++++---------------- v1client.html | 66 +++++++++++++++++++++++++------------------------- v2client.html | 77 ++++++++++++++++++++++++++++------------------------------- 3 files changed, 92 insertions(+), 94 deletions(-) commit b655f048ef2acc8a1e66c4aa454010a47ccd5ed8 Author: Bruce Guenter Date: Fri May 27 17:54:43 2005 +0000 Renamed cvm_ucspi_domain to match other cvm client library functions. client_domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f8789466c717d611ea7e27345e150e2dd14e218 Author: Bruce Guenter Date: Wed May 25 23:52:01 2005 +0000 Added an #ifdef in the headers to prevent the definition of the compatibility macros. module.h | 2 +- v1client.h | 2 +- v2client.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 5cd904868cbdd7d92f3fa4f4b02836854ca53f0b Author: Bruce Guenter Date: Wed May 25 23:37:52 2005 +0000 Major API change, bumping up the version number to 0.60. - All module symbols are named cvm_module_* - All client symbols are named cvm_client_* NEWS | 10 ++++-- VERSION | 2 +- client_setenv.c | 8 ++--- client_setugid.c | 2 +- credentials.h | 2 +- cvm-benchclient.c | 2 +- cvm-checkpassword.c | 6 ++-- cvm-pwfile.c | 14 ++++---- cvm-qmail.c | 6 ++-- cvm-testclient.c | 6 ++-- cvm-unix.c | 14 ++++---- cvm-v1benchclient.c | 2 +- cvm-v1checkpassword.c | 6 ++-- cvm-v1testclient.c | 4 +-- cvm-vmailmgr.c | 4 +-- module.h | 75 +++++++++++++++++++++++++++------------- module_command.c | 20 +++++++---- module_local.c | 24 ++++++++----- module_local_main.c | 2 +- module_log.c | 24 ++++++------- module_main.c | 2 +- module_output.c | 48 +++++++++++++------------- module_request.c | 95 +++++++++++++++++++++++++++------------------------ module_udp.c | 19 ++++++----- module_udp_main.c | 2 +- qmail-lookup.c | 11 +++--- sasl_authenticate.c | 2 +- sasl_cram_md5.c | 2 +- sql-auth.c | 8 ++--- sql-query-test.c | 8 ++--- sql-query.c | 8 ++--- v1client.c | 38 ++++++++++----------- v1client.h | 39 ++++++++++++++++----- v2client.c | 38 ++++++++++----------- v2client.h | 51 +++++++++++++++++++-------- v2client_wrappers.c | 6 ++-- vmlookup.c | 4 +-- vmmain.c | 4 +-- 38 files changed, 358 insertions(+), 260 deletions(-) commit 81f619e2fac8c012658d42ff2915d1418a2815ff Author: Bruce Guenter Date: Wed May 25 19:24:31 2005 +0000 Renamed cvm_auth_{init,stop} to cvm_module_{init,stop}. NEWS | 1 + cvm-pwfile.c | 4 ++-- cvm-qmail.c | 4 ++-- cvm-unix.c | 4 ++-- cvm-vchkpw.c | 4 ++-- module.h | 4 ++-- module.html | 4 ++-- module_command.c | 6 +++--- module_local.c | 4 ++-- module_udp.c | 4 ++-- sql-auth.c | 4 ++-- vmmain.c | 4 ++-- 12 files changed, 24 insertions(+), 23 deletions(-) commit 736d03654370bb57b19571ed5de067b6a0a4eef2 Author: Bruce Guenter Date: Wed May 25 18:32:20 2005 +0000 Bumped version to 0.51 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 767a19e47b683e12b620baae6bf8ea3a8eed0c26 Author: Bruce Guenter Date: Wed May 11 19:56:16 2005 +0000 Authenticating against cvm-qmail is nonsense, so make cvm-qmail work only in lookup mode. cvm-qmail.c | 3 +-- tests/qmail-lookup | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 87a19f4f5652af4d13e37adf31012fd8a509ac8b Author: Bruce Guenter Date: Tue May 10 22:38:11 2005 +0000 Clear the memory for cvm_credentials just like the module code does. sql-query-test.c | 2 ++ 1 file changed, 2 insertions(+) commit d829df457bb4f88b757dc2f92f6a1912800fb463 Author: Bruce Guenter Date: Tue May 10 22:36:59 2005 +0000 Switched completely away from using stdio. TODO | 4 --- cvm-benchclient.c | 31 +++++++++-------- cvm-checkpassword.c | 11 ++++--- cvm-pwfile.c | 29 ++++++++-------- cvm-testclient.c | 67 +++++++++++++++++++++++-------------- cvm-v1benchclient.c | 31 ++++++++--------- cvm-v1checkpassword.c | 15 +++++---- cvm-v1testclient.c | 73 +++++++++++++++++++++++++---------------- module_command_main.c | 4 ++- module_local.c | 18 +++++----- module_local_main.c | 10 +++--- module_main.c | 13 +++++--- module_udp.c | 15 ++++++--- module_udp_main.c | 10 +++--- sql-query-test.c | 27 ++++++++------- tests/command-bad-password | 2 +- tests/command-bad-username | 2 +- tests/lookup | 4 +-- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/qmail-lookup | 8 ++--- tests/v1lookup | 4 +-- tests/vmailmgr-upper-pass | 2 +- tests/vmlookup-badpass | 2 +- 24 files changed, 219 insertions(+), 167 deletions(-) commit c5b1c6c4c04592df71a03f3f821a4abd8efd9495 Author: Bruce Guenter Date: Tue May 10 17:39:00 2005 +0000 Split conf-home control into conf-bin/include/lib, to help deal with systems on which the different directories are in non-obvious places. insthier.c | 11 ++++++----- spec | 21 ++++++++++++--------- 2 files changed, 18 insertions(+), 14 deletions(-) commit f50028e7ae2932400a566b916539d7ce3543ba01 Author: Bruce Guenter Date: Tue May 10 17:27:41 2005 +0000 Added notes about the rationale behind the version 2 protocol. protocol-2.html | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 93294165b14e63b866710f1526cbad25d6ceeca9 Author: Bruce Guenter Date: Tue May 10 17:07:04 2005 +0000 Fixed some missing details in the v2client API documentation. v2client.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 0fb99a401ab494a024d60e519aee785e5a01837d Author: Bruce Guenter Date: Tue May 10 17:06:43 2005 +0000 Updated the notes about the changes in this release. NEWS | 11 +++++++++-- TODO | 12 +++++------- 2 files changed, 14 insertions(+), 9 deletions(-) commit 9c2e34f23e1cf11ff83ab1f14cd7e2620a1b0a84 Author: Bruce Guenter Date: Tue May 10 16:58:18 2005 +0000 Removed the unreferenced client.html documentation. client.html | 101 ------------------------------------------------------------ 1 file changed, 101 deletions(-) delete mode 100644 client.html commit e77ce356c9d5e33a8381f1023b9291b3a8591e66 Author: Bruce Guenter Date: Tue May 10 16:58:02 2005 +0000 Updated the module API documentation. module.html | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit 9aa5cc5d2e2491e878f299f07c0ca1bdb3f3125d Author: Bruce Guenter Date: Tue May 10 16:56:29 2005 +0000 Added tests of the v1 module compatibility mode. tests/stop-pwfile-local | 2 +- tests/stop-pwfile-udp | 2 +- tests/{pwfile-local => v1local} | 2 +- tests/{lookup => v1lookup} | 8 +++----- tests/{pwfile-udp => v1udp} | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) copy tests/{pwfile-local => v1local} (84%) copy tests/{lookup => v1lookup} (88%) copy tests/{pwfile-udp => v1udp} (84%) commit 091a2c2901302f2fe004f0a4e2229762cd5015ab Author: Bruce Guenter Date: Tue May 10 16:50:42 2005 +0000 Documented the new Version 2 API. cvm.html | 3 ++- client.html => v1client.html | 4 ++-- client.html => v2client.html | 48 ++++++++++++++++++++++++-------------------- 3 files changed, 30 insertions(+), 25 deletions(-) copy client.html => v1client.html (97%) copy client.html => v2client.html (71%) commit 5cf4f41981ec93910a49ed5dcbe86ff967ff1956 Author: Bruce Guenter Date: Tue May 10 16:43:05 2005 +0000 Modified the API for cvm_split_account to be a little more reasonable. v2client.c | 31 +++++++++++++------------------ v2client.h | 3 +-- v2client_wrappers.c | 2 +- 3 files changed, 15 insertions(+), 21 deletions(-) commit 53f2d9832186737773447e5408ccc5d20b05e40a Author: Bruce Guenter Date: Tue May 10 06:02:00 2005 +0000 Converted cvm-benchclient to the v2 API. cvm-benchclient.c | 16 ++++++++++------ cvm-benchclient=x | 2 +- cvm-benchclient.c => cvm-v1benchclient.c | 0 cvm-v1testclient=x => cvm-v1benchclient=x | 0 insthier.c | 3 ++- 5 files changed, 13 insertions(+), 8 deletions(-) copy cvm-benchclient.c => cvm-v1benchclient.c (100%) copy cvm-v1testclient=x => cvm-v1benchclient=x (100%) commit e39e77437d4b28a0f313dea348ead810f3ddcc6f Author: Bruce Guenter Date: Tue May 10 05:53:09 2005 +0000 Added missing test. tests/qmail-lookup-nodomain | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/qmail-lookup-nodomain commit 22d97b1da5173c8be71b25397dcb42fca5dfa89d Author: Bruce Guenter Date: Tue May 10 05:51:53 2005 +0000 Converted cvm-checkpassword to the version 2 API. cvm-checkpassword.c | 9 +++++---- cvm-checkpassword=x | 2 +- cvm-checkpassword.c => cvm-v1checkpassword.c | 0 cvm-v1testclient=x => cvm-v1checkpassword=x | 0 insthier.c | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) copy cvm-checkpassword.c => cvm-v1checkpassword.c (100%) copy cvm-v1testclient=x => cvm-v1checkpassword=x (100%) commit f5c4c7e77a7d73152ad329a1368fd139d184a0ac Author: Bruce Guenter Date: Mon May 9 23:39:39 2005 +0000 Dropped the now redundant cvm_authenticate_lookup wrapper function. cvm-testclient.c | 2 +- v2client.h | 4 ---- v2client_wrappers.c | 16 ---------------- 3 files changed, 1 insertion(+), 21 deletions(-) commit f7461c43f748d7a0979d4bdd2c966386202b35b0 Author: Bruce Guenter Date: Mon May 9 23:38:42 2005 +0000 Modified the wrapper functions to only send across the credentials that are not NULL or empty. tests/pwfile-local | 2 +- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/stop-pwfile-local | 2 +- tests/stop-pwfile-udp | 2 +- v2client_wrappers.c | 37 ++++++++++++++++++++++++++----------- 7 files changed, 32 insertions(+), 17 deletions(-) commit bf2b641e7b22a1658702d29670cbfcd887d89176 Author: Bruce Guenter Date: Mon May 9 23:32:09 2005 +0000 Split out the API for splitting a domain name from the account name into a seperate function. v2client.c | 58 ++++++++++++++++++++++++++--------------------------- v2client.h | 5 +++-- v2client_wrappers.c | 11 +++++++--- 3 files changed, 39 insertions(+), 35 deletions(-) commit 37eba429fe14e62e99fd46d05d17e66c0da40ca1 Author: Bruce Guenter Date: Mon May 9 23:16:40 2005 +0000 Fixed up tests to match current behavior. tests.inc | 21 ++++++++++++++++++--- tests/command-bad-password | 2 +- tests/command-bad-username | 2 +- tests/command-case | 2 +- tests/command-no-prefix | 2 +- tests/command-prefix | 2 +- tests/lookup | 18 +++++++++++++++--- tests/pwfile | 2 +- tests/pwfile-crypt | 2 +- tests/pwfile-local | 4 ++-- tests/pwfile-local-bad-password | 4 ++-- tests/pwfile-udp | 4 ++-- tests/pwfile-udp-bad-password | 4 ++-- tests/qmail-lookup | 2 +- tests/start-pwfile-local | 2 +- tests/start-pwfile-udp | 2 +- tests/stop-pwfile-local | 2 +- tests/stop-pwfile-udp | 2 +- tests/vmailmgr-normal | 2 +- tests/vmailmgr-upper-domain | 2 +- tests/vmailmgr-upper-pass | 2 +- tests/vmailmgr-upper-virt | 2 +- tests/vmlookup-badpass | 4 ++-- tests/vmlookup-normal | 3 ++- tests/vmlookup-pass | 3 ++- tests/vmlookup-upper-domain | 3 ++- tests/vmlookup-upper-virt | 3 ++- 27 files changed, 67 insertions(+), 36 deletions(-) commit 6b14b418af4267265e3aca380cfd0ffb95e46533 Author: Bruce Guenter Date: Mon May 9 23:06:43 2005 +0000 Since qmail_lookup_cvm handles the case where the domain credential is missing, it shouldn't be marked as required in the module. cvm-qmail.c | 1 - 1 file changed, 1 deletion(-) commit bf7a94d39ad09bb01ae8c43f6422d1178baad16b Author: Bruce Guenter Date: Mon May 9 19:50:08 2005 +0000 Fixed a bug in module output where error packets would always be sent in version 1 protocol format. module_output.c | 11 +++++------ module_request.c | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) commit 56c1845596833f5a9494567514d40f62f046e5fe Author: Bruce Guenter Date: Mon May 9 18:52:11 2005 +0000 Added plain lookup wrapper for cvm_authenticate. cvm-testclient.c | 18 ++++++++++++++---- v2client.h | 10 +++++----- v2client_wrappers.c | 12 ++++++++++++ 3 files changed, 31 insertions(+), 9 deletions(-) commit 8c838917f8d32cbb359300cd263ac76b4a2963f2 Author: Bruce Guenter Date: Mon May 9 18:51:52 2005 +0000 Fixed bug with parsing the length byte in cvm_fact_str. v2client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08f35c9d69b233ccc681b4f5b42fb58a6450435e Author: Bruce Guenter Date: Mon May 9 18:19:29 2005 +0000 Fixed bug introduced with the $CVM_LOOKUP_SECRET variable. v2client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f9356a1b18b604569897de18f505b6786a704117 Author: Bruce Guenter Date: Mon May 9 17:49:56 2005 +0000 If $CVM_LOOKUP_SECRET is set, and no CVM_CRED_SECRET credential is present, automatically add it to the set of credentials sent by the client. v2client.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit eb0e36bf0f92068db6a977ae2f8eb669db0b3bac Author: Bruce Guenter Date: Mon May 9 05:15:57 2005 +0000 Since I have committed actual code for the v2 protocol, it no longer is really a "work in progress". cvm.html | 3 ++- protocol-2.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit b269b79cb813f71aa771d0742cf47614a7d2c447 Author: Bruce Guenter Date: Mon May 9 05:11:26 2005 +0000 Added initial support for protocol v2 to client library; fixed some related bugs in the module library. cvm-testclient.c | 10 +- module_output.c | 3 +- module_request.c | 2 +- v2client.c | 166 +++++++++++++++++++++------------ v2client.h | 27 +++++- v2client=l | 1 + client_domain.c => v2client_wrappers.c | 37 ++++---- 7 files changed, 153 insertions(+), 93 deletions(-) copy client_domain.c => v2client_wrappers.c (51%) commit 18d5cc1c09796c59e86ee7c0241b2bf35982bdba Author: Bruce Guenter Date: Mon May 9 04:28:04 2005 +0000 Fixed potential problem with overflowing unsigned numbers. v1client.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 74b0822d6996a39db773b0bbe8086ab7973823a3 Author: Bruce Guenter Date: Sun May 8 06:11:57 2005 +0000 Use global CVM_BUFSIZE constant. v1client.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 0495d3318fa478a084d2cbaab655cc64a856775f Author: Bruce Guenter Date: Sun May 8 06:09:48 2005 +0000 Move parsing the result code in the buffer into the parse_buffer routine. v1client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 01d1f682eba537c3c5aae886e4142aea7e4adaa7 Author: Bruce Guenter Date: Sun May 8 06:08:33 2005 +0000 Don't try to interpret the buffer in the transfer code. client_xfer_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19196d4f03c2396de81d07fdcf06da4c8536f315 Author: Bruce Guenter Date: Sun May 8 05:57:48 2005 +0000 Renamed the soon-to-be version 2 client library to v2client, and put in compatibility links to the version 1 client library, to allow existing software to compile properly. client_domain.c | 2 +- client_setenv.c | 2 +- client_setugid.c | 2 +- client_xfer_command.c | 2 +- client_xfer_local.c | 2 +- client_xfer_udp.c | 2 +- cvm-benchclient.c | 2 +- cvm-benchclient=x | 2 +- cvm-checkpassword.c | 2 +- cvm-checkpassword=x | 2 +- cvm-testclient.c | 2 +- cvm-testclient=x | 2 +- insthier.c | 6 ++++-- sasl_authenticate.c | 2 +- sasl_cram_md5.c | 2 +- client.c => v2client.c | 2 +- client.h => v2client.h | 4 ++-- client=l => v2client=l | 2 +- 18 files changed, 22 insertions(+), 20 deletions(-) rename client.c => v2client.c (99%) rename client.h => v2client.h (94%) rename client=l => v2client=l (91%) commit 4acd0b6f3055a0705d3347ff5811b538b04dee9e Author: Bruce Guenter Date: Sun May 8 05:41:00 2005 +0000 Fixed another signed char* instance. v1client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 38f6e8b60b02bdc203c17604c3922d5fef6cf0b5 Author: Bruce Guenter Date: Sun May 8 05:36:11 2005 +0000 Fixed usage of global "str" type as variable name. client_setenv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 396111a60d3efa2892b21005b3e5023698258497 Author: Bruce Guenter Date: Sun May 8 05:02:38 2005 +0000 Broke out the command/local/UDP client-module transmission code, as this will be identical in both protocols. client.c | 176 +------------------------------------------------- client.h | 12 ++++ client=l | 3 + client_xfer_command.c | 125 +++++++++++++++++++++++++++++++++++ client_xfer_local.c | 59 +++++++++++++++++ client_xfer_udp.c | 81 +++++++++++++++++++++++ v1client.c | 176 +------------------------------------------------- v1client.h | 16 ++++- v1client=l | 3 + 9 files changed, 303 insertions(+), 348 deletions(-) create mode 100644 client_xfer_command.c create mode 100644 client_xfer_local.c create mode 100644 client_xfer_udp.c commit 05adb704cad84e467ec418ecfb12f0a34eec0990 Author: Bruce Guenter Date: Sun May 8 03:43:45 2005 +0000 Saved a copy of the v1 protocol clients and API for compatibility testing. cvm-testclient.c => cvm-v1testclient.c | 2 +- cvm-benchclient=x => cvm-v1testclient=x | 2 +- insthier.c | 3 +++ client.c => v1client.c | 2 +- client.h => v1client.h | 0 client=l => v1client=l | 2 +- 6 files changed, 7 insertions(+), 4 deletions(-) copy cvm-testclient.c => cvm-v1testclient.c (98%) copy cvm-benchclient=x => cvm-v1testclient=x (59%) copy client.c => v1client.c (99%) copy client.h => v1client.h (100%) copy client=l => v1client=l (85%) commit 74e38a89b8eb807734ab3d6356db8b5ac4587900 Author: Bruce Guenter Date: Sat May 7 19:25:14 2005 +0000 Rewrote the module code to handle both v2 and v1 protocols. NEWS | 8 +++++ VERSION | 2 +- credentials.h | 2 ++ cvm-pwfile.c | 16 ++++----- cvm-qmail.c | 4 +-- cvm-unix.c | 10 +++--- cvm-vmailmgr.c | 24 +++++++------ cvm.html | 2 +- insthier.c | 3 +- module.h | 13 ++++--- module_log.c | 17 ++++++--- module_output.c | 47 ++++++++++++++++++++---- module_request.c | 79 +++++++++++++++++++++++++++++------------ protocol-2.html | 2 ++ qmail-domains.c | 4 +-- qmail-lookup.c | 10 +++--- qmail.h | 2 +- sql-auth.c | 9 +++-- sql-query-test.c | 8 ++--- sql-query.c | 30 +++++++++++----- tests/lookup | 26 ++++++++++++-- tests/pwfile-local | 2 +- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/stop-pwfile-local | 2 +- tests/stop-pwfile-udp | 2 +- vmlookup.c | 2 +- 28 files changed, 231 insertions(+), 101 deletions(-) commit bfc6a4406dd320a97b7fe57fc81ae6bd026b8cf1 Author: Bruce Guenter Date: Fri May 6 23:04:33 2005 +0000 Rewrote the version 2 protocol to be more like version 1, for efficiency and ease of implementation. cvm.html | 2 +- protocol.html => protocol-1.html | 5 ++- protocol-2.html | 71 ++++++++++++++++++++-------------------- protocol.h | 8 +---- 4 files changed, 40 insertions(+), 46 deletions(-) rename protocol.html => protocol-1.html (98%) commit cd6f05f25b006f6590a420c3f94ca7def0396400 Author: Bruce Guenter Date: Fri May 6 22:54:08 2005 +0000 Cleaned up some formatting, expanded details. errors.html | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) commit c5260923e8b7ff5d4a55125ad9215f0ed165fd63 Author: Bruce Guenter Date: Fri May 6 22:53:26 2005 +0000 Fixed up some formatting and clarified the contents of strings. facts.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit e415d738ad6877ecba9948f3bf7b2751d1b52582 Author: Bruce Guenter Date: Fri May 6 07:16:55 2005 +0000 Fact numbers are effectively unsigned, so the API should match everywhere. client.c | 18 +++++++++--------- client.h | 4 ++-- client.html | 4 ++-- module.h | 6 +++--- module.html | 4 ++-- module_output.c | 10 +++++----- 6 files changed, 23 insertions(+), 23 deletions(-) commit 49aa052f31547f1cd3cbcc28a8669c3e9ff68b3d Author: Bruce Guenter Date: Fri May 6 07:00:39 2005 +0000 Missed changing one pointer to the output buffer to unsigned char type. module_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 527c6b14792100fcc33a08ce2372ee6ed9ade23d Author: Bruce Guenter Date: Fri May 6 06:55:41 2005 +0000 Converted the input and output module buffers to unsigned char type. module.h | 4 ++-- module_output.c | 2 +- module_request.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 7e503b872085d87fc284a0771d3f42291b1d6d6e Author: Bruce Guenter Date: Thu May 5 23:55:30 2005 +0000 Added a response type credential, to distinguish between different challenge-response mechanisms (APOP, CRAM-MD5, etc). credentials.h | 12 +++--------- credentials.html | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 13 deletions(-) commit e33bc1355444793d49ea51b5411663e96e86de27 Author: Bruce Guenter Date: Thu May 5 22:28:01 2005 +0000 Missed a closing ` on the load line in the comments of cvm-vchkpw.c cvm-vchkpw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c064fc4a83033bf7d1549199701778552f76bc8c Author: Bruce Guenter Date: Thu May 5 16:42:22 2005 +0000 Moved the protocol definitions into a shared header file, in preparation for CVM2. client.c | 5 +++-- client.h | 2 -- module.h | 2 -- module_request.c | 5 +++-- protocol.h | 13 +++++++++++++ 5 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 protocol.h commit c388ed3bd9d99fb2ee72a63740edf6e5a88cf7e4 Author: Bruce Guenter Date: Thu May 5 15:31:55 2005 +0000 Reorganized the credentials slightly. More reorganization is on the way to fully provide support for all challenge-response mechanisms. credentials.h | 6 +++--- credentials.html | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 19 deletions(-) commit d6516b1cd71793109abb037513095e7d3cfbc95a Author: Bruce Guenter Date: Thu May 5 06:12:59 2005 +0000 Renamed "str" to simply "s" to avoid conflicts with the "str" data type. module_log.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c1c2cf402c0656c44fe2a4fc0af373ca052b85b7 Author: Bruce Guenter Date: Thu May 5 05:51:37 2005 +0000 Adjusted tests to account for the getpwnam fallback after CDB lookup failure. tests.inc | 2 ++ 1 file changed, 2 insertions(+) commit c3642488922acd713db7a719d98a9bfe346d3b10 Author: Bruce Guenter Date: Thu May 5 04:21:03 2005 +0000 Fixed the cvm-pwfile documentation to say that the default password comparison mode was plain-text instead of UNIX crypt. cvm-pwfile.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit d8045af6afbf597dd2a3d7d32cc37b1eb82ea1bb Author: Bruce Guenter Date: Thu May 5 03:58:46 2005 +0000 Fixed handling qmail lookups when cdb/users exists but does not contain all users. Thanks Dale Woolridge. NEWS | 3 +++ qmail-users.c | 17 +++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) commit 37e8e6f60c95687f4f7397a8103ddc99dcdda979 Author: Bruce Guenter Date: Wed May 4 23:23:08 2005 +0000 Fixed handling qmail lookups with missing domains by reading control/me and control/envnoathost. NEWS | 3 +++ qmail-init.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- qmail-lookup.c | 3 +++ qmail.h | 2 ++ tests.inc | 2 ++ 5 files changed, 57 insertions(+), 1 deletion(-) commit c84081ca55cf585e6e79facc86df06f6054d7c25 Author: Bruce Guenter Date: Wed May 4 22:44:35 2005 +0000 Fixed handling qmail lookups of extensions containing periods. NEWS | 2 ++ qmail-dotfile.c | 14 +++++++++----- tests.inc | 2 ++ tests/qmail-lookup | 29 ++++++++++++++++++++++++++++- 4 files changed, 41 insertions(+), 6 deletions(-) commit 85aace1b002eada8ce9c3816e7fb9cab4dd7fbea Author: Bruce Guenter Date: Wed May 4 22:12:39 2005 +0000 Added error strings analogous to sys_errlist. client=l | 1 + cvm-benchclient.c | 5 +++-- cvm-testclient.c | 5 +++-- errors.c | 45 +++++++++++++++++++++++++++++++++++++++++ errors.h | 3 +++ tests/command-bad-password | 2 +- tests/command-bad-username | 2 +- tests/lookup | 8 ++++---- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/qmail-lookup | 8 ++++---- tests/vmailmgr-upper-pass | 2 +- tests/vmlookup-badpass | 2 +- 13 files changed, 69 insertions(+), 18 deletions(-) create mode 100644 errors.c commit 3464a89eae81252385281180ed5dab3948a2ecf9 Author: Bruce Guenter Date: Tue May 3 20:53:27 2005 +0000 Conditionally install cvm-vchkpw, just like cvm-mysql and friends. Thanks Peter Palmreuther insthier.c | 4 ++++ 1 file changed, 4 insertions(+) commit acc529aa20cebb8d67bb26b109b9382f56644b44 Author: Bruce Guenter Date: Tue May 3 20:51:04 2005 +0000 Added compile fix for cvm-vchkpw. Thanks Peter Palmreuther NEWS | 1 + cvm-vchkpw.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 75970418242f7c8df2bc1caa768003b80ae48b00 Author: Bruce Guenter Date: Tue May 3 20:45:58 2005 +0000 Bumped up version to 0.33. NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit a1da5d34f10ba8a894ccdc5c6a826ebfbce766b6 Author: Bruce Guenter Date: Fri Jan 14 22:09:36 2005 +0000 Also lower-case the user name when looking it up, just like qmail-local does. NEWS | 4 ++-- qmail-users.c | 30 +++++++++++++++++------------- tests/qmail-lookup | 27 +++++++++++++++++++++++++-- 3 files changed, 44 insertions(+), 17 deletions(-) commit 3f45e53655b5f2087ed2fae5f7710be4d4f02b16 Author: Bruce Guenter Date: Fri Jan 14 20:47:03 2005 +0000 Fixed the .qmail-ext lookup in cvm-qmail to lower-case the "-ext" part just like qmail-local does. NEWS | 2 ++ qmail-dotfile.c | 10 ++++++++-- tests/qmail-lookup | 18 +++++++++++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) commit f91eda1a3db547df1f03f99ce0548f48fe9d3338 Author: Bruce Guenter Date: Fri Jan 14 20:06:32 2005 +0000 Bumped version to 0.32 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 1b727854defa0ede65046100cef9ec4f0fdaa7af Author: Bruce Guenter Date: Fri Jan 14 20:04:33 2005 +0000 Bumped year to 2005. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6cf60fa4376e9e9425a10155b4626c442261961 Author: Bruce Guenter Date: Thu Dec 2 05:29:35 2004 +0000 Rewrote and expanded the module documentation, fixing the lack of documentation on cvm_results() module.html | 59 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 26 deletions(-) commit 7e8c05c2db3f07adf9525829905185cca8c78deb Author: Bruce Guenter Date: Mon Nov 15 20:18:16 2004 +0000 Changed error code in the qmail code from EBADMSG to EDOM to allow compilation on *BSD systems. NEWS | 6 ++++++ qmail-users.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit ca33033de5e98a9870f817e08c568752b82da820 Author: Bruce Guenter Date: Mon Nov 15 20:06:41 2004 +0000 Bumped version to 0.31 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 09b77ea63facb8b46cace2a42922d0a0a0222cd3 Author: Bruce Guenter Date: Fri Nov 12 16:53:15 2004 +0000 Add distribution of the extra README files into EXTRADIST. EXTRADIST | 2 ++ doc.dist | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) commit 3427d8e06e21a296f1cf365237d2602ea3411ab1 Author: Bruce Guenter Date: Wed Nov 10 23:09:07 2004 +0000 Modified the behavior of lookup mode slightly: if the lookup secret is empty, it is treated as indicating that no password is needed but still operate in lookup mode. cvm.html | 7 +++++-- module_request.c | 14 +++++++++----- tests/lookup | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 tests/lookup commit b6a1414f8fce90cc0e543f75dfd218d5c74cf3b6 Author: Bruce Guenter Date: Wed Nov 10 20:36:54 2004 +0000 Updated the tests to use/test the new generic lookup mode. tests.inc | 4 ++-- tests/qmail-lookup | 5 +---- tests/vmlookup-badpass | 2 -- tests/vmlookup-normal | 2 +- tests/vmlookup-pass | 4 +--- tests/vmlookup-upper-domain | 2 +- tests/vmlookup-upper-virt | 2 +- 7 files changed, 7 insertions(+), 14 deletions(-) commit cc5f7eb0c013ea0b4922bd3238c793f27f011d63 Author: Bruce Guenter Date: Wed Nov 10 20:36:27 2004 +0000 Updated the executable linking files and the spec to use the new unified bglibs file. README.in | 5 +---- cvm-benchclient=x | 2 +- cvm-checkpassword=x | 2 +- cvm-mysql-local=x | 3 +-- cvm-mysql-udp=x | 3 +-- cvm-mysql=x | 3 +-- cvm-pgsql-local=x | 3 +-- cvm-pgsql-udp=x | 3 +-- cvm-pgsql=x | 3 +-- cvm-pwfile=x | 2 +- cvm-testclient=x | 2 +- cvm-unix=x | 2 +- cvm-vmailmgr-local=x | 14 ++------------ cvm-vmailmgr-udp=x | 14 ++------------ cvm-vmailmgr=x | 11 ++--------- spec | 2 +- sql-query-test=x | 2 +- 17 files changed, 20 insertions(+), 56 deletions(-) commit 7ce7718ace78ab9a64c87afd01c6632c78b4400d Author: Bruce Guenter Date: Wed Nov 10 20:13:31 2004 +0000 Removed the now obsoleted cvm-vmlookup lookup-only module. NEWS | 2 ++ cvm-vmlookup.c | 35 ----------------------------------- cvm-vmlookup=x | 15 --------------- insthier.c | 1 - 4 files changed, 2 insertions(+), 51 deletions(-) delete mode 100644 cvm-vmlookup.c delete mode 100644 cvm-vmlookup=x commit 08996123e728f95509d92c969170f989df1b9629 Author: Bruce Guenter Date: Wed Nov 10 20:12:30 2004 +0000 Replaced the "try_default" global, which is only set when doing lookups, with the new cvm_lookup_secret run-time flag. cvm-vmailmgr.c | 3 +-- cvm-vmailmgr.h | 1 - vmlookup.c | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) commit 3e5429e0198aa299b2a0f50b0bc98fce5ee1e40d Author: Bruce Guenter Date: Wed Nov 10 20:11:18 2004 +0000 Made the lookup secret value an exported symbol so that modules can adjust their behavior dependant on if lookup mode is enabled. module.h | 1 + module_request.c | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit e8bdf6f96ceb081a9a97f405dfc1c4e8a3435349 Author: Bruce Guenter Date: Wed Nov 10 18:48:43 2004 +0000 Added documentation for the qmail and vmailmgr modules. cvm-qmail.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ cvm-vmailmgr.html | 43 +++++++++++++++++++++++++++++++++++++++++++ cvm.html | 2 ++ 3 files changed, 98 insertions(+) create mode 100644 cvm-qmail.html create mode 100644 cvm-vmailmgr.html commit 0bc8fe5adc068b1e76f2c1442214d43d85614405 Author: Bruce Guenter Date: Wed Nov 10 18:33:15 2004 +0000 Reformatted the "Configuration Variables" sections to be more readable. cvm-mysql.html | 51 ++++++++++++++++++++++++++------------------------- cvm-pgsql.html | 28 ++++++++++++++-------------- cvm-pwfile.html | 12 ++++++------ cvm-unix.html | 4 +++- 4 files changed, 49 insertions(+), 46 deletions(-) commit b67c60695e01d557019b2f2b686f152f1a1dfc2a Author: Bruce Guenter Date: Wed Nov 10 17:50:05 2004 +0000 Added the README file from vmailmgr to the repository. README.vmailmgr | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 README.vmailmgr commit f902711cc661ed54a9ec5b42d1b7a8f86d6f9454 Author: Bruce Guenter Date: Wed Nov 10 16:41:30 2004 +0000 Added "lookup mode" common code, available in all modules. Renamed cvm-qmaillookup to cvm-qmail, since it is no longer lookup-specific. Bumped the version to 0.30, as this is a major internal change. NEWS | 10 ++++++---- VERSION | 2 +- command=l | 1 - cvm-qmaillookup.c => cvm-qmail.c | 15 ++------------- cvm-qmaillookup=x => cvm-qmail=x | 0 cvm-vmailmgr.h | 1 - cvm-vmlookup.c | 10 +--------- cvm.html | 5 +++++ insthier.c | 2 +- local=l | 1 - module.h | 2 +- module.html | 21 ++++++--------------- module=l | 1 - module_local_main.c | 3 ++- module_main.c | 3 ++- module_preauth.c | 6 ------ module_request.c | 33 +++++++++++++++++++++++++++------ module_udp_main.c | 3 ++- tests.inc | 2 +- tests/{qmaillookup => qmail-lookup} | 4 ++++ tests/vmlookup-badpass | 6 +++--- tests/vmlookup-pass | 4 ++-- udp=l | 1 - vmmain.c | 4 +--- 24 files changed, 67 insertions(+), 73 deletions(-) rename cvm-qmaillookup.c => cvm-qmail.c (86%) rename cvm-qmaillookup=x => cvm-qmail=x (100%) delete mode 100644 module_preauth.c rename tests/{qmaillookup => qmail-lookup} (97%) commit 211c62cd9c3918d14928be2f9270715293d6444c Author: Bruce Guenter Date: Wed Nov 10 04:24:52 2004 +0000 The *SQL modules are no longer in a seperate package. cvm.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 61d44c49f27fa561fb6a5ecdc97290d0dca5613b Author: Bruce Guenter Date: Wed Nov 10 04:24:18 2004 +0000 Added the cvm_auth_stop function and expanded the note about not exiting to encompass all module supplied functions. module.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 22abecb8343490178a113da7611fbb36c6c8576b Author: Bruce Guenter Date: Wed Nov 10 04:22:20 2004 +0000 Make sure the HTML files get included in the tarball. doc.dist | 1 + 1 file changed, 1 insertion(+) commit 1ddd424d14df4a96aa3a45dbf237973f6f3b9efa Author: Bruce Guenter Date: Wed Nov 10 04:03:18 2004 +0000 Fixed obsoleted URL. TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e429d7a9335b0a2aa7735882df17095732d30a3 Author: Bruce Guenter Date: Tue Nov 9 20:48:21 2004 +0000 Add support for substituting a predetermined domain name and user if the given domain isn't found in locals or virtualdomains. This allows lookups where the domain is in (more)rcpthosts to succeed even if they aren't local domains (for cases where the server is acting as a secondary etc). qmail-lookup.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 013f6bacf16b4fb8f091a35e0c3b126a4d1edd97 Author: Bruce Guenter Date: Tue Nov 9 16:57:37 2004 +0000 Since these modules all call the qmail_lookup_cvm code, use the associated qmail_lookup_init for initialization. cvm-qmaillookup.c | 4 +--- vmlookup.c | 4 +--- vmmain.c | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) commit ed3a6b65f17426a1cc5f247a3daad98146ea9588 Author: Bruce Guenter Date: Tue Nov 9 04:07:22 2004 +0000 Make sure the new cvm-qmaillookup module gets installed too. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31262fd78802da8d4e224b8589525decf12f855e Author: Bruce Guenter Date: Mon Nov 8 19:51:36 2004 +0000 Added cvm-qmaillookup to installed modules. insthier.c | 1 + 1 file changed, 1 insertion(+) commit a8bc5300d208a4143d15114cef565cd42a124738 Author: Bruce Guenter Date: Mon Nov 8 18:47:08 2004 +0000 Reworked the tests framework for vmailmgr, and added tests for cvm-qmaillookup tests.inc | 34 +++++++++++++++-- tests/build-qmail | 22 ----------- tests/del-qmail | 5 --- tests/qmaillookup | 93 +++++++++++++++++++++++++++++++++++++++++++++ tests/vmailmgr-normal | 11 +++--- tests/vmailmgr-upper-domain | 11 +++--- tests/vmailmgr-upper-pass | 1 - tests/vmailmgr-upper-virt | 11 +++--- tests/vmlookup-badpass | 1 - tests/vmlookup-normal | 11 +++--- tests/vmlookup-pass | 11 +++--- tests/vmlookup-upper-domain | 11 +++--- tests/vmlookup-upper-virt | 11 +++--- 13 files changed, 159 insertions(+), 74 deletions(-) delete mode 100644 tests/build-qmail delete mode 100644 tests/del-qmail create mode 100644 tests/qmaillookup commit 0c3c04ba05cd75d548f0bfc9b921799762425a70 Author: Bruce Guenter Date: Mon Nov 8 18:39:28 2004 +0000 System users (as indicated by not having a "dash" in the users structure) do not need a .qmail file to be considered to exist. However, it is invalid to try to add an extension to them. qmail-dotfile.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 84cd09336f932a0d28e243c2cc8e8a1d30f97c03 Author: Bruce Guenter Date: Mon Nov 8 17:30:12 2004 +0000 Add the README.vmailmgr and README.vchkpw files to the distribution archive. doc.dist | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc.dist commit 7f25e38bdbc685470a87718742db2f6061ecc8e9 Author: Bruce Guenter Date: Sat Nov 6 15:42:12 2004 +0000 Added note about the qmail code rewrite. NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 2415672df56a03f5206b1c3e7bef5c489dfb909e Author: Bruce Guenter Date: Sat Nov 6 15:41:03 2004 +0000 Added new cvm-qmaillookup module, which can be used to verify validity of recipient addresses on qmail systems. NEWS | 3 ++ cvm-qmaillookup.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ cvm-qmaillookup=x | 5 +++ 3 files changed, 105 insertions(+) create mode 100644 cvm-qmaillookup.c create mode 100644 cvm-qmaillookup=x commit d1429b400cf07d6a7ad2262287d3abfde3728701 Author: Bruce Guenter Date: Sat Nov 6 15:37:44 2004 +0000 Add support for default/alias delivery. qmail-users.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit a77360c91eef3572517f17d62dba8627bbfa1847 Author: Bruce Guenter Date: Sat Nov 6 15:36:51 2004 +0000 Renamed qmail_vdomains_* to qmail_domains_* and added control/local lookups, which makes the qmail looks completely compliant with qmail. qmail-vdomains.c => qmail-domains.c | 71 ++++++++++++++++++++++++++----------- qmail-lookup.c | 19 +++++----- qmail.h | 6 ++-- qmail=l | 2 +- tests/build-qmail | 1 + vmlookup.c | 2 +- 6 files changed, 67 insertions(+), 34 deletions(-) rename qmail-vdomains.c => qmail-domains.c (56%) commit b83b55a0578a56a8b5d7632ab38cca3f803c48ac Author: Bruce Guenter Date: Sat Nov 6 15:35:40 2004 +0000 Added error checking on str_* return codes. qmail-dotfile.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit e671bf836a845c126601c03d166ad41016233a04 Author: Bruce Guenter Date: Fri Nov 5 22:44:05 2004 +0000 Rewrote the lookup_reinit, lookup_domain, lookup_baseuser, and lookup_virtuser to use the newly created qmail_lookup_cvm routine. cvm-vmailmgr.h | 3 --- vmlookup.c | 43 ++++++++----------------------------------- vmmain.c | 3 --- 3 files changed, 8 insertions(+), 41 deletions(-) commit 87e85153257f5bd26f76de8ad1f2035452dc0179 Author: Bruce Guenter Date: Fri Nov 5 22:35:08 2004 +0000 Instead of calling vpwentry_auth from within the (custom) qmail lookup code, use a cvm_preauth routine to specifically handle the lookup module case (for cvm-vmlookup, unneeded in cvm-vmailmgr). cvm-vmailmgr.c | 11 ++++------- cvm-vmailmgr.h | 3 +-- cvm-vmlookup.c | 9 ++++++--- vmlookup.c | 8 ++++---- vmmain.c | 8 ++------ 5 files changed, 17 insertions(+), 22 deletions(-) commit 39efd003bf6d26f24f91b1108d4b5d87cdd85514 Author: Bruce Guenter Date: Fri Nov 5 22:17:33 2004 +0000 Updated this documentation to reflect the current calling sequence. module.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit ebda35bbc3309c46b20f260301d60224b018fdd7 Author: Bruce Guenter Date: Fri Nov 5 22:16:35 2004 +0000 Added an optional cvm_preauth call before doing account lookups. command=l | 1 + local=l | 1 + module.h | 1 + module.html | 9 +++++++++ module=l | 1 + module_preauth.c | 6 ++++++ module_request.c | 1 + udp=l | 1 + 8 files changed, 21 insertions(+) create mode 100644 module_preauth.c commit dd1f24db82f1c27152925aba3f1dc405f67e0b64 Author: Bruce Guenter Date: Fri Nov 5 18:39:21 2004 +0000 Added qmail dotfile ($HOME/.qmail*) and generic lookup functions. qmail-dotfile.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qmail-lookup.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ qmail.h | 8 +++++++ qmail=l | 2 ++ 4 files changed, 140 insertions(+) create mode 100644 qmail-dotfile.c create mode 100644 qmail-lookup.c commit a16a4478e9ed60ce346dc0e622d7cf3c6f8515b5 Author: Bruce Guenter Date: Fri Nov 5 18:38:19 2004 +0000 Updated file header comments. vmlookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba5f465937e0b1575df012484e5a51f6aed22d69 Author: Bruce Guenter Date: Fri Nov 5 04:21:48 2004 +0000 Broke the vmailmgr lookup code into three parts: 1) qmail virtualdomains lookups 2) qmail users/cdb lookups 3) vmailmgr password table lookups cvm-vmailmgr-local=x | 1 + cvm-vmailmgr-udp=x | 1 + cvm-vmailmgr.h | 5 +- cvm-vmailmgr=x | 1 + cvm-vmlookup=x | 1 + module_command_main.c => qmail-init.c | 17 ++- qmail-users.c | 178 +++++++++++++++++++++++++++ qmail-vdomains.c | 94 +++++++++++++++ qmail.h | 29 +++++ qmail=l | 3 + vmlookup.c | 218 +++++----------------------------- vmmain.c | 15 ++- 12 files changed, 356 insertions(+), 207 deletions(-) copy module_command_main.c => qmail-init.c (71%) create mode 100644 qmail-users.c create mode 100644 qmail-vdomains.c create mode 100644 qmail.h create mode 100644 qmail=l commit 7450c7ec570c6d48ed491c2a4dbf31e79b88304b Author: Bruce Guenter Date: Thu Nov 4 18:06:06 2004 +0000 Fixed cvm/module.h header file include problem. Thanks Paul Jarc for pointing this out. NEWS | 3 +++ cvm-vmailmgr.c | 2 +- cvm-vmlookup.c | 2 +- sql-auth.c | 2 +- sql-query.c | 4 ++-- vmlookup.c | 2 +- vmmain.c | 2 +- 7 files changed, 10 insertions(+), 7 deletions(-) commit d07f47f56f4dfd1b88c44af11b5448ddb973d12f Author: Bruce Guenter Date: Thu Nov 4 16:47:24 2004 +0000 Bumped version to 0.25 NEWS | 5 +++++ VERSION | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit b85ac56c4ac89121c3313f5c561ea6943f7a378f Author: Bruce Guenter Date: Thu Nov 4 03:47:55 2004 +0000 Added -I/usr/include/pgsql flag needed in some build environments. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7647fe0a48f24a0da5b36e810261b9346e3d26e7 Author: Bruce Guenter Date: Thu Nov 4 00:13:39 2004 +0000 Switch to newer "tail -n #" usage. tests/pwfile-local | 2 +- tests/pwfile-local-bad-password | 2 +- tests/pwfile-udp | 2 +- tests/pwfile-udp-bad-password | 2 +- tests/stop-pwfile-local | 2 +- tests/stop-pwfile-udp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 43d99f307354c1f31eb25f0af8717eff4b34a9b0 Author: Bruce Guenter Date: Sat Feb 21 05:36:17 2004 +0000 Fixed a bug in client.c that prevented at least OpenBSD from using UDP modules. Thanks Balazs Nagy. NEWS | 3 +++ client.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) commit d03ce34cad3e7ab64b66a2cc7af7280b97d58b06 Author: Bruce Guenter Date: Tue Feb 10 20:28:20 2004 +0000 Added cvm-vchkpw README from Sebastian Benoit README.vchkpw | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README.vchkpw commit ef4f167044211da9560883187dc3434b64128ef8 Author: Bruce Guenter Date: Tue Feb 10 19:29:03 2004 +0000 Added comments from Sebastian Benoit cvm-vchkpw.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit bc66fb533d91d10873dbd4f8e41dfff9823c1dff Author: Bruce Guenter Date: Tue Feb 10 19:22:31 2004 +0000 Treat cvm_fact_shell as optional (as defined by facts.html) instead of required. NEWS | 3 +++ module_request.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit de75551505d3f719b931afc407bd834b6cfb53ed Author: Bruce Guenter Date: Tue Feb 10 06:10:52 2004 +0000 Seperate the lookup, authenticate, and result generation into three seperate functions. This will (eventually) allow for lookup-only operation without recoding modules. cvm-pwfile.c | 19 ++++++++++++----- cvm-unix.c | 19 ++++++++++++----- cvm-vchkpw.c | 56 +++++++++++++++++++++++++++---------------------- module.h | 2 ++ module_request.c | 2 ++ sql-auth.c | 22 ++++++++++++++------ vmmain.c | 63 +++++++++++++++++++++++++++++--------------------------- 7 files changed, 112 insertions(+), 71 deletions(-) commit 5a469bc35045755bb74cb895947094c3bbd87d35 Author: Bruce Guenter Date: Mon Feb 9 18:24:20 2004 +0000 Added missing NEWS.sql to extra distributed files. EXTRADIST | 1 + 1 file changed, 1 insertion(+) commit 6cba446a94220e4875ded22f5d6b7bb343db2f0e Author: Bruce Guenter Date: Mon Feb 9 17:53:43 2004 +0000 Added notes from cvm-vmailmgr. EXTRADIST | 2 ++ NEWS.vmailmgr | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.in | 17 +++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 NEWS.vmailmgr commit 2edbb4c5edb63a90a77f2617a24c6708884bf9ff Author: Bruce Guenter Date: Mon Feb 9 17:44:37 2004 +0000 Merged SQL modules back in from the seperated cvm-sql package. NEWS | 2 + NEWS.sql | 21 +++++++ README.in | 1 + TODO | 8 +++ TOP.spac | 1 + cvm-vmailmgr-udp.c => cvm-mysql-local.c | 0 cvm-mysql-local=x | 8 +++ cvm-vmailmgr-udp.c => cvm-mysql-udp.c | 0 cvm-mysql-udp=x | 8 +++ cvm-mysql.c | 102 ++++++++++++++++++++++++++++++++ cvm-mysql.html | 64 ++++++++++++++++++++ cvm-mysql=x | 7 +++ cvm-vmailmgr-udp.c => cvm-pgsql-local.c | 0 cvm-pgsql-local=x | 8 +++ cvm-vmailmgr-udp.c => cvm-pgsql-udp.c | 0 cvm-pgsql-udp=x | 8 +++ cvm-pgsql.c | 80 +++++++++++++++++++++++++ cvm-pgsql.html | 46 ++++++++++++++ cvm-pwfile=x => cvm-pgsql=x | 4 +- insthier.c | 16 +++++ mysql.spac | 1 + pgsql.spac | 1 + programs.spac | 5 ++ spec | 29 ++++++++- sql-auth.c | 97 ++++++++++++++++++++++++++++++ sql-query-test.c | 26 ++++++++ sql-query-test=x | 2 + sql-query.c | 99 +++++++++++++++++++++++++++++++ sql.h | 19 ++++++ sql.html | 41 +++++++++++++ sql=l | 2 + tests/sql-substitution | 32 ++++++++++ 32 files changed, 735 insertions(+), 3 deletions(-) create mode 100644 NEWS.sql create mode 100644 TOP.spac copy cvm-vmailmgr-udp.c => cvm-mysql-local.c (100%) create mode 100644 cvm-mysql-local=x copy cvm-vmailmgr-udp.c => cvm-mysql-udp.c (100%) create mode 100644 cvm-mysql-udp=x create mode 100644 cvm-mysql.c create mode 100644 cvm-mysql.html create mode 100644 cvm-mysql=x copy cvm-vmailmgr-udp.c => cvm-pgsql-local.c (100%) create mode 100644 cvm-pgsql-local=x copy cvm-vmailmgr-udp.c => cvm-pgsql-udp.c (100%) create mode 100644 cvm-pgsql-udp=x create mode 100644 cvm-pgsql.c create mode 100644 cvm-pgsql.html copy cvm-pwfile=x => cvm-pgsql=x (64%) create mode 100644 mysql.spac create mode 100644 pgsql.spac create mode 100644 programs.spac create mode 100644 sql-auth.c create mode 100644 sql-query-test.c create mode 100644 sql-query-test=x create mode 100644 sql-query.c create mode 100644 sql.h create mode 100644 sql.html create mode 100644 sql=l create mode 100644 tests/sql-substitution commit 35f96b6168ec5ae452b51c0edddce0eb205fd285 Author: Bruce Guenter Date: Mon Feb 9 16:04:12 2004 +0000 Added contributed vpopmail CVM (cvm-vchkpw). EXTRADIST | 1 + cvm-vchkpw.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 EXTRADIST create mode 100644 cvm-vchkpw.c commit 5eddefd7955059698205d09e180283527570c2d4 Author: Bruce Guenter Date: Mon Feb 9 15:43:04 2004 +0000 Merged cvm-vmailmgr (including cvm-vmlookup) into this package. ChangeLog.vmailmgr | 372 ++++++++++++++++++++++++++++++++++ NEWS | 1 + README.in | 19 ++ TODO | 8 + cvm-vmailmgr-local.c | 0 cvm-vmailmgr-local=x | 18 ++ cvm-vmailmgr-udp.c | 0 cvm-vmailmgr-udp=x | 18 ++ cvm-vmailmgr.c | 78 +++++++ cvm-vmailmgr.h | 34 ++++ cvm-vmailmgr=x | 14 ++ module_local_main.c => cvm-vmlookup.c | 29 +-- cvm-vmlookup=x | 14 ++ insthier.c | 4 + spec | 1 + tests.inc | 3 + tests/build-qmail | 21 ++ tests/del-qmail | 5 + tests/vmailmgr-normal | 14 ++ tests/vmailmgr-upper-domain | 14 ++ tests/vmailmgr-upper-pass | 4 + tests/vmailmgr-upper-virt | 14 ++ tests/vmlookup-badpass | 6 + tests/vmlookup-normal | 14 ++ tests/vmlookup-pass | 16 ++ tests/vmlookup-upper-domain | 14 ++ tests/vmlookup-upper-virt | 14 ++ vmlookup.c | 304 +++++++++++++++++++++++++++ vmmain.c | 122 +++++++++++ 29 files changed, 1162 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.vmailmgr create mode 100644 cvm-vmailmgr-local.c create mode 100644 cvm-vmailmgr-local=x create mode 100644 cvm-vmailmgr-udp.c create mode 100644 cvm-vmailmgr-udp=x create mode 100644 cvm-vmailmgr.c create mode 100644 cvm-vmailmgr.h create mode 100644 cvm-vmailmgr=x copy module_local_main.c => cvm-vmlookup.c (63%) create mode 100644 cvm-vmlookup=x create mode 100644 tests/build-qmail create mode 100644 tests/del-qmail create mode 100644 tests/vmailmgr-normal create mode 100644 tests/vmailmgr-upper-domain create mode 100644 tests/vmailmgr-upper-pass create mode 100644 tests/vmailmgr-upper-virt create mode 100644 tests/vmlookup-badpass create mode 100644 tests/vmlookup-normal create mode 100644 tests/vmlookup-pass create mode 100644 tests/vmlookup-upper-domain create mode 100644 tests/vmlookup-upper-virt create mode 100644 vmlookup.c create mode 100644 vmmain.c commit 96830fef3d3ed6ba11ab0d4946b5685ab6126d57 Author: Bruce Guenter Date: Mon Feb 9 15:41:27 2004 +0000 Bumped up the copyright year. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a59fbe29b48ebeec277ad66a36b4b2cc6ac8544 Author: Bruce Guenter Date: Mon Feb 9 04:14:06 2004 +0000 Bumped version up to 0.20 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 14025065d67a7fb2782b09f40684293f2c149c15 Author: Bruce Guenter Date: Mon Nov 17 23:50:01 2003 +0000 Renamed lists.em.ca to lists.untroubled.org README.in | 4 ++-- makedist.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 2c35942e4fa8bf0ce0f44aeabfea68f9f47317dc Author: Bruce Guenter Date: Mon Nov 17 23:47:58 2003 +0000 Converted tests to use pwfile to allow for fully localized config. tests.inc | 9 +++++++++ tests/command-bad-password | 3 ++- tests/command-bad-username | 3 ++- tests/command-case | 17 ++++++++--------- tests/command-no-prefix | 17 ++++++++--------- tests/command-prefix | 17 ++++++++--------- tests/pwfile | 3 +-- tests/pwfile-crypt | 17 ++++++++--------- tests/{pwfile => pwfile-local} | 8 +++++--- tests/pwfile-local-bad-password | 7 +++++++ tests/{pwfile => pwfile-udp} | 8 +++++--- tests/pwfile-udp-bad-password | 7 +++++++ tests/start-pwfile-local | 7 +++++++ tests/start-pwfile-udp | 7 +++++++ tests/start-unix-local | 7 ------- tests/start-unix-udp | 7 ------- tests/{stop-unix-local => stop-pwfile-local} | 2 +- tests/{stop-unix-udp => stop-pwfile-udp} | 2 +- tests/unix-local | 18 ------------------ tests/unix-local-bad-password | 6 ------ tests/unix-udp | 18 ------------------ tests/unix-udp-bad-password | 6 ------ 22 files changed, 86 insertions(+), 110 deletions(-) create mode 100644 tests.inc copy tests/{pwfile => pwfile-local} (61%) create mode 100644 tests/pwfile-local-bad-password copy tests/{pwfile => pwfile-udp} (61%) create mode 100644 tests/pwfile-udp-bad-password create mode 100644 tests/start-pwfile-local create mode 100644 tests/start-pwfile-udp delete mode 100644 tests/start-unix-local delete mode 100644 tests/start-unix-udp rename tests/{stop-unix-local => stop-pwfile-local} (88%) rename tests/{stop-unix-udp => stop-pwfile-udp} (85%) delete mode 100644 tests/unix-local delete mode 100644 tests/unix-local-bad-password delete mode 100644 tests/unix-udp delete mode 100644 tests/unix-udp-bad-password commit e516a455a815219c3e833e05f45676a24a046e82 Author: Bruce Guenter Date: Mon Nov 17 16:49:53 2003 +0000 Export both $MAIL and $MAILBOX if cvm_fact_mailbox is set. NEWS | 3 +++ client_setenv.c | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit be6c39bc20b1ab1d3183a8137bfece6135ff3b02 Author: Bruce Guenter Date: Mon Jul 7 18:33:56 2003 +0000 Changed the order of the chdir in cvm_setugid. NEWS | 3 +++ client_setugid.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit efa8b7951d8b827a770e033df4c44e57bb3b6024 Author: Bruce Guenter Date: Thu May 22 15:43:11 2003 +0000 Fixed yet another installer typo, installing sasl.h as libcvm-sasl.a NEWS | 2 ++ insthier.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 79a0321876eb8469965ba1bd38c258871bb00bd1 Author: Bruce Guenter Date: Thu May 22 15:42:18 2003 +0000 Bumped version number to 0.18 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 448ee685afa83b9fcfc68f8c663614d4f7fd35a1 Author: Bruce Guenter Date: Wed May 21 22:03:25 2003 +0000 Fixed cvm-testclient to work with modules that accept zero credentials. NEWS | 3 +++ cvm-testclient.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 98a4a2896c35a696635ab44833356425da23e9a9 Author: Bruce Guenter Date: Tue May 20 22:47:29 2003 +0000 Added missing "lib" prefix to installed library files. NEWS | 2 ++ insthier.c | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit d0f3aed44308fe7303b4ae9fca549ff9c8c781b3 Author: Bruce Guenter Date: Tue May 20 22:45:38 2003 +0000 Bumped up version number. NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit eeb2169ba249eef137ecfc4e435921f850322a98 Author: Bruce Guenter Date: Tue Apr 22 18:20:37 2003 +0000 Use paths in all command invocations. tests/command-bad-password | 2 +- tests/command-bad-username | 2 +- tests/command-case | 2 +- tests/command-no-prefix | 2 +- tests/command-prefix | 2 +- tests/pwfile | 2 +- tests/pwfile-crypt | 2 +- tests/start-unix-local | 2 +- tests/start-unix-udp | 2 +- tests/unix-local | 2 +- tests/unix-local-bad-password | 2 +- tests/unix-udp | 2 +- tests/unix-udp-bad-password | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) commit f945ec64c0b76215db909be891bfd7822817c0d8 Author: Bruce Guenter Date: Tue Apr 22 18:18:16 2003 +0000 Fixed up tests to use new module invocation mode. tests/start-unix-local | 2 +- tests/start-unix-udp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9e763e97b499a12d781d6bcdf3dae5dc61c2af05 Author: Bruce Guenter Date: Tue Apr 22 18:15:44 2003 +0000 Added socket.lib to all executable targets. cvm-pwfile=x | 1 + cvm-unix=x | 1 + 2 files changed, 2 insertions(+) commit fb62cff5561e3ab65ad83f5c76746203d8bec8c4 Author: Bruce Guenter Date: Tue Apr 22 18:03:25 2003 +0000 Allow for setting the mode & ownership of the created local socket. NEWS | 4 ++++ TODO | 3 --- cvm.html | 6 +++++- module_local.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++------- 4 files changed, 67 insertions(+), 12 deletions(-) commit b2f0c980d441066a9d5fedb911f202880ca01fed Author: Bruce Guenter Date: Tue Apr 22 17:04:25 2003 +0000 Modified the module command mode to always write the output. NEWS | 4 ++++ module_command.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit db5a1c4a047a4b17aef2a3fac369b540c8eeb747 Author: Bruce Guenter Date: Mon Apr 21 23:06:57 2003 +0000 Updated examples and some details. protocol-2.html | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) commit 1c83a94fc946bd93d20644df38130ac5f55d83cd Author: Bruce Guenter Date: Mon Apr 21 23:06:11 2003 +0000 Added a "shared secret" credential number. credentials.h | 1 + credentials.html | 8 ++++++++ 2 files changed, 9 insertions(+) commit d45aabadab5e4d0ec6f2e949ffcb86bab79209a5 Author: Bruce Guenter Date: Thu Apr 17 16:33:36 2003 +0000 From: "Lars Uffmann" I ran into a problem where a cvm-command module exited without reading frpom the pipe-fd. The parent-process (imapfront-auth) then died due to an untrapped SIGPIPE. This happens only on Solaris (all versions). The same cvm on Linux did not recvieved the PIPE signal. A patch is attached, which blocks SIGPIPE before any call to either cvm_udp, cvm_local or cvm_command, instead of just cvm_local. NEWS | 3 +++ client.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) commit a5bc65fcf52d5abb362a08da75247bab9cee389b Author: Bruce Guenter Date: Thu Apr 17 16:31:39 2003 +0000 Added note about cvm-sasl library. NEWS | 1 + 1 file changed, 1 insertion(+) commit ab86d6aad312d7ed03b2eff1d95674514c5fe2b7 Author: Bruce Guenter Date: Thu Apr 17 16:25:36 2003 +0000 Bumped up version to 0.16 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit e56935f1a84a86cd3fbd5c008c548449eadbce2e Author: Bruce Guenter Date: Wed Apr 16 20:24:03 2003 +0000 Fixed up usage documentation. cvm-benchclient.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c92efdb5dd6ba608a67ff97e5eb2d48f8d7a528 Author: Bruce Guenter Date: Tue Apr 15 23:23:30 2003 +0000 Merged SASL library into cvm package from bglibs. cvm.html | 1 + insthier.c | 3 +++ sasl.h | 35 +++++++++++++++++++++++++++++++++++ sasl.html | 42 ++++++++++++++++++++++++++++++++++++++++++ sasl=l | 6 ++++++ sasl_authenticate.c | 13 +++++++++++++ sasl_cram_md5.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ sasl_init.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sasl_internal.h | 17 +++++++++++++++++ sasl_login.c | 28 ++++++++++++++++++++++++++++ sasl_plain.c | 26 ++++++++++++++++++++++++++ sasl_start.c | 19 +++++++++++++++++++ 12 files changed, 282 insertions(+) create mode 100644 sasl.h create mode 100644 sasl.html create mode 100644 sasl=l create mode 100644 sasl_authenticate.c create mode 100644 sasl_cram_md5.c create mode 100644 sasl_init.c create mode 100644 sasl_internal.h create mode 100644 sasl_login.c create mode 100644 sasl_plain.c create mode 100644 sasl_start.c commit a214c23f95a2b1d64b2f33cc9c0a946e6cfec3c2 Author: Bruce Guenter Date: Tue Apr 15 22:51:36 2003 +0000 Build the libraries too... spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 453217f4ecc0295012aad9198093e66013bc46a0 Author: Bruce Guenter Date: Tue Apr 15 22:48:18 2003 +0000 Fixed usage information. module_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 3bdbbce27f896483b79a000738ba9e724e6bfa18 Author: Bruce Guenter Date: Tue Apr 15 22:41:42 2003 +0000 Removed the separated modules. NEWS | 3 ++- cvm-pwfile-local.c | 1 - cvm-pwfile-local=x | 5 ----- cvm-pwfile-udp.c | 1 - cvm-pwfile-udp=x | 5 ----- cvm-unix-local.c | 1 - cvm-unix-local=x | 7 ------- cvm-unix-udp.c | 1 - cvm-unix-udp=x | 7 ------- insthier.c | 4 ---- 10 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 cvm-pwfile-local.c delete mode 100644 cvm-pwfile-local=x delete mode 100644 cvm-pwfile-udp.c delete mode 100644 cvm-pwfile-udp=x delete mode 100644 cvm-unix-local.c delete mode 100644 cvm-unix-local=x delete mode 100644 cvm-unix-udp.c delete mode 100644 cvm-unix-udp=x commit 098860e24c35f78b1348636acc01202ffb0ae932 Author: Bruce Guenter Date: Tue Apr 15 22:40:57 2003 +0000 Install new generic module library. insthier.c | 1 + 1 file changed, 1 insertion(+) commit 73367667ba4f5e5744233b8f9c013cf3dbe9003e Author: Bruce Guenter Date: Tue Apr 15 22:39:32 2003 +0000 Link to the new generic module library. cvm-pwfile.c | 2 ++ cvm-pwfile=x | 3 ++- cvm-unix.c | 10 ++-------- cvm-unix=x | 3 ++- 4 files changed, 8 insertions(+), 10 deletions(-) commit 8d05c5ebdf9c4ba5bb3449b018c3fd44fb60b376 Author: Bruce Guenter Date: Tue Apr 15 22:38:53 2003 +0000 Fixed the documentation here to match the current program. cvm-testclient.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d179b4fbcdcea346dbc5c43d37fb34036a9b25e8 Author: Bruce Guenter Date: Tue Apr 15 22:38:15 2003 +0000 Added a new generic module library that supports all three operation modes (command, local socket, UDP socket) from the same binary. NEWS | 4 ++++ cvm.html | 17 +++++++++++++++++ module.h | 2 ++ local=l => module=l | 10 ++++++---- module_udp_main.c => module_main.c | 26 ++++++++++++++++++++++---- 5 files changed, 51 insertions(+), 8 deletions(-) copy local=l => module=l (61%) copy module_udp_main.c => module_main.c (59%) commit 618aeaba1df92385c33f38660e4b9a03cac66fe9 Author: Bruce Guenter Date: Tue Apr 15 22:31:45 2003 +0000 Separated the main routine from the authentication loop. command=l | 1 + local=l | 1 + module_command.c | 4 +++- client_setugid.c => module_command_main.c | 17 +++++++---------- module_local.c | 16 ++++------------ client_setugid.c => module_local_main.c | 25 +++++++++++++++++-------- module_udp.c | 19 +++++-------------- client_setugid.c => module_udp_main.c | 27 +++++++++++++++++---------- udp=l | 1 + 9 files changed, 56 insertions(+), 55 deletions(-) copy client_setugid.c => module_command_main.c (67%) copy client_setugid.c => module_local_main.c (66%) copy client_setugid.c => module_udp_main.c (64%) commit 285c005e6d0b39b0203287163ee531ceb11bff87 Author: Bruce Guenter Date: Tue Apr 15 22:28:34 2003 +0000 Use the right #ifdef when checking for shadow password support. NEWS | 1 + getpwnam.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 46f641e752bafa69a3211777d5818ac90bf393bf Author: Bruce Guenter Date: Tue Apr 15 22:27:26 2003 +0000 Bumped up version number to 0.15 NEWS | 6 ++++++ VERSION | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 9651549afec1c0d533ad6331c3312d4ebca73328 Author: Bruce Guenter Date: Tue Apr 15 21:11:36 2003 +0000 Removed irrelevant CVS file. README.CVS | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 README.CVS commit 17c095700da0754cdefa4ecbd601db882ce86207 Author: Bruce Guenter Date: Tue Apr 15 21:11:24 2003 +0000 Switched to templated README file. README => README.in | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) rename README => README.in (83%) commit 5f9be9934f5c16c32aaecdff838d27670339b76c Author: Bruce Guenter Date: Tue Apr 15 21:10:43 2003 +0000 Include development files in the installed set. insthier.c | 39 ++++++++++++++++++++++++++++----------- spec | 32 +++++++++++++++++++++----------- 2 files changed, 49 insertions(+), 22 deletions(-) commit ff274bc13520bb4493838f44288d00bf799f2d81 Author: Bruce Guenter Date: Tue Apr 15 20:48:46 2003 +0000 Broke the protocol document into current + proposed sections. protocol-2.html | 67 ++++++++++++++++++++++++++++++++ protocol.html | 117 +++++++++++++++++--------------------------------------- 2 files changed, 103 insertions(+), 81 deletions(-) create mode 100644 protocol-2.html commit 339779ae1fb2217e54f2ad9ac44d1b3354c4abcc Author: Bruce Guenter Date: Tue Apr 15 20:48:17 2003 +0000 Use new style external bglibs linkage. cvm-benchclient=x | 2 +- cvm-checkpassword=x | 2 +- cvm-pwfile-local=x | 4 ++-- cvm-pwfile-udp=x | 4 ++-- cvm-pwfile=x | 2 +- cvm-testclient=x | 2 +- cvm-unix-local=x | 2 +- cvm-unix-udp=x | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) commit 6839a3da7ca566a67b6ce3b9203fb335584dd3ca Author: Bruce Guenter Date: Tue Apr 15 20:46:25 2003 +0000 Added mailbox path to list of facts in all tests. tests/command-case | 1 + tests/command-no-prefix | 1 + tests/command-prefix | 1 + tests/pwfile | 1 + tests/pwfile-crypt | 1 + tests/unix-local | 1 + tests/unix-udp | 1 + 7 files changed, 7 insertions(+) commit f35872ffbb8ad251284435f807c519c490763bd9 Author: Bruce Guenter Date: Tue Apr 15 20:46:01 2003 +0000 Dropped use of non-portable fgetpwent in cvm-pwfile. NEWS | 2 ++ cvm-pwfile.c | 75 +++++++++++++++++++++++++++++++++++++++++++++--------------- tests/pwfile | 2 +- 3 files changed, 59 insertions(+), 20 deletions(-) commit 1106eab0032d15b250b42f0aa06ad4d84c1b09df Author: Bruce Guenter Date: Fri Jan 3 17:22:58 2003 +0000 Fixed up for new ipv4addr definition. client.c | 10 +++++----- module_udp.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit e4e3a2328f509c656c35dcab358895a1c9af238a Author: Bruce Guenter Date: Fri Dec 20 22:26:13 2002 +0000 Previous commit was missing this change. cvm-pwfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ac8a5631833ce38238c2e5812f8a7f811034076 Author: Bruce Guenter Date: Fri Dec 20 21:37:52 2002 +0000 Completed switch to external bglibs. NEWS | 2 ++ README | 13 ++++++++++--- cvm-benchclient=x | 4 +--- cvm-checkpassword=x | 4 +--- cvm-pwfile-local=x | 4 ++-- cvm-pwfile-udp=x | 4 ++-- cvm-pwfile=x | 2 +- cvm-testclient=x | 4 +--- cvm-unix-local=x | 2 +- cvm-unix-udp=x | 2 +- insthier.c | 2 +- 11 files changed, 23 insertions(+), 20 deletions(-) commit 4ff4977828c463e3c400be2727f6a08c762db720 Author: Bruce Guenter Date: Tue Dec 17 00:13:14 2002 +0000 *** empty log message *** README.CVS | 2 +- TODO | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) commit 2a8d3131fed91908104fe6fc37b76cb479a71e12 Author: Bruce Guenter Date: Tue Dec 17 00:12:59 2002 +0000 Changed version to 0.12 NEWS | 11 +++++++++++ README | 2 +- VERSION | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) commit a70005cb956a9d5676eb15496ecfb2b9006d23d3 Author: Bruce Guenter Date: Tue Dec 17 00:12:11 2002 +0000 Clarified the protocol specification. protocol.html | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) commit 534d502ff1a9277a4646ef96b8b7325508dc46c3 Author: Bruce Guenter Date: Tue Dec 17 00:11:49 2002 +0000 Clarified the module requirements. module.html | 8 ++++++++ 1 file changed, 8 insertions(+) commit e81bebf84798da91d88cb5a0eb88cf428d06ddc1 Author: Bruce Guenter Date: Tue Dec 17 00:10:28 2002 +0000 Prevent a potential file descriptor leak. module_local.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0d4f9b4d5c7f96a21015e7c130f466f0a4cd200e Author: Bruce Guenter Date: Tue Dec 17 00:09:59 2002 +0000 Add a new error code: CVME_NOCRED. errors.h | 4 +++- errors.html | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 9224338ac20cb54a6340a254e296bd3f576e658a Author: Bruce Guenter Date: Tue Dec 17 00:09:16 2002 +0000 Change *sql links to reflect that cvm-sql is now seperate. cvm.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 51565e1de325f73c6fb60ff7f4bb9471634f5e77 Author: Bruce Guenter Date: Tue Dec 17 00:08:40 2002 +0000 Use the "net" library instead of "socket". cvm-benchclient=x | 2 +- cvm-checkpassword=x | 2 +- cvm-pwfile-local=x | 2 +- cvm-pwfile-udp=x | 2 +- cvm-testclient=x | 2 +- cvm-unix-local=x | 2 +- cvm-unix-udp=x | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit 98b89132ef31132ea4489cc3aeaa17916594d2b1 Author: Bruce Guenter Date: Tue Dec 17 00:07:42 2002 +0000 Added a chdir/setuid recommendation. client.html | 5 +++++ 1 file changed, 5 insertions(+) commit 6e06b97a4610b9a318f0eea043cd40bee5767656 Author: Bruce Guenter Date: Tue Dec 17 00:06:43 2002 +0000 Converted to external bglibs headers. client.c | 7 ++++--- client_setenv.c | 3 ++- cvm-unix.c | 5 +++-- getpwnam.c | 5 +++-- module_local.c | 4 +++- module_udp.c | 4 +++- 6 files changed, 18 insertions(+), 10 deletions(-) commit f56d0a741dbb3270be4295e59cdce3219919dc2d Author: Bruce Guenter Date: Mon Dec 16 23:58:28 2002 +0000 Building no longer requires postgresql or mysql. spec | 2 -- 1 file changed, 2 deletions(-) commit cea5b17bdf52906c2d31746ccd4d5502b621bfd4 Author: Bruce Guenter Date: Thu Apr 18 04:55:40 2002 +0000 Set $GIDS to a comma-seperated list of supplemental group IDs. client_setenv.c | 57 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 44 insertions(+), 13 deletions(-) commit 6518d5ad68edb42eca75026dbf91f2bb8245cd5e Author: Bruce Guenter Date: Fri Dec 28 13:23:38 2001 +0000 Fixed thinko in reallocating the account name buffer -- needed to reallocate the buffer based on the *new* length, not the *old*. getpwnam.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 36879b5ad36346499e94c527f85c1165a07d49a6 Author: Bruce Guenter Date: Fri Oct 19 05:11:31 2001 +0000 Added missing socket.lib link targets. cvm-benchclient=x | 1 + cvm-checkpassword=x | 1 + cvm-pwfile-local=x | 1 + cvm-pwfile-udp=x | 1 + cvm-testclient=x | 1 + cvm-unix-local=x | 1 + cvm-unix-udp=x | 1 + 7 files changed, 7 insertions(+) commit a4324d3d373310823a566ce8ecaf696217eac532 Author: Bruce Guenter Date: Thu Sep 27 23:42:59 2001 +0000 Fixed one-off bug in parsing domain names. client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8f0a1ef5d2a0701ff2648288ab7782b20526e6f Author: Bruce Guenter Date: Wed Sep 19 03:57:36 2001 +0000 Added example datagrams. protocol.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 15d75177a5ba8b971715c78c9d4e56c89205c717 Author: Bruce Guenter Date: Wed Sep 19 03:35:39 2001 +0000 Documented the version 2 protocol. protocol.html | 105 +++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 34 deletions(-) commit 34379facf8a43101429848e3ec7554bf232d383b Author: Bruce Guenter Date: Wed Sep 19 03:35:09 2001 +0000 Added credential definitions. credentials.h | 18 +++++++++++++ credentials.html | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cvm.html | 1 + 3 files changed, 97 insertions(+) create mode 100644 credentials.h create mode 100644 credentials.html commit e5c5420265ae4b2d1ceb790c2952e24e4a3d68db Author: Bruce Guenter Date: Wed Sep 19 03:34:31 2001 +0000 Fixed a typo. rationale.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 7f0289c74aab04f9b41889069ebef31a16b3c278 Author: Bruce Guenter Date: Wed Sep 19 03:33:34 2001 +0000 Reworded the section on predefined and local fact numbering. facts.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 484ebeacfda756a340463d58c0a0e9987bbe59c6 Author: Bruce Guenter Date: Wed Sep 19 03:33:02 2001 +0000 Renamed AUTHENTICATOR to CVM finally. facts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 21d71d02c879726157ea358cda192b14bcd59187 Author: Bruce Guenter Date: Fri Sep 14 04:16:41 2001 +0000 Added the mailbox path fact to the output. cvm-testclient.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit b4f39b85d8b29b44c2a44484baaca0441a6776af Author: Bruce Guenter Date: Thu Sep 13 04:29:15 2001 +0000 Removed mysql and pgsql installations. insthier.c | 6 ------ 1 file changed, 6 deletions(-) commit ec7b55d314a37f546367410248c0eaf875b3d4c6 Author: Bruce Guenter Date: Thu Sep 13 04:25:46 2001 +0000 Removed mysql and pgsql portions. spec | 22 ---------------------- 1 file changed, 22 deletions(-) commit e826ec7a4720a0205707aee8bc254a539f9b3166 Author: Bruce Guenter Date: Thu Sep 13 04:24:36 2001 +0000 Added missing setenv.o object. cvm-benchclient=x | 1 + cvm-testclient=x | 1 + 2 files changed, 2 insertions(+) commit aefa70251ad015fd3eb8e675bcff1b81d581ec9c Author: Bruce Guenter Date: Thu Sep 13 04:22:47 2001 +0000 *** empty log message *** README | 4 ++-- TODO | 2 ++ client.h | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 32979eca679e2afb16be086b5f6cd140e01b9f44 Author: Bruce Guenter Date: Thu Sep 13 04:22:28 2001 +0000 Replaced manual setenv calls with call to cvm_setenv. cvm-checkpassword.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 43564003bede59416119002c98f9ce1672db5906 Author: Bruce Guenter Date: Mon Sep 10 23:11:54 2001 +0000 Added some convenience client functions. client.h | 4 ++++ client.html | 40 +++++++++++++++++++++++++++++++ client=l | 3 +++ facts.c => client_domain.c | 35 +++++++++++++++++---------- client_setenv.c | 58 +++++++++++++++++++++++++++++++++++++++++++++ facts.c => client_setugid.c | 24 +++++++++---------- 6 files changed, 138 insertions(+), 26 deletions(-) copy facts.c => client_domain.c (61%) create mode 100644 client_setenv.c copy facts.c => client_setugid.c (62%) commit 3f2941cb02870d825d7cfd96557dcf191f3e3951 Author: Bruce Guenter Date: Mon Sep 10 23:11:15 2001 +0000 *** empty log message *** NEWS | 2 ++ TODO | 10 ++++++++++ 2 files changed, 12 insertions(+) commit 0fe670b7990308eb0d6eb3c70b80cfdadcacdc36 Author: Bruce Guenter Date: Mon Sep 10 22:34:46 2001 +0000 Added new fact CVM_FACT_MAILBOX. client.c | 1 + facts.c | 1 + facts.h | 2 ++ facts.html | 10 ++++++++++ module_request.c | 2 ++ 5 files changed, 16 insertions(+) commit 2c548d84e1bde042f26d5b9cd0accee2ac6bfdd1 Author: Bruce Guenter Date: Wed Aug 29 03:21:35 2001 +0000 Modified tests to use new SPAC testing framework. rts.exp | 101 ------------------------------------------ rts.sh | 1 - rts.tests | 64 -------------------------- tests/command-bad-password | 3 ++ tests/command-bad-username | 3 ++ tests/command-case | 14 ++++++ tests/command-no-prefix | 14 ++++++ tests/command-prefix | 14 ++++++ tests/pwfile | 14 ++++++ tests/pwfile-crypt | 15 +++++++ tests/start-unix-local | 7 +++ tests/start-unix-udp | 7 +++ tests/stop-unix-local | 12 +++++ tests/stop-unix-udp | 10 +++++ tests/unix-local | 17 +++++++ tests/unix-local-bad-password | 6 +++ tests/unix-udp | 17 +++++++ tests/unix-udp-bad-password | 6 +++ 18 files changed, 159 insertions(+), 166 deletions(-) delete mode 100644 rts.exp delete mode 100644 rts.sh delete mode 100644 rts.tests create mode 100644 tests/command-bad-password create mode 100644 tests/command-bad-username create mode 100644 tests/command-case create mode 100644 tests/command-no-prefix create mode 100644 tests/command-prefix create mode 100644 tests/pwfile create mode 100644 tests/pwfile-crypt create mode 100644 tests/start-unix-local create mode 100644 tests/start-unix-udp create mode 100644 tests/stop-unix-local create mode 100644 tests/stop-unix-udp create mode 100644 tests/unix-local create mode 100644 tests/unix-local-bad-password create mode 100644 tests/unix-udp create mode 100644 tests/unix-udp-bad-password commit 50998433a1d9d2082697a06610023860c04a9534 Author: Bruce Guenter Date: Wed Aug 29 02:23:23 2001 +0000 Bugfix: cvm_getpwnam needs to lowercase the account name. NEWS | 3 +++ getpwnam.c | 44 +++++++++++++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 15 deletions(-) commit c24e50338f0b344598d95a11009960160dd9dfb7 Author: Bruce Guenter Date: Tue Aug 28 23:33:40 2001 +0000 *** empty log message *** NEWS | 8 ++++++++ VERSION | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit 1dd4b785e5583aab837562e68eeded34f98fe89c Author: Bruce Guenter Date: Sat Aug 25 02:23:11 2001 +0000 Removed the SQL portions and put them into a seperate package, cvm-sql. README | 1 - cvm-mysql-local.c | 0 cvm-mysql-local=x | 8 ----- cvm-mysql-udp.c | 0 cvm-mysql-udp=x | 8 ----- cvm-mysql.c | 88 ---------------------------------------------- cvm-mysql.html | 63 --------------------------------- cvm-mysql=x | 6 ---- cvm-pgsql-local.c | 0 cvm-pgsql-local=x | 7 ---- cvm-pgsql-udp.c | 0 cvm-pgsql-udp=x | 7 ---- cvm-pgsql.c | 68 ----------------------------------- cvm-pgsql.html | 45 ------------------------ cvm-pgsql=x | 6 ---- rts.exp | 17 --------- rts.tests | 18 ---------- sql-auth.c | 103 ------------------------------------------------------ sql-query-test.c | 26 -------------- sql-query-test=x | 2 -- sql-query.c | 99 --------------------------------------------------- sql.h | 19 ---------- sql.html | 40 --------------------- sql=l | 2 -- 24 files changed, 633 deletions(-) delete mode 100644 cvm-mysql-local.c delete mode 100644 cvm-mysql-local=x delete mode 100644 cvm-mysql-udp.c delete mode 100644 cvm-mysql-udp=x delete mode 100644 cvm-mysql.c delete mode 100644 cvm-mysql.html delete mode 100644 cvm-mysql=x delete mode 100644 cvm-pgsql-local.c delete mode 100644 cvm-pgsql-local=x delete mode 100644 cvm-pgsql-udp.c delete mode 100644 cvm-pgsql-udp=x delete mode 100644 cvm-pgsql.c delete mode 100644 cvm-pgsql.html delete mode 100644 cvm-pgsql=x delete mode 100644 sql-auth.c delete mode 100644 sql-query-test.c delete mode 100644 sql-query-test=x delete mode 100644 sql-query.c delete mode 100644 sql.h delete mode 100644 sql.html delete mode 100644 sql=l commit d3636f9a8d3e2de438fc3b5efe06bb2de5b33d5a Author: Bruce Guenter Date: Sat Aug 25 00:07:55 2001 +0000 Fixed up tests to account for domain name. rts.exp | 15 ++++++++++----- rts.tests | 48 ++++++++++++++++++++++++------------------------ 2 files changed, 34 insertions(+), 29 deletions(-) commit 3d31acd5232c791ee7ec0b08dcd1bb78a640506a Author: Bruce Guenter Date: Sat Aug 25 00:07:47 2001 +0000 *** empty log message *** README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e5bd18c7f076dd4aad0dadf185aaf74a5c01dd83 Author: Bruce Guenter Date: Fri Aug 24 04:51:45 2001 +0000 *** empty log message *** TODO | 2 -- 1 file changed, 2 deletions(-) commit d33a7d31984c479e5206e5bdf6538d8f2476244b Author: Bruce Guenter Date: Fri Aug 24 04:44:13 2001 +0000 Make the MySQL module handle connection options from a defaults file. NEWS | 3 +++ TODO | 4 ---- cvm-mysql.c | 6 ++++++ cvm-mysql.html | 8 ++++++++ 4 files changed, 17 insertions(+), 4 deletions(-) commit 5d8c377aa3bc1e6936a62faf7784d701f3cf02cf Author: Bruce Guenter Date: Fri Aug 24 04:37:57 2001 +0000 Updated the SQL code to handle domain names. NEWS | 2 ++ TODO | 2 -- sql-auth.c | 9 +++++---- sql-query-test.c | 6 ++++-- sql-query.c | 8 ++++++-- sql.html | 13 ++++++++----- 6 files changed, 25 insertions(+), 15 deletions(-) commit 5c58eb7314c201a54bb674244273788faaec72cd Author: Bruce Guenter Date: Fri Aug 24 04:28:26 2001 +0000 Cleaned up some wording. rationale.html | 70 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 33 deletions(-) commit f30e53db4ad1f78ae9d9e6ccc7d58a3fbcbf42d6 Author: Bruce Guenter Date: Fri Aug 24 04:28:13 2001 +0000 Documented new cvm_authenticate interface. client.html | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) commit c132a79d2bb939550c562e89f2b7f475fd2f090f Author: Bruce Guenter Date: Fri Aug 24 04:27:36 2001 +0000 *** empty log message *** NEWS | 15 ++++++++++++++- TODO | 6 ++++++ 2 files changed, 20 insertions(+), 1 deletion(-) commit 60627545f0146bedf485d93db4d2df5db578d7b1 Author: Bruce Guenter Date: Fri Aug 24 04:27:28 2001 +0000 Updated to new insthier interface. insthier.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 60713b84ae3940e410e4e00d6b6ca5d45fab1080 Author: Bruce Guenter Date: Fri Aug 24 04:24:04 2001 +0000 Modified to use the new cvm_authenticate interface. cvm-checkpassword.c | 10 +++++----- cvm-checkpassword.html | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) commit 463a362c0606a33497a13d7c0156cf70745b0563 Author: Bruce Guenter Date: Fri Aug 24 04:22:11 2001 +0000 Document new client->server protocol. protocol.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 5b373fd471aff9251afd83c39d4fa2914d2e182d Author: Bruce Guenter Date: Fri Aug 24 04:21:51 2001 +0000 Adjust to new cvm_authenticate calling scheme. cvm-benchclient.c | 7 ++++--- cvm-testclient.c | 12 +++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) commit f3b9064c921a318b9906549a3a3680de02ce8f10 Author: Bruce Guenter Date: Fri Aug 24 04:21:17 2001 +0000 Fixed a typo in the declaration of cvm-getpwnam. cvm-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e92c4abf1c0e056ac35d7a045f7ffb5ff6b54013 Author: Bruce Guenter Date: Fri Aug 24 04:19:40 2001 +0000 Added a new fact for domain names. facts.c | 1 + facts.h | 2 ++ facts.html | 8 ++++++++ 3 files changed, 11 insertions(+) commit 634fc8c00560a42db077fc20bf00688fd3c90f09 Author: Bruce Guenter Date: Fri Aug 24 04:17:51 2001 +0000 Document the new domain name features. module.html | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 469bc3d4f9f408447502294ed2fd1165f845d2d3 Author: Bruce Guenter Date: Fri Aug 24 04:17:08 2001 +0000 Reverted the change of data types from "const char*" to "str". module.h | 7 +++---- module_log.c | 24 +++++++++--------------- module_request.c | 37 +++++++++++++++++-------------------- 3 files changed, 29 insertions(+), 39 deletions(-) commit 034c0ebd73a8ff1cfff9f3b8eb8a84aee9fdaf06 Author: Bruce Guenter Date: Fri Aug 24 04:03:06 2001 +0000 Log the domain name along with the account name. module_log.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 051725331617683b62836fdf1b2c32cb76573c6e Author: Bruce Guenter Date: Fri Aug 24 04:02:27 2001 +0000 Handle the protocol number and domain name in parsing the request packet. Store the results in str's instead of const char*. module.h | 13 ++++++++++--- module_request.c | 37 +++++++++++++++++++++++++++---------- 2 files changed, 37 insertions(+), 13 deletions(-) commit 52d0093cba9ed118a5755ff0af95feab88f467b5 Author: Bruce Guenter Date: Fri Aug 24 04:00:32 2001 +0000 Modified to handle domain names in the protocol, and parsing domain names in the account name. client.c | 54 ++++++++++++++++++++++++++++++++++++++++++++---------- client.h | 11 ++++++++--- 2 files changed, 52 insertions(+), 13 deletions(-) commit 6ef0b6dc6543ad121728b7b18534bd8e17300910 Author: Bruce Guenter Date: Wed Aug 15 10:25:45 2001 +0000 *** empty log message *** README | 2 +- TODO | 5 +++++ VERSION | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 97b540dcdaddbf42c06a2d3735048d56be36709f Author: Bruce Guenter Date: Fri Aug 10 21:35:17 2001 +0000 *** empty log message *** TODO | 3 +++ 1 file changed, 3 insertions(+) commit cca9550afb1a7b9e70da5f49f13079e3a7e3929e Author: Bruce Guenter Date: Fri Aug 10 21:35:04 2001 +0000 Moved the multi-step getpwnam functionality into a seperate module. cvm-unix-local=x | 1 + cvm-unix-udp=x | 1 + cvm-unix.c | 43 +++++++------------------------------ cvm-unix=x | 1 + getpwnam.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 36 deletions(-) create mode 100644 getpwnam.c commit b21fb0b538ea43392885dd28d9cf255753281362 Author: Bruce Guenter Date: Fri Aug 10 21:26:15 2001 +0000 Set the umask to zero before creating the socket to allow full access to it. module_local.c | 5 +++++ 1 file changed, 5 insertions(+) commit a9f3adfa1fd535a42e861fcead538203734f7eb5 Author: Bruce Guenter Date: Thu Aug 9 23:10:24 2001 +0000 *** empty log message *** TODO | 8 ++++++++ 1 file changed, 8 insertions(+) commit f5acba5dfc9069ec0f833336e4e409bebcc4b226 Author: Bruce Guenter Date: Wed Jul 18 04:25:08 2001 +0000 Bumped up the version number. NEWS | 6 ++++++ README | 4 ++-- VERSION | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) commit e513e77b08c55647f65ffd6ea4192a0e5736c2b3 Author: Bruce Guenter Date: Wed Jul 18 04:22:59 2001 +0000 Added support to the SQL framework for executing a query after the credentials have been validated. cvm-mysql.c | 12 ++++++++++-- cvm-mysql.html | 10 +++++++--- cvm-pgsql.c | 12 ++++++++++++ cvm-pgsql.html | 10 +++++++--- sql-auth.c | 15 ++++++++++++--- sql.h | 2 ++ 6 files changed, 50 insertions(+), 11 deletions(-) commit b00941aac83a5c1899e5741f517c7b7d60dcb7fe Author: Bruce Guenter Date: Tue Jul 17 02:34:21 2001 +0000 Reworded details of query substitution. sql.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 56c318eedd8afdbefd12a2d33d0793b5fc03edac Author: Bruce Guenter Date: Tue Jul 17 02:30:40 2001 +0000 Renamed sql-query.html to sql.html. cvm-mysql.html | 4 ++-- cvm-pgsql.html | 4 ++-- sql-query.html | 37 ------------------------------------- sql.html | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 sql-query.html create mode 100644 sql.html commit 5da3147364f891601c644ba14ac4604bf756ec83 Author: Bruce Guenter Date: Tue Jul 17 02:22:46 2001 +0000 Moved the default query from sql-query.c to sql-auth.c sql-auth.c | 6 ++++++ sql-query.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) commit 9937743adb055bd716067a950c58efc44b745d8e Author: Bruce Guenter Date: Tue Jul 17 02:22:26 2001 +0000 Added some new tests for the SQL query parser. rts.exp | 37 ++++++++++++++++++++++++++++++++----- rts.tests | 22 +++++++++++++++++++++- 2 files changed, 53 insertions(+), 6 deletions(-) commit ff716efcb308c08c183481d373fb6619aa6925a3 Author: Bruce Guenter Date: Tue Jul 17 02:12:42 2001 +0000 Added group name, system username, and system directory to the list of query results. sql-auth.c | 6 +++--- sql-query.c | 5 +++-- sql-query.html | 9 ++++++--- 3 files changed, 12 insertions(+), 8 deletions(-) commit 67378eb569d5fd145908124a494e74f2201305ae Author: Bruce Guenter Date: Tue Jul 17 00:35:53 2001 +0000 Reverted back to older non-automatically versioned version. README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 01ac9c52129d432c00da393943adc385be82dd8f Author: Bruce Guenter Date: Tue Jul 17 00:29:23 2001 +0000 Merged the common code in the MySQL and PgSQL modules into a common core. cvm-mysql-local=x | 4 +-- cvm-mysql-udp=x | 4 +-- cvm-mysql.c | 63 ++++++++++++-------------------------------- cvm-mysql=x | 2 +- cvm-pgsql-local=x | 4 +-- cvm-pgsql-udp=x | 4 +-- cvm-pgsql.c | 66 ++++++++++------------------------------------- cvm-pgsql=x | 2 +- cvm-pgsql.c => sql-auth.c | 47 ++++++++++++++------------------- sql.h | 8 ++++++ sql=l | 1 + 11 files changed, 68 insertions(+), 137 deletions(-) copy cvm-pgsql.c => sql-auth.c (61%) commit e4acb331b3f2a8748fc7a0064e12a7a92d0e3a8c Author: Bruce Guenter Date: Tue Jul 17 00:25:16 2001 +0000 *** empty log message *** NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 9eaeaaefb96a4000b1ea696f314709300adc7602 Author: Bruce Guenter Date: Tue Jul 17 00:24:43 2001 +0000 Fixed bug: the shell fact is not required. client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3546f5ebff8f2f890a50552dd723cb50eeb61164 Author: Bruce Guenter Date: Tue Jul 17 00:13:58 2001 +0000 Only include sql-query.o, not the entire sql.a. sql-query-test=x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce7e7bc759ca79ec637aeef6c8ba58c8c12fd56b Author: Bruce Guenter Date: Mon Jul 16 23:49:06 2001 +0000 Modified the SQL query building framework to use $account instead of % for the substitution reference, and also to allow references to environment variables. Changed the required order of fields in the query. cvm-mysql.c | 5 +++-- cvm-pgsql.c | 5 +++-- sql-query.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- sql-query.html | 16 ++++++++++------ sql.h | 1 + 5 files changed, 67 insertions(+), 18 deletions(-) commit 740e7c4a4d238d4730ec466930f48c4318bb2f86 Author: Bruce Guenter Date: Mon Jul 16 23:48:00 2001 +0000 Added a test harness for the sql-query framework. sql-query-test.c | 24 ++++++++++++++++++++++++ sql-query-test=x | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 sql-query-test.c create mode 100644 sql-query-test=x commit 6043e666fcfe1b8d7aa62d29d5bff02fa2717724 Author: Bruce Guenter Date: Mon Jul 16 22:26:15 2001 +0000 Clarified requirements of required fields. sql-query.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 69c52badb7d4825a3737f8384cd4dfd7a03164f2 Author: Bruce Guenter Date: Sat Jul 14 03:41:59 2001 +0000 Fixed old URL references. spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b100c3eef5dbffecc1d78205eb40e6d0119ecf42 Author: Bruce Guenter Date: Sat Jul 14 00:26:33 2001 +0000 The PostgreSQL package is named postgresql, not pgsql. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f7635d0bd207a4b3afc9b8b887da6e2a2e99fc3 Author: Bruce Guenter Date: Fri Jul 13 23:58:40 2001 +0000 Fixed typo in description tag. spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 940faaddfab0b9dc1e0e17dc95e4057de9ebba26 Author: Bruce Guenter Date: Fri Jul 13 22:54:24 2001 +0000 *** empty log message *** README | 4 ++-- TODO | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) commit 9c97df1fb8b08cd039a3754a60c8c6267309b07b Author: Bruce Guenter Date: Fri Jul 13 05:55:38 2001 +0000 *** empty log message *** NEWS | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 5c25af05fbf059de08c37cefb750b59f5763fb35 Author: Bruce Guenter Date: Fri Jul 13 05:54:16 2001 +0000 Moved the common SQL documentation into a seperate file. cvm-mysql.html | 19 ++----------------- cvm-pgsql.html | 19 ++----------------- sql-query.html | 30 ++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 sql-query.html commit 5f824dfc7e28fda9cb259e63bae8d25bc479799e Author: Bruce Guenter Date: Fri Jul 13 05:53:51 2001 +0000 Modified the SQL framework to allow substitution of multiple % symbols. cvm-mysql.c | 8 +++----- cvm-pgsql.c | 8 +++----- sql-query.c | 36 ++++++++++++++---------------------- sql.h | 4 ++-- 4 files changed, 22 insertions(+), 34 deletions(-) commit 02aac5d24d76ff3f4cc1a0238f2a477f6649d712 Author: Bruce Guenter Date: Wed Jul 11 21:09:04 2001 +0000 *** empty log message *** TODO | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 264cb67f495b9123f3de6ed020a2f19b758d41ea Author: Bruce Guenter Date: Tue Jul 10 23:12:34 2001 +0000 Note PAM in the ideas. cvm.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fc34d94637a467f77fe2f35a7b892372a7543bc6 Author: Bruce Guenter Date: Tue Jul 10 23:12:06 2001 +0000 Reference the pwcmp configuration parameter. cvm-mysql.html | 3 +++ cvm-pgsql.html | 3 +++ cvm-pwfile.html | 5 +++++ 3 files changed, 11 insertions(+) commit abfdf98753adb11c954fdff8c0fde0ad85f43ad2 Author: Bruce Guenter Date: Tue Jul 10 23:11:44 2001 +0000 Use pwcmp library for password comparisons. cvm-pwfile.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 878d9e3f650d5613125401ee8953efb2bf09d8f2 Author: Bruce Guenter Date: Tue Jul 10 23:11:13 2001 +0000 Need to link against pwcmp client library. cvm-mysql-local=x | 1 + cvm-mysql-udp=x | 1 + cvm-mysql=x | 1 + cvm-pgsql-local=x | 1 + cvm-pgsql-udp=x | 1 + cvm-pgsql=x | 1 + cvm-pwfile-local=x | 1 + cvm-pwfile-udp=x | 1 + cvm-pwfile=x | 1 + 9 files changed, 9 insertions(+) commit 899922c4b37a5892511c8bff681a1330c2e22738 Author: Bruce Guenter Date: Tue Jul 10 23:11:01 2001 +0000 Use new pwcmp client library for password comparisons. Remove unused str_cats_quoted routine. Signal fatal errors to the module library. Add cvm_auth_stop routine. cvm-pgsql.c | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) commit 5f7c5862040d8693e3ef8dcdbc9ab9aed6397876 Author: Bruce Guenter Date: Tue Jul 10 23:10:00 2001 +0000 Use new pwcmp library for password comparisons. Fixed bug in database connect function. Signal fatal errors to the module library. Add cvm_auth_stop routine. cvm-mysql.c | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) commit 9ec267cefc6e2fcdfcff3cb9b4a600f46ee31f00 Author: Bruce Guenter Date: Tue Jul 10 23:08:03 2001 +0000 *** empty log message *** NEWS | 6 ++++++ TODO | 15 --------------- 2 files changed, 6 insertions(+), 15 deletions(-) commit b5681d1a32ec77dcc25c29b7eb49974bc175e09b Author: Bruce Guenter Date: Tue Jul 10 05:48:52 2001 +0000 Added a stub cvm_auth_stop routine. cvm-unix.c | 4 ++++ 1 file changed, 4 insertions(+) commit c7b518bac62bdc5f96a17c19d9b247a41982444e Author: Bruce Guenter Date: Tue Jul 10 04:52:52 2001 +0000 Split the mysql and pgsql modules into subpackages. spec | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 0a0a6cc34fb1948d0b520c6dc63d3eea9dc662ab Author: Bruce Guenter Date: Tue Jul 10 04:36:46 2001 +0000 Added a fatal error indicator. Added a new required function, cvm_auth_stop. errors.h | 5 +++++ module.h | 1 + module_command.c | 10 ++++++---- module_local.c | 9 ++++++--- module_udp.c | 9 ++++++--- 5 files changed, 24 insertions(+), 10 deletions(-) commit 64fe613bcddd7cc60539ed3b41408b67d98c718e Author: Bruce Guenter Date: Sun Jul 8 10:34:31 2001 +0000 *** empty log message *** TODO | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit c420a2d18cc1ac0451ffd3f81658c99ae6536a1c Author: Bruce Guenter Date: Sat Jul 7 05:03:46 2001 +0000 Added new MySQL and PgSQL modules. cvm.html | 2 ++ insthier.c | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) commit 4a09e98c488a170c7ae58f817fab0ac5485a2412 Author: Bruce Guenter Date: Sat Jul 7 05:03:21 2001 +0000 The pwfile module doesn't need s.lib or shadow.lib. cvm-pwfile-local=x | 2 -- cvm-pwfile-udp=x | 2 -- cvm-pwfile=x | 2 -- 3 files changed, 6 deletions(-) commit ef11bfa41b52bd71f590d5f35cfa0b2334ba016b Author: Bruce Guenter Date: Sat Jul 7 05:02:57 2001 +0000 *** empty log message *** NEWS | 12 ++++++++++++ README.CVS | 1 + TODO | 8 +++++--- VERSION | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) commit 8c98cd07c4046cdea5b3418de41f365387029d8d Author: Bruce Guenter Date: Sat Jul 7 05:02:31 2001 +0000 Use new "config" error code. cvm-pwfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ae1f98a13a9d1b1699ee0b38714d2bd3eb24ef3e Author: Bruce Guenter Date: Sat Jul 7 05:01:27 2001 +0000 Added new MySQL module. cvm-pgsql-udp.c => cvm-mysql-local.c | 0 cvm-mysql-local=x | 7 +++ cvm-pgsql-udp.c => cvm-mysql-udp.c | 0 cvm-mysql-udp=x | 7 +++ cvm-mysql.c | 97 ++++++++++++++++++++++++++++++++++++ cvm-pgsql.html => cvm-mysql.html | 30 +++++++---- cvm-pgsql-local=x => cvm-mysql=x | 3 +- 7 files changed, 132 insertions(+), 12 deletions(-) copy cvm-pgsql-udp.c => cvm-mysql-local.c (100%) create mode 100644 cvm-mysql-local=x copy cvm-pgsql-udp.c => cvm-mysql-udp.c (100%) create mode 100644 cvm-mysql-udp=x create mode 100644 cvm-mysql.c copy cvm-pgsql.html => cvm-mysql.html (51%) copy cvm-pgsql-local=x => cvm-mysql=x (53%) commit a9a5298b39a6ed802cc66779be84bba4fe430132 Author: Bruce Guenter Date: Sat Jul 7 05:01:15 2001 +0000 Added new PgSQL module. cvm-pgsql-local.c | 0 cvm-pgsql-local=x | 6 ++++ cvm-pgsql-udp.c | 0 cvm-pgsql-udp=x | 6 ++++ cvm-pgsql.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ cvm-pgsql.html | 53 ++++++++++++++++++++++++++++ cvm-pgsql=x | 5 +++ 7 files changed, 172 insertions(+) create mode 100644 cvm-pgsql-local.c create mode 100644 cvm-pgsql-local=x create mode 100644 cvm-pgsql-udp.c create mode 100644 cvm-pgsql-udp=x create mode 100644 cvm-pgsql.c create mode 100644 cvm-pgsql.html create mode 100644 cvm-pgsql=x commit 415d9d842dd3d29dec8c286f24a21c137e178e89 Author: Bruce Guenter Date: Sat Jul 7 04:55:12 2001 +0000 Added new configuration error code. errors.h | 1 + errors.html | 4 ++++ 2 files changed, 5 insertions(+) commit 16f1cb142cba761c2cbdbfc04e3d785ca18c497c Author: Bruce Guenter Date: Sat Jul 7 04:32:51 2001 +0000 Added a library of functions common to SQL modules (currently only the query building mechanism). sql-query.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sql.h | 8 ++++++++ sql=l | 1 + 3 files changed, 75 insertions(+) create mode 100644 sql-query.c create mode 100644 sql.h create mode 100644 sql=l commit 3ab9631d60623b1d9408905f95ca2f14047601fa Author: Bruce Guenter Date: Sat Jul 7 00:16:24 2001 +0000 Applied patch from Paul Jarc to fix temporary error return cases, and properly add the primary group ID to the supplemental group list. cvm-unix.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 6d0241c08787c6daafa244bb5ee0a422ffa78df4 Author: Bruce Guenter Date: Fri Jul 6 03:47:32 2001 +0000 *** empty log message *** README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a876877e1f81eb8f9f64e3fc77d06a66e10da32 Author: Bruce Guenter Date: Fri Jul 6 03:47:19 2001 +0000 Added explanation for CVM_PWFILE_PATH cvm-pwfile.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6dcdefb13c1908f627cb61c68d1589b11376faa3 Author: Bruce Guenter Date: Wed Jul 4 10:52:29 2001 +0000 Added the TODO file. TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 TODO commit 8c8bcd232929ff9602ac7fed6b0309438faad7f3 Author: Bruce Guenter Date: Wed Jul 4 10:51:41 2001 +0000 The CDB library is not needed yet. README.CVS | 1 - 1 file changed, 1 deletion(-) commit 9d894b7e46176395c16e0a65d850054e6e3dec87 Author: Bruce Guenter Date: Wed Jul 4 04:32:13 2001 +0000 Renamed cvm-file to cvm-pwfile to reflect its true nature. NEWS | 2 +- cvm-file-local.c | 1 - cvm-file-udp.c | 1 - cvm-pwfile-local.c | 1 + cvm-file-local=x => cvm-pwfile-local=x | 0 cvm-pwfile-udp.c | 1 + cvm-file-udp=x => cvm-pwfile-udp=x | 0 cvm-file.c => cvm-pwfile.c | 4 ++-- cvm-file.html => cvm-pwfile.html | 7 ++++--- cvm-file=x => cvm-pwfile=x | 0 cvm.html | 2 +- insthier.c | 6 +++--- 12 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 cvm-file-local.c delete mode 100644 cvm-file-udp.c create mode 100644 cvm-pwfile-local.c rename cvm-file-local=x => cvm-pwfile-local=x (100%) create mode 100644 cvm-pwfile-udp.c rename cvm-file-udp=x => cvm-pwfile-udp=x (100%) rename cvm-file.c => cvm-pwfile.c (93%) rename cvm-file.html => cvm-pwfile.html (73%) rename cvm-file=x => cvm-pwfile=x (100%) commit b0ed4709998801ec0e52f900dce3e1652389c983 Author: Bruce Guenter Date: Wed Jul 4 04:32:00 2001 +0000 *** empty log message *** README | 8 ++++++-- README.CVS | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 README.CVS commit 950eeef0f6ab466b48723bd2cc94ccfc0dab6d02 Author: Bruce Guenter Date: Sat Jun 30 06:05:01 2001 +0000 Added a new cvm-file module set. cvm-file-local.c | 1 + cvm-unix-local=x => cvm-file-local=x | 0 cvm-file-udp.c | 1 + cvm-unix-udp=x => cvm-file-udp=x | 0 cvm-unix.c => cvm-file.c | 78 +++++++----------------------------- cvm-file.html | 29 ++++++++++++++ cvm-unix=x => cvm-file=x | 0 cvm.html | 8 +++- insthier.c | 3 ++ 9 files changed, 56 insertions(+), 64 deletions(-) create mode 100644 cvm-file-local.c copy cvm-unix-local=x => cvm-file-local=x (100%) create mode 100644 cvm-file-udp.c copy cvm-unix-udp=x => cvm-file-udp=x (100%) copy cvm-unix.c => cvm-file.c (50%) create mode 100644 cvm-file.html copy cvm-unix=x => cvm-file=x (100%) commit c555f06decd9f0b371a802ccd982209b220968aa Author: Bruce Guenter Date: Sat Jun 30 06:04:48 2001 +0000 Replaced the hard-coded numeric error codes with CVME symbols. cvm-unix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 88d49225f0195ce252e94988b5405dfe225951b0 Author: Bruce Guenter Date: Sat Jun 30 06:04:12 2001 +0000 *** empty log message *** NEWS | 8 +++++++- README | 2 +- spec | 12 ++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) commit 8886dcd81856543fcfe47d745a3193c98a82d253 Author: Bruce Guenter Date: Sat Jun 30 05:58:52 2001 +0000 Added some documentation for cvm-unix. cvm-unix.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cvm-unix.html commit 34bb6070ce672f3fcbeeb531b4e075ab102d169d Author: Bruce Guenter Date: Sat Jun 30 05:58:27 2001 +0000 Documented the new cvm_auth_init API. module.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit caaf5503e6bbe2a3f5a466555391f376fcc79a30 Author: Bruce Guenter Date: Sat Jun 30 05:20:37 2001 +0000 Added new cvm_auth_init feature to the module API. cvm-unix.c | 5 +++++ module.h | 1 + module_command.c | 1 + module_local.c | 1 + module_udp.c | 4 +++- 5 files changed, 11 insertions(+), 1 deletion(-) commit caa57683d25848daa71ffb78be9c678184f15068 Author: Bruce Guenter Date: Sat Jun 30 05:19:37 2001 +0000 *** empty log message *** NEWS | 6 ++++++ makedist.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 759f9ec37d4333b30ed76d99cdde4b4b32011b7a Author: Bruce Guenter Date: Sat May 19 03:39:56 2001 +0000 *** empty log message *** NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) commit a72d9a69ce77fbd54b086680a4cff6387ac10e16 Author: Bruce Guenter Date: Sat May 19 03:39:46 2001 +0000 Updated to call the new cvm_ prefixed symbols. cvm-benchclient.c | 3 +-- cvm-checkpassword.c | 16 ++++++++-------- cvm-testclient.c | 11 ++++++----- cvm-unix.c | 36 ++++++++++++++++++------------------ 4 files changed, 33 insertions(+), 33 deletions(-) commit 11b31e96225a66d5f04ace64748dfcb928f33251 Author: Bruce Guenter Date: Sat May 19 03:38:22 2001 +0000 Prepend "cvm_" to all exported symbols. Invert the return value from the cvm_fact routines. client.c | 57 +++++++++++++++++++++++++++++++-------------------------- client.h | 6 +++--- client.html | 35 +++++++++++++++++++---------------- 3 files changed, 53 insertions(+), 45 deletions(-) commit f7f4f7ef8e541c34b99d327ae96ff46088efac44 Author: Bruce Guenter Date: Sat May 19 03:37:22 2001 +0000 Prepend all exported symbols with "cvm_" module.h | 18 +++++++++--------- module.html | 36 ++++++++++++++++++------------------ module_command.c | 2 +- module_local.c | 2 +- module_log.c | 4 ++-- module_output.c | 8 ++++---- module_request.c | 34 +++++++++++++++++++--------------- module_udp.c | 2 +- 8 files changed, 55 insertions(+), 51 deletions(-) commit 30e14ad932f583c6eafa7e12ba95f9040b3494e1 Author: Bruce Guenter Date: Sat May 19 01:22:01 2001 +0000 Added specific note about what numbers are reserved for local or experimental use. Made the CVM_FACT_SHELL fact optional. facts.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit d68024a12c7e4a108cf76527af75c71d5e3ba0e0 Author: Bruce Guenter Date: Sat May 19 00:36:14 2001 +0000 Added a "no fact" error code. errors.h | 1 + errors.html | 3 +++ 2 files changed, 4 insertions(+) commit 46b5ea0930c2556fc2fcdacf8bc3ab70195d560f Author: Bruce Guenter Date: Sat May 19 00:35:58 2001 +0000 Renamed all facts to prepend a "cvm_". facts.c | 18 +++++++++--------- facts.h | 44 ++++++++++++++++++++++---------------------- facts.html | 26 +++++++++++++------------- 3 files changed, 44 insertions(+), 44 deletions(-) commit 65e2ca40d335da22365a3f2edb18ac205b669780 Author: Bruce Guenter Date: Fri May 18 04:31:05 2001 +0000 Added the office location, work phone, and home phone information from the GECOS field of the passwd struct. facts.h | 3 +++ facts.html | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) commit 20c213c4ce4a6ec79dfc5460b12c6c1131aaceab Author: Bruce Guenter Date: Fri May 18 02:01:50 2001 +0000 Improved the wording and formatting of the documentation. cvm.html | 2 +- errors.html | 26 ++++++++----- facts.html | 125 +++++++++++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 121 insertions(+), 32 deletions(-) commit b643385a671fdd9ca8ff4d3676a28c919043c301 Author: Bruce Guenter Date: Fri May 18 02:01:19 2001 +0000 Add a short delay after backgrounding the socket servers so they can establish their socket. benchmark.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 80b9e3a19b6a3b2255795f6ae0d701926832711f Author: Bruce Guenter Date: Fri May 18 02:00:28 2001 +0000 Truncate the GECOS field at the first comma. Parse and show the supplemental group IDs. cvm-unix.c | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) commit b45b717a35701fe0cabba1543b8f6558f897bb9b Author: Bruce Guenter Date: Thu May 17 22:06:18 2001 +0000 *** empty log message *** module.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6161270662b2f8449c2f8ff96b0c8697b4d1783 Author: Bruce Guenter Date: Thu May 17 22:05:53 2001 +0000 Added support for reporting the supplemental group list. cvm-testclient.c | 3 +++ 1 file changed, 3 insertions(+) commit b8201df4d6a62dd63736ef7bd982552070346a37 Author: Bruce Guenter Date: Wed May 16 11:42:13 2001 +0000 *** empty log message *** NEWS | 8 ++++++++ README | 4 ++-- VERSION | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) commit bad9da3fb8778e6db68d116314810b840105f826 Author: Bruce Guenter Date: Wed May 16 11:41:05 2001 +0000 Completed upgrading "unsigned" to "unsigned long" as the integer fact type everywhere. cvm-testclient.c | 4 ++-- facts.c | 4 ++-- facts.h | 4 ++-- module.h | 2 +- module_output.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) commit df6049c23e1f85c6afce8fad8901ba4b0449c6a6 Author: Bruce Guenter Date: Wed May 16 11:37:39 2001 +0000 Include the proper dynamic header file. cvm-checkpassword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d9c32abd8667a0d5e00060bc70b3ed1231a0cc1 Author: Bruce Guenter Date: Wed May 16 11:35:55 2001 +0000 Moved the list of fact numbers into its own document. cvm.html | 1 + facts.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++ protocol.html | 43 +++---------------------------------------- 3 files changed, 51 insertions(+), 40 deletions(-) create mode 100644 facts.html commit d70d7a0dfe8ab686af36bbdb905b22de5312fe19 Author: Bruce Guenter Date: Wed May 16 11:35:26 2001 +0000 Modified the fact_uint function to use unsigned long instead of just unsigned. Modified the fact_str function to return sucessive facts when the call is repeated. client.c | 19 +++++++++++++------ client.h | 2 +- client.html | 17 +++++++++++------ 3 files changed, 25 insertions(+), 13 deletions(-) commit 283b30c4a29eb5126206408f56c5353684756d29 Author: Bruce Guenter Date: Wed May 16 11:34:01 2001 +0000 Improved wording. rationale.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 60e0e691e89aad7c8d20fc045d70acbc209acd35 Author: Bruce Guenter Date: Fri May 11 01:58:51 2001 +0000 Moved to the new Python-based SPAC makedist system. makedist.in | 46 ---------------------------------------------- makedist.py | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 46 deletions(-) delete mode 100644 makedist.in create mode 100644 makedist.py commit 852ab4bf14208887dba4319d9563e72ed714f964 Author: Bruce Guenter Date: Fri May 11 01:58:26 2001 +0000 Add iopoll.o to this programs that use iopoll. cvm-benchclient=x | 1 + cvm-checkpassword=x | 1 + cvm-testclient=x | 1 + 3 files changed, 3 insertions(+) commit e7a95f7591ed4445cc23507abe5a3d903468072a Author: Bruce Guenter Date: Fri May 11 01:58:00 2001 +0000 Fixed the use of the wrong error code for an authentication failure. rts.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11713a7f84933b9ca471c1d32f8c39fdffe0346b Author: Bruce Guenter Date: Thu May 10 00:56:17 2001 +0000 *** empty log message *** README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1d5b0b76ed435df0393a6babe67c3781951aa114 Author: Bruce Guenter Date: Thu May 10 00:52:00 2001 +0000 Added program documentation. cvm-benchclient.html | 23 +++++++++++++++++++++++ cvm-checkpassword.html | 31 +++++++++++++++++++++++++++++++ cvm-testclient.html | 22 ++++++++++++++++++++++ cvm.html | 8 +++++++- 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 cvm-benchclient.html create mode 100644 cvm-checkpassword.html create mode 100644 cvm-testclient.html commit 51335d25581803f926de954fa8ff975a8ed24e84 Author: Bruce Guenter Date: Thu May 10 00:51:43 2001 +0000 Fixed the program name in the usage notes. cvm-benchclient.c | 2 +- cvm-testclient.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit dc914e7555d35502beb22518569fdf490b194400 Author: Bruce Guenter Date: Thu May 10 00:40:02 2001 +0000 Added missing close of FD 3 after reading the data. cvm-checkpassword.c | 1 + 1 file changed, 1 insertion(+) commit c312b0f6acedf16221bb55a1357a4e493d9647bf Author: Bruce Guenter Date: Wed May 9 23:54:42 2001 +0000 Add new program cvm-checkpassword to list of installed binaries. insthier.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit cf17a0191f63a4712c52fd067395c27962592e70 Author: Bruce Guenter Date: Wed May 9 23:43:53 2001 +0000 *** empty log message *** README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ccad775cc7f6c76b89289ebb6a774bbf21152b0e Author: Bruce Guenter Date: Wed May 9 23:37:53 2001 +0000 Added a checkpassword emulator. NEWS | 2 + cvm-checkpassword.c | 74 ++++++++++++++++++++++++++++++++ cvm-benchclient=x => cvm-checkpassword=x | 1 + 3 files changed, 77 insertions(+) create mode 100644 cvm-checkpassword.c copy cvm-benchclient=x => cvm-checkpassword=x (73%) commit 88d7f781f4761b9f26643fa9b08cb20b0a3ebfdb Author: Bruce Guenter Date: Thu Mar 22 23:59:59 2001 +0000 *** empty log message *** NEWS | 6 ++++++ insthier.c | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 3527b756a0610fb42ec2789a08a0ccc50d2a3770 Author: Bruce Guenter Date: Thu Mar 22 23:59:36 2001 +0000 Bumped up the version number. README | 2 +- VERSION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 17882518011f631416709bfffe94e11c1a331ab6 Author: Bruce Guenter Date: Thu Mar 22 23:59:02 2001 +0000 Added a benchmarking tool. benchmark.sh | 20 +++++++++++++++++ cvm-testclient.c => cvm-benchclient.c | 42 +++++++++++++++++------------------ cvm-testclient=x => cvm-benchclient=x | 0 3 files changed, 40 insertions(+), 22 deletions(-) create mode 100644 benchmark.sh copy cvm-testclient.c => cvm-benchclient.c (56%) copy cvm-testclient=x => cvm-benchclient=x (100%) commit c656ac6328558c42241e47dda46a5aa9f1ef3072 Author: Bruce Guenter Date: Thu Mar 22 23:58:41 2001 +0000 Fixed bogus use of vfork, and poor handling of data parsing. client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d564152e626b01890e5c9a3421086926330a2f15 Author: Bruce Guenter Date: Tue Mar 20 05:17:02 2001 +0000 *** empty log message *** NEWS | 2 ++ README | 6 +++--- makedist.in | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) commit 43d636f8b803dfb110f6b32d4ee5f4270ad2536f Author: Bruce Guenter Date: Tue Mar 20 05:11:48 2001 +0000 *** empty log message *** README | 12 +++++++++++- spec | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) commit cae7e8cd7062395a21dc573b02dd4960570eeba9 Author: Bruce Guenter Date: Tue Mar 20 05:10:17 2001 +0000 Added GPL copyright notices. client.c | 17 +++++++++++++++++ cvm-testclient.c | 17 +++++++++++++++++ cvm-unix.c | 17 +++++++++++++++++ facts.c | 17 +++++++++++++++++ module_command.c | 17 +++++++++++++++++ module_local.c | 17 +++++++++++++++++ module_log.c | 17 +++++++++++++++++ module_output.c | 17 +++++++++++++++++ module_request.c | 17 +++++++++++++++++ module_udp.c | 17 +++++++++++++++++ 10 files changed, 170 insertions(+) commit 2d4deb68e5b20ae9d1099f2b6dce9e5caf07f9e7 Author: Bruce Guenter Date: Tue Mar 20 05:04:16 2001 +0000 Exit in signal handler. module_local.c | 2 ++ module_udp.c | 1 + 2 files changed, 3 insertions(+) commit cb998175ccb6d6454f529c4faea96d4920d75913 Author: Bruce Guenter Date: Tue Mar 20 05:03:54 2001 +0000 Fixed return of error codes from command exit. client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a6c32b0a1017c5d1e5cc4a7285c683d0290bc3cc Author: Bruce Guenter Date: Tue Mar 20 05:03:40 2001 +0000 Filled in tests. rts.exp | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ rts.tests | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+) commit 57f7ca9dbc88638b6ecaaf8f8f4f39356975476e Author: Bruce Guenter Date: Tue Mar 20 04:30:48 2001 +0000 Totally rewrote the package to provide three modes of operation. client.c | 101 ++++++++++++++++++++++++++++++++++++++++++++----------- client.h | 1 + command=l | 4 +++ cvm-testclient.c | 2 +- cvm-unix-local.c | 1 + cvm-unix-local=x | 5 +++ cvm-unix-udp.c | 1 + cvm-unix-udp=x | 5 +++ cvm-unix.c | 36 ++++++++++---------- cvm-unix=x | 3 +- errors.h | 10 ++++++ insthier.c | 4 ++- local=l | 5 +++ module.h | 35 ++++++++++++++----- module=l | 4 --- module_command.c | 37 ++++++++++++++++++++ module_input.c | 54 ----------------------------- module_local.c | 71 ++++++++++++++++++++++++++++++++++++++ module_log.c | 33 ++++++++++++++++++ module_main.c | 18 ---------- module_output.c | 76 ++++++++++++++++++++++------------------- module_request.c | 50 +++++++++++++++++++++++++++ module_udp.c | 65 +++++++++++++++++++++++++++++++++++ udp=l | 5 +++ 24 files changed, 466 insertions(+), 160 deletions(-) create mode 100644 command=l create mode 100644 cvm-unix-local.c create mode 100644 cvm-unix-local=x create mode 100644 cvm-unix-udp.c create mode 100644 cvm-unix-udp=x create mode 100644 errors.h create mode 100644 local=l delete mode 100644 module=l create mode 100644 module_command.c delete mode 100644 module_input.c create mode 100644 module_local.c create mode 100644 module_log.c delete mode 100644 module_main.c create mode 100644 module_request.c create mode 100644 module_udp.c create mode 100644 udp=l commit 4f95ebec9001161406e1cad903b8ecacf82ac2d1 Author: Bruce Guenter Date: Tue Mar 20 04:30:26 2001 +0000 *** empty log message *** README | 10 ---------- rts.exp | 0 rts.sh | 1 + rts.tests | 17 +++++++++++++++++ 4 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 rts.exp create mode 100644 rts.sh create mode 100644 rts.tests commit aff17ace6d684e46b14eb2f7738790428c3b6cfc Author: Bruce Guenter Date: Tue Mar 20 04:30:07 2001 +0000 Removed the mailing list data from the makedist.in and added it to README. README | 14 ++++++++++++-- makedist.in | 8 -------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 7d5f274774fd887e73f90a062b0938d7f0f5cd94 Author: Bruce Guenter Date: Tue Mar 20 04:27:55 2001 +0000 Bumped up version number. VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37728ba372c9bd998b241cd0f1f52984b8b6a442 Author: Bruce Guenter Date: Tue Mar 20 04:27:09 2001 +0000 Added note about new features. Bumped version number. NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8e6dd007d8c102de78216d2d270f33b2afd252ce Author: Bruce Guenter Date: Tue Mar 20 04:23:57 2001 +0000 Renamed the local-domain socket module to cvm-local: cvm.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3287bdae5eec0b0360e6bb43ff1c590978a84f95 Author: Bruce Guenter Date: Mon Mar 12 05:16:58 2001 +0000 Updated documentation for new server framework. client.html | 4 ++-- cvm.html | 19 ++++++++++++++++--- errors.html | 24 ++++++++++++++++++++++++ module.html | 49 +++++++++++++++++++++++++++++++++---------------- protocol.html | 54 +++++++++++++++++++++++------------------------------- rationale.html | 44 ++++++++++++++++++++++++++++---------------- 6 files changed, 126 insertions(+), 68 deletions(-) create mode 100644 errors.html commit 2268a04800b90a0abf157f974a114947341e3cab Author: Bruce Guenter Date: Sat Mar 10 10:24:51 2001 +0000 Rewrote the client library to do UDP calls. client.c | 194 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 120 insertions(+), 74 deletions(-) commit e3f18ce746f113c066f0b562c2588394d82be6d0 Author: Bruce Guenter Date: Sat Mar 10 10:24:14 2001 +0000 CVM clients now need the socket library. cvm-testclient=x | 1 + 1 file changed, 1 insertion(+) commit 4f537f9509d570dad4b7a522b1754edb8aa2e3fd Author: Bruce Guenter Date: Sat Mar 10 10:23:51 2001 +0000 Further split up the CVM documentation, modified to account for upcoming UDP modifications. cvm.html | 195 ++-------------------------------------------- cvm.html => protocol.html | 96 ++--------------------- rationale.html | 53 +++++++++++++ 3 files changed, 63 insertions(+), 281 deletions(-) copy cvm.html => protocol.html (51%) create mode 100644 rationale.html commit 7614e9153ecf9326551e74e2a24c4e337ed96c8b Author: Bruce Guenter Date: Sat Mar 10 10:22:40 2001 +0000 Shrank buffer size down to 512 bytes. module_input.c | 2 +- module_output.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 199f458e28f9aa63c5e6180d2efa36fd2ee5804d Author: Bruce Guenter Date: Thu Mar 8 21:08:19 2001 +0000 Updated date. README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c1defdeea064f57e65998f0ebb24c541b4b5239 Author: Bruce Guenter Date: Wed Mar 7 23:25:54 2001 +0000 *** empty log message *** NEWS | 2 ++ 1 file changed, 2 insertions(+) commit fb391630b67c6efc638cf25b08ad8be89a490e1b Author: Bruce Guenter Date: Wed Mar 7 06:04:34 2001 +0000 Bumped up version number. NEWS | 5 +++++ README | 2 +- VERSION | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit 61f0d5e6cc162b10cc11a3af0e780149a82632fd Author: Bruce Guenter Date: Wed Mar 7 05:13:08 2001 +0000 Properly handle unsigned numbers, rejecting negatives. Return error if parsing data fails, even if module returns OK. client.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 3c9bbf02a13386897cef05fcb708e46d118d12b1 Author: Bruce Guenter Date: Tue Feb 27 23:16:15 2001 +0000 Fixed to account for file name changes. insthier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e98a40bb0ee83d0f934b95b993d0a238eadc7efc Author: Bruce Guenter Date: Tue Feb 27 23:15:15 2001 +0000 Fixed up date. README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1c4e59e7130f3d100474c137ce49632649c78d3 Author: Bruce Guenter Date: Tue Feb 27 23:15:09 2001 +0000 Added shadow.lib dependancy to cvm-unix. cvm-unix=x | 1 + 1 file changed, 1 insertion(+) commit d3e9b823eb23a821987564198018fde6d00930e0 Author: Bruce Guenter Date: Fri Feb 23 23:27:40 2001 +0000 Renamed testcvmclient to cvm-testclient testcvmclient.c => cvm-testclient.c | 0 testcvmclient=x => cvm-testclient=x | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename testcvmclient.c => cvm-testclient.c (100%) rename testcvmclient=x => cvm-testclient=x (100%) commit 779a2572e1b6f6ce116e265ac480d3be6c44bc01 Author: Bruce Guenter Date: Fri Feb 23 23:18:02 2001 +0000 Added new library documentation. client.html | 34 ++++++++++++++++++++++++++++++++++ cvm.html | 4 ++++ module.html | 25 +++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 client.html create mode 100644 module.html commit 7bb8c0920474bfb9838ce6203b3bfeed291d9aa1 Author: Bruce Guenter Date: Fri Feb 23 23:17:48 2001 +0000 Fixed bug of using strtol instead of strtoul. client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 015b0361f1d706c31d3f70fe2fe1d4ef8450ca37 Author: Bruce Guenter Date: Fri Feb 23 23:17:30 2001 +0000 Bumped up version number. NEWS | 9 +++++++++ VERSION | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) commit b2059c0de39baa636b397f864c9e923764553d29 Author: Bruce Guenter Date: Fri Feb 23 23:16:59 2001 +0000 Renamed cvm_unix to cvm-unix. cvm_unix.c => cvm-unix.c | 0 cvm_unix=x => cvm-unix=x | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename cvm_unix.c => cvm-unix.c (100%) rename cvm_unix=x => cvm-unix=x (100%) commit affd58af588221d8995c4124064d26c4a6a713f7 Author: Bruce Guenter Date: Fri Feb 23 06:29:57 2001 +0000 *** empty log message *** README | 23 ++++++----------------- makedist.in | 4 ++-- 2 files changed, 8 insertions(+), 19 deletions(-) commit 1bb91bb2ab79b5d7f93ec38f5e6ad7f31bdb65a5 Author: Bruce Guenter Date: Fri Feb 23 06:26:42 2001 +0000 Added the makedist file. makedist.in | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 makedist.in commit 80dbf7a93bec247add0c2366261c88f1a68993f8 Author: Bruce Guenter Date: Fri Feb 23 06:24:31 2001 +0000 Fixed up distribution files. NEWS | 0 README | 28 ++++++++++++++++++++++++++++ VERSION | 2 +- spec | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 NEWS create mode 100644 README create mode 100644 spec commit e1a827619c89f298eb013e526a5de6c6260de35f Author: Bruce Guenter Date: Fri Feb 23 05:37:59 2001 +0000 Renamed testclient to testcvmclient. testclient.c | 10 ---------- testcvmclient.c | 32 ++++++++++++++++++++++++++++++++ testclient=x => testcvmclient=x | 0 3 files changed, 32 insertions(+), 10 deletions(-) delete mode 100644 testclient.c create mode 100644 testcvmclient.c rename testclient=x => testcvmclient=x (100%) commit 5e2fedb65135d3a24ef00215bec7a9a697feedc2 Author: Bruce Guenter Date: Fri Feb 23 05:37:48 2001 +0000 Install cvm_unix and testcvmclient in conf_bin. insthier.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 1f8329493eb5d421c1852b1a7a4ba20839129656 Author: Bruce Guenter Date: Fri Feb 23 05:37:22 2001 +0000 Wait for program exit after killing the program to catch exit codes properly. client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddc8cc1f8763c0168577d145d3201beb16721d82 Author: Bruce Guenter Date: Fri Feb 23 05:24:15 2001 +0000 Renamed interface.html to cvm.html interface.html => cvm.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) rename interface.html => cvm.html (89%) commit 1adb2c7f9b0862ec7ac5852700262dce77d986fd Author: Bruce Guenter Date: Fri Feb 23 05:15:28 2001 +0000 Renamed auth_sys to cvm_unix. auth_sys.c => cvm_unix.c | 0 auth_sys=x => cvm_unix=x | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename auth_sys.c => cvm_unix.c (100%) rename auth_sys=x => cvm_unix=x (100%) commit a3606c8b481e028d9b6aa56cacff1248edc6c358 Author: Bruce Guenter Date: Fri Feb 23 05:11:51 2001 +0000 Initial revision VERSION | 1 + auth_sys.c | 62 ++++++++++++++++++ auth_sys=x | 2 + client.c | 158 ++++++++++++++++++++++++++++++++++++++++++++++ client.h | 10 +++ client=l | 2 + facts.c | 11 ++++ facts.h | 25 ++++++++ insthier.c | 1 + interface.html | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ module.h | 19 ++++++ module=l | 4 ++ module_input.c | 54 ++++++++++++++++ module_main.c | 18 ++++++ module_output.c | 59 ++++++++++++++++++ testclient.c | 10 +++ testclient=x | 1 + 17 files changed, 627 insertions(+) create mode 100644 VERSION create mode 100644 auth_sys.c create mode 100644 auth_sys=x create mode 100644 client.c create mode 100644 client.h create mode 100644 client=l create mode 100644 facts.c create mode 100644 facts.h create mode 100644 insthier.c create mode 100644 interface.html create mode 100644 module.h create mode 100644 module=l create mode 100644 module_input.c create mode 100644 module_main.c create mode 100644 module_output.c create mode 100644 testclient.c create mode 100644 testclient=x