Love Hörnquist Åstrand
8c7c8ea323
fix shadow warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:19:33 +00:00
Love Hörnquist Åstrand
70e4fce904
Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support).
...
Support klist in client for kerberos 5 clase.
Clean up delegation of gss tokens and do afslog.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:11 +00:00
Love Hörnquist Åstrand
bb46111aad
(mget): cast char to unsigned char to make sure its not negative when
...
passing it to tolower
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:45:12 +00:00
Love Hörnquist Åstrand
a9cb9acffa
MacOS is also a unix that doesn't define __unix__/unix
...
While here, rewrite this part of the function to not modify that
string, but rather take a copy of it and them modify is, all this just
to pacify gcc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 18:16:00 +00:00
Love Hörnquist Åstrand
54fc57ccb5
s/des_read_pw_string/UI_UTIL_read_pw_string/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:37:03 +00:00
Assar Westerlund
98a8b2f4c6
add some (unsigned char) casts to is*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-05 06:39:29 +00:00
Assar Westerlund
a07b759178
(setpeer): __NetBSD__ is also a unix-like OS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-05 00:55:56 +00:00
Assar Westerlund
b3e42a41d3
(setpeer): handle both service names and port numbers for the second
...
optional argument. also make parsing more robust
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:17:09 +00:00
Johan Danielsson
0044c0e5a9
add some braces to make gcc happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-18 10:00:31 +00:00
Assar Westerlund
8f89435673
update prototype for signal handlers to RETSIGTYPE (*)(int)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 12:08:04 +00:00
Assar Westerlund
c5debbcc33
update prototype for signal handlers to RETSIGTYPE (*)(int)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 12:06:01 +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
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
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
Johan Danielsson
8c7b6af353
(quote1): fix % quoting bug
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5141 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-09-01 14:56:31 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
3722f46d6f
Changes for new merged security stuff.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4670 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 02:56:10 +00:00
Johan Danielsson
3cd6c35b7b
All files containing ../ should be considerd suspicious.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3824 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-07 19:51:54 +00:00
Björn Groenvall
920afeb689
stncmp --> strncmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3821 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-07 15:22:28 +00:00
Johan Danielsson
c0b882457d
Move confirmation of suspicious filenames from remglob to mget.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3813 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-06 22:46:55 +00:00
Johan Danielsson
b4f96b1559
(remglob) Use while-loop.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3810 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-06 22:03:22 +00:00
Assar Westerlund
e2f6dce4b0
(getit): removed stupid goto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3808 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-06 21:42:30 +00:00
Johan Danielsson
6ed1298d81
Don't retrieve files that start with ..' or
/' without asking.
...
Reverse test in confirm() to check for `y' rather than not `n'. Use
mkstemp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3807 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-06 19:44:24 +00:00
Johan Danielsson
a062a1f934
Add extra arguments to recvrequest.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3805 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-06 17:52:28 +00:00
Assar Westerlund
f857b2866a
replace _PATH_TMP with _PATH_TMP_XXX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 22:52:37 +00:00
Assar Westerlund
5d51ed8f10
(setpeer): Check for `__unix'. This is (apparently) a standard with
...
many representations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1772 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 14:38:27 +00:00
Assar Westerlund
637efd01b9
handle some pseudo-unix defines as well.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1693 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 06:07:59 +00:00
Assar Westerlund
cd0bc860f8
correct call to `waitpid'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1549 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-05 22:06:14 +00:00
Johan Danielsson
6901229de9
Fix some bugs and typos.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1547 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-05 21:01:41 +00:00
Assar Westerlund
67096ebcd1
()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1530 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-30 18:57:19 +00:00
Assar Westerlund
6202f22614
removed all stupid (void)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Björn Groenvall
0bcddc9caf
Fix warnings, remove unused variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@970 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-15 18:39:27 +00:00
Assar Westerlund
aaafb2bf9c
less warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 21:41:16 +00:00
Björn Groenvall
3e317bb818
Fix copyright.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@893 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-26 16:05:04 +00:00
Assar Westerlund
a95bae9e0a
All signal handlers return RETSIGTYPE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@712 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-03 18:04:46 +00:00
Assar Westerlund
bc529497cb
Removed unused variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@710 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 22:48:11 +00:00
Assar Westerlund
b0f6df58d7
Added lots of Id:s
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@689 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-26 22:48:24 +00:00
Johan Danielsson
c864ab5ede
Remove use of getpass().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@612 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-07-25 22:59:28 +00:00
Assar Westerlund
87eaafe07a
Support longer passwords when retrying login.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-15 21:22:05 +00:00
Johan Danielsson
446b212817
Use MaxHostNameLen and MaxPathLen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@536 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-13 02:07:52 +00:00
Assar Westerlund
aea2aad5e8
Use local servent.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@491 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-05 04:37:07 +00:00
Unknown User d91-jda
4a1ebcf888
Stop encrypting on quit.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@488 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-05 03:58:28 +00:00
Assar Westerlund
279e4359fe
less warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@483 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-04 23:58:00 +00:00
Unknown User d91-jda
5512da53cf
Patch for Linux.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@399 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-18 00:05:25 +00:00
Unknown User d91-jda
d796b39576
Fixes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@395 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-17 04:08:31 +00:00
Unknown User d91-jda
fae6f2292a
Now compiles on alpha
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@386 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-06 06:37:59 +00:00
Unknown User d91-jda
ddec2e194e
FTP client from NetBSD
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@385 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-06 03:42:53 +00:00