summaryrefslogtreecommitdiff
path: root/perl/t
AgeCommit message (Collapse)Author
2008-02-12Correctly handle get of an empty object in the wallet client. TheRuss Allbery
empty string is valid object content. Add a full end-to-end test suite to catch protocol mismatches between the client and server, such as the one fixed in this release.
2008-02-12Move getcreds into the utility library as well.Russ Allbery
2008-02-11Move the remctld handling into the utility library.Russ Allbery
2008-02-09Actually implement FILE_MAX_SIZE.Russ Allbery
2008-02-09Add file object support to the wallet server.Russ Allbery
2008-02-08Wallet::Config and hence the wallet server now checks for theRuss Allbery
environment variable WALLET_CONFIG and loads configuration from the file specified there instead of /etc/wallet/wallet.conf if it is set.
2008-02-08Avoid uninitialized values if klist isn't installed.release/0.7debian/0.7-1Russ Allbery
2008-02-07Fix copyright date.Russ Allbery
2008-02-07The current version of Net::Remctl can't handle explicit undef or theRuss Allbery
empty string as a principal argument. Be careful not to provide a principal argument if no principal was set. This workaround can be removed once we depend on a later version of Net::Remctl.
2008-02-07Add a new autocreate API call that tries to create an object using theRuss Allbery
default ACLs. Remove autocreation support from create, which now requires that one be on the ADMIN ACL, and from get and store. The wallet client will soon know how to do the right thing.
2008-02-07Add a check command to the wallet server to determine whether an objectRuss Allbery
already exists.
2008-02-06Check naming policy on wallet object creation before checking theRuss Allbery
default ACLs to avoid creating and stranding an ACL when the naming policy check fails.
2008-01-23Return IDs and names from list_acls.Russ Allbery
2008-01-23Add Wallet::Admin interfaces to list all objects and all ACLs in theRuss Allbery
database.
2008-01-23Fix the module inclusions.Russ Allbery
2008-01-23Remove dupliate use of Wallet::Admin.Russ Allbery
2008-01-23Add a destroy() method to the Wallet::Admin object and use that insteadRuss Allbery
of Wallet::Schema::drop in the test suite.
2008-01-23Refactor database initialization into a new Wallet::Admin module.Russ Allbery
2008-01-17Support enforcing a naming policy for wallet objects via a PerlRuss Allbery
function in the wallet server configuration file.
2008-01-04The build system now probes for GSS-API, Kerberos v5 and v4, and AFSRuss Allbery
libraries as necessary rather than hard-coding libraries. Building on systems without strong shared library dependencies and building against static libraries should now work. Building kasetkey (for AFS kaserver synchronization) is now optional and not enabled by default. Pass --with-afs to enable it. This allows wallet to be easily built in an environment without AFS.
2007-12-07Test the interaction of the ADMIN ACL with autocreate on get.Russ Allbery
2007-12-06Fix the keytab principal validation regex to allow instancesRuss Allbery
containing periods. Otherwise, it's hard to manage host keytabs. Add a missing test suite for that method.
2007-12-05Determine the class for object and ACL schema implementations from theRuss Allbery
database rather than a hard-coded list and provide Wallet::Schema methods for adding new class mappings. Add a missing class mapping for the netdb ACL schema verifier.
2007-12-04Add a subclass of the NetDB ACL verifier that requires the principalRuss Allbery
have an instance of "root" and strips that instance before checking NetDB roles.
2007-12-01Fix the test number in the SKIP block for enctype restrictions.Russ Allbery
2007-12-01Add a MySQL method to check the tables remaining after a drop.Russ Allbery
2007-12-01Document that all tests are now run against the configured database ifRuss Allbery
configuration is present.
2007-12-01Run the full schema test with the configured database. It should workRuss Allbery
fine with MySQL.
2007-12-01Clean up the database after running this test.Russ Allbery
2007-12-01Use reinitialize instead of initialize.Russ Allbery
2007-12-01Expiration dates are now expressed in YYYY-MM-DD HH:MM:SS instead ofRuss Allbery
seconds since epoch and returned the same way. Timestamps are now stored in the database as correct date and time types rather than seconds since epoch to work properly with MySQL.
2007-12-01Actually use the username and password from the database configuration.Russ Allbery
2007-12-01Hide kinit errors. No one cares.Russ Allbery
2007-12-01The wallet backend test suite now supports using a database other thanRuss Allbery
SQLite for testing. Also start a new Util.pm module for the test suite and move the contents sub into that module. More to follow.
2007-11-30Initial work on supporting testing with MySQL.Russ Allbery
Add a drop() method to Wallet::Schema to destroy the wallet database. Add a test suite for it. Add a reinitialize() method to Wallet;:Server that drops the database before creating it. Modify the wallet object test cases to call reinitialize() to create the initial database and drop() to clean up the database after the test is complete. Fix a bug preventing Wallet::Schema from being initialized multiple times. We now stash the schema in a class static variable and reuse it for subsequent initializations, since re-reading DATA doesn't work.
2007-11-20Attempt to create the object with a default owner on get and storeRuss Allbery
when the object doesn't exist.
2007-11-20Add support for running a user-defined function whenever an object isRuss Allbery
created by a non-ADMIN user and using the default owner ACL returned by that function provided that the calling user is authorized by that ACL. This permits dynamic creation of new objects based on a default owner ACL programmatically determined from the name of the object.
2007-11-15Fix the configuration files for remctld, which had gotten inverted.Russ Allbery
2007-11-15Use the right remctld configuration for the ACL verifier. Don't produceRuss Allbery
Perl warnings if the NetDB roles are empty.
2007-11-15Add an ACL verifier that checks access against NetDB roles using theRuss Allbery
NetDB remctl interface.
2007-10-11Add an acl_history method to the server layer and test it.Russ Allbery
2007-10-10Add a history method to the Wallet::ACL API.Russ Allbery
2007-10-10Use variables for the user and host in the history traces.Russ Allbery
2007-10-10Adjust for the new behavior of showing the former value of an attributeRuss Allbery
when it is set. Use variables for the user and host.
2007-10-10Add tests for the history method and its ACLs.Russ Allbery
2007-10-10Add tests for the history trace, which tests history records forRuss Allbery
attributes.
2007-10-10Test rollback when attempting to set an invalid enctype.Russ Allbery
2007-10-10Start checking the history.Russ Allbery
2007-10-10Pass a timestamp in for trace information as well and check the timestampRuss Allbery
on show rather than zeroing it.
2007-10-10Add an object history method and tests for it.Russ Allbery