Commit Graph

22287 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
39fe446983 Support parsing KRB-ERROR passed back from windows server when the time is out of sync, modify krb5_cc_[sg]et_config interface to handle principals too, add tests for this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:48 +00:00
Love Hörnquist Åstrand
82570534fc pass extra argument to krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:07 +00:00
Love Hörnquist Åstrand
55b7603443 pass extra argument to krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:36:48 +00:00
Love Hörnquist Åstrand
8aeabdadf7 Add principal to storing config data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:36:33 +00:00
Love Hörnquist Åstrand
0b7c16c7c4 export krb5_cc_[gs]et_config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:35:59 +00:00
Love Hörnquist Åstrand
5aa921b4d3 Save the session ticket key when we know everything is fine and the
ticket was valid.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:35:44 +00:00
Love Hörnquist Åstrand
fc1fbd6273 export hdb_kt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:35:18 +00:00
Love Hörnquist Åstrand
b1f885befe use rk_undumpdata, spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:34:53 +00:00
Love Hörnquist Åstrand
405983ffb9 fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:34:23 +00:00
Love Hörnquist Åstrand
7b478c5c6a add xfree.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:34:03 +00:00
Love Hörnquist Åstrand
3d322ba7a8 add rk_xfree()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:33:41 +00:00
Love Hörnquist Åstrand
f577a16f67 add rk_xfree()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:33:25 +00:00
Love Hörnquist Åstrand
77e2e6d550 restore username parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:32:47 +00:00
Love Hörnquist Åstrand
ffe5bc187e make delegated checks work....
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:32:17 +00:00
Love Hörnquist Åstrand
d461bb4ce8 test --ok-as-delgate and not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:31:24 +00:00
Love Hörnquist Åstrand
ef1b20b339 check for creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:56 +00:00
Love Hörnquist Åstrand
d4d7d06749 realm-config > 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:35 +00:00
Love Hörnquist Åstrand
5d9a1df944 copy the ticket data from the cred, not that matching cred.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:30:03 +00:00
Love Hörnquist Åstrand
890c95a8c0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:29:42 +00:00
Love Hörnquist Åstrand
d855d2aafa add --ok-as-delegate and --windows flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:29:18 +00:00
Love Hörnquist Åstrand
c2442955f0 Check for realm-config in the ccache configuration, and use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:28:59 +00:00
Love Hörnquist Åstrand
41bdc3965c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:28:35 +00:00
Love Hörnquist Åstrand
07482fe5ad Switch to krb5_set_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:28:07 +00:00
Love Hörnquist Åstrand
525869ff01 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:27:39 +00:00
Love Hörnquist Åstrand
e392a0a2aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:27:18 +00:00
Love Hörnquist Åstrand
23b129144f Use krb5_cc_get_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:26:49 +00:00
Love Hörnquist Åstrand
4af9c1c89e Use krb5_cc_set_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:26:22 +00:00
Love Hörnquist Åstrand
cb01c57a8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:25:54 +00:00
Love Hörnquist Åstrand
21af504e8a Add krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:25:23 +00:00
Love Hörnquist Åstrand
13ebabfab7 add rk_undumpdata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:24:54 +00:00
Love Hörnquist Åstrand
a41b11dae7 add rk_undumpdata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:23:18 +00:00
Love Hörnquist Åstrand
c0dc22cef4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 09:08:29 +00:00
Love Hörnquist Åstrand
1ef0828640 Match the orignal patch I got from metze, seems that DCE-STYLE is even
more weirer then what I though when I merged the patch.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 09:07:49 +00:00
Love Hörnquist Åstrand
eec537e94b restore flags after mk_rep is done. Prompted by comments from metze
and abartlet.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-25 08:23:32 +00:00
Love Hörnquist Åstrand
b0d5ac4a1c Make resolver output more pretty
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:04:22 +00:00
Love Hörnquist Åstrand
8c09b251fd Check keyblock instead of keyblock2, doesn't matter which, they will
be the same

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:04:07 +00:00
Love Hörnquist Åstrand
ffa6d8121c remove stray bash
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:03:52 +00:00
Love Hörnquist Åstrand
c16610f924 Need to use mutual to make this work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:03:29 +00:00
Love Hörnquist Åstrand
8f92cc94b4 Build a service without aes, build context and see that we still got
an aes session key thanks to EtypeList.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:03:13 +00:00
Love Hörnquist Åstrand
d260d2aca0 indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:03:00 +00:00
Love Hörnquist Åstrand
8cb7ec4b64 Allow checking the session enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:45 +00:00
Love Hörnquist Åstrand
c5db223a33 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:33 +00:00
Love Hörnquist Åstrand
1dd872ca5c Allow numbers to be enctypes to as long as they are valid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:19 +00:00
Love Hörnquist Åstrand
6223a7ba18 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-24 20:02:03 +00:00
Love Hörnquist Åstrand
ef14dfc5aa some random bits needed for libkadm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:44:29 +00:00
Love Hörnquist Åstrand
5543b94211 some random bits needed for libkadm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:43:02 +00:00
Love Hörnquist Åstrand
ecf817db43 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:42:54 +00:00
Love Hörnquist Åstrand
fbdd3b822d Try afs/cell@REALM before afs@REALM since that is what OpenAFS folks
have been saying is best pratices for some time now.

Patch from Derrick Brashear.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:42:42 +00:00
Love Hörnquist Åstrand
97aa9055da dont build editline if not needed. From Guillame Rosse
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-17 20:42:30 +00:00
Love Hörnquist Åstrand
b284984fc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-16 16:11:58 +00:00