Commit Graph

748 Commits

Author SHA1 Message Date
Endi S. Dewata
cb5e709e7d Fixed undefined label in permission adder dialog box.
The IPA.rights_widget was fixed to invoke the base init() method
to load the i18n labels properly.

Ticket 1113
2011-03-29 17:52:19 -04:00
Rob Crittenden
ca5332951c Automatically update IPA LDAP on rpm upgrades
Re-enable ldapi code in ipa-ldap-updater and remove the searchbase
restriction when run in --upgrade mode. This allows us to autobind
giving root Directory Manager powers.

This also:
 * corrects the ipa-ldap-updater man page
 * remove automatic --realm, --server, --domain options
 * handle upgrade errors properly
 * saves a copy of dse.ldif before we change it so it can be recovered
 * fixes an error discovered by pylint

ticket 1087
2011-03-21 13:23:53 -04:00
Adam Young
e5b30a89b9 pwpolicy priority
Priority is now a required field in order to add a new password policy.  Thus, not having the field present means we cannot create one.

https://fedorahosted.org/freeipa/ticket/1102
2011-03-18 16:06:08 -04:00
Pavel Zuna
b2a4f1c049 Update translation file (ipa.pot). 2011-03-18 14:59:34 -04:00
Rob Crittenden
861d1bbdca Fix SELinux errors caused by enabling TLS on dogtag 389-ds instance.
This fixes 2 AVCS:

* One because we are enabling port 7390 because an SSL port must be
  defined to use TLS On 7389.
* We were symlinking to the main IPA 389-ds NSS certificate databsae.
  Instead generate a separate NSS database and certificate and have
  certmonger track it separately

I also noticed some variable inconsistency in cainstance.py. Everywhere
else we use self.fqdn and that was using self.host_name. I found it
confusing so I fixed it.

ticket 1085
2011-03-15 14:09:57 -04:00
Rob Crittenden
9dfb0f05b0 Use TLS for dogtag replication agreements.
Configure the dogtag 389-ds instance with SSL so we can enable TLS
for the dogtag replication agreements. The NSS database we use is a
symbolic link to the IPA 389-ds instance.

ticket 1060
2011-03-10 09:57:36 -05:00
Endi S. Dewata
ed5cffd026 Fixed self service page.
Collaborated with ayoung to fix this problem:
https://fedorahosted.org/freeipa/ticket/1070
2011-03-08 17:05:01 -05:00
Rob Crittenden
8c50ea3da3 chkconfig the ipa service off when it is uninstalled.
ticket 1056
2011-03-08 10:23:10 -05:00
Martin Kosek
46221e57bf Improve error handling and return status codes in ipactl
There are cases when ipactl returns success even when it fails. Plus,
when the error really is detected the status codes are not LSB
compliant. This may result in consequent issues.

This patch improves error handling in ipactl and adds LSB compliant
status codes. Namely:

0   program is running or service is OK
3   program is not running
4   program or service status is unknown

for "status" action. Status code 4 is issued when IPA is not
configured to distinguish this state from not running IPA.

For other actions, the following non-zero status codes are
implemented:

1   generic or unspecified error
2   invalid or excess argument(s)
4   user had insufficient privilege
6   program is not configured

https://fedorahosted.org/freeipa/ticket/1055
2011-03-07 18:16:48 -05:00
Endi S. Dewata
80f497a889 Fixed memory leak caused by certificate dialogs.
Ticket 1054
2011-03-07 14:53:29 -05:00
Endi S. Dewata
154ed91457 Fixed memory leak caused by IPA.error_dialog.
Ticket 1054
2011-03-06 20:50:07 -05:00
Endi S. Dewata
2a6e7b5e3c Fixed memory leak caused by DNS record deleter dialog.
Ticket 1054
2011-03-04 20:12:50 -05:00
Endi S. Dewata
b4952e27ec Fixed memory leak caused by DNS record adder dialog.
Ticket 1054
2011-03-04 16:39:07 -05:00
Endi S. Dewata
6fc488e12f Fixed memory leak caused by reset password dialog.
Ticket 1054
2011-03-04 16:39:07 -05:00
Endi S. Dewata
8b041cd1a3 Fixed memory leak caused by is_dirty dialogs.
Ticket 1054
2011-03-04 16:39:07 -05:00
Endi S. Dewata
f4b8b36959 Fixed memory leak caused by IPA.dialog.
Ticket 1054
2011-03-04 16:39:07 -05:00
Endi S. Dewata
24ba58bc61 Fixed host enrollment time
The month in krblastpwdchange (LDAP Generalized Time) is 1-based
but the month in JavaScript Date.setUTCFullYear() is 0-based so it
needs a conversion.

