Commit Graph
100 Commits
Author SHA1 Message Date
Karl MacMillan 19bdd1f166 - Enable ssl for replication.
- Add replication management script that allows listing
  adding, and deleting replicas.
-
Karl MacMillan 5f6a67da4b Added tag milestone_6 for changeset 84bc1acacd93 -
Karl MacMillan 0b36ce6dcb Merge. -
Karl MacMillan 451a28c622 Remove ipa-keytab-util from configure.ac. -
Karl MacMillan 84c758153f Remove ipa-keytab-util since it is superceded by the DS plugin. -
Karl MacMillan c761409490 Update versions for release. -
Karl MacMillan 2855e9d40a Correct serial number for ds certs. -
Karl MacMillan ac0fb8ea52 Convert replication to use the new cert infrastructure and
correctly issue certs from the same authority. Also remove
support for read-only replicas since that work will not
be finished and tested for 1.0.
-
Karl MacMillan 6d9974dd95 Simplify kerberos calling. -
Karl MacMillan a6d8523921 Create ipa-radius-admintools -
Karl MacMillan 6575aa606f Merge. -
Karl MacMillan a0eacec8e5 Cleanup from radius merge. -
Karl MacMillan b3c39632ea Merge. -
Karl MacMillan abdbc50683 Import correct httpinstance.py -
Karl MacMillan 913201a919 Fix spec file to grab certinstall. -
Karl MacMillan 18992de657 Merge. -
Karl MacMillan 158b4e8ff4 Commit corrected certs.py -
Karl MacMillan cf595511ff Move radius server components into a separate package. -
Karl MacMillan 5cdff99bdf Add a man page for ipa-getkeytab. -
Karl MacMillan c9160e0233 Fix minor typo in unauthorized page. -
Karl MacMillan 3b4f0db73e Convert the setup of ssl from a shell script to a
python module. This is in preparation for user
supplied certs.
-
Karl MacMillan 1c3849eb57 User provided certs. -
Karl MacMillan ad3fcc200c Merge. -
Karl MacMillan 8792559f74 Remove radiusinstance from ipa-server-install. -
Karl MacMillan d2378f13d0 Merge. -
Karl MacMillan 6243410bdd Install principal edit page files. -
Karl MacMillan 2892c28f56 Improve confirmation. -
Karl MacMillan f07cd5a5ad Update build requires for libcap. -
Karl MacMillan a174d6d6e6 Fix mode on ipa-keytab-util. -
Karl MacMillan 8e48393c61 Introduce service base class and clean up ipa-server-install
1) Add a base class for all of the instance objects.
2) Normalize usage of logging.
3) General cleanups of ipa-server-install.
4) Make better use of httpinstance.
5) Add webguiinstance.
6) Improve progress reporting during installation.

Works Here (TM), but it would be nice to get someone else
to test since this moves code around a bit.
-
Karl MacMillan 4e377ad7e8 Fix message about no spaces in password - spaces work
fine with ssl setup shell script removed.
-
Karl MacMillan 7561d7c42d Remove radius from main install script and add
ipa-radius-install.
-
Karl MacMillan 002312c050 Revert logging setup change because it has unintended
consequences during ipa-server-install.
-
Karl MacMillan 61258a645c Add ipa-keytab-util to spec. -
Karl MacMillan 957a70e560 Prevent gzip from requesting confirmation.
The current manpage installation gzips the files in
place and requests confirmation before overwriting
existing files. Add -f to prevent prompting. We
should consider not gzipping the files in place.
-
Karl MacMillan ca118de76c Merge. -
Karl MacMillan 380756ace9 Confirm before configuring the client. -
Karl MacMillan edc7af1446 Add xml-rpc interface for getting keytabs.
Warning: this lacks any sort of authorization.
-
Karl MacMillan de15549f8e Make it possible to force the running of autogen.
With the change to run autogen on make all if there
was no makefile present, it became impossible to
force the running of autogen when that is needed. Fix
that by adding a bootstrap-autogen target that checks
the existing of Makefiles and reverting the autogen
target to always run autogen.
-
Karl MacMillan cd93c81a13 Committed generated spec files. -
Karl MacMillan c397041bfa Merge. -
Karl MacMillan 148a55811d Return a proper error code from ipa-webgui so that
the init script can indicate when the service
fails to start.
-
Karl MacMillan 9038bf71dd Move packages to ipa from freeipa. -
Karl MacMillan 8f4362f2f2 Enable referential integrity plugin. -
Karl MacMillan 90d6fefe32 Fix errors with ipautil.CalledProcessError and cleanup some imports. -
Karl MacMillan b202b6cc31 Bump the version numbers for release. Also remove
specific version check on freeradius. Packages aren't
available and the freeradius support isn't ready
anyway.
-
Karl MacMillan 36e43aed1b NTP configuration for client and server.
Configure ipa servers as an ntp server and clients
to (by default) us the ipa server as an ntp server.

