[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Kerberos authentication and High availability
- To: firstname.lastname@example.org
- Subject: Kerberos authentication and High availability
- From: "Mustafa A. Hashmi" <email@example.com>
- Date: Wed, 14 Mar 2007 12:59:09 +0500
- DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=dhbdFJ+F9HtO6MlGVGWUo8P1POhZa5NSf0PTUl5eK4gxiS+qCw4Duo5GoCJIlvPAJrsZ71F+iqUe/NtfobfJExUzxw7GOG3AM9+rTkrh1W/HV8wRUIskNk9QLKlf8BrI5LvGvPYrxdfF2iOgyF0mTfkUK/7oTIuWVbXubIugZ/8=
- DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KTklDkknWQp+lgaSV3U4W+7UZ4ar1xQtPE9v+TD7xCg5bPZQao8sT/p653DLeiwQtRkynV7zH9HEs/pvKCTSw/L3d4w7ET0VE9JNLyjUdt+YhgTX1Z6UqQLFS15DfHsYEi69J1HevkjtVjTx2NCWNVD0LefU7SwzLJR+KKNVC1Y=
- Sender: firstname.lastname@example.org
I am looking for general feedback here from people running kerberized services behind linux-ha. This is of course not relevant to Heimdal directly, however, I am hoping people with similar setups can clear a few questions for me.
When a user request comes in to a linux-ha load balancer, for say 'imap' or 'pop', and the authentication mechinism used is GSSAPI, the load balancer redirects the request to an internal server. As an example, our organization has 2 mail servers which are sitting behind linux-ha. Clients connect to the hostname '
mail.domain.com', which reverses back to the IP 10.10.10.2.
The actual target server IPS are 10.10.10.5 and
10.10.10.6, with the hostnames node5.domain.com and node6.domain.com. The keytabs exported for the mail service hence house the service principals imap/node5.domain.com (and so on).
When a reverse look-up is done on the IP, the result is a mismatch on the hostname. I've had a few discussions where I have been informed that one approach to a resolve is to have the service scan through all keytab entries. This would in turn require modifications to say the imap/pop authentication service. As an example, one of the authors of Stanford's Webauth sent me a patch which does this for apache's kerberos module.
Is this the correct approach? Should our services ensure that all keytab entries for the relevant service are scanned before rejecting authentication?
I appreciate any feedback or hits on the head with a clue stick here.
Mustafa A. Hashmi