| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
thanks to W. Michael Petullo <mike@flyn.org> for finding the problem.
|
|
|
|
|
| |
Skip them if no address is provided or we later get a segfault because
we dereference a null pointer.
|
| |
|
| |
|
|
|
|
| |
unused variables or missing krb5 prototypes.
|
| |
|
|
|
|
|
| |
instead of 0.0.0.0, this allows us to reply to a UDP request
by using the right source address to build the kerberos reply.
|
| |
|
|
|
|
|
|
|
| |
per standard the buffer status is undefined.
While there also introduce a new spearate variable to return the final
error and keep using ret for local error checks. This avoid potentially
overwriting the correct return value when checking for asprintf ...
|
|
|
|
|
| |
* ipa_kpasswd.c (main): Detect not just open failure,
but also any write failure.
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've been on a crusade (;-) to remove useless if-before-free tests,
so ran a script that spotted some here. I think I removed the first
batch (without braces) automatically, then manually removed the ones
with curly braces around the free statements.
You may well have doubts about the portability of removing those
tests, but as long as you don't care about SunOS4 or earlier, you'll
be fine. I've done similar things for e.g., coreutils, glibc, and git,
and have had no problems.
|
|
|
|
|
|
|
|
|
| |
FreeIPA relies on RedHat's Directory Server, which uses mozldap.
A FreeIPA build using mozldap would reduce the project's dependencies and
redundant code. In addition, mozldap uses NSS instead of OpenSSL.
This is beneficial for the reasons listed in [1].
[1] http://fedoraproject.org/wiki/FedoraCryptoConsolidation
|
| |
|
| |
|
|
|
|
| |
Need to start ipa_webgui as root and drop privs in order to write in /var/run
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
password change.
- Fix some minor error
Initial code to read the Kerberos Master Key from the Directory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch uses the kerberos schema policy, this is the same policy used by
kadmin.
While this patch allows for krbPwdPolicy objects anywhere the kldap module
will make the kdc fail to provide tickets if the "krbPwdPolicyReference"
points to any object that is not a child of cn=<REALM>,cn=kerberos,dc=....
To let us set policies anywhere in the tree I enabled the code to actually
look at parent entries and the user entry itself and specify policies directly
on these objects by adding the krbPwdPolicy objectclass to them (I know its
structural but DS seem to allow multiple Structural classes on the same
entry).
The only side effect is that kadmin will not understand this, but we don't
want to use kadmin anyway as it does not understand way too many things about the
directory.
I've tested a few scenarios and all seem working as expected, but further
testing is welcome of course.
|
| |
|
| |
|
|
|
|
| |
Tested with UDP and works
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> > 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).
|
| |
|
|
|
|
| |
field before the packet data, address the problem.
|
|
|
|
|
|
|
| |
Remove all dependencies on mhash
Remove code optimizatrion from Makefiles, right now these are
developers targeted builds, so it is better to have debugging
symbols around
|
|
|
|
| |
This fixes install as well as /sbin/services does not hang anymore
|
| |
|
|
|
|
|
| |
Make it daemonize
Make it use syslog (LOG_DAEMON facility)
|
| |
|
| |
|
| |
|
|
|
|
| |
Add a comment on the ldap code for the future
|
|
|
|
|
| |
Make it blacklist clients until the previous operation is not over.
General bugfixing.
|
|
|