Commit Graph

6702 Commits

Author SHA1 Message Date
Assar Westerlund
c22bb92415 add support for --random-password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6853 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:38:58 +00:00
Assar Westerlund
4e8d3b3ab8 (kadmin_SOURCES): add random_password.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6852 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:37:24 +00:00
Assar Westerlund
ffe2f96b77 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6851 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:51:58 +00:00
Assar Westerlund
7414084387 update list of configure options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6850 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:51:16 +00:00
Assar Westerlund
b856d70a06 (edit_timet): break when we manage to parse the time not the inverse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6849 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:35:31 +00:00
Assar Westerlund
3829eb5133 add parsing of lots of options. From Love <lha@stacken.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6848 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:32:34 +00:00
Assar Westerlund
7c846975b0 update with new names of functions in util
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6847 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:32:05 +00:00
Assar Westerlund
82218a6ea7 add setting of expiration and password expiration
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6846 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:30:44 +00:00
Assar Westerlund
4359bab97a update util.c prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6845 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:29:28 +00:00
Assar Westerlund
d956c8856b move-around. clean-up, rename, make consistent (and some other weird
stuff).  based on patches from Love <lha@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6844 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 20:29:04 +00:00
Assar Westerlund
12ffc04de2 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6843 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 17:27:20 +00:00
Assar Westerlund
5a7f25bfd1 (doit): remember to step over the error message when we discover that
XDELE is not supported


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6842 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 17:26:53 +00:00
Assar Westerlund
cc4be54688 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6841 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 17:18:44 +00:00
Assar Westerlund
6734d1fc8d (kadm_ser_cpw): initialize password
(handle_v4): remove unused variable `ret'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6840 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 17:18:19 +00:00
Assar Westerlund
6da782ab9f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6839 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:42:18 +00:00
Assar Westerlund
d265a2b7b8 (recv_conn): give better error message
(doit_active): don't die if fork gives EAGAIN


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6838 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 15:41:25 +00:00
Johan Danielsson
7b10291769 (recv_conn): call setjob on crays;
(doit_passive): if fork fails with EAGAIN, don't shutdown, just close
the connection
re-implement `-t' flag


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6837 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 14:56:38 +00:00
Johan Danielsson
15171c7b29 (do_login): show issue-file
(send_data): change handling of zero-byte files


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6836 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-19 09:51:22 +00:00
Assar Westerlund
9c6471334e (--enable-new-des3-code): remove
check for `struct addrinfo'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6835 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:34:08 +00:00
Assar Westerlund
00498d48e2 (etypes): remove NEW_DES3_CODE, enable des3-cbc-sha1 and keep
old-des3-cbc-sha1 for backwards compatability


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:33:31 +00:00
Assar Westerlund
927defabec (krb5_enctype): des3-cbc-sha1 (with key derivation) just got assigned
etype 16 by <bcn@isi.edu>.  keep the old etype at 7.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:32:02 +00:00
Assar Westerlund
2cb482ed3b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6832 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 18:16:28 +00:00
Assar Westerlund
c63ae34fd3 (getit): be more suspicious when parsing the result of MDTM. Do the
comparison of timestamps correctly.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6831 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 18:16:05 +00:00
Assar Westerlund
365486cd15 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6830 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:50:22 +00:00
Assar Westerlund
dc2265338a (krb5_sendauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6829 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:52 +00:00
Assar Westerlund
5381567d9b (krb5_recvauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6828 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:22 +00:00
Assar Westerlund
9b9c51c614 (handle_v4): more error checking and more correct error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6827 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:45:34 +00:00
Assar Westerlund
07da4391d7 (v5_loop, kadmind_loop): more error checking and more correct error
messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6826 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:45:03 +00:00
Assar Westerlund
c139c81e0d (proto): don't trust errno if krb5_net_read hasn't returned -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6825 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:43:43 +00:00
Assar Westerlund
f5cb31ea9d ifdef away
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6824 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:42:40 +00:00
Johan Danielsson
517b8fee56 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6823 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:29:19 +00:00
Johan Danielsson
f0140254c2 protect from db-less systems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6822 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:29:14 +00:00
Assar Westerlund
1b26c82957 (proto): only trust errno if krb5_net_read actually returns -1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6821 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:28:19 +00:00
Assar Westerlund
18680dc1b0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6820 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:27:28 +00:00
Assar Westerlund
79c9449c41 (do_read): be careful with the return value from krb5_net_read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6819 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:27:10 +00:00
Assar Westerlund
d00feda10d (proto): be more careful with the return value from krb5_net_read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6818 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:26:25 +00:00
Assar Westerlund
0d957a3741 add missing brace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6817 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-15 23:29:38 +00:00
Johan Danielsson
a8ecc8b4f5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6816 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-14 19:59:58 +00:00
Johan Danielsson
d5fb7c51c7 (crypt_md5): don't use snprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6815 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-14 19:59:54 +00:00
Assar Westerlund
5d2796564b unsigned char makes everything better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6814 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 17:38:38 +00:00
Johan Danielsson
10a983042e err -> errx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6813 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 10:36:52 +00:00
Assar Westerlund
b4ff1ca26f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6812 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:48:31 +00:00
Assar Westerlund
1a13864869 add md5crypt_test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6811 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:48:15 +00:00
Assar Westerlund
bacf81c79f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6810 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:45:42 +00:00
Assar Westerlund
13c835feca new test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6809 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:45:02 +00:00
Assar Westerlund
d54d42eba4 always enable md5 crypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6808 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:44:35 +00:00
Assar Westerlund
5bb182ccbd *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6807 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 00:11:04 +00:00
Assar Westerlund
c899f25ff1 (get_addrs_int): try the different ways sequentially instead of just
one.  this helps if your heimdal was built with v6-support but your
kernel doesn't have it, for example.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6806 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 00:10:08 +00:00
Assar Westerlund
46d5f5c20e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6805 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 22:13:33 +00:00
Assar Westerlund
2d5a5da6a2 (send_data): avoid calling mmap with `len == 0'. Some mmap:s rather
dislike that (Solaris) and some munmap get grumpy later.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6804 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 22:11:54 +00:00