Three items are key for automatic Office Communicator sign-in to work in an OCS 2007 environment:
- Specifying the correct FQDN in DNS for the SRV record used for automatic sign-in.
- Ensuring the correct Subject Name (and possibly Subject Alternative Names) are specified on the OCS certificate where the client connects (e.g. the certificate on the Front-End or Director role).
- Ensuring that the Certificate Authority that issued the certificate is trusted by the client.
In my experience, Office Communicator sign-in issues are usually caused by one of these settings not being correct.
I’ll explore each of these requirements in seperate blog posts. I’ll start now with the first: specifying the correct FQDN in DNS for the SRV record.
At a high-level, when an Office Communicator client is configured for automatic sign-in, it goes through the following steps to obtain an IP address to connect to:
- A query is made to DNS (against the DNS server configured on the Windows client) for an SRV record associated with the SIP domain of the SIP address for the user attempting to sign-in. The SRV record must be of a particular format. See my previous blog post on what the format of the DNS record should be. The SIP domain is the right-hand-side of the user’s SIP address (e.g. example.com for the SIP address user@example.com).
- The successful DNS query returns two key pieces of information: a fully-qualified domain name (FQDN) and a Port.
- The client then does a DNS A record lookup on the FQDN to get an IP address associated with the FQDN.
- The Communicator client attempts a connection to the IP address and Port.
Note: if the Communicator client is not configured for automatic sign-in, it just uses the DNS A record for the FQDN (or hostname) configured directly in the client. Also, if no SRV records are found, Communicator tries several DNS host (A record) lookups (see my previous blog post for the specific formats).
What FQDN should be listed for the DNS SRV record? Depending on your environment, this could be the FQDN of an OCS Front-End, a Director, or the Virtual IP (VIP) of a load balancer. The table below answers the most common scenarios.
TABLE 1: WHAT SHOULD THE AUTOMATIC SIGN-IN DNS SRV RECORD POINT TO?
|
Pool Type |
With Director |
With HLB |
DNS SRV FQDN |
DNS (A) Record |
|
Standard Edition Server |
Front-End Server |
IP of Front-End |
||
| “” | YES |
Director |
IP of Director |
|
|
Consolidated Enterprise Pool |
Pool |
IP of Front-End in Pool |
||
| “” |
YES |
Director (1) |
IP of Director |
|
| “” |
YES |
Pool |
Internal VIP of HLB |
|
|
Expanded Enterprise Pool |
YES |
Pool |
Internal VIP of HLB |
|
| “” |
YES |
Director (1) |
IP of Director |
|
| “” |
YES |
YES |
Director (1) |
IP of Director |
Notes:
(1) HLB = Hardware Load Balancer
(2) If the Director is a Standard Edition, the FQDN is the FQDN of Standard Edition Server. If the Director is an Enterprise Edition, the FQDN will be the FQDN of the Pool associated with the Director.
(3) If you have multipe SIP domains in your environment, you require a DNS SRV record for each one.
InsideOCS has a free download tool (the Automatic Sign-In Troubleshooting Tool) that will query for all of the automatic sign-in DNS records and show which ones exist, and which one will be used.
For more details all the automatic sign-in process and it’s requirements, see:











Twitter
LinkedIn
Yes, it should be Standard EDITION; not Enterprise. Thanks, it is corrected now.
FYI – during some blog upgrades, the formatting of this article got a bit messed up (some footnotes were lost, and the check marks were replaced with mail icons!). I’ll review and clean it up shortly….
Curtis
Typo or confusion here:
(2) If the Director is a Standard Enterprise, the…..
Do you mean Standard Edition or Enterprise Edition
[...] DNS Records and Office Communicator Automatic Client Sign-In [...]