Blog Archives

Batch Resize Photos in Linux

Oops! I forgot to tell my mom to resize her photos before uploading them to RealCajunRecipes.com. We had colossal 7MB+ images floating around on the web server, and SSD space doesn’t come cheap. No problem, I just installed ImageMagick, backed

Posted in Linux

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

OpenWRT & PPTPD: A Love Story

Firesheep got me thinkin’ that I should probably do a little more to beef up the security of my Internet connection on public networks. PPTP has always been a favorite of mine, because it hides traffic well enough to deter

Posted in Linux, Networking, Security

Setup WebDAV in Apache2 on SuSE Linux to Support Windows (XP/Vista/7) Clients

Earlier today, a colleague told me that she doesn’t like using my servers because I don’t have FTP setup thus, she couldn’t map my server as a drive. Well, I showed her. I stand firmly against using FTP as any

Posted in Apache, Linux, Security, Windows

OpenWRT: iptables-based Firewall Rules for PPTP and IPsec

Just a handy little reference for myself. #Internal PPTP Server vpnserver="172.16.1.10" iptables -N pptp iptables -A pptp -p tcp --destination-port 1723 --dst $vpnserver -j ACCEPT iptables -A pptp -p gre --dst $vpnserver -j ACCEPT iptables -I FORWARD -j pptp iptables

Posted in Linux, Networking, Security

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

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

Enable Windows NTLM Pass-through Authentication in Linux-based Apache

Thank Science for SuSE Linux Enterprise 11; it’s made this process relatively easy. SLES 10 SP2 was giving me a headache because of some Windows 2008 based Active Directory authentication issues but upgrading SLES 11 took care of all that.

Posted in Active Directory, Apache, Linux, Security

SuSE (SLES) 11 Works Flawlessly with Windows Server 2008 Authentication

Well that couldn’t have been easier! Here’s all it takes to authenticate SLES 11 to Windows Server 2008 based Active Directory. During the initial install of SLES, I performed the following: Selected samba-client and winbind during the software installer phase

Posted in Active Directory, Linux, Networking, Security