Commit Graph

24262 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d3de015b79 Check locked-out flag for client and server.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:32:56 +00:00
Love Hörnquist Åstrand
8e2e176812 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:27:09 +00:00
Love Hörnquist Åstrand
5136167f15 if client delegates to itself, that ok
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:57 +00:00
Love Hörnquist Åstrand
90de65f2be If backend implements ->hdb_check_constrained_delegation, use it for processing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:39 +00:00
Love Hörnquist Åstrand
45ef83f6fd add hdb_check_constrained_delegation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:25 +00:00
Love Hörnquist Åstrand
e28e7b2c45 check for hdb->hdb_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:12 +00:00
Love Hörnquist Åstrand
868bd2dd69 sync check flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:26:00 +00:00
Love Hörnquist Åstrand
deef966478 sync check flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:25:46 +00:00
Love Hörnquist Åstrand
5c104ef172 add ->hdb_password and ->hdb_auth_status
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:25:29 +00:00
Love Hörnquist Åstrand
f65f1f26ef add HDBFlags: locked-out
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:25:01 +00:00
Love Hörnquist Åstrand
a28a9a1b30 comment about hdb_capability_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 04:24:48 +00:00
Love Hörnquist Åstrand
326381bfc6 fix error message in constrained delegation, from andrew bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 03:23:25 +00:00
Love Hörnquist Åstrand
506b98d110 Patch from Andrew bartlett via heimdal-bugs@h5l.org
kdc Allow a password change when the password is expired

    This requires a rework on Heimdal's windc plugin layer, as we want
    full control over what tickets Heimdal will issue.  (In particular, in
    case our requirements become more complex in future).

    The original problem was that Heimdal's check would permit the ticket,
    but Samba would then deny it, not knowing it was for kadmin/changepw

    Andrew Bartlett

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 03:16:46 +00:00
Love Hörnquist Åstrand
ba04bad361 From Andrew Bartlet via heimdal-bugs@h5l.org
s4:heimdal Allow KRB5_NT_ENTERPRISE names in all DB lookups

    The previous code only allowed an KRB5_NT_ENTERPRISE name (an e-mail
    list user principal name) in an AS-REQ.  Evidence from the wild
    (Win2k8 reportadely) indicates that this is instead valid for all
    types of requests.

    While this is now handled in heimdal/kdc/misc.c, a flag is now defined
    in Heimdal's hdb so that we can take over this handling in future (once we start
    using a system Heimdal, and if we find out there is more to be done
    here).

    Andrew

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 03:16:35 +00:00
Love Hörnquist Åstrand
012eae7f34 rename gssapi/ntlm/digest.c to kdc.c since that is what its talking too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-03 03:16:21 +00:00
Love Hörnquist Åstrand
90ac3afd08 hostname is not_defined_in_RFC4178@please_ignore
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-28 21:12:38 +00:00
Love Hörnquist Åstrand
b7b88769b9 fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-24 18:07:48 +00:00
Love Hörnquist Åstrand
8be9f44602 rename find_buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-23 03:45:56 +00:00
Love Hörnquist Åstrand
2ca3492e42 remove stream bits for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-23 03:45:37 +00:00
Love Hörnquist Åstrand
769f86eb33 start of unpack stream if there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-23 03:45:02 +00:00
Love Hörnquist Åstrand
c99b2003e2 Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
4c302b52f8 remove unused type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-17 18:10:59 +00:00
Love Hörnquist Åstrand
74af14affc disable code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-12 19:05:42 +00:00
Love Hörnquist Åstrand
d104f3b9d6 Fix logic error when we do client referrals.
Author: andrew bartlett <abartlet@samba.org>

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-12 18:10:28 +00:00
Love Hörnquist Åstrand
1f42785746 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 22:02:25 +00:00
Love Hörnquist Åstrand
bc07938965 (emem_trunc): if offset is NULL, free all memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 21:57:56 +00:00
Love Hörnquist Åstrand
47ebb62930 Release p2, valgrind output from Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 21:57:45 +00:00
Love Hörnquist Åstrand
55cfca74d5 Maybe include <libutil.h>. Needed for FreeBSD.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:43 +00:00
Love Hörnquist Åstrand
28c70058fa Close f, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:33 +00:00
Love Hörnquist Åstrand
b77ee0c2f8 Close f, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:22 +00:00
Love Hörnquist Åstrand
f6fa5c810e Close f, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:12 +00:00
Love Hörnquist Åstrand
58d847961a Close f if its not stdout, from cppcheck
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:32:59 +00:00
Love Hörnquist Åstrand
0cac9adc37 one more HAVE_OPENSSL for EC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 06:43:10 +00:00
Love Hörnquist Åstrand
f4c2c5243c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 05:24:56 +00:00
Love Hörnquist Åstrand
bc236bae7e move heim_threads.h to $srcroot/include
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 05:10:31 +00:00
Love Hörnquist Åstrand
6f8635376c drop heim_threads. move to $srcroot/include
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-06 05:10:08 +00:00
Love Hörnquist Åstrand
566648ae4a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-04 22:33:23 +00:00
Love Hörnquist Åstrand
b0a3f535bf SQLite3 backend from Pontus Walck and Stockholm Univerity.
The work was done as part of Pontus's exjobb. Thanks!

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:26:08 +00:00
Love Hörnquist Åstrand
f93dd564c3 fix depencies for asn1 headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:58 +00:00
Love Hörnquist Åstrand
a158e74fc4 add depencies for asn1 headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:48 +00:00
Love Hörnquist Åstrand
11fd4a0cd2 hdb_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:38 +00:00
Love Hörnquist Åstrand
b57571d609 add depencies for ocsp_asn1.h pkcs10_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:28 +00:00
Love Hörnquist Åstrand
fb9b0f1a5d more depencies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:08 +00:00
Love Hörnquist Åstrand
e0a1d5a8cb filename != headername
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:24:58 +00:00
Love Hörnquist Åstrand
46f96cfa71 .hx is a SUFFIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:24:48 +00:00
Love Hörnquist Åstrand
1416d90377 copy .hx files to .h files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:24:37 +00:00
Love Hörnquist Åstrand
f3197da8dc add .hx depenencies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:24:27 +00:00
Love Hörnquist Åstrand
508add9595 Generate header as foo.hx so that we don't overwrite it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:24:14 +00:00
Love Hörnquist Åstrand
418b451e55 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-02 21:53:29 +00:00
Love Hörnquist Åstrand
6c82fece47 Drop changing the password, really need kadmin/ldap support to do it
right (like add aes support, propper kvno handling etc).

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-02 21:53:17 +00:00