|
|
@ -669,6 +669,21 @@ void AuthSocket::commandLoop() {
|
|
|
|
|
|
|
|
|
|
|
|
if (!m_servClientSocket) m_servClientSocket = new TDEKerberosClientSocket;
|
|
|
|
if (!m_servClientSocket) m_servClientSocket = new TDEKerberosClientSocket;
|
|
|
|
m_servClientSocket->setServiceName("ulab");
|
|
|
|
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->setServerFQDN(m_srvServiceHostName);
|
|
|
|
m_servClientSocket->connectToHost(m_srvServiceHostName, m_srvServicePort);
|
|
|
|
m_servClientSocket->connectToHost(m_srvServiceHostName, m_srvServicePort);
|
|
|
|