Assar Westerlund
50256e4bac
add delegation. From Daniel Kouril <kouril@ics.muni.cz> and Miroslav Ruda <ruda@ics.muni.cz>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:46:11 +00:00
Assar Westerlund
1bf63f3ec7
(login): re-structure code so that we prompt for password for
...
ftp/anonymous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-25 20:59:07 +00:00
Assar Westerlund
fb26f178f9
(login): initialize tmp before calling fgets
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-11 00:18:38 +00:00
Assar Westerlund
c7c7a33ef6
rename all st_mtime variables to avoid conflict with #define.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:25:29 +00:00
Assar Westerlund
85ff7204cc
make sure to always call time, ctime, and gmtime with `time_t's.
...
there were some types (like in lastlog) that we believed to always be
time_t. this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:46:45 +00:00
Assar Westerlund
e41038ec40
(sec_read): more paranoia with return value from sec_get_data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:11:43 +00:00
Assar Westerlund
3462827e80
(guess_domain): handle ai_canonname being set in any of the addresses
...
returnedby getaddrinfo. glibc apparently returns the reverse lookup
of every address in ai_canonname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 07:45:11 +00:00
Assar Westerlund
45d1cde80c
(hookup): handle ai_canonname being set in any of the addresses
...
returnedby getaddrinfo. glibc apparently returns the reverse lookup
of every address in ai_canonname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-08 07:43:47 +00:00
Assar Westerlund
c72c2d46c2
add ftp.1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:11:43 +00:00
Assar Westerlund
cc6883b4ff
(guess_domain): handle ai_canonname not being set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7610 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:49:43 +00:00
Assar Westerlund
db533316bd
(hookup): handle ai_canonname not being set
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7609 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-16 11:49:11 +00:00
Assar Westerlund
4e5422097d
(krb4_auth): the nat-IP address might not be realm bounded.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7554 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-06 17:10:13 +00:00
Assar Westerlund
2459e3441b
(guess_domain): re-write to use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7494 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:03:39 +00:00
Assar Westerlund
7fa11bb3f0
(hookup): re-write to use getaddrinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7493 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-04 18:03:01 +00:00
Johan Danielsson
3ca5f8150f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Johan Danielsson
410b0164e7
do not use krb_get_our_ip_for_realm unless it exists
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 13:04:36 +00:00
Assar Westerlund
30b16f408c
(sec_login): check return value from realloc
...
(sec_end): set app_data to NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7446 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-29 03:16:29 +00:00
Assar Westerlund
01fdca0882
(krb4_auth): obtain the `local' address when doing NAT. also turn on
...
passive mode.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7428 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 05:28:26 +00:00
Assar Westerlund
9becdf9186
(main): getopt returns -1 not EOF. From <art@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7379 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 06:18:02 +00:00
Assar Westerlund
28f55242a2
type corretness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7364 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 04:13:04 +00:00
Assar Westerlund
c39ae1e728
const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7273 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 20:49:10 +00:00
Assar Westerlund
3e6c2ad627
typo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7264 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 19:32:17 +00:00
Johan Danielsson
8c9f896799
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7219 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:24:29 +00:00
Johan Danielsson
d6ff0b7651
(krb4_decode): syslog failure reason
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7218 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:24:18 +00:00
Johan Danielsson
b2a6d401a5
(kauth): set private level earlier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7217 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:23:30 +00:00
Johan Danielsson
9be4739d73
get_command_prot; (sec_prot): partially match command' and
data'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7216 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:22:54 +00:00
Assar Westerlund
7938449553
read fixes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7152 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:31:57 +00:00
Johan Danielsson
888c6e51ea
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7085 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:34:48 +00:00
Johan Danielsson
cfb458bcee
add sec_vfprintf2' and
sec_fprintf2' that prints to the data stream
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7084 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:34:26 +00:00
Johan Danielsson
3dc8cadf0c
(kauth): make sure we're using private protection level
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7079 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:45:27 +00:00
Johan Danielsson
3751b7b4a0
proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7078 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:45:13 +00:00
Johan Danielsson
006660b94a
(set_command_prot): set command protection level
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7077 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:45:04 +00:00
Johan Danielsson
0387e48ba6
make it possible to set the command protection level with `prot'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7076 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:38:38 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +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
f9ae8c45d6
(copy_stream): 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@6803 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-12 22:11:08 +00:00
Assar Westerlund
3cc3529ef8
(active_mode): hide failure of EPRT by setting verbose
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6686 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 12:02:18 +00:00
Assar Westerlund
da4227406b
(gss_auth): initialize application_data in bindings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6684 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-03 11:55:45 +00:00
Assar Westerlund
fea0b36f3c
make it more AF-neutral and v6-capable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6631 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:35 +00:00
Assar Westerlund
c733dca6dc
update to new types of addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6628 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:35:47 +00:00
Assar Westerlund
71100bec1b
add support for both AF_INET and AF_INET6 addresses
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6627 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:35:30 +00:00
Assar Westerlund
7e384219ce
(hookup): change prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6626 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:34:47 +00:00
Assar Westerlund
b2be9f8924
(gss_auth): cast a little tiny bit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6613 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 03:02:35 +00:00
Assar Westerlund
ea5b50af2b
(gss_auth): check return value from `gss_import_name' and print error
...
messages if it fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6611 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 03:00:40 +00:00
Assar Westerlund
7027727a4c
(krb4_auth): type correctness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6322 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-15 03:50:28 +00:00
Johan Danielsson
91d5f79e1c
(sendrequest): lmode != rmode
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6289 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-02 20:12:22 +00:00
Assar Westerlund
1d57593edc
(sendrequest): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6260 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:21:51 +00:00
Assar Westerlund
833401b4db
update calls to sendrequest and recvrequest to send "b" when
...
appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6259 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:21:21 +00:00
Assar Westerlund
cf9ae9ec30
(sendrequest): add argument for mode to open file in.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6258 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 09:20:10 +00:00
Assar Westerlund
37e8a646a5
(makeargv): fill in unused slots with NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6158 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-08 02:22:09 +00:00