Added check for Kerberos availability
SVN revision: 2492
This commit is contained in:
1 parent
a8812f0c77
commit
b9c76ad18a
1 file changed
+9
@@ -28806,6 +28806,15 @@ void server_loop(void)
|
||||
if (!is_verbose() && !running_as_daemon)
|
||||
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 */
|
||||
status = listen(lsock, SOMAXCONN);
|
||||
if (status < 0) {
|
||||
|
||||
Reference in new issue
Block a user