mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added check for Kerberos availability
SVN revision: 2492
This commit is contained in:
parent
a8812f0c77
commit
b9c76ad18a
@ -28806,6 +28806,15 @@ void server_loop(void)
|
|||||||
if (!is_verbose() && !running_as_daemon)
|
if (!is_verbose() && !running_as_daemon)
|
||||||
eputs("done");
|
eputs("done");
|
||||||
|
|
||||||
|
#ifndef HAVE_KRB5
|
||||||
|
/* check for Kerberos authentication */
|
||||||
|
getcfg("gloabl", "Authentication", str, sizeof(str));
|
||||||
|
if (stristr(str, "Kerberos")) {
|
||||||
|
eprintf("Kerberos authentication not compiled into this version of elogd.\n");
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* listen for connection */
|
/* listen for connection */
|
||||||
status = listen(lsock, SOMAXCONN);
|
status = listen(lsock, SOMAXCONN);
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user