printf("[WARNING] Attempt was made to change application name after initial Kerberos connection was tried. Application name was NOT changed!\n\r");fflush(stdout);
printf("[WARNING] Attempt was made to change application name after initial Kerberos connection was tried. Application name was NOT changed!\n\r");fflush(stdout);
printf("[DEBUG] Connection from %s closed due to authentication failure (attempted connection as user %s@%s)\n\r",m_remoteHost.ascii(),masterUser.ascii(),masterRealm.ascii());
close();
return;
}
TQDataStreamds(this);
TQDataStreamds(this);
ds<<TQString("OK");
ds<<TQString("OK");
return0;
enterCommandLoop();
return;
}
}
else{
else{
return-1;
printf("[DEBUG] Connection from %s closed due to Kerberos failure\n\r",m_remoteHost.ascii());fflush(stdout);
printf("[DEBUG] Connection from %s closed due to authentication failure (attempted connection as user %s@%s)\n\r",s->m_remoteHost.ascii(),masterUser.ascii(),masterRealm.ascii());
printf("[DEBUG] Connection from %s closed due to authentication failure (attempted connection as user %s@%s)\n\r",m_remoteHost.ascii(),masterUser.ascii(),masterRealm.ascii());
close();
return;
}
if(setupSerial()!=0){
printf("[DEBUG] Connection from %s closed due to serial port initialization failure\n\r",m_remoteHost.ascii());
close();
return;
}
TQDataStreamds(this);
TQDataStreamds(this);
ds<<TQString("OK");
ds<<TQString("OK");
return0;
enterCommandLoop();
return;
}
}
else{
else{
return-1;
printf("[DEBUG] Connection from %s closed due to Kerberos failure\n\r",m_remoteHost.ascii());fflush(stdout);
printf("[DEBUG] Connection from %s closed due to authentication failure (attempted connection as user %s@%s)\n\r",s->m_remoteHost.ascii(),masterUser.ascii(),masterRealm.ascii());
ABORT_SOCKET(s)
return;
}
if(s->setupSerial()!=0){
printf("[DEBUG] Connection from %s closed due to serial port initialization failure\n\r",s->m_remoteHost.ascii());