Commit Graph

3421 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ab68b1d64f spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:24 +00:00
Love Hörnquist Åstrand
63a449b610 use gsskrb5_extract_authz_data_from_sec_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:30 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +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
aed77c3b59 ASL_KEY_FACILITY missing on Mac OS X, 10.4, From Mans Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:04:51 +00:00
Love Hörnquist Åstrand
a49e8f06b8 no need to step p forward if we are not going to use it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:16 +00:00
Love Hörnquist Åstrand
fb2afb96fd catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:11 +00:00
Love Hörnquist Åstrand
ae597b8166 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:57 +00:00
Love Hörnquist Åstrand
77c0066e58 Not init len, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:44 +00:00
Love Hörnquist Åstrand
00a5e738b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:26:00 +00:00
Love Hörnquist Åstrand
6ebd745fd7 no krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:50 +00:00
Love Hörnquist Åstrand
1e2c257600 Drop kerberos 4 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:29 +00:00
Love Hörnquist Åstrand
7050354151 more includes files for solaris.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:27:18 +00:00
Love Hörnquist Åstrand
56f2ac7ff1 move encrypt.h and misc.h later
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:56 +00:00
Love Hörnquist Åstrand
d30899de91 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-31 08:15:49 +00:00
Love Hörnquist Åstrand
5a2f80dbaf Use the correct length for unmap, msync
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:14:09 +00:00
Love Hörnquist Åstrand
ed34fe2309 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:13:43 +00:00
Love Hörnquist Åstrand
ddb80b9210 Rewrite sliding window code so it doesn't have a integer overrun.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 03:37:58 +00:00
Love Hörnquist Åstrand
6ffc3daa37 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:30 +00:00
Love Hörnquist Åstrand
5956372480 Try sliding mmap window over memory file (10MB window), works better with larger files (ie doesn't fail).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:15 +00:00
Love Hörnquist Åstrand
71a0098c0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:46 +00:00
Love Hörnquist Åstrand
d2ecc5a8af Use RAND_bytes() + DES_is_weak_key() to generate random DES
key. Introdunce random by feeding the des session key into the random
pool when the keys is recived instead of encrypt the random key with
the kerberos key.

This avoid depenency on DES_new_random_key() that doesn't exists in OpenSSL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:41 +00:00
Love Hörnquist Åstrand
c99e6f2245 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:59 +00:00
Love Hörnquist Åstrand
bdc1855499 No need to call DES_init_random_number_generator, hcrypto is sane now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:54 +00:00
Love Hörnquist Åstrand
cd980194d9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:48 +00:00
Love Hörnquist Åstrand
aa080e84ce Use DES_new_random_key().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:40 +00:00
Love Hörnquist Åstrand
85c940fa73 Sync with NetBSD rcp, add v6 parsing support and no setuid code at all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 17:30:06 +00:00
Love Hörnquist Åstrand
2a96137bdb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:53 +00:00
Love Hörnquist Åstrand
3a9774c8eb Reorder to avoid prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:49 +00:00
Love Hörnquist Åstrand
9d195f977d Should just drop wtmp support, make a comment that we should.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:45 +00:00
Love Hörnquist Åstrand
a65d2977ee x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:41 +00:00
Love Hörnquist Åstrand
8813c7dae3 If cygwin doesnt have WTMPX_FILE, it uses wtmp for wtmpx
http://www.cygwin.com/ml/cygwin/2006-12/msg00630.html


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:33 +00:00
Love Hörnquist Åstrand
811523efa5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:29 +00:00
Love Hörnquist Åstrand
5f47850b7e Really, mac os uses wtmpx (or asl).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:23 +00:00
Love Hörnquist Åstrand
adf02cb72e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:18 +00:00
Love Hörnquist Åstrand
da109cd27f Use asl for logging ftpd wtmp messages.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:14 +00:00
Love Hörnquist Åstrand
e73d108978 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:32 +00:00
Love Hörnquist Åstrand
ae560bddd3 Remove utmp warning on mac os x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:28 +00:00
Love Hörnquist Åstrand
90177e82db add AlgorithmIdentifier for glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:16 +00:00
Love Hörnquist Åstrand
fe5323f0e5 use unsigned/size_t where approprite
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
254f650128 Use size_t where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:03 +00:00
Love Hörnquist Åstrand
b077706b1d Use size_t where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:58 +00:00
Love Hörnquist Åstrand
aa52c1ef26 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:54 +00:00
Love Hörnquist Åstrand
c72b9bb2b9 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:49 +00:00
Love Hörnquist Åstrand
832a72e67b Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:38 +00:00
Love Hörnquist Åstrand
9d1d030025 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:34 +00:00
Love Hörnquist Åstrand
e36a5a60a5 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:30 +00:00
Love Hörnquist Åstrand
c008e1015f Attached is a patch that fixes the following:
- The argument for setsockopt is an int, not a size_t. This breaks on
  64bit OS's causing the buffer not to be set (or triggers a kernel
  bug on AIX due to size_t being parsed as an int and setting the
  socket buffer to zero due to bad kernel error checking).
- Add a check to see if the socket buffer is large enough already,
  don't make it smaller if it is.

From Niklas Edmundsson


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-21 21:37:32 +00:00
Love Hörnquist Åstrand
574683e7ab x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:48:09 +00:00
Love Hörnquist Åstrand
bdd75a7ca8 Dont need to set this as the controlling PTY on steams sockets, don't
abort on failure. From Harald Barth and Ian Delahorne.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:47:53 +00:00