Commit Graph

33 Commits

Author SHA1 Message Date
Nicolas Williams
7a824146fa Fix defaultsearchbase in check-ldap's slapd.conf 2018-12-27 15:55:49 -06:00
Nicolas Williams
e93a135765 Fix check-ldap slapd start race
We start slapd in the foreground (-d0) but backgrounded in the shell,
then we wait 4 seconds.  This causes a race condition however.  This
commit makes the slapd-init script more robust and limits the wait to
however many seconds (up to 30) that slapd needs to start service.
2018-12-27 15:55:49 -06:00
Luke Howard
c89d3f3b8c kadmin: allow enforcing password quality on admin password change
This patch adds the "enforce_on_admin_set" configuration knob in the
[password_quality] section. When this is enabled, administrative password
changes via the kadmin or kpasswd protocols will be subject to password quality
checks. (An administrative password change is one where the authenticating
principal is different to the principal whose password is being changed.)

Note that kadmin running in local mode (-l) is unaffected by this patch.
2018-12-26 15:38:48 +11:00
Olly Betts
7ad6c01a8d Fix assorted typos 2018-12-14 17:30:14 -05:00
Quanah Gibson-Mount
7c16ce3457 Minor typo/grammar fixes 2017-03-10 15:47:43 -05:00
Nicolas Williams
bda422f40b Make check-ldap work again
(cherry picked from commit 7a1f7499bd28447159000c31a6638b48ab2d9596)
2016-12-19 14:46:54 -06:00
Nicolas Williams
2027aa11ed Use --detach in tests to avoid waiting 2016-12-07 19:52:29 -06:00
Nicolas Williams
274021f7db Make check-ldap run on Ubuntu
Apparmor on Ubuntu prevents slapd from using the Unix domain socket we
want it to.  The fix is to copy the slapd executable into the objdir,
which disables the apparmor profile for slapd.

Also, make sure the ldapi: URI has the right path for the socket in
krb5.conf.
2016-11-15 15:35:29 -06:00
Nicolas Williams
2c20a5a8bc Set KRB5_CONFIG earlier in check-ldap
Otherwise the kdc won't find the plugin.
2016-11-15 14:16:54 -06:00
Nicolas Williams
09f0a25fda kdc --builtin-hdb should list loadable backends
This fixes the following problems from #210:

 - hdb_ldap doesn't load even when installed correctly
 - loadable hdb backends not listed by kdc --builtin-hdb

Not fixed:

 - hdb_ldap.so not installed in plugin dir
2016-11-15 11:34:54 -06:00
Nicolas Williams
dbf9750989 Tests: set db-dir so tests don't use /var/heimdal 2016-02-26 01:04:31 -06:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
37762d631c Don't use invalid base64 encoded string, just use plain password instead 2010-06-04 14:40:31 -07:00
Love Hornquist Astrand
86da42df1d abstract out --no-afslog and --no-unlog 2010-06-01 14:42:16 -07:00
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hörnquist Åstrand
476329daa6 check that kinit *@$R failes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 01:31:44 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
56d2b3bdf1 test tgs req too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-11 21:42:36 +00:00
Love Hörnquist Åstrand
c6e95db36d add missing files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-12 05:57:22 +00:00
Love Hörnquist Åstrand
cfd35aba71 Add space to make valid ldiff file, from Buchan Milne
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 06:00:25 +00:00
Love Hörnquist Åstrand
7073558cd8 Another place where schemas are installed, from Buchan Milne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-14 05:59:04 +00:00
Love Hörnquist Åstrand
cbbbe445d6 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:59:23 +00:00
Love Hörnquist Åstrand
aa7b0d44b4 Add more entries to tests with.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:42:28 +00:00
Love Hörnquist Åstrand
8dcc95a7cb add samba.schema.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:41:55 +00:00
Love Hörnquist Åstrand
9a8497cd0b Add samba schema.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:40:51 +00:00
Love Hörnquist Åstrand
8ebc3cb25b Samba schema for those that doesn't have it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:40:27 +00:00
Love Hörnquist Åstrand
2372053dd9 Samba entry to do testing with.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:39:51 +00:00
Love Hörnquist Åstrand
965f1c1d3e Add one more principal and list the database.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 16:12:35 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
4f34cd5a52 check in /usr/lib/openldap too for slapd and slapadd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 07:38:14 +00:00
Love Hörnquist Åstrand
1da6ba86f2 add slapd-init.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-16 04:23:19 +00:00
Love Hörnquist Åstrand
08a1332f42 Add $Id$ tag.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:17:13 +00:00
Love Hörnquist Åstrand
3cb07032b9 ldap test, inspired from the samba ldb tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 00:11:18 +00:00