diff options
author | Ken Raeburn <raeburn@mit.edu> | 2009-01-28 05:42:11 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2009-01-28 05:42:11 +0000 |
commit | 42d5c09f9dfa7dff5e0cdfce4bea846107fe8e2f (patch) | |
tree | bb54c076c8826310366501c3f6694e808d85a2cc /src/appl | |
parent | f48772eb3e20a35c41c4e71142777f43fbca04e0 (diff) | |
download | krb5-42d5c09f9dfa7dff5e0cdfce4bea846107fe8e2f.zip krb5-42d5c09f9dfa7dff5e0cdfce4bea846107fe8e2f.tar.gz krb5-42d5c09f9dfa7dff5e0cdfce4bea846107fe8e2f.tar.bz2 |
no more -r option for setting krb.conf path
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21819 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/gssftp/ftpd/ftpd.M | 6 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 6 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/appl/gssftp/ftpd/ftpd.M b/src/appl/gssftp/ftpd/ftpd.M index 33fc1d9..5cdc9b3 100644 --- a/src/appl/gssftp/ftpd/ftpd.M +++ b/src/appl/gssftp/ftpd/ftpd.M @@ -122,12 +122,6 @@ file to use. The default value is normally \fB\-u\fP \fIumask\fP Sets the umask for the ftpd process. The default value is normally 027. .TP -\fB\-r\fP \fIrealm-file\fP -Sets the name of the -.I krb.conf -file to use. The default value is normally set by -.IR /etc/krb5.conf . -.TP \fB\-w \fP{\fBip\fP|\fImaxhostlen\fP[\fB,\fP{\fBstriplocal\fP|\fBnostriplocal\fP}]} Controls the form of the remote hostname passed to login(1). Specifying \fBip\fP results in the numeric IP address always being diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 69f7ac3..71e9855 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -276,7 +276,7 @@ main(argc, argv, envp) int addrlen, c, on = 1, tos, port = -1; extern char *optarg; extern int optopt; - char *option_string = "AaCcdElp:r:T:t:U:u:vw:"; + char *option_string = "AaCcdElp:T:t:U:u:vw:"; ftpusers = _PATH_FTPUSERS_DEFAULT; debug = 0; @@ -334,10 +334,6 @@ main(argc, argv, envp) port = atoi(optarg); break; - case 'r': - setenv("KRB_CONF", optarg, 1); - break; - case 't': timeout = atoi(optarg); if (maxtimeout < timeout) |