TLDR - The Problem On a recent project I discovered a number of issues arose after promoting a domain controller in a new Active Directory site. The network had two central domain controllers (one of which is the PDC and holds the other FSMO roles), and a bunch of other sites. Despite having Site Links... Continue Reading →
Enabling Teleport on Minecraft Bedrock Server
My kids are BIG Minecraft fans! We've been enjoying playing Minecraft on nearly every device in our house: Minecraft for iPadMinecraft for PCXbox 360Xbox One SMinecraft Pocket Edition on iPhoneAnd now with Santa's visit...Minecraft on Nintendo Switch! That's a lot of Minecraft! I run our own Minecraft server at home so that everyone can play... Continue Reading →
Single Instance windows service
I recently had a requirement to prevent users from running more than one instance of a particular set of applications. I couldn't find any immediate way of controlling this with Windows (either locally or via Group Policy). Someone on the team pointed out the following handy utility which limits the number of application instances. We... Continue Reading →
Configuring SQL Server Kerberos for Double-Hop Authentication
The Requirement We have one database stored on SQL Server (A), which has some synonyms to tables in SQL Server (B). We want our .NET 4.5 application (running under IIS) to invoke some queries to move data from tables in SQL Server (A) to SQL Server (B), using the synonyms (so the web application doesn’t... Continue Reading →
Solving PPTP VPN Error 619 when behind a TMG 2010 firewall
I was recently configuring a test environment which had a Microsoft Threat Management Gateway (TMG) 2010 firewall between the private network and the Internet. From a test Windows 7 client I was trying to establish an outbound PPTP VPN - but I kept getting Error 619 "A connection to the remote computer could not be... Continue Reading →
Solving ‘An exception occurred in publishing: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)’ with Visual Studio 2012 RC
So I’m using Visual Studio 2010 RC and loving web deploy as a simple way to publish my projects to different environments. However a problem cropped up today after installing some web tooling updates: ‘An exception occurred in publishing: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)’ I couldn’t even open the publish settings... Continue Reading →
Configuring multiple public DHCP IP addresses on a Linksys WRT54G with OpenWrt
I hit a problem the other day whilst trying to map a bunch of public IP addresses (provided by Virgin Business) to various services within the network. Essentially I’m running a VMWare ESXi server with several web servers on, and I want to use the public IP addresses to expose these servers to the Internet... Continue Reading →
Claims Proxy – A C# Library for Calling Claims Protected Web Services
The ClaimsProxy library enables you to get a WIF cookie collection for a SharePoint site which is protected by Claims Based Authentication. It assumes that ADFS is configured as the Trusted Identity Token Issuer and that the down-stream identity provider is based on the StarterSTS / IdentityServer project. In some recent work I needed to... Continue Reading →
Setting up Google Apps Single Sign On (SSO) with ADFS 2.0 and a custom STS such as IdentityServer
I recently had to undertake some work to enable users to seamlessly authenticate to Google Apps using an identity stored in a custom Secure Token Service such as the excellent IdentityServer open source STS by Dominick Baier. The work involved is mostly configuration in Google Apps and ADFS but there are quite a number of... Continue Reading →
How to run StarterSTS on IIS 6 / Windows 2003
I’ve been using the awesome StarterSTS project created by Dominick Baier. In the words of Dominick: StarterSTS is a compact, easy to use security token service that is completely based on the ASP.NET provider infrastructure. It is built using the Windows Identity Foundation and supports WS-Federation., WS-Trust, REST, OpenId and Information Cards. The StarterSTS System... Continue Reading →