Blogs

Extracting e-mail addresses from Active Directory

itefix's picture

The script below can be used to create a text file containing e-mail addresses from Active directory. You can then pick up that file on your mail gateway and use it as a source for valid recipients (via http protocol for example). Sure, you can also contact AD directly every time you need a recipient check. However, this may be a resource intensive task for larger environments and firewall arrangements for AD access can be a security issue.

Newsletter: 

Reset terminal services profile information in Active Directory

itefix's picture

If you have a widely distributed network environment and many centrally located terminal servers, it is often desirable to regulate users' terminal server profile information by using group policies. In that way, you can avoid unintended delays caused by access to remote directories.

Newsletter: 

Use output from DOS commands in a Windows oriented perl application

itefix's picture

This may not be as straightforward as you think if we need to support international characters. A DOS command produces its output in an OEM-defined character set, while Windows supports either ANSI or a wide character set. You will observe that using DOS strings directly in windows will result with some odd characters.

Newsletter: 

Keeping dynamic dns entries with duplicate addresses under control

itefix's picture

check_dnsdup is a Nagios NRPE plugin for checking dynamic entries with duplicate ip addresses in a Microsoft DNS Server zone. It can also filter target names based on names or ip addresses. For maintenance purposes, you can instruct the plugin to remove duplicate entries with older timestamps. More ...

Newsletter: 

Pages

Subscribe to RSS - blogs