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
Jason Gerard DeRose
1f635269e8
Param.__repr__() now uses util.make_repr()
2008-11-13 21:17:33 -07:00
Jason Gerard DeRose
8ad5502354
Added util.make_repr() function; added corresponding unit tests
2008-11-13 21:07:47 -07:00
Rich Megginson
e3929e60d5
set winsync account disable sync default value to both instead of none
2008-11-13 11:36:37 -05:00
Simo Sorce
818cafdd4d
Bump up version number to 1.2.0
2008-11-13 11:20:06 -05:00
Rich Megginson
716d51c22a
wait for sync agreement to be ready before starting
...
Added checking for error status - Added maxtries so that the script won't wait forever if there is something wrong
2008-11-13 11:19:02 -05:00
Rob Crittenden
e377ab0b7f
Fix appending to a multi-valued field.
...
There was a bug where only the first value of a multi-valued field
would be returned.
2008-11-12 15:55:59 -05:00
Rob Crittenden
891068087e
Remove the column width from #details table.details td
...
This should make the User Find results page look nicer.
470428
2008-11-12 15:53:07 -05:00
Rob Crittenden
93c2e4e3b4
Present a less-cryptic error if the replication agreement doesn't exist
2008-11-12 15:53:00 -05:00
Rob Crittenden
17261c2520
Create a user for Windows PassSync and grant password changing permissions
...
This does 3 things:
1. Create a user for the Windows PassSync service
2. Add this use to the list of users that can skip password policies
3. Add an aci that grants permission to write the password attributes
471130
2008-11-12 15:52:57 -05:00
Rob Crittenden
49e4876ba9
Fix deleting a winsync replication agreement.
2008-11-12 15:52:51 -05:00
Simo Sorce
8929075150
Make the list of users that can skip passwrod policies configurable.
...
Addresses bz#471130
Also fix bugs in ipapwd_start.
Also remove mutex, it is not necessary with the current code,
we needed it when we used to change reload the configuration and
keep it referenced in a static pointer.
ipapwd_start runs only once and the global variables it sets are fixed
in stone until DS is restarted.
2008-11-12 13:21:03 -05:00
Jason Gerard DeRose
01a7f1f437
Calling ./ipa with no command now calls Command.help()
2008-11-12 10:15:24 -07:00
Jason Gerard DeRose
f04aaff97c
output_for_cli signature is now output_for_cli(textui, result, *args, **options)
2008-11-12 09:55:11 -07:00
Jason Gerard DeRose
09161e399a
Command.get_default() will now fill-in None for all missing non-required params
2008-11-12 01:47:37 -07:00
Jason Gerard DeRose
014af24731
Changed calling signature of output_for_cli(); started work on 'textui' backend plugin
2008-11-12 00:46:04 -07:00
Jason Gerard DeRose
f3869d7b24
Renamed ipalib.get_standard_api() to create_api()
2008-11-11 15:24:18 -07:00
Jason Gerard DeRose
1894513574
Tutorial: improved clarity of 'How this tutorial is written' section
2008-11-11 10:24:30 -07:00
Jason Gerard DeRose
786c965c12
Tutorial: fixed typo
2008-11-10 21:36:56 -07:00
Jason Gerard DeRose
16b86d559a
Tutorial: added intro section about Python interactive intepreter
2008-11-10 21:33:15 -07:00
Jason Gerard DeRose
2be9f2bba8
More tutorial work: made introduction more concise; moved note on markup to end; added note about Bazaar
2008-11-10 20:08:22 -07:00
Jason Gerard DeRose
9aa14333a4
Added 'conf_dir' env variable, which is directory containing config files
2008-11-10 15:53:10 -07:00
Rich Megginson
47863ac169
Make DNA work with internal operations
2008-11-10 09:38:39 -05:00
Jason Gerard DeRose
174af50f6d
Fixed typo and made sentance clearer in tutorial
2008-11-07 02:30:19 -07:00
Jason Gerard DeRose
c26a3c8542
Finished fist draft of plugin tutorial in ipalib/__init__.py docstring
2008-11-07 02:26:38 -07:00
Jason Gerard DeRose
5bdf860647
Added Plugin.call() method that calls an external executable via subprocess.call()
2008-11-06 11:57:21 -07:00
Rob Crittenden
c7c2cf0956
Use the local connection when getting a replication ID for winsync.
...
We can't connect to the windows AD server to get a unique repliation ID.
So first see if this master already has one and if not, get an id from
the local DS.
469977
2008-11-05 12:02:20 -05:00
Rich Megginson
4ed44a06a1
use ipautil.CalledProcessError instead of CalledProcessError
2008-11-04 21:57:34 -05:00
Rob Crittenden
d10a5131f8
Tests for the automount plugin
2008-11-04 16:21:31 -05:00
Rob Crittenden
e8adb59fd4
Fix some problems uncovered during automation test work
2008-11-04 16:21:10 -05:00
Rob Crittenden
906e75b7af
Add new tests for hosts and groups of hosts
2008-11-04 14:04:06 -05:00
Rob Crittenden
e825bc7ccb
Revive the hostgroup_container and include add/remove hosts in hostgroups plugin
2008-11-04 14:03:43 -05:00
Rob Crittenden
4967002359
Add 'all' option to host-find and pull attributes into a global list
2008-11-04 14:02:42 -05:00
Rob Crittenden
d6502f0ba8
Skip tests if the remote XML-RPC server is not responding.
2008-11-03 18:04:25 -05:00
Rob Crittenden
f131480643
Move socket errors from the XML-RPC plugin to the client
2008-11-03 17:38:05 -05:00
Rob Crittenden
a97f5d76d1
Initial tests for user, group and service plugin API
2008-11-03 17:31:32 -05:00
Rob Crittenden
d53218a932
Handle exceptions in the command-line instead of in the XMLRPC client plugin
2008-11-03 17:19:29 -05:00
Rob Crittenden
5ab203ef48
Enable logging
2008-11-03 17:18:45 -05:00
Rob Crittenden
5237fcbf42
Fix mark_entry_active()
...
Reverse order of search filter so we return a useful NotFound exception
2008-11-03 17:18:16 -05:00
Rob Crittenden
dd9206deb6
Uncomment some logging statements ported over from v1.
2008-11-03 13:14:46 -05:00
Rob Crittenden
f18c84444d
Partially revert back change. Del shouldn't provide default options.
...
It can provide custom ones though, if defined with takes_params() in the class.
2008-11-03 13:14:46 -05:00
Jason Gerard DeRose
a9e8bda0cf
Dropped some of the more verbose logging in lite-xmlrpc.py to logger.debug()
2008-10-31 20:59:44 -06:00
Jason Gerard DeRose
242a8183a7
Added custom log formatter util.LogFormatter that makes the human-readable time stamp in UTC
2008-10-31 20:25:33 -06:00
Jason Gerard DeRose
5e5a83e4e8
Renamed API.bootstrap_from_options() to bootstrap_with_global_options()
2008-10-31 19:03:07 -06:00