Sometime ago I created a post about using Lync 2010 and Lync 2013 with an OCS 2007 R2 infrastructure. Even do this is not a supported feature a lot of people benefit it from the article as their current environments have not migrated to Lync 2010 or Lync 2013. The questions was asked: Can we use the Lync 2010 or Lync 2011 for Mac client with OCS 2007 R2? After some digging and several cups of coffee here is the quick setup guide
1. Download and install your favorite Plist Editor for MAC. I use PlistEdit Pro
2. Open your home directory and go to : ~/Library/Preferences/ByHost and look for a file the has a name in the following format, MicrosoftLyncRegistrationDB.xxxxxxxxxx.plist
3. You have to replicate the information like on the Windows Registry.
In it, you will need to create an entry for each segment of the reg key path for the DisableServerCheck flag (all lower case). It should look like this:
hkey_current_user
hkey_current_usersoftware
hkey_current_usersoftwarepolicies
hkey_current_usersoftwarepoliciesmicrosoft
hkey_current_usersoftwarepoliciesmicrosoftcommunicator
hkey_current_usersoftwarepoliciesmicrosoftcommunicatordisableservercheck
The value for each of the path segments is “<<MacRegNoValue>>” and type string. For the disableservercheck flag, the type is “Number” and the value is 1.
4. After you finish , Load your Lync:mac 2011 client and put your login information. Make sure to add the user ID in the domainuser format
5. If you follow the instructions you should be able to login to your OCS 2007 R2 environment from your MAC
6. Pick someone and try to chat.
Hope the MAC users that need to connect to their OCS 2007 R2 environments. Drop me a comment if you find this helpful.
Carlos – in following these instructions, what I’m finding is that the updated settings are not retained when restarting the client. Am I missing a step in making these changes persistent?
Are you saving the plist file? Go to File Save.
Yes, I’m saving the file. What I’m seeing is it appears the file is regenerated each time I re-launch the Lync client. When I launch the client after modifying the file, it appears to revert to the default and the timestamp is updated.
Make sure that before you try to edit the plist file you have closed Lync completely. Check in Finder force close, to see if you see Lync.
Lync wasn’t showing up for a force close, but that was the issue. Following the steps above after a fresh restart worked. Thanks for the assist.
Great news. Have a great day.
We are trying this as well – but one client gets on for a few seconds and gets disconnected.. Another client can’t get connected.. Do you know what version of Lync 14.0.7?? You are using?
Robert. I have tried it with several versions. I am updating to 14.0.7 to test again. You can turn on Logging and check the logs http://office.microsoft.com/en-us/mac-office-help/turn-on-logging-HA102928163.aspx
Looking at logs but nothing stands out. Can see the sip proto fly by – but it’s all gibberish.. Running Mavericks OSX
I am running Maverick also on my MAC OSX. Check this thread to see if their solutions may help you. http://social.technet.microsoft.com/Forums/lync/en-US/af8935f3-e1a0-47bc-9792-536c07e0ecf2/lync-client-140x-logs-off-lync-server-unexpectedly?forum=ocsclients
Howdy Carlos! Thanks for the write – up. I too cannot stay connected for more than 20 seconds. Logging is turned on and here is what I see when I get the “boot”.
2014/01/30 12:58:15.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 10.177.71.155, link speed 100000000
2014/01/30 12:58:15.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 10.177.71.155, link speed 100000000
2014/01/30 12:58:15.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 10.177.71.155, link speed 100000000
2014/01/30 12:58:16.195 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6e3348, hr: 0x0, newMode: 512, prevState: 4, newState: 5
2014/01/30 12:58:20.727 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6e3348, hr: 0x0, newMode: 2, prevState: 8, newState: 8
2014/01/30 12:58:23.105 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x80ef0191, oldState: 30, newState: 10, direction: 1
2014/01/30 12:58:23.105 void SIPService::OnLogoffResult(HRESULT), hr: 0x80ef0191
2014/01/30 12:58:23.441 Office Communications Server LOGOFF ENDED: USER = {arnaldo.cabral@mydomain.com}
2014/01/30 12:58:23.441 void SIPService::LogoffEx()
2014/01/30 12:58:23.701 virtual void SIPService::OnConversationDestroyed(IConversationModel*), ConvModel: 0x7c630168
2014/01/30 12:58:23.701 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.701 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.739 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.740 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.781 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.781 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.826 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.826 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.869 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.869 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.910 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.911 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.945 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.945 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.984 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:23.985 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.021 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.022 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.055 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.055 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.544 SIPService::OnEvent(IApplicationLayerEvent &), type: 2, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.582 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.583 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.626 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.637 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x300000e
2014/01/30 12:58:24.637 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x2000020
2014/01/30 12:58:24.637 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6ee2e8, hr: 0x0, newMode: 2, prevState: 8, newState: 1
2014/01/30 12:58:24.637 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6e3348, hr: 0x0, newMode: 2, prevState: 8, newState: 1
2014/01/30 12:58:24.639 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x2000021
2014/01/30 12:58:24.639 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x2000020
2014/01/30 12:58:24.639 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6ee2e8, hr: 0x0, newMode: 512, prevState: 2, newState: 1
2014/01/30 12:58:24.639 virtual void SIPService::OnParticipantStateChange(IConversationModel*, IConversationParticipant*, const ParticipantModeState&, const ParticipantModeState&), ConvModel: 0x7c630168, pConvUser: 0x7c6e3348, hr: 0x0, newMode: 512, prevState: 5, newState: 1
2014/01/30 12:58:24.640 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x3000005
2014/01/30 12:58:24.640 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x3000006
2014/01/30 12:58:24.640 virtual void SIPService::OnPropertyChange(IConversationModel*, ConversationProperty, const ConversationPropValue&, const ConversationPropValue&), pimsess: 0x7c630168, Property: 0x200001f
2014/01/30 12:58:24.654 SIPService::OnEvent(IApplicationLayerEvent &), type: 8, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.847 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.888 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 12:58:24.890 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
Arnie
Here are couple of things others have tried to fix this issue. Have you check the certificates on the clients and the server. There are details in this thread. http://social.technet.microsoft.com/Forums/lync/en-US/af8935f3-e1a0-47bc-9792-536c07e0ecf2/lync-client-140x-logs-off-lync-server-unexpectedly?forum=ocsclients
Arnie and I work together.. He’s further along than me.. I’m getting SSL Verification Failed messages.. The cert is self-signed
Lync is very picky with Certificates. If the MAC do not have the proper Root Certificate it will not connect. Get a UC certificate with all the proper URL’s so you don’t have problems. If this is for testing, Install a Microsoft Certificate Authority and generate your own certificates. http://technet.microsoft.com/en-us/library/cc772393%28v=ws.10%29.aspx
My log
2014/01/30 13:44:57.118 Office Communications Server LOGON STARTED: USER = {xxxrobert.huddleston}
2014/01/30 13:44:57.120 SIPService::Logon
2014/01/30 13:44:57.186 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:58.959 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:58.976 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:58.982 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:59.003 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:59.003 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:59.038 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:44:59.090 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0
2014/01/30 13:44:59.091 InternalConnect, NLResolveAddress returned: 0
2014/01/30 13:44:59.092 IsLocalAddress, ‘xxx.yyyzzz.com’ is not a local address
2014/01/30 13:44:59.092 FShouldUseProxy, is returning 1
2014/01/30 13:44:59.092 Connecting to xxx.yyyzzz.com (port 5061)
2014/01/30 13:44:59.092 InternalConnect, NLGetProxyListCount returned: 0, proxyCount: 1
2014/01/30 13:44:59.092 Using one of the following 1 proxies (in this order):
2014/01/30 13:44:59.092 Proxy 10.66.12.240 (port 8080)
2014/01/30 13:44:59.290 InternalConnect, NLCreateConnection returned: 114,
2014/01/30 13:44:59.290 FUsingHttpsTunnelProxies, returning: 1
2014/01/30 13:44:59.902 InternalConnect, NLCopyConnectionBinding returned: 0,
2014/01/30 13:45:02.119 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x80ee0067, oldState: 20, newState: 10, direction: 1
2014/01/30 13:45:02.119 Login (1) failed with error: (0.-2131885977)
2014/01/30 13:45:02.127 SIPService::OnEvent(IApplicationLayerEvent &), type: 8, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.128 SIPService::OnEvent(IApplicationLayerEvent &), type: 2, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.166 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.166 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.200 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.201 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.245 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/01/30 13:45:02.247 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
It looks like you are going thru a Proxy server to go out to the internet. Make sure you configure can go directly to the server. Check your proxy Bypass list in System Preferences > Network > Advanced > Proxies.
Thank you Carlos. I’ll give these suggestions a shot and will post my progress.
Hi I’m running into a very frustrating issue where the plist file is overwritten when Lync starts, As mentioned above. However Ive Quit the Lync app from the task bar menu, Force quit from the apple menu, forced quit from Activity Monitor.
I’m using PlistEdit Pro. I have selected Save and then quit, reopened the plist to confirm changes are saved – yes.
launch lync and files/changes are over written……
Any suggestions?
Cheers
Mike
Make sure you add the end slash . I had that issue initially and was that I was missing the ending slash. Also check that you are using the latest version of Lync.
I ran into the same issue. Do a fresh restart, do not start Lync. Edit the file as above, save, start Lync.
Thanks for the reply Carlos and Mark. I had to do a complete uninstall and reinstall to get the plist sorted.
Then I managed to login for all of about a minute with an abrupt disconnect and it now won’t reconnect – seems to be similar to the other disconnect and login issues as described above.
I have the Internal CA cert chain (x 3) in the System and login keychain certificates store
Nothing really from the technet article…..
These are the details from the Lync Log – Any ideas??? No official support for me on a MAC from the IT Team
Cheers
Mike
2014/03/03 18:45:18.553 Office Communications Server LOGON STARTED: USER = {DomainUser}
2014/03/03 18:45:18.555 SIPService::Logon
2014/03/03 18:45:18.589 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.605 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.606 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.613 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.614 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.614 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.614 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:18.635 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0
2014/03/03 18:45:18.636 InternalConnect, NLResolveAddress returned: 0
2014/03/03 18:45:18.637 IsLocalAddress, ‘sip.team.domain.com’ is not a local address
2014/03/03 18:45:18.637 FShouldUseProxy, is returning 1
2014/03/03 18:45:18.637 Connecting to sip.team.domain.com (port 5061)
2014/03/03 18:45:19.460 InternalConnect, NLCreateConnection returned: 0,
2014/03/03 18:45:19.460 InternalConnect, NLCopyConnectionBinding returned: 0,
2014/03/03 18:45:21.658 SIPService::OnEvent(ILogonCredentialManagerEvent), type: 0
2014/03/03 18:45:21.658 Login (1) failed with error: (0.0)
2014/03/03 18:45:21.670 SIPService::OnEvent(ILogonCredentialManagerEvent), type: 6
2014/03/03 18:45:21.670 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x80c80009, oldState: 20, newState: 10, direction: 1
2014/03/03 18:45:21.670 void SIPService::OnLogoffResult(HRESULT), hr: 0x80c80009
2014/03/03 18:45:21.699 void SIPService::LogoffEx()
2014/03/03 18:45:21.700 SIPService::OnEvent(IApplicationLayerEvent &), type: 2, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.700 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.701 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.701 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.702 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.702 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.703 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2014/03/03 18:45:21.704 SIPService::OnEvent(IApplicationLayerEvent &), type: 8, HasSignedIn(): 0, HasSignedOut: 0
are you using some type of proxy server?
Excuse my ignorance but for some reason I am not able to find the ~/Library/Preferences/ByHost or MicrosoftLyncRegistrationDB.xxxxxxxxxx.plist file. Any thoughts? OSX 10.9.4 Lync 14.0.9
You need to change your view settings. Open a terminal window and run sudo “defaults write com.apple.finder AppleShowAllFiles -bool true”. Then restart your finder processes or just restart your MAC.