Ticket 1053
2011-03-04 11:14:50 -05:00
Rob Crittenden
c0ecdd1395 Skip DNS validation checks if we're setting up DNS in ipa-server-install.
If we're going to be authoritative ourselves don't bother with what
other DNS servers think.

ticket 1036
2011-03-04 11:05:40 -05:00
Adam Young
8a0d0d7e15 type in default text 2011-03-03 19:33:36 -05:00
Pavel Zuna
64575a411b Use ldapi: instead of unsecured ldap: in ipa core tools.
The patch also corrects exception handling in some of the tools.

Fix #874
2011-03-03 14:04:34 -05:00
Rob Crittenden
f69dc03f07 Need to restart the dogtag 388-ds instance before using it.
Restart the 389-ds instance to ensure all schema is loaded that
dogtag may have installed as files.

According to bug
https://bugzilla.redhat.com/show_bug.cgi?id=680984 this it is only needed
on clones.

ticket 1024
2011-03-03 11:02:03 -05:00
Martin Kosek
f785af4efe Inconsistent sysrestore file handling by IPA server installer
IPA server/replica uninstallation may fail when it tries to restore
a Directory server configuration file in sysrestore directory, which
was already restored before.

The problem is in Directory Server uninstaller which uses and modifies
its own image of sysrestore directory state instead of using the
common uninstaller image.

https://fedorahosted.org/freeipa/ticket/1026
2011-03-03 11:02:02 -05:00
Adam Young
620903ff27 fix truncated message 2011-03-03 15:38:53 -05:00
Martin Kosek
5a9a9723de IPA replica/server install does not check for a client
When IPA replica or server is configured it does not check for
possibly installed client. This will cause the installation to
fail in the very end.

This patch adds a check for already configured client and suggests
removing it before server/replica installation.

https://fedorahosted.org/freeipa/ticket/1002
2011-03-03 10:20:39 -05:00
Adam Young
81fd790cda Use modified entity find commands for associations
https://fedorahosted.org/freeipa/ticket/1011

Does not completely fix the problem in the ticket, but it does mitigate the failure.
2011-03-02 19:11:28 -05:00
Endi S. Dewata
697af3e1f8 Save changes before modifying association.
In a details page, usually any changes done to the fields will not be
applied until the user clicks the Update button. However, if the page
contains an association table, any addition/deletion to the table will
be applied immediately.

To avoid any confusion, the user is now required to save or reset all
changes to the page before modifying the association. A dialog box will
appear if the page contains any unsaved changes.
2011-03-02 12:26:24 -05:00
Endi S. Dewata
d37bb6f925 Fixed attribute for SUDO command group membership.
The correct attribute name for SUDO command group membership is
memberof_sudocmdgroup and it contains the group name instead of dn.
2011-03-02 12:04:19 -05:00
Simo Sorce
54b2627018 Store list of non-master replicas in DIT and provide way to list them
Fixes: https://fedorahosted.org/freeipa/ticket/1007
2011-03-02 09:46:46 -05:00
Endi S. Dewata
510eb79ff4 Replaced SUDO with Sudo in UI test data.
Ticket 1005
2011-03-01 16:54:57 -05:00
Rob Crittenden
07ba40f33e Use Sudo rather than SUDO as a label.
ticket 1005
2011-03-01 16:48:35 -05:00
Endi S. Dewata
2dd0fb9200 Removed association facets based on memberofindirect.
Association facets based on memberofindirect attribute have been
removed because the attribute is non-assignable.

