0

Config snippets : ADLDS : Disable password policy

-

By default password policy from Active Directory domain will impact ADLDS and users created in ADLDS instance. To prevent domain policies from enforcing password restrictions and rules on ADLDS users one simple setting has to be adjusted:

  • ADAMDisablePasswordPolicies

Here is how it looks on computer which has ADLDS instance installed on port 50389:

(more…)

3

How-to : Adding devices to RANCID

-

Some time ago I described How to : Install RANCID on openSUSE 11.4 “Celadon”. However, just after installation RANCID will do nothing without proper configuration.

So, in this lab I will show how to:

  • create group of devices in rancid
  • add information about credentals to RANCID
  • add 2 Cisco routers to that group
  • collect configuration from routers
  • setup cron task to run rancid automatically

Systems which will be used to demonstrate how to add device to RANCID and collect configuration:

  • lab-gw-01 – IP: 172.16.90.5 – openSUSE witn RANCID – installed on VMware Workstation
  • lab-r1 – IP: 172.16.90.123 – Cisco router – started on GNS3
  • lab-r2 – IP: 172.16.90.124 – Cisco router – started on GNS3

(more…)

0

Code snippets : Exchange Server : Count messages submitted by user

-

In some companies performance is measured based on number of emails someone sent. regardless the reason for those emails and content, what matters the most is if someone is sending something to others. So, I was asked to produce quick count how many emails one individual sent.

Here is quick PowerShell command which I ran on Exchange 2007 Mailbox server to find requested number:

(more…)

0

Code snippets : MySQL : Change root password after installation

-

By default when I installed mysql on openSUSE, root password for mysql access was blank. First thing then is to change password as this might pose security issue. First of all login to openSUSE using root account and then:

(more…)

41

Automating file transfer via SFTP i FTPS using WinSCP

-

Some time ago I received request to automate file transfer between FTP server and Development systems. Both, FTP server and Development system, are Windows-based. FTP server was running FTP over SSL only, so that automatically eliminated built-in Windows FTP command-line app. As I was using WinSCP in the past decided to do quick check if it is possible to use it in batch mode, so I can create script and run it on Windows Task Scheduler to automate whole process.

(more…)

0

How-to : Nagios installation on openSUSE 11.4 “Celadon”

-

Quick installation how-to for Nagios on openSUSE 11.4 “Celadon” platform. Same procedure applies to other versions of opeSUSE platform. I’m using version 11.4 for my LAB purposes.

(more…)