Commit Graph

190 Commits

Author SHA1 Message Date
Assar Westerlund
b87cd3002c (pass): chown the ticket file is logging in with clear-text passwords
and using kerberos


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3358 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-03 16:32:02 +00:00
Assar Westerlund
18f26516eb removed bogus reset of `debug'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3039 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 07:26:10 +00:00
Assar Westerlund
daed744f7f Initialize the `lasts' to NULL before calling strtok_r the first time.
With our strtok_r it's not necessary, but the man-page on SGIs says it
should be done.

Be more careful with the return value from strtok_r


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1789 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 03:13:48 +00:00
Johan Danielsson
df6707a883 Fix SIGURG bug.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1784 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-29 18:22:08 +00:00
Assar Westerlund
3d638b4de6 (retrieve): file must exist to apply a command to it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1771 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 13:49:00 +00:00
Assar Westerlund
6d38183c86 (retrieve): Generalise list of commands and basename argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1770 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 13:36:39 +00:00
Björn Groenvall
4b6d3e99e6 Made things compile with socks5-v1.0r1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1748 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 18:40:42 +00:00
Assar Westerlund
8c7ac77dc7 use `alloc_buffer'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1732 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-18 20:01:14 +00:00
Assar Westerlund
327a4d2bd9 added __attribute__ ((format (printf)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 11:04:38 +00:00
Assar Westerlund
1470b65bba use MAP_FAILED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1705 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 09:59:05 +00:00
Assar Westerlund
5bc01fea42 implement a usage function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1694 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 06:08:27 +00:00
Assar Westerlund
a7a170c9d6 include krb.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1690 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 04:08:58 +00:00
Johan Danielsson
63830eb135 Moved set_buffer_size to common.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1679 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 18:00:44 +00:00
Johan Danielsson
e1f4d82f47 Changed checkaccess to make no file mean `allow'. Added shell matching
to names (if fnmatch is available).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1676 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 17:50:54 +00:00
Assar Westerlund
2a4375828c always cast to (long) before printing out an `off_t'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1674 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 02:20:56 +00:00
Assar Westerlund
dc612d68a1 typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1667 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-06 01:36:42 +00:00
Assar Westerlund
cda9873e15 fix for mmap and restart_point
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1666 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-05 22:21:20 +00:00
Assar Westerlund
dd02a92a8b replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
85ed18dbb3 Use TIME_WITH_SYS_TIME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1601 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-20 05:51:30 +00:00
Johan Danielsson
0d742998e7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1595 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-19 23:33:18 +00:00
Johan Danielsson
8f06ba85e7 Incorporate /etc/ftpusers changes from NetBSD. Handle oob-stuff better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1593 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-19 21:41:50 +00:00
Assar Westerlund
8a64dd5370 Set `byte_count' even when using mmap.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1377 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-12 16:01:54 +00:00
Assar Westerlund
a7955e78a0 Log foreign IP address together with hostname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1376 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-12 14:29:37 +00:00
Assar Westerlund
4a1d6c79a1 New option `-g umask' for specifying the umask for anonymous users.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1255 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-25 13:25:16 +00:00
Assar Westerlund
57a4250da0 conditionalize SIGURG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1254 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-25 13:15:13 +00:00
Björn Groenvall
e60914acca Made things compile under SunOS4 again.
Fix lots of warnings under SunOS4.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1201 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-27 14:08:08 +00:00
Assar Westerlund
7a4e4936b1 conditional getsockopt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1189 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-26 19:34:04 +00:00
Johan Danielsson
7030f471c4 Possible fix for lost characters.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-17 18:24:02 +00:00
Johan Danielsson
136e10306b Get afs-tokens when logging in with password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1088 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-09 21:16:53 +00:00
Johan Danielsson
27ad7d45c3 test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1087 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-09 21:15:58 +00:00
Assar Westerlund
e5a0fdfb0e Renamed delete' and store' to do_delete' and do_store' to avoid
conflict with DBM-functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-21 20:02:54 +00:00
Assar Westerlund
94cb9a93ac got rid of lots of stupid casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
99f492acf0 careful not to thrust h_length from gethostby{name,addr}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1056 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 21:56:12 +00:00
Assar Westerlund
9b4664e29e Use k_getpw{name,uid} and strtok_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1051 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 04:16:50 +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
Johan Danielsson
2de4d60b80 Change default auth level to what was formerly known as `user'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1010 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 05:18:36 +00:00
Johan Danielsson
513527169b Orthogonalize arguments to -a
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1008 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 04:34:25 +00:00
Assar Westerlund
b7ac6b631d constants for the different auth levels.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@988 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-16 19:12:09 +00:00
Assar Westerlund
fadac636c7 Full OTP support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@979 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-16 17:52:53 +00:00
Assar Westerlund
b5852d51fe less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@908 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-27 23:52:16 +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
fd95bc6220 New option `-a otp' to allow OTPs but no ordinary passwords in cleartext.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@888 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 05:56:18 +00:00
Assar Westerlund
edb66c9354 SOCKS-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Assar Westerlund
c35ff6d8de (retrieve): Got rid of `sprintf'.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@831 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-06 17:27:41 +00:00
Assar Westerlund
f4d6b72bfa (retrieve): Cut the argument to the command and the first character of
the extension.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@819 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-30 16:57:09 +00:00
Assar Westerlund
d42f6b062a Only call `filename_check' for guest users.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@811 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-30 02:03:34 +00:00
Assar Westerlund
f27321a1d6 add more #ifdef before #include-ing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@805 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 23:40:23 +00:00
Johan Danielsson
2978c06cdb Umask 777 for anonymous.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@803 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 05:33:25 +00:00
Johan Danielsson
dcb642953d Get locatedb from ~ftp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@799 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-29 03:55:30 +00:00