Sendmail relay configuration on AIX

September 18th, 2008

This document describes how to set up a Sendmail e-mail gateway or relay which will be able to process incoming mail and route it to different mail servers based on domain information. The routing table is based on the Sendmail mailertable feature instead of the usual MX record based routing. This will come handy when there is a need to route mail internally in a different way than externally.

Read the rest of this entry »

NIC bonding with Ubuntu

August 2nd, 2008

Network interfaces can be bonded to provide fault-tolerant operation. Here’s how to do it in Ubuntu. I will assume the interfaces to be bonded are eth0 and eth1.

Read the rest of this entry »

Windows Server Time with NTP

August 2nd, 2008

Here’s how to configure a Windows domain controller to act as an NTP client and server for your network. You may then sync all your hosts, Windows or other, to that server. To achieve this, configure one (or more) of your domain controllers to retrieve time from the atomic clocks of the Internet. Rest of you servers should follow suit and sync their time to this domain controller after a little while.

Read the rest of this entry »

Adding the First Windows 2008 DC into Active Directory

June 25th, 2008

Make a backup copy of your AD before you go any further.

Install your new server, and join it to the domain as a member server. Before you can run dcpromo on the new 2008 server, you must run adprep on your schema master, to prepare the Active Directory schema to support Windows 2008 domain controllers. The installation DVD contains a directory called sources\adprep. Go there and run:

Read the rest of this entry »

Fetching information from Active Directory using Python

June 19th, 2008

Here are two simple scripts written in Python to fetch information about users from Active Directory. The AD schema has been augmented with the Microsoft Services For Unix schema, which will allow to map Unix uids to Windows user accounts.

Read the rest of this entry »

Apache HTTP authentication to Active Directory with Kerberos

June 18th, 2008

First, create a user account for your Apache in the Active Directory. Let’s assume the AD Kerberos realm is KOO.FI, and the user name we have created is “apache”. Also create a computer account, let’s call that “apachesrv”.

Read the rest of this entry »

HP Array Configuration and Diagnostic Utilities on Linux

June 8th, 2008

Getting the HP Array Configuration Utility (ACU) and the Array Diagnostic Utility (ADU) for Linux to work was non-trivial. It does not seem to be supported anymore, but I managed to get it working on CentOS 5 running on an HP ProLiant DL185 G5.

Read the rest of this entry »

Lenovo ThinkPad X300 Ubuntu 8.04 Installation Notes

June 5th, 2008

First, let me tell you some first impressions about the machine. The keyboard is very good. It feels even a bit better than the one in my old T60. The display is very bright and sharp, but viewing angles could be better. WLAN worked right out of the box, as did the webcam.

The solid state drive is incredibly fast. I will never switch back to a hard disk after experiencing an SSD. Everything loads up in an instance. OpenOffice starts in about 5 seconds, which is very good compared to my T60. And the machine boots up and shuts down really fast (I haven’t timed those operations, though).

There are also a couple of annoyances which I hope will soon be fixed. Read the rest of this entry »

Limiting the bandwidth of incoming traffic

April 23rd, 2008

A backup server was saturating the DSL links of remote offices every time the backups were running. To prevent this, I had to limit the incoming bandwidth of the TCP-connections that were used to back up the remote hosts, but not touch the ones that were used to connect to the servers in the local network. Here’s how to do it.

Read the rest of this entry »

MediaWiki Image Links

April 14th, 2008

Here’s a description how to do it without any extensions:

http://distributedresearch.net/blog/2008/01/21/how-to-make-image-links-in-mediawiki

This extension will allow you to use more comfortable markup:

http://www.mediawiki.org/wiki/Extension:ImageLink