Ticket 1027
2011-03-01 15:43:35 -05:00
Simo Sorce
b6ca0f210c Fix replica setup using replication admin kerberos credentials
Fixes: https://fedorahosted.org/freeipa/ticket/1022
2011-03-01 11:02:55 -05:00
Simo Sorce
2028695d88 Use wrapper for sasl gssapi binds so it behaves like other binds
By calling directly sasl_interactive_bind_s() we were not calling __lateinit()
This in turn resulted in some variables like dbdir not to be set on the
IPAadmin object.
Keep all bind types in the same place so the same common sbind steps can be
performed in each case.

Related to: https://fedorahosted.org/freeipa/ticket/1022
2011-03-01 11:02:55 -05:00
Pavel Zuna
1eb3033311 Final i18n unit test fixes. 2011-03-01 10:31:43 -05:00
Pavel Zuna
fc842e3650 Use pygettext to generate translatable strings from plugin files.
This patch replaces xgettext with a custom pygettext to generate
translatable strings from plugin files in ipalib/plugins. pygettext
was modified to handle plural forms (credit goes to Jan Hendrik Goellner)
and had some bugs fixed by myself. We only use it for plugins, because
it's the only place where we need to extract docstrings for the built-in
help system.

I also had to make some changes to the way the built-in documentation
systems gets docstrings from modules for this to work.
2011-03-01 10:31:42 -05:00
Jr Aquino
1770750b8a Create default disabled sudo bind user
Read access is denied to the sudo container for unauthenticated users.
This shared user can be used to provide authenticated access to the
sudo information.

https://fedorahosted.org/freeipa/ticket/998
2011-02-23 15:32:24 -05:00
Adam Young
49b2c0bb62 splitting banner requires new file in Makefile.am 2011-02-23 11:23:16 -05:00
Endi S. Dewata
f520829480 Fixed buttons for DNS records.
The order of the Add and Delete buttons has been reversed to be
consistent with those in other facets.
2011-02-23 11:18:00 -05:00
Adam Young
e5cda47447 split logo This allows for more flexilibity in customizing the site, as an end user can replace the logo, the banner or both 2011-02-22 17:12:24 -05:00
Adam Young
17a8aea15c Space above line in table footer 2011-02-22 14:58:47 -05:00
Adam Young
4e5cc379d5 move expand and collpase all to the right hand side 2011-02-22 14:58:42 -05:00
Adam Young
848daee92a reorder user search columns UXD found in testing that not having the clikcable link as the left most column confused users. 2011-02-22 14:58:38 -05:00
Adam Young
d9ea7f077f adder dialogs with external made the styles for the internal and external classes match the styles for available. 2011-02-22 14:58:32 -05:00
Endi S. Dewata
39a00b496c I18n update for dialog box buttons.
https://fedorahosted.org/freeipa/ticket/899
2011-02-22 13:26:09 -05:00
Endi S. Dewata
397da3f781 Fixed error dialog box.
The IPA.cmd() has been modified to set the error dialog box's title
properly.
2011-02-22 13:25:06 -05:00
Martin Kosek
744eb8ea74 Entitlements ACIs not visible to Permission plugin
This patch fixes Entitlements privileges and ACIs. There were
missing descriptions or the ACIs could not be processed by
Permissino plugin because of missing prefix.

https://fedorahosted.org/freeipa/ticket/997
2011-02-22 10:04:19 -05:00
Rob Crittenden
ac68ea3c6c Add default roles and permissions for HBAC, SUDO and pw policy
Created some default roles as examples. In doing so I realized that
we were completely missing default rules for HBAC, SUDO and password
policy so I added those as well.

I ran into a problem when the updater has a default record and an add
at the same time, it should handle it better now.

ticket 585
2011-02-22 10:02:24 -05:00
Adam Young
f0577622a9 search filter focus afdter a search loads, focus moved to the search filter text box, tyhe most likely thing that the user will want to change on the page.
https://fedorahosted.org/freeipa/ticket/983
2011-02-21 18:32:29 -05:00
Endi S. Dewata
88870b1abe Fixed error message for invalid Kerberos ticket.
https://fedorahosted.org/freeipa/ticket/490
2011-02-21 15:53:00 -05:00
Endi S. Dewata
6ff8590699 Updated test data files. 2011-02-21 15:36:37 -05:00