Also corrected the messages about which ports should
be opened.
-
Karl MacMillan 67cddce4d4 Generate master password from Simo. -
Karl MacMillan 83592ebada Added tag milestone_4_1 for changeset 77f4aaa4e4bd -
Karl MacMillan 7ce4df7038 Added replication.py -
Karl MacMillan c0ae2b2f85 Removed tag mileston_4_1 -
Karl MacMillan c373ed5c5c Initial replication setup.
This add replication setup through two new commands: ipa-replica-prepare
and ipa-replica-install. The procedure is to run ipa-replica-prepare
on an existing master. This will collect information about the realm
and the current master and create a file storing all of the information.
After copying that file to the new replica, ipa-replica-install is
run (with -r to create a read-only replica).

This version of the patch also includes fixes for the sasl mappings
on the replicas.

Remaining features:
- ssl for replication.
- automatic configuration of mesh topology for
  master (or a simpler way to replicate multiple
  masters.
- tool for view / configuring current replication.
-
Karl MacMillan a7d1987ec3 Added tag mileston_4_1 for changeset bda291e79a4f -
Karl MacMillan 6d3fa7f892 Minor fixes. -
Karl MacMillan 29c0668e98 Bump versions for release. -
Karl MacMillan 164076a76e Add pyasn1 requirement to rpms. -
Karl MacMillan 45346ee3ab Remove multi-value set/add in ipa-usermod.
Calling --add multiple times will accomplish the same
thing without the need for handling splits on ",".
-
Karl MacMillan 27b93a6944 Small fix from Rob to pwd-extop-plugin -
Karl MacMillan 816b3e2ea5 Add memberof-task.ldif. -
Karl MacMillan 27f0aab667 Rename memberOf to group_members in xml-rpc interface. -
Karl MacMillan 4d96b37de1 Initialize memberof patch from Pete Rowley. -
Karl MacMillan 3b66d27383 Allow set/add/del to be called multiple times.
Allow the --set/add/del options to be called multiple
times during the same invocation. Also add more robust
checking of errors.
-
Karl MacMillan 39dcd194ca Allow setting of lib directory to correct non-rpm builds on x86_64.
With this patch you will need to run:
  make autogen LIBDIR=/usr/lib64
Also works for 'make all'.
-
Karl MacMillan 4f4f947283 Update server deps to include acl and freeipa-admintools. -
Karl MacMillan 263fba1468 Handle selinux failure
Ignore errors if setsebool fails and print a warning.
-
Karl MacMillan 2703be51c8 Print warning about NTP
After looking into setting up ntpd on the IPA servers I decided it
was better just to warn admins. There are just too many valid setups
for time synchronization for us to try to get this right. Additionally,
just installing ntp and accepting the default config will result in
a configuration that is perfectly valid for IPA.

This patch checks if ntpd is running and suggests enabling it if it
is not - for client and server. It also adds some suggested next
steps to the server installation.
-
Karl MacMillan 1685751b1c Remove dependency between ipa-pyton and ipa-server
Current ipa-python imports and calls code from ipaserver (which is in
the ipa-server package). This makes it impossible to use the admin
tools or the ipa-python package on a system without the server bits
installed. This fixes that in a fairly minimal way.
-
Karl MacMillan 086193af0a Remove the use of uuid in the directory server instance name.
The use of a uuid for the DS instance name is overkill and it is a real
pain. This patch will use ipa-realm-name instead (resulting in something
like slapd-EXAMPLE-COM). All periods are converted to "-" because the DS
can't handle periods in server ids.
-
Karl MacMillan 4427ff78f6 Add exception template. -
Karl MacMillan 875940ddd3 Print traceback to the install log on unexpected error. -
Karl MacMillan 628aa3a5e7 Correct PACKAGE in ipa-client/autogen.sh. -
Karl MacMillan 4c59be2b0d Fix autogen.sh to correctly compare versions and removed .la files from packages. -
Karl MacMillan 4718fc6dff Merge with head. -
Karl MacMillan 1d2c024afa Additional build fixes from autoconf merge. -
Karl MacMillan 1fcc3c6650 Autotool ipa-client - patch from William Jon McCann <mccann@jhu.edu> -
Karl MacMillan 5dab9feafd Fix small error in top-level makefile. -
Karl MacMillan 31fb0033ba Merge. -
Karl MacMillan c49d478b92 Fix build from autoconf patch import. -
Karl MacMillan f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. -
Karl MacMillan bd3b07b448 Use setup.py for ipa-python from William Jon McCann <mccann@jhu.edu>. -
Karl MacMillan f25e7c46ef Merge. -
Karl MacMillan d2a19b2009 Karl MacMillan wrote:
> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
-
Karl MacMillan 1be00394e3 Hi,
Here is another patch for the installer.  It does a few things:

 * use socket.getfqdn() but fallback to gethostname()
 * streamlines the hostname prompting
 * fixes a bunch of spelling and grammatical errors
 * fixes a bug in the hostname reading/verification logic
 * allows "yes" and "no" as answers
 * modularizes and reuses code where possible
 * changes some of the prompts to be more like
   the FDS installer - some text is copied (which is easy to use IMO)
 * tries to make the prompts fit on smaller screens (<80 chars)

Hope you agree that it is better.  :)

