| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
442812
|
|
|
|
| |
+ Some cleanups (trainling spaces and such).
|
|
|
|
| |
435019
|
|
|
|
|
|
|
|
|
| |
It implies that you are setting a new password and you really aren't.
Also added a catch for KeyboardInterrupt with instructions on how to
recover from a partial install.
441607
|
|
|
|
|
| |
The group "apache" needs to have read access to them so they will work in
Fedora 9+.
|
|
|
|
|
|
|
| |
The dirsrv init script always returns 0 on status checks, even if an
instance is not started. So we have to look through the output instead.
442452
|
|
|
|
|
|
|
|
| |
If plugin isn't configured then the kerberos attributes don't get populated.
User's will get Preauthentication errors from the kerberos libraries
because there is no krbPrincipalKey to match against.
442134
|
|
|
|
|
|
|
| |
If we generate a new keytab for each replica then effectively password
changes can only occur on the last replica created.
439905
|
|
|
|
| |
Fix copy&paste error.
|
| |
|
|
|
|
|
|
|
| |
Latest patch used the wrong path and all files where actually going to /tmp
even if a different path was specified.
Makes also StateFile behave the same as FileStore, and be a public class, this
way a common path can be used too.
|
|
|
|
|
|
|
| |
using nsswitch calls that read it and also take in account any other name
resolution mechanism that might be installed (like NIS lol :-).
This also should make the check support IPv6 transparently too (not tested)
|
|
|
|
|
|
| |
Change backup format so files are all in a single directory (no dir
hierarchies) and use an index file so we can save also ownership and
permission info for the restore (and eventually other data later on).
|
|
|
|
|
|
|
|
| |
The DS setup program uses Perl and does a similar port available test.
It seems that perl always sets FD_CLOEXEC and python does not. This is
why the port test would pass in python but fail in perl.
439024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is used when a new replica is created as well as whenever a replica
is re-initialized from another master.
In order for this to work when not creating an instance the __init__
function needs to be able to determine the suffix and the dm_password
is needed.
I've also added the time to the RDN of the member task to ensure
uniqueness.
438222
|
|
|
|
|
|
|
|
| |
Add ability to force a synch to occur
Clean up a lot of unused code in ipaldap.py. This lets us do a simple bind
without being root (it used to try to read dse.ldif)
436237
|
|
|
|
|
|
| |
Don't ignore exceptions when getting the hostname from the user
433515
|
| |
|
|
|
|
|
|
| |
match.
433515
|
|
|
|
|
| |
from the realm not the domain.
One line fix.
|
|
|
|
|
| |
default tree. This patch make sure that the DS setup script
does not add unwanted entries.
|
| |
|
|
|
|
| |
433509
|
|
|
|
| |
435055
|
| |
|
|
|
|
|
|
|
| |
We update the mod_nss configuration (nss.conf) during installation to include
ipa-rewrite.conf to handle the SSL side.
433054
|
|
|
|
| |
433347
|
| |
|
|
|
|
|
| |
Make sure we do sync the clock leaping to the current correct time.
This avoids problems with bad dates on certificates, etc..
|
|
|
|
|
|
| |
Verify the DM password earlier in the process
433368
|
|
|
|
|
|
| |
Use that domain when creating replicas
Resolves 432066
|
|
|
|
| |
Resolves 430017
|
|
|
|
|
|
| |
Name the file created by ipa-replica-prepare after the FQDN of the target
Resolves 432904
|
|
|
|
|
| |
This makes a from-tree installation work. We also do this in the rpm spec file.
Contributed by Pieter D.J. Krul
|
| |
|
| |
|
|
|
|
|
|
|
| |
No longer create a PKCS#12 file that contains the CA
No longer send the entire CA to each replica, generate the SSL certs on master
Fix number of bugs in ipa-replica-install and prepare
Produce status output during replica creation
|
|
|
|
| |
Resolves 430724
|
|
|
|
|
| |
Remove 8080 as a port that needs to be opened
bz 430088
|
| |
|
|
|
|
|
|
|
|
|
| |
The ipa_webgui and ipa_kpasswd instance code is identical
and I want to add another similar instance down the line,
so re-factor the code into a service.SimpleServiceInstance
class.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
|
| |
DsInstance.pkcs12_info isn't currently initialised in
the constructore so, e.g. __enable_ssl() assumes that
create_instance() has initialised it.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If, in future, we change the server ID so that it's not
derived from the realm name, there's a fair few places
that need to be changed.
Make that easier by having config_dirname() take the
server ID rather than the realm name. That makes sense
anyway so we don't have to realm_to_serverid() so
much.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let's assume that all ipaserver.dsinstance could be used
somewhere where asking questions on stdout/stdin is not
approriate and re-factor the code to be suitable in
those situations too.
i.e. make check_existing_installation() return a list of
server IDs and make check_ports() return an (unsecure,
secure) tuple indication which ports are in use.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Removing shebangs (#!) from a bunch of python libraries
- Don't use a variable name in init scripts for the lock file
- Keep the init script name consistent with the binary name, so renamed
ipa-kpasswd.init to ipa_kpasswd.init
- Add status option to the init scripts
- Move most python scripts out of /usr/share/ipa and into the python
site-packages directories (ipaserver and ipaclient)
- Remove unnecessary sys.path.append("/usr/share/ipa")
- Fix the license string in the spec files
- Rename ipa-webgui to ipa_webgui everywhere
- Fix a couple of issues reported by pychecker in ipa-python
|
|
|
|
|
|
|
|
| |
Add a --uninstall option to ipa-server-install which tries to
restore the system to the way it was before ipa-server-install
was run using the state backed up through sysrestore.py.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a sysrestore module which allows ipa-server-install
code to backup any system state so that it can be restored again
with e.g. ipa-server-install --uninstall.
The idea is that any files ipa-server-install modifies gets backed
up to /var/cache/ipa/sysrestore/ while any "meta" state, like
whether a service is enabled with chkconfig, is saved to
/var/cache/ipa/sysrestore.state.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
| |
httpinstance.py currently uses a hardcoded /tmp/ipa temporary
directory. Make it use tempfile.mkdtemp() instead.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
| |
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
|
| |
In dsinstance.py, there's one place we could use the
service.py helpers where we don't currently.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|