Blog Archives

Use Windows Authentication to Connect to SQL Server in OpenSuSE 12.3 x64

One of the things I love most about SuSE is how well it integrates with Active Directory. Joining a domain is easy when using yast. First I ensured that the Linux server’s DNS server is pointed to my DC, then

Posted in Active Directory, Linux, Security, SQL Server

SQL Server Discovery Tools and Scripts

Each time I start a new contract, the first thing I do is search for all SQL Servers across any network/subnet to which I have access. While the documentation I get is usually paltry or non-existent. When it does exist,

Posted in Active Directory, PowerShell, SQL Server

Patterns and Practices: A Guide to Claims-Based Identity and Access Control – Free ebook.

While I usually like conversation-style technical books (think: Manning’s In Action series and many Wrox books), Microsoft’s Patterns and Practices series is one of my favorite even though they feel so formal. Recently, my buddy Buck Woody posted a link

Posted in Active Directory, Networking, Security

PowerShell Workaround: “Replicate Directory Changes” Permissions in AD Required for SharePoint 2010 Profile Syncs

According to the SharePoint 2010 Communities FAQ, Microsoft is burdening SharePoint 2010 Administrators with new requirements to obtain Active Directory accounts with “Replicate Directory Changes” permissions because… In order to interrogate AD about “what has changed since time xyz”, we

Posted in Active Directory, PowerShell, SharePoint

Find LDAP DN of Users and Groups using the Command Line

I always forget this command, so here’s a handy reference (for moi): Find LDAP Path of… Command OU dsquery OU –name “OU name” Group dsquery group –name “Group name” Username dsquery user –name username Computer dsquery computer -name computername  

Posted in Active Directory

FIX: Windows 7 Login Error "The trust relationship between this workstation and the primary domain failed."

Recently, my workstation was suddenly unable to logon to my Windows 2008 domain. After entering my domain username and password at startup, I was presented with the error: “The trust relationship between this workstation and the primary domain failed.” Ahh,

Posted in Active Directory, Windows

Securing Apache using mod_ssl, OpenSSL and Microsoft Certificate Authority (CA)

Recently, I used my Windows-based domain’s Enterprise Root Certification Authority to secure my subversion repository that is hosted on an Apache-based server. The process was rather straight-forward and relatively fast — especially because I skipped over all of the file

Posted in Active Directory, Apache, Linux, Networking, Security

Windows 7: Disable Unnecessary Services on a Domain Workstation

I finally took the plunge and installed Windows 7 on my Dell Netbook (Inspiron mini iM10-008B). I originally bought the Dell to make it into a Hackbook but after I realized how time-intensive the initial setup may be, I looked

Posted in Active Directory, Networking, Windows

Securing Subversion with Windows 2008 Kerberos-Based SSO and Linux-Based Apache

Some things just belong on Linux. Like Subversion and Apache, for instance. I’ve seen the ghetto workarounds for Windows-based Apache installs and no thanks — I’d much rather waste my time on ghetto SharePoint workarounds. But I sure do like

Posted in Active Directory, Apache, Linux, Networking, Security

Apache: Pre-compiled mod_auth_pam for SLES 11

This was ridiculous. Since apache-devel isn’t available in SLES (and I do understand why, but give me the option at least!), I had to sync up one of my SLES machines to an OpenSuSE repository and get all of my

Posted in Active Directory, Apache, Linux, Security