[Snippet] Forcing Replication Between Domain Controllers

…because some people still don’t know!

  1. Open Active Directory Sites and Services.
  2. In the console tree, expand Sites, and then expand the site to which you want to force replication from the updated server.
  3. Expand the Servers container to display the list of servers that are currently configured for that site.
  4. Expand the server objects and click their NTDS Settings objects to display their connection objects in the details pane. Find a server that has a connection object from the server on which you made the updates.
  5. Click NTDS Settings below the server object. In the details pane, right-click the connection object whose From Server is the domain controller that has the updates that you want to replicate, and then click Replicate Now.
  6. When the Replicate Now message box appears, review the information, and then click OK.

That is all!

Extending Advanced Policy Firewall with Brute Force Detection

In my previous article I discussed setting up the Advanced Policy Firewall on your servers. So now your servers are protected – but what happens when you get an attack at a legitimate service? SSH? MySQL? Apache? In a series of articles I’ll discuss implementing some best practises to help avoid server nightmares.

Continue reading “Extending Advanced Policy Firewall with Brute Force Detection”

[Snippet] Allow mysql root access from anywhere

A small annoyance of mine is on local development servers, I can’t login to the MySQL server as root.

Simply connect the mysql shell

mysq[codesyntax lang=”bash”]
mysql -u

Then,

[codesyntax lang=”bash”]
GRANT ALL ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘[A PASSWORD]’

Exit and you’re done.

NTLM Authentication on Ubuntu and Apache2 Revisited

It’s been a while since I’ve had to build an NTLM integrated Apache2 server.
So I thought I’d take help from Ubuntu’s packages and install LAMP from there like most people seem to be doing these days.

Once all that is up and running, you will need to download mod_ntlm_winbind. Its an ancient package I complied years ago from the samba source tree, good news is it still works. Continue reading “NTLM Authentication on Ubuntu and Apache2 Revisited”

Exchange Server Journaling

I’ve recently had to setup Journaling on an Exchange Server for a client – it was quite an experience. So I’ve made these notes that will hopefully help.

Microsoft Exchange Server journalling lets you record a copy of, or journal, all email communications in your
organisation and send them to a dedicated mailbox on an Exchange Server.

Continue reading “Exchange Server Journaling”

Firefox and NTLM Authentication

Firefox dislikes NTLM authentication really. Sometimes it hates it completely.
Specifically when you make AJAX requests from an NTLM authenticated server.

Fortunately, with a bit of counselling there is a resolution on hand. Continue reading “Firefox and NTLM Authentication”

Setting up and using NFS on Ubuntu

Network File System, NFS, has been around since Noah first networked his ark.

Setting up and using NFS on Ubuntu is surprisingly easy. i9000 Networks needed a slightly revised backup solution in one of it’s sites.

Obviously you’ll need two or more servers. One I’ll refer to as the server which will host the backups and the second/subsequent servers, which are the clients, ie. the live servers that need backing up.

Here’s how I did it.

Continue reading “Setting up and using NFS on Ubuntu”

System Monitoring on Ubuntu in 30 seconds

Installing munin has to be the fastest and simplest way of installing a visual system monitor on Linux.

Website Blurb:
Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing a installation a high number of monitoring plugins will be playing with no more effort. Continue reading “System Monitoring on Ubuntu in 30 seconds”