Assar Westerlund
92e24cae77
add roken.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:17:20 +00:00
Assar Westerlund
ea12077d2b
swap order of includes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9078 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:16:44 +00:00
Assar Westerlund
98156296f2
remove some ifdef GNUC of attributes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9077 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:16:23 +00:00
Johan Danielsson
79e18ed80a
change redundant password message to something people can understand
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-31 06:08:49 +00:00
Assar Westerlund
5f648d3799
use socklen_t where appropriate instead of int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Assar Westerlund
3db67e5f96
remove unused variable
...
fix end of comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 15:28:13 +00:00
Assar Westerlund
d4836e5a66
(gss_userok): only do AFS iff KRB4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:49:56 +00:00
Assar Westerlund
7cef44466a
(krb5_verify): only do AFS stuff if KRB4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:39:30 +00:00
Assar Westerlund
09a33f1b3c
do not call setproctitle with a variable as the format string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-06 23:59:56 +00:00
Assar Westerlund
44f179f427
krb5.h before kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 19:12:54 +00:00
Assar Westerlund
431f160b1e
(krb5_verify): static-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 19:12:23 +00:00
Assar Westerlund
5700b02c69
(krb5_verify): conditionalize on KRB5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-01 13:48:13 +00:00
Assar Westerlund
6fdb2be164
(dologout): add #endif
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-29 04:02:23 +00:00
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
ab3e6a4ead
support for authenticating user with krb5. From Daniel Kouril <kouril@ics.muni.cz>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:41:09 +00:00
Johan Danielsson
2392cd7bc2
change unix test to be negative
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 14:24:14 +00:00
Assar Westerlund
b360b2499d
remove unused variables
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-29 16:51:40 +00:00
Assar Westerlund
94f3bfaaaf
(args): should use `debug'. From Onno van der Linden
...
<onno@simplex.nl >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-18 00:27:58 +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
c4c623ae05
(make_fileinfo): 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@8067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:47:59 +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
Johan Danielsson
2d6b3bbc99
call list_file for broken usages of nlst too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-09 14:02:16 +00:00
Assar Westerlund
83a479f198
add man pages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 15:13:05 +00:00
Johan Danielsson
e2e63ad12b
free some memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:48:58 +00:00
Johan Danielsson
37491685e5
add /etc/issue{,.net}
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:38 +00:00
Johan Danielsson
ecfb13fe6c
some cleanup:
...
* pass `--' to all programs after args
* use `show_file' to output contents of various files
* use built-in ls if there is no external
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-05 13:46:04 +00:00
Assar Westerlund
f8546e0754
don't use sa_len as a parameter, it's defined on Irix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7657 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 17:55:56 +00:00
Johan Danielsson
7e882f58c1
(dataconn): make sure from points to actual data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7649 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 12:02:35 +00:00
Assar Westerlund
d0c80517a5
(dolog): update prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7533 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 12:56:47 +00:00
Assar Westerlund
c2b9f6c147
(dolog): use getnameinfo_verified
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7525 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 10:53:06 +00:00
Assar Westerlund
fe81c21fd5
replace inaddr2str by getnameinfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7516 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-05 00:19:04 +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
Assar Westerlund
8dd25ed0b9
(getdatasock): make sure to keep the port-number of the outgoing
...
connections. It has to be `ftp-data' or some people might get upset.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7455 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 19:18:38 +00:00
Assar Westerlund
f331fef9a4
(args): set correct variable when `-l' so that logging actually works
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7451 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-30 15:58:06 +00:00
Assar Westerlund
e93c46c31d
(make_fileinfo): cast to allow for non-const prototypes of readlink
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7416 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-20 20:49:41 +00:00
Assar Westerlund
b58531efe4
(args): use arg_counter for `l'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7355 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 15:59:42 +00:00
Assar Westerlund
9257b9f7f5
(S_ISSOCK, S_ISLNK): fallback definitions for systems that don't have
...
them (such as ultrix)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7313 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 04:52:56 +00:00
Assar Westerlund
b13b9064ff
foo const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7294 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:22:38 +00:00
Assar Westerlund
a42059f379
(list_file): correct prototype
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7293 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-01 04:20:38 +00:00
Assar Westerlund
cb5017700f
(make_fileinfo): cast uid's and gid's to unsigned in printf, we don't
...
know what types they might be.
(lstat_file): conditionalize the kafs part on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7284 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:20:20 +00:00
Assar Westerlund
5fb424fe88
<sys/ioccom.h> is needed for kafs.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7283 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-29 21:19:20 +00:00
Assar Westerlund
2f07ab5e2c
some const-ing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7260 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 18:56:47 +00:00
Assar Westerlund
c2b6deeb65
one \n -> \r\n
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7251 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:19:07 +00:00
Assar Westerlund
0c1544c4b7
(lstat_file): don't set st_mode, it should already be correct
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7250 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:18:06 +00:00
Assar Westerlund
b4d06166a8
don't use warnx to print errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7249 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:16:19 +00:00
Assar Westerlund
61033609cd
(builtin_ls): fix typo, 'd' shouldn't imply 'f'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7247 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 00:01:15 +00:00
Assar Westerlund
9a50a06129
(lstat_file): new function for avoiding stating AFS mount points.
...
From Love <lha@s3.kth.se >
(list_files): use `lstat_file'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7245 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:53:33 +00:00
Assar Westerlund
408574f1b0
some const-poisoning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:51:52 +00:00
Assar Westerlund
4e75081dcf
(args): add -B' as an alias for
--builtin-ls' to allow for stupid
...
inetds that only support two arguments. From Love <lha@s3.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7243 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-27 23:28:43 +00:00
Assar Westerlund
dec6af64d5
(help): it's unnecessary to interpret help strings as printf commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7234 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:56:23 +00:00