Rob Crittenden
c00281a9f9
Name update files so they can be easily sorted.
...
We want to process some updates in a particular order (schema, structural).
Using an init-inspired ordering mechanism.
2009-03-25 11:03:07 -04:00
Rob Crittenden
d6814f3aae
Implement a few new targets for ACIs
...
Also switch to the StrEnum parameter type for some options so we let the
framework do the enforcement
2009-03-25 11:03:03 -04:00
Rob Crittenden
fcfcc76524
Translate variables on all lines and sort files to be updated
...
Only the dn and the first line of any entry that was spread across
multiple lines were getting passed through the template engine.
If we are given a directory to process, sort the files in that directory
so the order can be predicted. Some updates rely on others.
2009-03-25 11:02:59 -04:00
Rob Crittenden
7d19cee7fc
DNA is now configured using an update file
2009-03-25 11:02:55 -04:00
Rob Crittenden
cf09aab18b
Allow a search using only the exact search filter
2009-03-25 11:02:52 -04:00
Rob Crittenden
1b1f9af01c
Add a 'showall' command so one can pick from a list of tasks to add to a role
2009-03-25 11:02:49 -04:00
Rob Crittenden
5aed824a6c
Use tuples instead of lists for class variables
2009-03-25 11:02:47 -04:00
Rob Crittenden
233a4cb5fd
Raise a more specific error when a user lacks the proper permissions.
...
The info part of the message will contain details on what permission
failed on what attribute.
2009-03-25 11:02:44 -04:00
Rob Crittenden
65e6259075
Always print the dn first when printing an entry
2009-03-25 11:02:42 -04:00
Rob Crittenden
a8a2664190
Add new type List that converts delimited values into a tuple
2009-03-20 09:29:44 -04:00
Rob Crittenden
c39a29e0cf
Converted to use new baseclass, remove the one with the f_ prefix
2009-03-20 09:28:26 -04:00
Rob Crittenden
ad4819ff66
Add tests for posix groups
2009-03-20 09:28:23 -04:00
Rob Crittenden
b627f50121
Convert to use the new basegroup framework
2009-03-20 09:28:18 -04:00
Rob Crittenden
9bc1419ac0
Convert to use the new basegroup framework
2009-03-20 09:28:16 -04:00
Rob Crittenden
33df0a3915
Convert to use the new basegroup framework
2009-03-20 09:28:14 -04:00
Rob Crittenden
1445a36026
Modify the taskgroup plugin to use the new group baseclass and add tests
2009-03-20 09:28:12 -04:00
Rob Crittenden
a55c5d6bcd
New plugin to handle role groups
...
Role groups will be part of the ACI system. It will let one create broad
categories of permissions. Things like: helpdesk, user admin, group admin,
whatever.
2009-03-20 09:28:09 -04:00
Rob Crittenden
5e2e3fd17d
Add generic base class that will most of the heavy lifting for groups
2009-03-20 09:28:06 -04:00
Rob Crittenden
2f17ebebba
Fix build breakage and install rolegroup.update
2009-03-20 08:49:33 -04:00
Rob Crittenden
8d796eedee
kw is supposed to contain just lower-case values
2009-03-19 16:02:12 -04:00
Rob Crittenden
51193923f1
kw is supposed to contain just lower-case values
2009-03-19 16:02:09 -04:00
Rob Crittenden
bc056cda2d
Update the ACI class to be more robust and the beginnings of an ACI plugin
...
The ACI plugin is really meant for developers to help manage the ACIs.
It may or may not be shipped. If it is it will be disabled by default.
It is very much a shoot-in-foot problem waiting to happen.
2009-03-18 15:47:06 -04:00
Rob Crittenden
4c5806b4b4
Fix some minor issues in group and service plugins
2009-03-17 14:52:38 -04:00
Rob Crittenden
6fa330662a
Add taskgroups plugin
...
Taskgroups are what we grant permission to with the new ACI system.
2009-03-17 14:52:17 -04:00
Rob Crittenden
cfc790093b
Remember to add file as an option for certificate requests
2009-03-16 21:38:31 -04:00
Jason Gerard DeRose
13ff27e9ec
Fixed Executioner.execute() so that its 'name' argument doesn't conflict with a param called 'name' (which is a valid param name)
2009-03-13 10:31:00 -04:00
Rob Crittenden
588c90d8e6
Fix broken build. dna-conf.ldif was removed.
2009-03-09 08:11:02 -04:00
Rob Crittenden
d9c4ba5a30
Remove our copy of the DNA plugin and use the one that comes with DS.
...
The DS plugin does config checking when adding new entries online so
we are dropping the Posix subtree.
2009-03-06 17:37:37 -05:00
Rob Crittenden
c25181be57
Don't build radius by default
2009-03-04 15:40:06 -05:00
Rob Crittenden
eb0601a19c
Plugin to handle IPA configuration
2009-03-04 09:56:16 -05:00
Rob Crittenden
7933a196a1
Set a minimum value for password policy integers
2009-03-04 09:56:13 -05:00
Rob Crittenden
dbbae00b17
Add maxvalue and minvalue kwargs and rules to Int and Float
2009-03-03 17:49:15 -05:00
Rob Crittenden
bd9f7cd720
Fix some netgroup issues related to not all groups being posixGroups
2009-02-27 23:18:35 -05:00
Rob Crittenden
be0cac932a
Update objectclasses for groups, by default not posix groups.
...
This change depends on DS bugs 487574 and 487725. Groups cannot be
promoted properly without these fixed. It will fail with an
Object Class violation because gidNumber isn't set.
2009-02-27 23:18:19 -05:00
Jason Gerard DeRose
1359618e7e
Fixed broken autfill logic in cli.prompt_interactively()
2009-02-27 12:58:32 -05:00
Rob Crittenden
3fdf9abfce
Enforce netgroup uniqueness, allow netgroups to be members of netgroups
...
When adding an entry, convert a constraint violation of "already exists"
into a DuplicateEntry exception so the user gets a useful response
2009-02-27 12:57:21 -05:00
Rob Crittenden
af0c0c309d
Added tofiles command and some documentation to the automount plugin
2009-02-24 16:54:28 -05:00
Pavel Zuna
8041cd038b
Add unit test for ipalib.frontend.Command.args_options_2_entry.
2009-02-24 14:40:47 -05:00
Jakub Hrozek
6dae08868f
Add missing buildrequires
2009-02-23 15:41:06 -05:00
Pavel Zuna
e913d7483b
Fix multivalue params requiring default to be of type self.type instead of tuple.
2009-02-23 13:49:26 -05:00
Pavel Zuna
016b82250e
Add ipalib.frontend.Command method to build an entry from params with attribute=True.
...
Often plugins need to build LDAP entries from params. This should make things a bit easier.
Crud methods (Create, Retrieve, Update, Delete, Search) have attribute=True by default.
And it also works for multivalue params.
2009-02-23 13:49:21 -05:00
Rob Crittenden
f2abe05398
Use OpenSSL for SSL instead of the built-in python version.
2009-02-20 10:40:54 -05:00
Rob Crittenden
b53edad254
raise exceptions in the proper form
2009-02-20 10:40:50 -05:00
Rob Crittenden
1a8ec58602
Utility function to get the local hostname
2009-02-19 10:09:24 -05:00
Rob Crittenden
83d5987db9
A new exception for requiring root, RootRequired
2009-02-19 10:09:21 -05:00
Rob Crittenden
4476f6b939
The start of machine join
2009-02-19 10:09:07 -05:00
Rob Crittenden
5a6d2dd0d9
Print out multi-valued values one per-line instead of comman-delimited
2009-02-19 10:08:52 -05:00
Rob Crittenden
ccf703a2b6
Add new users as a member of the default group
2009-02-19 10:08:11 -05:00
Rob Crittenden
fb3f86f703
Add --all option to show/find, add default attrs to show, cleanup output
2009-02-19 10:07:39 -05:00
Jason Gerard DeRose
5ce4631041
Added a sys.path hack to get checks/check-ra.py working again
2009-02-17 16:03:10 -05:00