summaryrefslogtreecommitdiffstats
path: root/src/kdc
diff options
context:
space:
mode:
authorWill Fiveash <will.fiveash@oracle.com>2006-10-30 20:56:57 +0000
committerWill Fiveash <will.fiveash@oracle.com>2006-10-30 20:56:57 +0000
commit7a1eed0316aa8a408b4583be0a42d002e08be0d5 (patch)
treeca6c2b3ffd02ace07839f8097340bfde9ab2b0bc /src/kdc
parent63cec6a81382e50e5e3e57f8e34bc3b95cdccb57 (diff)
downloadkrb5-7a1eed0316aa8a408b4583be0a42d002e08be0d5.tar.gz
krb5-7a1eed0316aa8a408b4583be0a42d002e08be0d5.tar.xz
krb5-7a1eed0316aa8a408b4583be0a42d002e08be0d5.zip
latest Novell ldap patches and kdb5_util dump support for ldap
I've applied Novell's latest patches for their LDAP KDB plugin. I've also implemented and tested support for kdb5_util dump using the LDAP KDB plugin. I also added a Sun copyright on files that I've modified. ticket: new Target_Version: krb5-1.6 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18750 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kdc')
-rw-r--r--src/kdc/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kdc/main.c b/src/kdc/main.c
index 3cd546f3a..282d418af 100644
--- a/src/kdc/main.c
+++ b/src/kdc/main.c
@@ -382,10 +382,13 @@ setup_signal_handlers(void)
(void) sigaction(SIGTERM, &s_action, (struct sigaction *) NULL);
s_action.sa_handler = request_hup;
(void) sigaction(SIGHUP, &s_action, (struct sigaction *) NULL);
+ s_action.sa_handler = SIG_IGN;
+ (void) sigaction(SIGPIPE, &s_action, (struct sigaction *) NULL);
#else /* POSIX_SIGNALS */
signal(SIGINT, request_exit);
signal(SIGTERM, request_exit);
signal(SIGHUP, request_hup);
+ signal(SIGPIPE, SIG_IGN);
#endif /* POSIX_SIGNALS */
return;