Commit Graph
10542 Commits
Author SHA1 Message Date
Simo Sorce 9648da8f5f Fix versioning for configure.ac and ipa-python/setup.py
Fix make maintainer-clean

Also make RPM naming consistent by using a temp RELEASE file.
This one helps when testing builds using rpms.
Just 'echo X > RELEASE' to build a new rpms (X, X+1, X+2 ...)

Version 1.1.0 was released some times ago, bump up to 1.1.1
2008-08-11 18:31:05 -04:00
Simo Sorce 0368d4329a Used the encrypt_file and decrypt_file utility functions to encrypt replica
information. This way we do not risk to leave around sensitive data.
Set the destination host in the replica file too and do checks against
in ipa-replica-install
2008-08-11 18:30:57 -04:00
Simo Sorce 5cbc453d89 Add encrypt_file and decrypt_file utility functions.
We will use them to encrypt the replica file so that we can
transport it over more safely.
It contains sensitive data, by encrypting it we assure that
even if a distracted admin leaves it around it cannot be accessed
without knowing the access passphrase (usually the Directory Manager
password)

Along the way fix also ipautil.run which was buggy and not passing
in correctly stdin.

Add dependency for gnupg in spec file
2008-08-11 18:30:50 -04:00
Simo Sorce 599fe1a0f5 Use larger set from which to choose chars for random passwords.
Use SystemRandom() instead of Random() so that the randomicity
is non-deterministic.
2008-08-11 18:30:40 -04:00
Jason Gerard DeRose 902614a762 113: Fixed regex used in attr.__init__(); added unit tests for mthd.get_options() 2008-08-11 22:12:23 +00:00
Jason Gerard DeRose afdbc42b2e 112: More work on cli.py 2008-08-11 21:38:30 +00:00
Jason Gerard DeRose c1a125256b 111: Minor changes to mthd and prop classes; updated mthd and prop unit tests 2008-08-11 21:14:07 +00:00
Jason Gerard DeRose 9282418291 110: Started fleshing out more in cli.py 2008-08-11 19:35:57 +00:00
Jason Gerard DeRose 5313e5a491 109: Cleanups in cmd; added unit tests for cmd.validate() 2008-08-11 19:11:26 +00:00
Jason Gerard DeRose 8a6ece2ffb 108: Changed cmd.default() so that it now only return dictionary of values for which defaults were generated; updated unit tests 2008-08-11 17:57:07 +00:00
Jason Gerard DeRose fd6c215d59 107: Some cleanup in cmd; added unit tests for cmd.default() method 2008-08-11 17:37:33 +00:00
Jason Gerard DeRose 8aee8e060c 106: Fixed some typos in cmd.__get_options(); added unit tests for cmd.options and cmd.normalize() 2008-08-11 16:29:37 +00:00
Jason Gerard DeRose 879133d28a 105: Added a default implementation of cmd.get_options; added corresponding unit tests 2008-08-11 00:21:12 +00:00
Jason Gerard DeRose f6b69a5905 104: public.option now subclasses from plugable.Plugin; cleaned up unit tests for option 2008-08-10 22:23:22 +00:00
Jason Gerard DeRose d7958f3fde 103: Fixed missing API.__keys assignment 2008-08-09 19:48:47 +00:00
Jason Gerard DeRose 0edb22c9ac 102: After the API instance calls plugin.finalize(), it also calls plugin.__lock__() 2008-08-09 19:39:58 +00:00
Jason Gerard DeRose 543aea31a4 101: Registrar now subclasses from ReadOnly 2008-08-09 19:33:13 +00:00
Jason Gerard DeRose 0e532cd7b3 100: Cleaned up NameSpace docstrings; cleanup up NameSpace unit tests 2008-08-09 19:28:01 +00:00
Jason Gerard DeRose e756e12718 99: Cleaned up unit tests for plugable.Plugin 2008-08-09 19:09:10 +00:00
Jason Gerard DeRose 5315514f6c 98: Completed docstrings in Proxy 2008-08-09 18:58:46 +00:00
Jason Gerard DeRose 9712eae51c 97: Some whitespace and docstring cleanup; Plugin now subclasses from ProxyTarget 2008-08-09 05:19:40 +00:00
Jason Gerard DeRose 409f688ef5 96: Fixed typo is ReadOnly docstring 2008-08-09 04:37:37 +00:00
Jason Gerard DeRose 72f3132d2b 95: Improved docstrings for ReadOnly class; added ReadOnly.__islocked__() method; added corresponding unit tests 2008-08-09 04:35:06 +00:00
Jason Gerard DeRose 3495c67d57 94: Renamed Proxy._clone() method to Proxy.__clone__(); updated unit tests 2008-08-09 01:46:12 +00:00
Jason Gerard DeRose cc5b017494 93: Added Proxy.implements() method; addeded corresponding unit tests 2008-08-09 01:06:42 +00:00
Jason Gerard DeRose 45201e31c1 92: Added ProxyTarget.name property; added corresponding unit tests 2008-08-08 23:26:17 +00:00
Jason Gerard DeRose e3811f3f45 91: Fleshed out docstrings in plugable.Proxy 2008-08-08 23:07:22 +00:00
Jason Gerard DeRose 5a1223e943 90: Renamed plugable.Abstract to ProxyTarget, which now subclasses from ReadOnly; updated unit tests 2008-08-08 22:45:09 +00:00
Jason Gerard DeRose 6f144fbaf0 89: Moved ClassChecker from test_public.py into tstutil.py; improved unit tests for plugable.ReadOnly 2008-08-08 22:13:49 +00:00
Jason Gerard DeRose 1744723d11 88: Renamed ReadOnly._lock() to ReadOnly.__lock__(); updated subclasses and unit tests 2008-08-08 21:49:09 +00:00
Jason Gerard DeRose 3fe13d5945 87: Moved to_cli(), from_cli() functions from plugable.py into new cli.py file; moved corresponding unit tests into new test_cli.py file 2008-08-08 21:46:23 +00:00
Jason Gerard DeRose fdfa827a36 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g' 2008-08-08 21:40:03 +00:00
Jason Gerard DeRose 58a3b1d091 85: Added ReadOnly._lock() method to make class easier to use; updated subclasses and unit tests 2008-08-08 21:28:56 +00:00
Jason Gerard DeRose 6dc60a18c7 84: Renamed Proxy.__public to Proxy.__public__ so it works with Abstract.implements() 2008-08-08 20:55:08 +00:00
Jason Gerard DeRose b0976a5208 83: Added unit tests for plugable.Abstract 2008-08-08 20:39:34 +00:00
Jason Gerard DeRose d171dc9011 82: Cleaned up unit tests for public.option; added some doodles in plugable.Base 2008-08-08 19:53:45 +00:00
Jason Gerard DeRose 8e46824815 81: Switch from tab to 4-space indentation 2008-08-08 17:11:29 +00:00
Jason Gerard DeRose f656e31a7e 80: Cleaned up docstring for option.normalize() 2008-08-08 16:43:24 +00:00
Jason Gerard DeRose b3fc5f9a41 79: More work on option and cmd 2008-08-08 06:18:12 +00:00
Jason Gerard DeRose 9ee10d383d 78: Renamed opt to option; started fleshing out cmd more 2008-08-08 04:47:42 +00:00
Jason Gerard DeRose 62dc9a78fd 77: A few stylistic changes 2008-08-07 23:11:02 +00:00
Simo Sorce 1b613fafa6 Treat Jan 1 1970 in krbPrincipalExpiration as a special date that means
the account Never Expires
2008-08-07 11:50:33 -04:00
Rob Crittenden 110f60da8e Change user and group validators to match shadow-utils
This sets the regex to [a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?

Also change the validators to return True/False

450613, 457124
2008-08-07 11:21:33 -04:00
Jason Gerard DeRose 14a0658464 76: Fleshed out opt.validate(); added corresponding unit tests 2008-08-07 06:23:02 +00:00
Jason Gerard DeRose 8cbd8343be 75: Fixed opt.__rules_iter; added corresponding unit tests 2008-08-07 06:02:46 +00:00
Jason Gerard DeRose 2cc88a7a32 74: Finished opt.__rules_iter(); is_rule(obj) now returns False if obj is not callable; updated unit tests 2008-08-07 05:02:56 +00:00
Jason Gerard DeRose 8a6041b797 73: Started work on validation rules for opt; added corresponding unit tests 2008-08-07 04:51:21 +00:00
Jason Gerard DeRose fadbae6420 72: Started work on public.opt class; added corresponding unit tests 2008-08-07 03:38:49 +00:00
Jason Gerard DeRose f904cb0422 71: Proxy now uses base.__public__ instead of base.public; updated unit tests 2008-08-07 00:51:34 +00:00
Jason Gerard DeRose 778a019129 70: Plugin.__repr__ now again returns 'module_name.class_name()' form; updated unit test 2008-08-07 00:35:51 +00:00