diff options
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.cpp')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index 6cf3c7b..d9794ad 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -579,7 +579,7 @@ void AuthSocket::commandLoop() { // Find the service ID for the specified client library name TQInt32List sidList; m_databaseServiceTypesCursor->select(TQString("client_library='%1'").arg(libname)); - if (m_databaseServiceTypesCursor->next()) { + while (m_databaseServiceTypesCursor->next()) { sidList.append(m_databaseServiceTypesCursor->value("serviceid").toInt()); } if (sidList.empty()) { @@ -636,6 +636,8 @@ void AuthSocket::commandLoop() { updateStatistics(STATISTICS_NEW_CONNECTION_EVENT); + printf("[DEBUG] SERV request using %s:%d for %s and user %s@%s\n\r", m_srvServiceHostName.ascii(), m_srvServicePort, libname.ascii(), m_authenticatedUserName.ascii(), m_authenticatedRealmName.ascii()); fflush(stdout); + if (!m_servClientSocket) m_servClientSocket = new TDEKerberosClientSocket; m_servClientSocket->setServiceName("ulab"); |