Commit Graph

98 Commits

Author SHA1 Message Date
Love Hornquist Astrand
fa502c6648 Add support for gss_{import,export}_cred() as requested by metze
Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.

As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001
2009-07-29 13:36:02 +02: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
60f56e7e65 no wrapext
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-25 23:44:18 +00:00
Love Hörnquist Åstrand
2af460e370 test wrap-ext
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:27:57 +00:00
Love Hörnquist Åstrand
dfebb92702 test wrapunwrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:26:27 +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
166e3c5e0a clean tempfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-29 23:10:17 +00:00
Love Hörnquist Åstrand
b43a607fb7 fail on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:34:37 +00:00
Love Hörnquist Åstrand
17d8a114ea test aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 11:12:06 +00:00
Love Hörnquist Åstrand
ab4ce491b0 test use referrals
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:34:11 +00:00
Love Hörnquist Åstrand
4b80c33714 Test initiate keytab files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:28 +00:00
Love Hörnquist Åstrand
a19b9d161e fix errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:59:54 +00:00
Love Hörnquist Åstrand
5948792004 make quiet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 22:58:20 +00:00
Love Hörnquist Åstrand
dfb1db9505 delegate policy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:24 +00:00
Love Hörnquist Åstrand
d0d20c1128 remove lefterover debug message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:39:59 +00:00
Love Hörnquist Åstrand
ebffab1aee check max loop, pretty status messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:39:12 +00:00
Love Hörnquist Åstrand
ad59df40ae remove gbd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:38:50 +00:00
Love Hörnquist Åstrand
becaa9d9f9 check client code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:38:14 +00:00
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
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
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
2f58fa6ccb Test gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:12:55 +00:00
Love Hörnquist Åstrand
bafd4055b8 Don't test the chmod 0'ed keytab, since that test doesn't work for root
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 13:19:52 +00:00
Love Hörnquist Åstrand
91c2002f8e Check spnego error messages too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 12:58:14 +00:00
Love Hörnquist Åstrand
51c0537eef Does not work yet error case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 18:19:32 +00:00
Love Hörnquist Åstrand
a0caf44c41 Test unreadable/non existant keytab and its error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 12:20:33 +00:00
Love Hörnquist Åstrand
6479b98f70 Quoting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 09:46:01 +00:00
Love Hörnquist Åstrand
98aaed4498 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:05:17 +00:00
Love Hörnquist Åstrand
4f66e515c1 test kdigest digest-probe command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:05:02 +00:00
Love Hörnquist Åstrand
c9ed244c95 Test GSS_C_NO_NAME too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 01:21:01 +00:00
Love Hörnquist Åstrand
dc491b7b73 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:55:32 +00:00
Love Hörnquist Åstrand
45a1f906a4 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:55:09 +00:00
Love Hörnquist Åstrand
996b897314 empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:54:48 +00:00
Love Hörnquist Åstrand
cc3de997ab empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:54:22 +00:00
Love Hörnquist Åstrand
86b4a301ed empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:53:59 +00:00
Love Hörnquist Åstrand
913b06b055 disable dns canon on test, break on some buildfarm hosts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-22 07:34:34 +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
297d5a54b0 test using test_kcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:52:22 +00:00
Love Hörnquist Åstrand
931ef65faa One more test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 07:39:11 +00:00
Love Hörnquist Åstrand
ddd63bbadd Add check-ntlm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:23:27 +00:00
Love Hörnquist Åstrand
ebebef4cf0 test ntlm client credentials code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:22:54 +00:00
Love Hörnquist Åstrand
bd562e8694 more gss_acquire_cred tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:54:35 +00:00
Love Hörnquist Åstrand
d81bd24f21 add check-basic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:26:47 +00:00
Love Hörnquist Åstrand
364403bcb2 basic tests that might require a KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:26:30 +00:00
Love Hörnquist Åstrand
06bae6ea10 use @port@ as port
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 01:04:54 +00:00
Love Hörnquist Åstrand
ea808c9c0e use diffrent port, 49188, and hope that it isnt used, help on solaris where the help services runs on port 8888
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-08 00:59:47 +00:00
Love Hörnquist Åstrand
d5852aaa48 remove files created by tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:44:01 +00:00