Commit Graph

702 Commits

Author SHA1 Message Date
Adam Young
5ca58d58b3 target style cleanup
Target section had radio buttonsreversed, and a few other style changes
Note that this has the styling removed for the aci-target dl items
2011-01-26 16:23:12 -05:00
Adam Young
de46427e81 assoc entity selected class
Iassociation entities should look differnt than Details when they are selected
2011-01-26 14:58:35 -05:00
Adam Young
dcb796df6e dns visible if enabled
use the result of the is_dns_enabled command to show or hid the dns tab

Also, Javascript lint cleanup from recent patches.
2011-01-26 10:07:21 -05:00
Adam Young
aa61337221 dns container
the dns records page was adding controls to the wrong tag.  This pushes everything down one level, fixing the formatting.
2011-01-26 10:07:21 -05:00
Adam Young
2b8cdb2c8d Tab I18N
Makes the values for the Top level tabs internationizable, and no longer just
passes through their names

Also uses the I18N values for SUDO and HBAC as the static text in the Action p[anel title
2011-01-26 10:07:21 -05:00
Adam Young
c1799c8366 js lint fix 2011-01-25 17:30:46 -05:00
System Administrator
7262884706 Modal Panel Changes 2011-01-25 16:48:44 -05:00
Adam Young
fd1e78d2b2 error handling style
modifying the directories so they find the assets in the right locations
2011-01-25 16:47:09 -05:00
Kyle Baker
02803be1ba Main UI, migration, and html Style updates 2011-01-25 16:46:59 -05:00
Jakub Hrozek
ab2ca8022e Fix assorted bugs found by pylint 2011-01-25 14:01:36 -05:00
Simo Sorce
34cedfe138 Create DNS records as early as possible
Fixes: https://fedorahosted.org/freeipa/ticket/833
2011-01-25 14:01:35 -05:00
Simo Sorce
cec3978c79 Always add DNS records when installing a replica
Even if the replica is not running a DNS server other replicas might.
So if the DNS container is present, then try to add DNS records.

Fixes: https://fedorahosted.org/freeipa/ticket/824
2011-01-25 14:01:35 -05:00
Adam Young
bc7ed9b1e3 action panel select for multiple entities 2011-01-25 13:54:57 -05:00
Adam Young
5058c4c978 unselected facets Facets that were not selected were getting the class indicating that they were sselected 2011-01-25 13:28:47 -05:00
Adam Young
4fa04942df action buttons for dns 2011-01-25 13:11:55 -05:00
Adam Young
32c74fccef aci attribute table two columns 2011-01-25 13:11:43 -05:00
Adam Young
485e4a097f remove icons from association buttons 2011-01-25 13:11:37 -05:00
Jakub Hrozek
70a9e04f04 Enforce uniqueness on (key,info) pairs in automount keys
https://fedorahosted.org/freeipa/ticket/293
2011-01-25 11:13:10 -05:00
Simo Sorce
5bc7e5a9c7 Populate shared tree with replica related values
Fixes: https://fedorahosted.org/freeipa/ticket/820
2011-01-25 11:10:27 -05:00
Simo Sorce
35b3d6b3be Make the -u option optional in unattended mode
Fixes: https://fedorahosted.org/freeipa/ticket/836
2011-01-24 16:45:43 -05:00
Simo Sorce
e72815771e Remove trailing space 2011-01-24 14:50:50 -05:00
Rob Crittenden
6e7729726f Block anonymous access to HBAC, role and some member information.
Prevents an unauthenticated user from accessing HBAC and role
information as well as memberof which could disclose roles,
memberships in HBAC, etc.

ticket 811
2011-01-24 14:33:21 -05:00
Endi S. Dewata
9319385c7e Removed 'name' from 'Sudo Command Group name'. 2011-01-24 13:33:00 -05:00
Endi S. Dewata
fa5ae89d7f Added scrollable panel for delete dialog box. 2011-01-24 13:32:55 -05:00
Endi S. Dewata
5ef7b8adb8 Added spaces around radio buttons. 2011-01-24 13:32:50 -05:00
Simo Sorce
861aa9c1b8 Allow SASL/EXTERNAL authentication for the root user
This gives the root user low privileges so that when anonymous searches are
denied the init scripts can still search the directory via ldapi to get the
list of serevices to start.

Fixes: https://fedorahosted.org/freeipa/ticket/795
2011-01-20 15:49:30 -05:00
Simo Sorce
5af80a7583 Make krb5kdc use the ldapi socket to talk to dirsrv
Fixes: https://fedorahosted.org/freeipa/ticket/812
2011-01-20 15:49:30 -05:00
Adam Young
b9ad279ad2 rename static to ui
Directory rename
2011-01-20 14:12:47 +00:00
Adam Young
902bd906a5 enroll dialog layout
we were squeezing the buttons in the middle of the page.  This patch shrinks the two boxes on either side and centers the buttons.
2011-01-19 04:58:56 -05:00
Adam Young
bc27191db6 background into Makefile 2011-01-18 21:23:59 -05:00
Endi S. Dewata
5c105a5ff4 Force flag for Hosts and Services.
The add dialogs for Hosts and Services have been updated to include
a checkbox to force adding hosts/services that are not in DNS.

The widgets has been updated to support tooltips.
2011-01-18 12:35:14 -05:00
Endi S. Dewata
17122d2705 Unprovision message and buttons adjustments.
The message and buttons in the unprovision dialog box have been
updated according to the latest spec.
2011-01-18 12:18:24 -05:00
Jan Zeleny
01f907c01b Move HBAC services and service groups to cn=hbac
https://fedorahosted.org/freeipa/ticket/762
2011-01-18 11:48:57 -05:00
Endi S. Dewata
066cf79365 CSS class for buttons without icons.
A new CSS class has been added for buttons without icons. The
IPA.button() has been modified to use this class if there is
no icons specified.
2011-01-18 11:33:14 -05:00
Endi S. Dewata
aa48d3b72e New certificate and Kerberos key status behavior.
The status panel for certificates and Kerberos keys has been
modified to display only the current status with the relevant buttons.
New icons have been added to replace the red/yellow/green bullets.
2011-01-18 11:33:09 -05:00
Adam Young
c596b92591 dns action controls
was adding the action controls to multiple lines. Now only one
2011-01-18 10:32:02 -05:00
Simo Sorce
244239e27e Let ipactl output errors to stderr
Init scripts normally do not log to syslog, instead they write errors to the
stderr pipe. Do the same.
2011-01-18 10:04:29 -05:00
Simo Sorce
373455026e Add a way to print output from commands
Instead pof always capturing the output, make it possible to let
it go to the standard output pipes.
Use this in ipactl to let init scripts show their output.

Fixes: https://fedorahosted.org/freeipa/ticket/765
2011-01-18 10:04:19 -05:00
Adam Young
ec3e7f1202 search unit tests Unit tests were by the hiding of the search, and elements from the action panel. 2011-01-18 01:46:56 -05:00
Adam Young
2b50853492 jslint cleanup 2011-01-18 01:46:47 -05:00
Simo Sorce
25cfddcbe1 Move sudo related data all under cn=sudo
Fixes: https://fedorahosted.org/freeipa/ticket/773
2011-01-17 11:46:45 -05:00
Endi S. Dewata
fb1f9ecf9f Certificate and Kerberos key status adjustments.
The OTP field has been moved into a separate row to avoid line
wrapping. The line height inside tables has been increased to
avoid overlapping buttons in certificate status panel.
2011-01-15 04:55:16 +00:00
Adam Young
6650dbf6a4 no entry for search if the search facet is selected, don't put an entry in the action panel for the search 2011-01-15 04:46:43 +00:00
Adam Young
285ee9db0c Details to Settings
Using I18N messages for most of the details
2011-01-15 04:42:49 +00:00
Adam Young
f92c831a32 arrow icons Use Unicode characters for the arrow icons 2011-01-15 04:42:06 +00:00
Adam Young
d49cf9ee61 lint clean added a config file for running jsl. run 'jsl -conf jsl.conf' and see that there are no error messages. 2011-01-15 03:35:42 +00:00
Rob Crittenden
d7bd9138c8 Execute /usr/bin/python directly instead of /usr/bin/env python
ticket 608
2011-01-14 16:27:48 -05:00
Simo Sorce
7ee490e35c Remove radius options completely.
This has been completely abandoned since ipa v1 and is not built by default.
Instead of carrying dead weight, let's remove it for now.

Fixes: https://fedorahosted.org/freeipa/ticket/761
2011-01-14 14:06:56 -05:00
Simo Sorce
da7eb1155e Move mep templates under cn=etc
Fixes: https://fedorahosted.org/freeipa/ticket/760
2011-01-14 14:06:56 -05:00
Simo Sorce
5549dca50e Move Virtual Operations container under cn=etc
Fixes: https://fedorahosted.org/freeipa/ticket/759
2011-01-14 14:06:56 -05:00
Simo Sorce
cfa23b1c2a Allow using Kerberos credentials with the 'connect' command
Now that we can setup GSSAPI authenticated replication we are not
tied to use the Directory Manager password to set up replication
agreements.

Fixes: https://fedorahosted.org/freeipa/ticket/644
2011-01-14 14:06:56 -05:00
Simo Sorce
a0bfbec19f Use GSSAPI for replication
Uses a temporary simple replication agreement over SSL to init the tree.
Then once all principals have been created switches replication to GSSAPI.

Fixes: https://fedorahosted.org/freeipa/ticket/690
2011-01-14 14:06:56 -05:00
Simo Sorce
05055870c9 Remove port argument for ipa-replica-manage
We can't use arbitrary ports anyway. And neither AD has any way to use non
stadard ports. So remove this unnecessary option.
2011-01-14 14:06:56 -05:00
Simo Sorce
343ab382a5 Remove unused random password in replica install script 2011-01-14 14:06:56 -05:00
Simo Sorce
2255479ef0 Refactor some replication code
This simplifies or rationalizes some code in order to make it easier to change
it to fix bug #690
2011-01-14 14:06:56 -05:00
Adam Young
a68b2d2aa3 hide unselectable options
If an option is not selectable from the action panel, hide it until it is selectable
addresses https://fedorahosted.org/freeipa/ticket/747
2011-01-14 13:32:03 -05:00
Adam Young
91fae67fa4 null pkey
If the pkey is null, send an empty array.
If the pkey is not null, send and array of length 1 with the pkey in it.

Addresses:  https://fedorahosted.org/freeipa/ticket/767
2011-01-14 13:19:56 -05:00
Adam Young
c385db4fc0 spinning wheel display a spinning icon gif during network traffic. Fixes the following from first patch: 1 primary key set in span as opposed to appended, so it only appears once. 2. call hide for the network activity icon only in success or failure functions, not multiple times 2011-01-14 11:42:27 -05:00
Adam Young
680148ed03 scoping functions
converting function of the form ipa_<name> to IPA.<name> to remove them from the global namespace.

https://fedorahosted.org/freeipa/ticket/212
2011-01-14 04:03:47 -05:00
Endi S. Dewata
3486047583 Increased icon size for certificate and Kerberos key status.
The <li> tag used for status icon has been replaced with <div>
tag shaped like a circle. The size can be adjusted using CSS.
2011-01-13 21:46:05 -05:00
Adam Young
406a52edae metadata update
Static viewing was broken due to recent hbac changes.
2011-01-13 15:55:47 -05:00
Endi S. Dewata
1dc48bca51 Removed debugging message. 2011-01-13 13:09:07 -05:00
Endi S. Dewata
26d1de2d27 Fixed incorrect loop variable. 2011-01-13 13:09:00 -05:00
Endi S. Dewata
d92f5bf8bb Host details adjustments.
The labels for the following fields in Host details page have been
changed:
 - fqdn: Fully Qualified Host Name
 - serverhostname: Host Name

The ipa_details_field_create_input() and _ipa_create_text_input()
has been converted into methods in ipa_details_field class. The code
has been modified to display read-only fields as labels instead
of disabled text fields.

The attributelevelrights in host test data files have been updated.
2011-01-13 02:14:51 -05:00
Adam Young
b79bf4ab17 javascript lint cleanup 2011-01-12 21:47:05 -05:00
Simo Sorce
abf4dde3e3 Restrict anonymous tgts
Fixes: https://fedorahosted.org/freeipa/ticket/432
2011-01-12 17:20:09 -05:00
Jr Aquino
5a0c9371cb Bugfix for sudo compat cmdcat and deny commands https://fedorahosted.org/freeipa/ticket/742 2011-01-12 11:43:05 -05:00
Jr Aquino
1ea31a0cff fix sudorule runas user/groups https://fedorahosted.org/freeipa/ticket/570 2011-01-12 11:40:47 -05:00
Adam Young
380fed3bb1 enroll button
This was removed in several places where it should still be visible
2011-01-11 23:04:38 -05:00
Endi S. Dewata
308b7b3a49 Added group association table for SUDO command.
A section has been added to the SUDO command details page for managing
the association with SUDO command groups. New test data has been added
as well.
2011-01-11 21:33:45 -05:00
Endi S. Dewata
9d0dc89b03 Renamed hbac to hbacrule.
All references to hbac in the UI have been replaced with hbacrule.
This is to match the hbacrule plugin. The test data and templates
have been renamed as well.
2011-01-11 21:33:40 -05:00
Endi S. Dewata
409b6efa5f Support for enabling/disabling table widget.
The table widget now can be enabled/disabled. When disabled, the
checkboxes and links/buttons are grayed out and non functional.

The radio buttons in HBAC and SUDO details page have been modified
to enable/disable the corresponding tables.
2011-01-11 21:33:35 -05:00
Endi S. Dewata
e79406a0f9 Fixed SUDO command category.
The radio buttons under the Run Commands section in the SUDO details
page have been changed from allow/deny/specified into all/specified,
and moved under the Allow commands subsection, matching the correct
usage of the cmdcategory attribute.
2011-01-11 21:33:29 -05:00
Rob Crittenden
06179dc105 Exit if a DNS A or AAAA record doesn't exist for the replica we are preparing.
Without this it is possible to prepare a replica for a host that doesn't
exist in DNS. The result when this replica file is installed is that
replication will fail because the master won't be able to communicate
to the replica by name.

ticket 680
2011-01-11 10:22:33 -05:00
Rob Crittenden
f0401a9127 Make ipaDefaultLoginShell use IA5String syntax to match POSIX schema.
ticket 739
2011-01-11 10:21:04 -05:00
Adam Young
75078c0bd4 header style fix
minor tweak to the header and gradient for the header
2011-01-10 11:26:10 -05:00
Rob Crittenden
2dac03d7d5 Ship the ipa-dns-install man page
ticket 734
2011-01-10 10:38:46 -05:00
Adam Young
c69f4d0fed center page
fixes issues from
 https://fedorahosted.org/freeipa/ticket/507
2011-01-10 09:26:32 -05:00
Adam Young
e903f43d48 action-panel adjustments
tweak the tabs padding
2011-01-10 13:01:37 -05:00
Endi S. Dewata
039039155f Fixed command category value. 2011-01-10 12:49:06 -05:00
Adam Young
340d0d685c remove permissions checkbox
self service defaults to write permission, the only acceptable one.
By removing the checkbox, we stop sending invalid permissions
2011-01-08 04:45:07 -05:00
Adam Young
f717d7d2e7 fix entity unit tests unit tests updated to accoount for the facet_group title 2011-01-08 04:45:00 -05:00
Adam Young
5c9c006af1 Validate add-dialog text fields 2011-01-08 04:44:51 -05:00
Rob Crittenden
3f146d9622 Allow the kdc to write krbExtraData 2011-01-07 11:15:16 -05:00
Jakub Hrozek
9232a47877 Create the reverse zone by default
A new option to specify reverse zone creation for unattended installs

https://fedorahosted.org/freeipa/ticket/678
2011-01-07 05:05:54 -05:00
Simo Sorce
21bf175e0c Allow ipa-dns-install to install with just admin credentials
Do this by creating a common way to attach to the ldap server for each
instance.

Fixes: https://fedorahosted.org/freeipa/ticket/686
2011-01-07 04:54:17 -05:00
Simo Sorce
56f000e9a9 Allow ipa-dns-install to configure DNS on a replica.
Fixes: https://fedorahosted.org/freeipa/ticket/645
2011-01-07 04:53:50 -05:00
Adam Young
575d014ac5 bad request workaround not a permanent fix, but makes the web server accept valied request. https://fedorahosted.org/freeipa/ticket/691 2011-01-07 06:14:54 -05:00
Adam Young
ecd2573e09 metatdata for facet_groups
THis patch updates the metadata with the changes for the facet groups names.  It is a large patch only in that the metadata is huge, but the change is trivial
2011-01-07 04:45:08 -05:00
Adam Young
b730eb356f facet nesting
correctly nest the facet groups
change 'parent' to 'member of' for facet group
2011-01-07 04:44:56 -05:00
Adam Young
728a1d8361 dns record style
THe client aread class is added after the create call.  THe logic assumes that there are two divs under the tabs.  THe records facet broke that assumption.  THis fixes it
2011-01-07 03:48:08 -05:00
Endi S. Dewata
02b209a74a Move undo button next to selected radio button. 2011-01-06 21:32:21 -05:00
Endi S. Dewata
4ffd6de823 Fixed tooltips in SUDO details page.
The title attribute in various HTML elements in SUDO details page
has been set to show the proper tooltips. Most of the values are
taken from the 'doc' attribute of sudorule parameters.
2011-01-06 13:25:36 -05:00
Adam Young
79c0b1e14b remove list header 2011-01-06 12:52:17 -05:00
Adam Young
3920b36b4a action panel style
make clickable links blue
change spacing to keep headers from wrapping
convert most px values to em, to support scaling
indent action controls and place them under the active facet
set default font size to 11px
2011-01-06 12:39:16 -05:00
Endi S. Dewata
e0cf3a8313 Use AJAX status text as default error message.
The ipa_cmd() error handler has been updated to use AJAX status
text as the default error message.
2011-01-05 15:33:56 -05:00
Pavel Zuna
6e5b540db2 Translate IA5Str paramaters the editable text fields in the webUI.
Fix #684
2011-01-05 15:31:47 -05:00
Adam Young
7474a2cf3f add missing files in rpm
Fonts, header images, and json.js
2011-01-05 14:54:18 -05:00
Adam Young
69de8b317a remove UID field
we are only doing global policy on the krbtpolicy page
2011-01-05 13:31:21 -05:00
Pavel Zuna
bd44006911 Make it impossible to add an object as a member of itself in webUI.
Ticket #700
2011-01-05 13:21:00 -05:00
Adam Young
e66e29be7d fix krbtpolicy update
krbtpolicy requires null pkey, and without it, update breaks.
2011-01-05 13:18:29 -05:00
Endi S. Dewata
b0bca88663 Support for external SUDO users and hosts.
The SUDO details page has been modified to support external users
and hosts. In the backend, the internal and external users are kept
in separate attributes, but in the UI they will be displayed as a
single list. The same thing is done for hosts.

The ipa_sudorule_association_adder_dialog() has been modified such
that it only displays the external field if there is an external
attribute for that field.
2011-01-05 12:53:59 -05:00
Endi S. Dewata
ef2f6b2b59 SUDO run-as adjustments.
The SUDO details page has been modified to match the attribute
names for run-as attributes.
2011-01-05 12:53:53 -05:00
Endi Sukma Dewata
3650df27d5 Fixed SUDO dialog boxes.
The dialog boxes for SUDO details page have been modified
to generate the HTML code by default.
2011-01-05 11:33:35 -05:00
Adam Young
553e08afa6 posix checked check box for posix groups selected by default 2011-01-05 10:39:45 -05:00
Adam Young
0fc1d260c0 metadata update 2011-01-05 10:27:45 -05:00
Adam Young
3390319f4c user associations
user assocaitions had been removed.  This adds them back in.
2011-01-04 22:58:27 -05:00
Pavel Zuna
2f2c67cb59 Improvements to enrollments in the webUI.
TAKE 1

- Enrollement links in the action panel are now sorted by relationships.
- You can only enroll members.
  (The webUI made the impression you can enroll parents as well, but it was
   broken.)
- When enrolling new members, you can choose not to display already enrolled
  ones. (On by default.)
- Couple cosmetic changes.
2011-01-04 21:56:38 -05:00
Rob Crittenden
4f2a6e0a25 Don't use Class of Service for account activation, use attribute.
To support group-based account disablement we created a Class of Service
where group membership controlled whether an account was active or not.

Since we aren't doing group-based account locking drop that and use
nsaccountlock directly.

ticket 568
2011-01-04 17:09:56 -05:00
Rob Crittenden
e7afe1dec2 Make sure that the messagebus service is started.
This will prevent certmonger failures. On very minimal installs it seems
that messagebus is not always started.

ticket 528
2011-01-04 16:56:18 -05:00
Pavel Zuna
3ded0826cf Disable action panel links when the selected entry is deleted.
Fix #685
2011-01-03 14:33:59 -05:00
Adam Young
c2a2433657 fail clean add and edit
Don't close the dialog if the add fails and the user clickes
add and edit
fixes. https://fedorahosted.org/freeipa/ticket/663
2011-01-03 11:42:39 -05:00
Jr Aquino
9d9e15456b netgroups created by hostgroups lacked info https://fedorahosted.org/freeipa/ticket/653 2011-01-03 10:22:55 -05:00
Adam Young
e0c95e235c Remove description field from config
This field does not exist

https://fedorahosted.org/freeipa/ticket/677
2010-12-23 14:57:59 -05:00
Adam Young
247e2a263b fix reset passwrod
The way we store the user object returned from user-find --whoami changed, and this code was not updated
2010-12-23 14:12:33 -05:00
Adam Young
eb6f215246 hide autommount
since automount is not yet implemented, remove it from the menu
2010-12-23 09:57:58 -05:00
Adam Young
82b03ddfc1 hidden filter
The filter field on aci add is hidden, and prefilled with an object class that doesn't exist.

Fixed the error where the other fields were removed
2010-12-22 12:48:26 -05:00
Jakub Hrozek
5747568e5d Ask for reverse zone creation only when --setup-bind is specified 2010-12-22 11:37:12 -05:00
Rob Crittenden
d84ffd9e54 Move permissions and privileges to their own container, cn=pbac,$SUFFIX
ticket 638
2010-12-22 11:26:49 -05:00
Jr Aquino
07e55f44b2 dbe instead of lde One line bug fix for compat and nis tools 2010-12-22 11:05:34 -05:00
Simo Sorce
671c070050 Fix ipa-replica-manage man page to reflect current status
Fixes: https://fedorahosted.org/freeipa/ticket/627
2010-12-22 10:26:00 -05:00
Simo Sorce
c40303bcc1 Temporary fix for 'connect' operations
Currently the code depends on using a password to create replication
agreements. so this patch forces the request of the dirmgr password until we
can fix the internal issues that prevent using the amdin user with SASL/GSSAPI
to create replication agreements.
2010-12-21 17:54:42 -05:00
Simo Sorce
3f3de618ae Make ipa-replica-manage del actually remove all replication agreements
The previous code was removing only one agreement, leaving all other in place.
This would leave dangling replication agreements once the replica is
uninstalled.

Fixes: https://fedorahosted.org/freeipa/ticket/624
2010-12-21 17:54:42 -05:00
Jr Aquino
e5e649988e Fix to man page for ipa-compat-manage There was a typo for the manpage, this is a one liner to fix. 2010-12-21 17:51:41 -05:00
Simo Sorce
613f5feb0e Rework old init and synch commands and use better names.
These commands can now be run exclusively o the replica that needs to be
resynced or reinitialized and the --from command must be used to tell from
which other replica it can will pull data.

Fixes: https://fedorahosted.org/freeipa/ticket/626
2010-12-21 17:28:13 -05:00
Simo Sorce
91f3e79d81 Remove referrals when removing agreements
Part of this fix requires also giving proper permission to change the
replication agreements root.
While there also fix replica-related permissions to have the classic
add/modify/remove triplet of permissions.

Fixes: https://fedorahosted.org/freeipa/ticket/630
2010-12-21 17:28:13 -05:00
Simo Sorce
efd8b03ccf Make ipa-replica-manage list return all known masters
if ipa-replica-manage list is given a master name as argument then the tool
has the old behavior of listing that specific master replication agreements

Fixes: https://fedorahosted.org/freeipa/ticket/625
2010-12-21 17:28:13 -05:00
Simo Sorce
6bbd4eed9f Rename add command to connect in ipa-replica-manage
This change also improves command syntax parsing

Fixes: https://fedorahosted.org/freeipa/ticket/623
2010-12-21 17:28:13 -05:00
Simo Sorce
a21d91c003 Add disconnect command to ipa-replica-manage
Can remove replication agreements between 2 replicas as long as it is
not the last agreement (except for Ad replication agreements, which can
always be removed).

Fixes: https://fedorahosted.org/freeipa/ticket/551
2010-12-21 17:28:13 -05:00
Simo Sorce
1cf67fe850 Remove common entries when deleting a master.
Fixes: https://fedorahosted.org/freeipa/ticket/550
2010-12-21 17:28:13 -05:00
Simo Sorce
5884fdf0f8 Add replication related acis to all replicas
Fixes: https://fedorahosted.org/freeipa/ticket/617
2010-12-21 17:28:13 -05:00
Adam Young
2cb53ec8d0 populate the group select upon initial creation
Fixes the delegation add dialog
2010-12-21 13:37:23 -05:00
Rob Crittenden
4d6cd89258 In meta data make ACI attributes lower-case, sorted. Add possible attributes.
The metadata contains a list of possible attributes that an ACI for that
object might need. Add a new variable to hold possible objectclasses for
optional elements (like posixGroup for groups).

To make the list easier to handle sort it and make it all lower-case.

Fix a couple of missed camel-case attributes in the default ACI list.

ticket 641
2010-12-21 13:00:15 -05:00
Nalin Dahyabhai
dd9615d189 sudo: treat mepOriginEntry hostgroups differently - if a hostgroup named by the memberHost attribute is not also a mepOriginEntry, proceed as before - if a hostgroup named by the memberHost attribute is also a mepOriginEntry, read its "cn" attribute, prepend a "+" to it, and call it done 2010-12-21 12:29:39 -05:00
Nalin Dahyabhai
e0c8be0c4c sudo and netgroup schema compat updates - fix quoting of netgroup entries - don't bother looking for members of netgroups by looking for entries which list "memberOf: $netgroup" -- the netgroup should list them as "member" values - use newer slapi-nis functionality to produce cn=sudoers - drop the real cn=sudoers container to make room for the compat container 2010-12-21 12:29:33 -05:00
Adam Young
023f92f517 additions to patch 118 2010-12-20 23:32:06 -05:00
Adam Young
07ace112af aci ui
Implements the role, privilege, permission, delegation and selfservice entities ui.

Targetgroup has been added to the object types.
The groups lists need to be filter.  The filter is currently hidden, with a
hyperlink that reads 'filter' to unhide it.  Each keystroke in this filter
performs an AJAX request to the server.

There are bugs on the server side that block some of the functionality from
completing

Creating a Permission requires one of 4 target types. The add dialog in this
version assumes the user will want to create a filter type. They can change
this on the edit page.

Most search results come back with the values as arrays, but ACIs seem not to.
Search and details both required special code to handle non-arrays.

The unit tests now make use of the 'module' aspect of QUnit.  This means that
future unit test will also need to specify the module.  The advantage is that
multiple tests can share a common setup and teardown.

Bugs that need to be fixed before this works 100% are
https://fedorahosted.org/freeipa/ticket/634
https://fedorahosted.org/freeipa/ticket/633
2010-12-20 23:32:06 -05:00
Adam Young
fc4ce7dc8c cusor pointer for undo link 2010-12-20 22:58:16 -05:00
Jakub Hrozek
7493d781df Change FreeIPA license to GPLv3+
The changes include:
 * Change license blobs in source files to mention GPLv3+ not GPLv2 only
 * Add GPLv3+ license text
 * Package COPYING not LICENSE as the license blobs (even the old ones)
   mention COPYING specifically, it is also more common, I think

 https://fedorahosted.org/freeipa/ticket/239
2010-12-20 17:19:53 -05:00
Jakub Hrozek
bf778a74a3 Clarify ipa-replica-install error message 2010-12-20 11:27:42 -05:00
Jakub Hrozek
ee4d2739f1 Make the IPA installer IPv6 friendly
Notable changes include:
 * parse AAAA records in dnsclient
 * also ask for AAAA records when verifying FQDN
 * do not use functions that are not IPv6 aware - notably socket.gethostbyname()
   The complete list of functions was taken from http://www.akkadia.org/drepper/userapi-ipv6.html
   section "Interface Checklist"
2010-12-20 11:27:34 -05:00
Jakub Hrozek
0e6962f710 Fix delegation.ldif typo 2010-12-20 10:41:25 -05:00
Rob Crittenden
34534a026f Don't use camel-case LDAP attributes in ACI and don't clear enrolledBy
We keep LDAP attributes lower-case elsewhere in the API we should do the
same with all access controls.

There were two ACIs pointing at the manage_host_keytab permission. This
isn't allowed in general and we have decided separately to not clear out
enrolledBy when a host is unenrolled so dropping it is the obvious thing
to do.

ticket 597
2010-12-17 18:04:37 -05:00
Rob Crittenden
1600146c94 Verify that the replication plugin exists before setting up replicas.
ticket 502
2010-12-17 17:31:19 -05:00
Rob Crittenden
358b28398c Move automount, default HBAC services, netgroup and hostgroup bootstrapping.
There is no need for these to be done as updates, just add these entries
to the bootstrapping.
2010-12-17 17:31:19 -05:00
Rob Crittenden
1207a7c83f Fix the change_password permissions and the DNS access controls.
The change_password permission was too broad, limit it to users.

The DNS access controls rolled everything into a single ACI. I broke
it out into separate ACIs for add, delete and add. I also added a new
dns type for the permission plugin.

ticket 628
2010-12-17 17:16:25 -05:00
Rob Crittenden
ffc967b47a Fix a slew of tests.
- Skip the DNS tests if DNS isn't configured
- Add new attributes to user entries (displayname, cn and initials)
- Make the nsaccountlock value consistent
- Fix the cert subject for cert tests
2010-12-17 17:01:57 -05:00
Adam Young
67d1c07112 kinit typo
Was origially KInit  but the command is kinit
2010-12-17 16:36:48 -05:00
Adam Young
00ebf8c4e3 error link
Change the link in the error message to the one that will actually fix the problem
2010-12-17 16:27:11 -05:00
Adam Young
22b2cbbe44 type prevented rendering on firefox4 2010-12-17 16:07:09 -05:00