summaryrefslogtreecommitdiff
path: root/security/krb5-17/files/patch-ai
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1998-07-06 18:59:06 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1998-07-06 18:59:06 +0000
commit6b7ea58f15a89a2cb1b6d5e55fb3b8345e0435a9 (patch)
treeab3f0bb86a7932f6a9926cf3286a8705a429f3ac /security/krb5-17/files/patch-ai
parentChange CATEGORIES to ``databases''. (diff)
Additional patches (already committed to krb5-current):
* Paths corrected in applications * ftpd now logs to facility LOG_FTP * use openpty to obtain pseudo-terminal * corrected detection of TCL libraries * fix a forwarding bug * add -m flag to ksu (preserve USER, HOME, SHELL) * cosmetic bug fix to telnet.c Submitted by: Dima Ruban <dima@best.net>
Notes
Notes: svn path=/head/; revision=11768
Diffstat (limited to 'security/krb5-17/files/patch-ai')
-rw-r--r--security/krb5-17/files/patch-ai25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/krb5-17/files/patch-ai b/security/krb5-17/files/patch-ai
new file mode 100644
index 000000000000..5eacca9caf86
--- /dev/null
+++ b/security/krb5-17/files/patch-ai
@@ -0,0 +1,25 @@
+*** appl/gssftp/ftpd/ftpd.c.ORIG Fri Feb 6 19:41:25 1998
+--- appl/gssftp/ftpd/ftpd.c Tue Jun 30 19:46:01 1998
+***************
+*** 374,380 ****
+ #ifndef LOG_DAEMON
+ #define LOG_DAEMON 0
+ #endif
+! openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_DAEMON);
+ addrlen = sizeof (his_addr);
+ if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) {
+ syslog(LOG_ERR, "getpeername (%s): %m",argv[0]);
+--- 374,386 ----
+ #ifndef LOG_DAEMON
+ #define LOG_DAEMON 0
+ #endif
+!
+! #ifndef LOG_FTP
+! #define FACILITY LOG_DAEMON
+! #else
+! #define FACILITY LOG_FTP
+! #endif
+! openlog("ftpd", LOG_PID | LOG_NDELAY, FACILITY);
+ addrlen = sizeof (his_addr);
+ if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) {
+ syslog(LOG_ERR, "getpeername (%s): %m",argv[0]);