diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index ddaf902..cf68f9e 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -669,6 +669,21 @@ void AuthSocket::commandLoop() { if (!m_servClientSocket) m_servClientSocket = new TDEKerberosClientSocket; m_servClientSocket->setServiceName("ulab"); + + TQStringList mechList; + m_config->setGroup("SASL"); + mechList = TQStringList::split(" ", m_config->readEntry("allowed_mechanisms"), false); + if (mechList.count() > 0) { + m_servClientSocket->setAllowedMechanisms(mechList); + } + mechList = TQStringList::split(" ", m_config->readEntry("disallowed_mechanisms"), false); + if (mechList.count() > 0) { + m_servClientSocket->setDisallowedMechanisms(mechList); + } + mechList = TQStringList::split(" ", m_config->readEntry("override_mechanism_list"), false); + if (mechList.count() > 0) { + m_servClientSocket->setMechanismOverrideList(mechList); + } m_servClientSocket->setServerFQDN(m_srvServiceHostName); m_servClientSocket->connectToHost(m_srvServiceHostName, m_srvServicePort);