Commit Graph

250 Commits

Author SHA1 Message Date
Assar Westerlund
fe3634e894 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7093 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 19:53:52 +00:00
Johan Danielsson
3ad4c651ff remove extra \
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7081 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:49:00 +00:00
Assar Westerlund
6f070d95ce (add_one_principal): `password' can cactually be NULL in the overwrite
code, check for it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7070 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-01 15:16:41 +00:00
Assar Westerlund
3955d77827 link kadmind with -ldl when needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7069 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-01 13:05:21 +00:00
Assar Westerlund
f28dc33f8e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7035 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-26 15:55:14 +00:00
Johan Danielsson
61ed4a74b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6990 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 14:06:36 +00:00
Assar Westerlund
6fe7d4b04e (mod_entry): print the correct principal name in error messages. From
Love <lha@e.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6988 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-20 09:47:19 +00:00
Assar Westerlund
d3f5d79294 strc{py,at}_truncate -> strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Assar Westerlund
608c73311d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6919 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:10:43 +00:00
Assar Westerlund
031dacdae9 (init): also create `changepw/kerberos'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6918 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:10:35 +00:00
Assar Westerlund
df81f93b21 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6917 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:06:35 +00:00
Assar Westerlund
a753c13a19 only create you loose packets when we fail decoding and not when an
operation is not performed for some reason
(decode_packet): read the service key from the hdb
(dispatch, decode_packet): return proper error messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:06:25 +00:00
Assar Westerlund
89e4ffd144 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6915 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:21:13 +00:00
Assar Westerlund
6702fc4ce1 (kadm_ser_cpw): add password quality functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6913 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:20:15 +00:00
Johan Danielsson
ff4739d93c (handle_v5): give more informative message if KRB5_KT_NOTFOUND
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6885 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:23:26 +00:00
Johan Danielsson
2d5a5c1c31 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6883 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:07:23 +00:00
Johan Danielsson
2773d72986 use HDB keytabs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6873 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-26 13:09:56 +00:00
Assar Westerlund
228bfbf22c *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6866 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-24 23:28:36 +00:00
Assar Westerlund
19e96f8094 (set_password): use correct variable. From Love <lha@e.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6865 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-24 23:28:07 +00:00
Assar Westerlund
ab1f32ffef (v5_loop): use correct error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6864 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-24 23:27:10 +00:00
Assar Westerlund
269432f82f (add_one_principal): initialize `default_ent'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6863 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-24 23:26:17 +00:00
Assar Westerlund
dd257d2932 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6856 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:41:36 +00:00
Assar Westerlund
0861e647da steal from krb4 and fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6855 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:40:19 +00:00
Assar Westerlund
eb90d1b03d add prorotype for random_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6854 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:39:31 +00:00
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
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
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
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
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
fd8074f16b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6504 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:11:03 +00:00
Assar Westerlund
92f49acdf2 (str2timeval, edit_time): functions for parsing and editing times.
Based on patches from Love <lha@stacken.kth.se>.
(edit_entry): call new functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6503 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:10:49 +00:00
Assar Westerlund
3a86ded924 (mod_entry): allow modifying expiration times
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6502 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:10:07 +00:00
Assar Westerlund
319a2fe4bd (str2timeval): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6501 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:09:49 +00:00
Assar Westerlund
be29622761 (add_one_principal): allow setting expiration times
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6500 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-23 22:09:33 +00:00
Assar Westerlund
bb654ec67a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6406 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:43:02 +00:00
Assar Westerlund
7c193baf6f (v5_loop): handle data allocation with krb5_data_alloc and check
return value


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6390 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:23:42 +00:00
Assar Westerlund
4e9c30f29a *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6369 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 17:59:55 +00:00
Assar Westerlund
579b6dce9d (kadm_ser_cpw): read the key in the strange order it's sent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6368 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 17:56:43 +00:00
Assar Westerlund
03805d1c42 (values_to_ent): ntohl key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6362 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 15:00:08 +00:00
Assar Westerlund
0d49ab4e1f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6359 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:43:31 +00:00
Assar Westerlund
6f45b38721 (edit_entry): look at default
(edit_time): always set mask even if value == 0


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6356 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-23 12:39:19 +00:00