Jason Gerard DeRose
14e932a8cd
310: generate_option() function now can accept a Param object, which it returns without modification
2008-09-21 22:11:14 +00:00
Jason Gerard DeRose
2a708cfebe
309: Renamed public.Option to public.Param
2008-09-21 22:02:33 +00:00
Jason Gerard DeRose
47e4606a98
308: Fixed broken example plugin user_add
2008-09-21 21:55:21 +00:00
Jason Gerard DeRose
f73d976bda
307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) Plugin.finalize(); updated unit tests
2008-09-21 21:50:56 +00:00
Jason Gerard DeRose
5872221bd4
306: Added Plugin.set_api() method; added corresponding unit tests
2008-09-21 21:30:19 +00:00
Jason Gerard DeRose
2d83614006
305: Ported cli.py to changes in public.py
2008-09-21 19:00:41 +00:00
Jason Gerard DeRose
4a96ec2dc7
304: args, options, & params namespaces are now created in Command.finalize() instead of Command.__init__(); updated corresponding unit tests
2008-09-21 18:50:00 +00:00
Jason Gerard DeRose
f8953720c4
303: Removed Command.smart_option_order() method and moved its logic into Method.get_options()
2008-09-21 16:59:12 +00:00
Rob Crittenden
7b799d8c6f
Fix class declaration to work with Python 2.4
2008-09-19 23:09:59 -04:00
Martin Nagy
a62b85a233
Fix architecture detection in ldapupdate
2008-09-19 17:25:05 +02:00
Rob Crittenden
ca07cdb390
Add detection to the update tool to detect when it would apply changes.
...
Remove SUP name from RFC2307bis.update to match FDS
2008-09-19 18:04:40 -04:00
Jason Gerard DeRose
1ec4f379f5
302: Removed depreciated Command.group_args() method
2008-09-19 00:00:54 +00:00
Jason Gerard DeRose
f29c827d06
301: Command.args_to_kw() now raises ArgumentError if more args than max_args are given
2008-09-18 23:53:23 +00:00
Jason Gerard DeRose
e0b900894f
300: Added Command.max_args instance attribute; added corresponding unit tests
2008-09-18 23:15:34 +00:00
Jason Gerard DeRose
ef0d7a71ab
299: Cleaned up unit tests for ReadOnly class
2008-09-18 22:39:48 +00:00
Jason Gerard DeRose
81ebe078be
298: Cleaned up docstrings in ReadOnly methods
2008-09-18 22:01:04 +00:00
Jason Gerard DeRose
e524c826db
297: Added a better example in docstring for ReadOnly
2008-09-18 21:45:25 +00:00
Simo Sorce
b4938f5e35
Fix syntax error
2008-09-18 17:23:13 -04:00
Simo Sorce
f6cd489909
We were assuming that, if the realm was correct then also the
...
rest of the krb5.conf configuration were. This clearly breaks
with the default EXAMPLE.COM realm configuratrion. Furthermore
it makes it not possible to try to 'fix' an installation by
rerruninng ipa-client-install
This patch removes the special case and avoids krb5.conf only
if the on_master flag is passed.
Fix also one inner 'if' statement to be simpler to understand.
2008-09-18 17:23:12 -04:00
Simo Sorce
bc70a5146f
Remove reference to very unlikely service examples that are not
...
currently kerberized (and may never be due to their nature).
2008-09-18 17:23:12 -04:00
Jason Gerard DeRose
14eb96493b
296: Added more to docstrings for NameSpace.__iter_() and NameSpace.__call__()
2008-09-18 21:23:05 +00:00
Jason Gerard DeRose
5ab45385db
295: Updated NameSpace unit tests to test NameSpace.__getitem__() with int and slice
2008-09-18 20:48:55 +00:00
Jason Gerard DeRose
84a721d408
294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() now works with int and slice objects
2008-09-18 20:35:23 +00:00
Jason Gerard DeRose
f78f3ed0dd
293: Added Command.kw_to_args() method; added corresponding unit tests
2008-09-18 19:39:23 +00:00
Martin Nagy
8683c23e9d
Restart httpd and dirsrv services after yum upgrade.
...
Fixes: 441566
2008-09-17 23:06:33 +02:00
Martin Nagy
1913996584
Don't try to discover servers if we specified them on command line.
2008-09-17 23:06:23 +02:00
Martin Nagy
1634e09973
Add standard override options to ipa-replica-prepare
...
Fixes: 462489
2008-09-17 23:06:18 +02:00
Rob Crittenden
00d54a5668
Move the bulk of ipa-ldap-updater into a python library.
...
This significantly simplifies the tool and makes it possible to apply
updates from the installer without forking off another process.
2008-09-17 20:56:18 -04:00
Rob Crittenden
f736253b93
Run the LDAP updater at the end of the installation process.
...
Running at the end ensures that /etc/ipa/ipa.conf is created and generally
makes it more likely to succeed.
Added a new argument to ipa-server-installl, -y <password_file>, so we
don't have to pass it on the command-line.
2008-09-17 20:56:08 -04:00
Rob Crittenden
aa8c4a53bf
Allow passwords to work without a tty ala: echo password | some_program
2008-09-17 20:56:03 -04:00
Jason Gerard DeRose
4482c71aeb
292: Added experimental Command.args_to_kw() method
2008-09-14 23:17:36 +00:00
Rob Crittenden
661dee8c03
Add more development packages to test for
2008-09-12 20:37:36 -04:00
Jason Gerard DeRose
5a1abcdf4f
291: Temporarily reverted Rob's changes in public.py and plugins/examples.py
2008-09-13 00:22:01 +00:00
Rob Crittenden
88960f1597
Sort updates by DN length and by default process all files in the updates dir.
...
The updates directory is currently hardcoded to /usr/share/ipa/updates.
All of the files are read into memory and then sorted by the length of the DN.
This is so we can be sure that parent entries are added before children.
Also add a man page.
2008-09-12 20:07:48 -04:00
Rob Crittenden
1eec34393b
Update files for the schema compatibility plugin and RFC4876 profiles
...
Also handle syntax errors a bit more gracefully and allow the updater to
work on more than one file at a time.
Adjust to new config.py and use a custom exception class for syntax errors.
Also fix a error in parsing the separate files
Include slapi-nis in Requires
Includes work provided by Martin Nagy
460055
2008-09-12 20:07:41 -04:00
Rob Crittenden
ec57bc3e44
Tool for doing configuration updates over LDAP
...
This tool takes as input a file which contains basically an LDIF, prefixed
with a command: default, add, remove or only. These define the operations
to perform such as adding new entries, adding new sub-entries to an existing
entry, adding or modifying attributes in a record.
If an index entry is modified a task is created to re-create the index.
Schema may be added using this tool.
454031
2008-09-12 20:06:46 -04:00
Rob Crittenden
d33b7fc839
The True/False logic was reversed, so "no" meant remove the existing instance
2008-09-12 19:38:48 -04:00
Rob Crittenden
567bab9850
Fix error where usage wasn't being updated properly
2008-09-12 18:14:22 -04:00
Jason Gerard DeRose
0e60036bb4
290: Applyied Rob's patch
2008-09-12 16:36:04 +00:00
Martin Nagy
b5ee09c097
Fix spelling.
2008-09-12 00:03:50 +02:00
Martin Nagy
f33c57e6f8
Fix the -G option of ipa-adduser. Don't add the user if one of the groups doesn't exist. Fixes: 459801
2008-09-11 23:39:28 +02:00
Martin Nagy
fa019e932d
Ignore GSS exception when iterating through server list. Fixes: 459864
2008-09-11 23:38:41 +02:00
Martin Nagy
a9e8a72059
Try servers from ipa.conf even if we specified them on the command line.
2008-09-11 23:34:01 +02:00
Martin Nagy
7206a6d43c
More strict input checks in ipa-pwpolicy and return non-zero when unsuccessful. Fixes: 461213, 461325, 461332, 461543
2008-09-11 23:34:01 +02:00
Martin Nagy
885103c321
Rework config.py and change cli tools. Maintain order of IPA servers from command line, config and DNS. Parse options before detecting IPA configuration. Don't ignore rest of the options if one is missing in ipa.conf. Drop the --usage options, we will rely on --help. Fixes: 458869, 459070, 458980, 459234
2008-09-11 23:34:01 +02:00
Jason Gerard DeRose
c1ef2d05e8
289: Command.convert(), normalize(), and validate() now use self.params instead of self.options
2008-09-11 00:04:49 +00:00
Jason Gerard DeRose
23e251a605
288: CLI now uses Command.group_args() to check for required arguments
2008-09-10 23:33:36 +00:00
Jason Gerard DeRose
c17c5efb4e
287: Renamed Command.args_to_kw() to Command.group_args(), which now returns a tuple instead of dict; updated unit tests
2008-09-10 23:18:29 +00:00
Jason Gerard DeRose
7c40226500
286: Finished Command.args_to_kw(); finished unit tests for args_to_kw()
2008-09-10 21:34:29 +00:00
Jason Gerard DeRose
100492d98a
285: Started work on Command.args_to_kw() method; added unit test for functionality so far in args_to_kw()
2008-09-10 20:05:45 +00:00