Thanks,
Jon
-
Karl MacMillan cfaa18a1cf On 10/4/07, Rob Crittenden <rcritten@redhat.com> wrote:
> William Jon McCann wrote:
> > Hi,
> >
> > After playing with the install (repeatedly) I ended up with a lot of
> > duplicate values in:
> > /etc/sysconfig/dirsrv
> > /etc/sysconfig/ipa-kpasswd
> >
> > Here is a patch that should fix this.  It modifies the file "in-place"
> > and removes lines that matching the key (or commented key) and then
> > appends the new key=value.
> >
> > Jon
>
> Cool, I've wanted to fix this for a while (and recently aborted a switch
> from open with "a" to "w").
>
> What happens if the file doesn't exist yet? Do we need to wrap the
> fileinput loop in either a try/except or just look to see if the file
> exists first (my vote)?
>
> Something like:
>
> def update_key_val_in_file(filename, key, val):
>      if os.path.exists(filename):
>          pattern = "^[\s#]*%s\s*=" % re.escape(key)
>          p = re.compile(pattern)
>          for line in fileinput.input(filename, inplace=1):
>              if not p.search(line):
>                  sys.stdout.write(line)
>          fileinput.close()
>      f = open(filename, "a")
>      f.write("%s=%s\n" % (key, val))
>      f.close()

Good point.  In genera,l I prefer doing a try because it is a little
less racy but in this case it doesn't make a difference.

Updated patch attached.

Thanks,
Jon
-
Karl MacMillan 679343594d Install the web gui
Install the turbogears web gui including an init script. This
patch includes a few related changes:

* create a production configuration
* rename the web gui startup scrip to ipa-webgui
* add an init script
* chkconfig on the ipa-webgui init script
* make the start script properly daemonize the app when not
  in a development directory.
* Install everything to the correct places (/usr/sbin/ipa-webgui
  and /usr/share/ipa/ipagui mainly).

There are some things still left to do:

* Sort out the logging - the config needs to be adjusted so
  that logging messages end up in /var/log.
-
Karl MacMillan 50d12d6d2e Misc small fixes
* Remove the rpmbuild tree with the dist-clean target.
* Move ipa-server-setupssl from /usr/sbin to /usr/share/ipa
* Check in requirement change for generated freeipa-python.spec
* Fix interactive hostname in ipa-server-install.
-
Karl MacMillan 22710a8dce Make apache work with selinux
The default configuration of the apache selinux policy doesn't allow
apache to connect to the turbogears gui. This sets the correct
boolean to allow that connection.
-
Karl MacMillan ab0f69891d Overwrite ldappwd file to fix bug when reinstalling IPA. -
Karl MacMillan d0c856d547 Reset version numbers for next milestone. -
Karl MacMillan b690ccd795 Added tag milestone_3 for changeset d3a37950495c -
Karl MacMillan d15ad0f26a Update version numbers for release. -
Karl MacMillan 438b548f19 Correct installation path for dna plugin. -
Karl MacMillan 09621f1319 Added freeipa logo. -
Karl MacMillan 6eea6664e0 This patch wraps binary data in an xmlrpclib Binary object. This
removes the need for LDIF conversion.  It will make TurboGears direct
code faster, but should keep xmlrpc about the same speed.

The patch also swaps out ldap.cidict for the IPA CIDict class.  IPA code
should only use the CIDict class now.
-
Karl MacMillan 14d78e9170 Added tag milestone_2 for changeset b0ff0d52ef89 -
Karl MacMillan 268dd829df Added dna plugin to spec. -
Karl MacMillan f437ecfad1 Fix minor error in previous patch. -
Karl MacMillan 8d36f03f83 Merge simple fix from Rob Crittenden. -
Karl MacMillan 07ee40cb28 Revert incorrect fix. -
Karl MacMillan 7ace2ba951 Fix small typo in ipaclient. -