Friday 19 December 2014

How to connect to LDAP with Jabber

Edit the following file

%userprofile%\AppData\Roaming\Cisco\Unified Communications\Jabber\CSF\Config\jabber-config-user.xml

add following information to file

 

<?xml version="1.0" encoding="utf-8"?>

<config version="1.0">

 

<Directory>

<DirectoryServerType>EDI</DirectoryServerType>
   <PrimaryServerName>russellreynolds.com</PrimaryServerName>
   <ServerPort1>389</ServerPort1>
   <SecondaryServerName>russellreynolds.com</SecondaryServerName>
   <ServerPort2>389</ServerPort2>
   <UseSSL>0</UseSSL>
   <UseSecureConnection>0</UseSecureConnection>
   <UseWindowsCredentials>0</UseWindowsCredentials>
   <ConnectionUsername>CN=Merrick Chaffer,OU=Elevated Users and Computers,OU=Users and Workstations,DC=RussellReynolds,DC=com</ConnectionUsername>
   <ConnectionPassword>***EnterPasswordHere***</ConnectionPassword>
   <SipUri>mail</SipUri>
  
   <DomainName>russellreynolds.com</DomainName>
   <BaseFilter>(&amp;(objectCategory=person))</BaseFilter>
   <UserAccountName>mail</UserAccountName>
  


    <ConnectionType>1</ConnectionType>
  
   <BDIPrimaryServerName>russellreynolds.com</BDIPrimaryServerName>
  
   <BDIServerPort1>389</BDIServerPort1>
  
  
   <BDIConnectionUsername>CN=Merrick Chaffer,OU=Elevated Users and Computers,OU=Users and Workstations,DC=RussellReynolds,DC=com</BDIConnectionUsername>
  
   <BDIConnectionPassword>***EnterPasswordHere***</BDIConnectionPassword>
  

<SearchBase1>ou=users and workstations,dc=russellreynolds,dc=com</SearchBase1>

<BusinessPhone>ipPhone</BusinessPhone>

</Directory>

 

<Policies>

<EnableBFCPVideoDesktopShare>true</EnableBFCPVideoDesktopShare>

<File_Transfer_Enabled>false</File_Transfer_Enabled>

<EnableVideo>false</EnableVideo>

<enableLocalAddressBookSearch>true</enableLocalAddressBookSearch>

</Policies>

 

<Options>

<Start_Client_On_Start_OS>true</Start_Client_On_Start_OS>

</Options>

 

 

</config>

Monday 8 December 2014

Data dash attributes in ASP.NET MVC

http://stackoverflow.com/questions/4844001/html5-data-with-asp-net-mvc-textboxfor-html-attributes

You could use underscore (_) and the helper is intelligent enough to do the rest:

Html.TextBoxFor(
model => model.Country.CountryName,
new { data_url = Url.Action("CountryContains", "Geo") }
)

And for those who want to achieve the same in pre ASP.NET MVC 3 versions they could:

<%= Html.TextBoxFor(
model => model.Country.CountryName,
new Dictionary<string, object> {
{ "data-url", Url.Action("CountryContains", "Geo") }
}
) %>

How to find all your shelve sets in Visual Studio 2013

The Visual Studio 2013 IDE will by default only list the first 100 shelve sets that you have under your name.

To find all shelve sets for every developer, you can change the name filter to *

To find all the shelve sets for yourself, you can change the filter text box to *, and then hit Enter. This will then list all the shelve sets that you have not just the first 100 of them.

How to find the last interactive logons in Windows using PowerShell

Use the following powershell script to find the last users to login to a box since a given date, in this case the 21st April 2022 at 12pm un...