Commit Graph

23 Commits

Author SHA1 Message Date
Simo Sorce
b04bed4e82 Min Pwd Change Time Check after Password reset and other minor fixes 2007-11-30 16:57:19 -05:00
Simo Sorce
56d67b86e1 Fix bad segfault when pwvals is null 2007-11-19 19:34:27 -05:00
Karl MacMillan
27b93a6944 Small fix from Rob to pwd-extop-plugin 0001-01-01 00:00:00 +00:00
Simo Sorce
f35ec78d56 - Store Master Key in Ldap (Makes it easier to set up replicas)
- Does not require dirsrv access to stash file
- Finalize password history support
- Fix strict password length default in pwd_extop (fix install sctript too)
- fix plugin configuration

- Introduce 3 kind of password change: normal, admin, and ds manager
   - normal require adherence to policies
   - admin does not but password is immediately expired
   - ds manager can just change the password any way he likes.

Initial code to read the Kerberos Master Key from the Directory
2007-11-16 20:16:11 -05:00
Simo Sorce
7502ebe479 Initial implementation of policies support.
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.
2007-11-13 16:21:03 -05:00
Simo Sorce
51a5130227 Properly increment kvno and keep recent key material around
This is necessary for services that need to be able to respond
to requests from client that acquired a service ticket just before
a password change.
2007-10-31 10:52:44 -04:00
Rob Crittenden
d28b759e00 Fix build issues related to the autotools conversion 2007-10-18 22:03:54 -04:00
Karl MacMillan
c49d478b92 Fix build from autoconf patch import. 0001-01-01 00:00:00 +00:00
Karl MacMillan
f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. 0001-01-01 00:00:00 +00:00
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).
0001-01-01 00:00:00 +00:00
Simo Sorce
abeda55e34 Add password request for admin user
Set password for admin user using the Directory Mangaer account
and the mozldapldappaswd binary to get and SSL connection
Fix some timeout problems with deploying keytabs
Fix ipa_pwd_extop to actuallt correctly detect an SSL connection
Do not ask for the user to use for the directory unless 'dirsrv' is
 an existing user which may clash, create it silently
2007-08-31 18:40:01 -04:00
Simo Sorce
aacfce9cf1 Remove dependncy on libmhash and use openssl md4 functions
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
2007-08-20 15:38:47 -04:00
Simo Sorce
0a6007bcf2 Fix the relative name, Richm explained that the allowed values are either:
/full/path/plugin-name.so
or just
plugin-name (no .so as different arches have different extensions)
2007-08-16 17:59:23 -04:00
Simo Sorce
82f24bb490 General fixes.
Do not start ipa_kpasswd by default yet
2007-08-15 21:35:35 -04:00
Simo Sorce
1e59adbe45 in F7 all directory names have changed from fedora-ds to dirsrv
which should also be the name used in DS 8.0, change all occurences
2007-08-15 19:45:18 -04:00
Simo Sorce
9faa5ce77e Use relative .so names for plugin so that lib/lib64 does not get in the way
change the pwd-extop conf ldif to a more sensible name
2007-08-15 18:55:20 -04:00
Simo Sorce
be34ddfc28 Merge from upstream 2007-08-15 18:31:53 -04:00
Simo Sorce
a8e489e065 Rely on the default path
Fix description
2007-08-15 18:29:51 -04:00
Simo Sorce
9ad12ae2eb Clean-up code to avoid Wall warnings 2007-08-15 11:37:03 -04:00
Karl MacMillan
c1b3a4c412 Install server plugins in correct lib directory. 0001-01-01 00:00:00 +00:00
Karl MacMillan
88a1ab65ce Updates to build kpaswd and the slapi plugins. 0001-01-01 00:00:00 +00:00
Simo Sorce
588fa2f323 Add dependency and a comment 2007-08-08 22:20:07 -04:00
Karl MacMillan
9d5b946fda Reorganized repo to reflect packaging. 0001-01-01 00:00:00 +00:00