Commit Graph
14935 Commits
Author SHA1 Message Date
Simo Sorce 3fb6343149 Fix makefiles after schema compat changes 2008-12-02 16:39:57 -05:00
Nathan Kinder f9d6ac9529 Corrected usage messages and manpage to match the logic for the ipa-replica-manage init command. 2008-12-01 17:19:10 -05:00
Simo Sorce ef0bb46923 Fix typo, thanks to Michele for pointing it out 2008-12-01 17:19:10 -05:00
Simo Sorce 78166d949c Run updates on the replica too, otherwise changes to cn=config will be missing. 2008-12-01 17:19:10 -05:00
Simo Sorce 3a263e9466 Make sure the CA cert is copied to the replica, fail if no ca.crt is available. Cope with some versions of ipa that forgot to copy the ca.crt cert in the right place. 2008-12-01 17:19:10 -05:00
Simo Sorce 5d1d292c15 Add tool to enable or disable the schema compatibility plugin 2008-12-01 17:19:10 -05:00
Jason Gerard DeRose 5a2b0cd6b8 Added notes in TODO on planned API changes 2008-11-25 18:21:29 -07:00
Rich Megginson ebd2fe8385 add passsync to ipa-replica-manage man page 2008-11-25 18:09:55 -05:00
Rich Megginson 502aff73a2 do not use ipaerror directly in ipa-replica-manage - use ldap exception instead 2008-11-25 18:09:49 -05:00
Jason Gerard DeRose 5e1605f7e1 Added tests/data.py file I forgot 2008-11-25 14:27:23 -07:00
Jason Gerard DeRose 29d680b211 Continued work on xmlrpc.dispatch() unit tests; fixed bug in Command.args_to_kw() 2008-11-25 13:52:40 -07:00
Jason Gerard DeRose 7350ccbffe Started fleshing out doodles in xmlrpc.execute() 2008-11-25 11:54:51 -07:00
Jason Gerard DeRose 2d458a1233 Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc plugin 2008-11-24 21:34:01 -07:00
Jason Gerard DeRose 237c16f0fd Started moving xmlrpc-functions from ipalib.util to ipalib.rpc 2008-11-24 12:51:03 -07:00
Jason Gerard DeRose 2db738e899 Some changes to make reading dubugging output easier 2008-11-24 10:09:30 -07:00
Jason Gerard DeRose c02770129d Small changed to test_round_trip() test 2008-11-21 15:05:39 -07:00
Simo Sorce 83a4c7207d Fix memleaks found by valgrind 2008-11-20 19:54:03 -05:00
Jason Gerard DeRose 75bdea29be Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and xmlrpc_unwrap() with dumps(), loads(); fixed a bug in xmlrpc_unwrap() 2008-11-20 12:41:06 -07:00
Simo Sorce 00e8af8ac3 We must always zero out the target ientry unconditionally where it is used
and never free it in the destructor.
2008-11-20 14:03:19 -05:00
Jason Gerard DeRose cfe4ec2175 Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding unit tests 2008-11-19 16:11:23 -07:00
Simo Sorce 16bb6e19df Avoid potential crashbug on invalid DNs (not in the tree). 2008-11-19 14:00:30 -05:00
Rob Crittenden 8da5dc4f79 Fix error in validation when editing new groups via the UI
471808
2008-11-19 13:11:32 -05:00
Jason Gerard DeRose 2478ccd357 Fixed some unicode encoded/decode issues in textui.prompt_password() and textui.prompt() 2008-11-19 03:31:29 -07:00
Jason Gerard DeRose 500b816681 Added unit test for Param.ispassword() method 2008-11-18 16:29:08 -07:00
Jason Gerard DeRose 4afee15d4b Calling 'passwd' command now prompts for password using textui.prompt_password() 2008-11-18 13:43:43 -07:00
Jason Gerard DeRose 0a60a6bcc4 Added textui.prompt_password() method; added logic in cli for dealing with 'password' flag in param.flags 2008-11-18 11:30:16 -07:00
Jason Gerard DeRose 75d1918996 Added some experimental textui methods 2008-11-17 20:41:01 -07:00
Jason Gerard DeRose 8474bd01da Command.get_defaults() now returns param.default if param.type is a Bool 2008-11-17 18:50:30 -07:00
Jason Gerard DeRose 5c16047092 user-lock and user-unlock commands now use textui, which finishes the user plugins 2008-11-17 18:15:40 -07:00
Jason Gerard DeRose 12dc0a0aa9 user-find now works again, uses textui 2008-11-17 16:40:42 -07:00
Jason Gerard DeRose 42bf555a3a Started updated user_* commands to use textui 2008-11-17 15:27:08 -07:00
Jason Gerard DeRose e7ec413158 Moved plugins command from ipalib.cli to ipalib.plugins.f_misc 2008-11-16 19:50:17 -07:00
Jason Gerard DeRose e059591d6b env command now supports * wildcard for searching 2008-11-14 22:21:36 -07:00
Jason Gerard DeRose e3fec8f219 Fixed textui.print_keyval for cases when the row is a list instead of a tuple 2008-11-14 22:03:31 -07:00
Jason Gerard DeRose 9de56d43f0 env plugin now subclasses from RemoteOrLocal 2008-11-14 21:58:39 -07:00
Jason Gerard DeRose 36737c2d91 Added frontend.LocalOrRemote command base class for commands like env 2008-11-14 21:29:46 -07:00
Jason Gerard DeRose 3433840692 Fixed doctest in tutorial 2008-11-14 19:48:01 -07:00
Rob Crittenden c513743e7c Add autmount-specific location and default entries 2008-11-14 18:05:29 -05:00
Jason Gerard DeRose f8f4058014 Tutorial: fixed typo in 'How your command should print to stdout' section 2008-11-14 14:53:55 -07:00
Jason Gerard DeRose caa98476f0 Tutorial: fixed typo in 'First steps: A simple command plugin' section 2008-11-14 14:49:48 -07:00
Jason Gerard DeRose 1abe3abb87 Tutorial: another small change to section on using output_for_cli() 2008-11-14 14:35:52 -07:00
Jason Gerard DeRose 0f1ed3e904 Tutorial: command in output_for_cli() example now also takes an argument 2008-11-14 14:27:09 -07:00
Jason Gerard DeRose c974451edf Added print_plain() and print_paragraph() methods to textui plugin and cleaned up the order of its methods 2008-11-14 13:33:42 -07:00
Jason Gerard DeRose 6d1ec6360c Tutorial: small improvements to section on using output_for_cli() 2008-11-14 12:43:10 -07:00
Jason Gerard DeRose 0313bb7ec0 Tutorial: added section on implementing an output_for_cli() method 2008-11-14 12:19:18 -07:00
Simo Sorce 7156f2ddfb Fix a free before use bug, it may lead to crashes but usually just corrupts
the changepw dn we store so that it won't match. This causes normal password
changes to be interpreted as password resets instead, and the new legit
password is immediately expired.
2008-11-14 10:23:43 -05:00
Jason Gerard DeRose 44171a0bad Tutorial: added section on allowed return values from a command's execute() method 2008-11-14 01:25:05 -07:00
Jason Gerard DeRose 82d3de773b Added textui.prompt() method, which CLI.prompt_interactively() uses 2008-11-13 23:54:34 -07:00
Jason Gerard DeRose f5594dd489 Started work on cleaning up how exceptions are caught and sys.exit() is called in ipalib.cli.CLI 2008-11-13 23:29:35 -07:00
Jason Gerard DeRose 860d391f3e Change Param.__repr__() so it returns the exact expression that could create it; added unit test for Param.__repre__() 2008-11-13 22:16:04 -07:00