/LyncSetup

Shell script and .plist files to populate user name, email address and server settings for Lync for Mac

Primary LanguageShell

LyncSetup 1.2
© Copyright 2012 William Smith
bill@officeformachelp.com


Copyright and Creative Commons license

Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by/3.0/.

This script may be freely modified for personal or commercial purposes but may not be republished for profit without prior consent.

If you find this script useful or have ideas for improving it, please let me know. It is written for Lync for Mac 2011.


The need for LyncSetup 1.2

LyncSetup 1.2 enables an administrator to pre-populate a user's Lync login information so that the user doesn't need to do this. When used with the MicrosoftLyncRegistrationDB.plist file to pre-populate server addresses, it will eliminate the user from having to configure his Lync client and allow him to simply enter his password and log in to his account the first time he launches the application.

The LyncSetup-1.2 script does the following:

	▪	Populates the user name from his Mac OS X login information
	▪	Populates the user email address from Active Directory
	▪	Disables the first run license agreement
	▪	Disables prompt for Conference
	▪	Disables prompt for Presence
	▪	Disables prompt for Telephone


How to install LyncSetup 1.2

	1.	Copy the LyncSetup-1.2.sh file to a commonly accessible location on each user's workstation such as /Library/talkingmoose/Scripts.
	2.	Copy the net.talkingmoose.LyncSetup.plist file to /Library/LaunchAgents.
	3.	Copy the MicrosoftLyncRegistrationDB.plist file to /Library/Preferences.


How to use LyncSetup 1.2

Before installing the script open the LyncSetup-1.2.sh script using TextEdit or Bare Bones Software's BBEdit or free TextWrangler application. Change the "TALKINGMOOSE" NetBIOS domain name to your own company's NetBIOS domain name and save the file.

The script file must be executable on each machine:

sudo chmod +x /Library/talkingmoose/Scripts/LyncSetup-1.2.sh

Use the same text editor to edit the MicrosoftLyncRegistrationDB.plist file and enter the correct server addresses:

<string>im.talkingmoose.net</string>
<string>im.talkingmoose.pvt</string>

Support

E-mail me at bill@officeformachelp.com. I will make every effort to answer questions about the script and work to correct bugs you may find.


Change log

1.2	Added key to not ask Lync to be the Conference provider
	Added key to not ask Lync to be the Presence provider
	Added key to not ask Lync to be the Telephone provider
	Added MicrosoftLyncRegistrationDB.plist file
1.1	Added NetBIOS domain variable for Lion support
	Removed support for local dscl lookups
1.0	Created LyncSetup-1.0.sh script