Connecting to LDAP over self-signed TLS with Python

Needed to figure out how to do this. The documentation for python’s ldap module was worse than useless, it is actually misleading. Not much help from other sources either. Until I came across this post from 2013 by Bram Neijt. Thank you Bram!

Read more ›

Posted in System Administration

Fix for bug in opendj-ldap-toolkit-2.6.0 on Windows

There’s a bug in one of the Windows batch files for ForgeRock’s OpenDJ LDAP Toolkit 2.6.0 that causes all of the utilities in the package to fail with the error: “The system cannot find the batch label specified – check”. This was fixed in OpenDJ 2.6.1, but that’s only available under subscription, so here’s the fix for the rest of us.

Read more ›

Posted in System Administration

RB750GL Default firewall rules

Had to do a factory reset early this morning due to a stupid move on my part. Thought I’d take the opportunity to document the firewall rules that come with the RB750GL from the factory.

Read more ›

Posted in System Administration

RouterOS script to invoke DDNS

One of the nice features of pfSense is that it includes an applet that updates your chosen Dynamic DNS (DDNS) provider with the current external IP of your network. Mikrotik has an experimental module that is supposed to update BIND servers that have dynamic updates turned on, but no DDNS client, leaving those who need this feature to use RouterOS’s scripting engine to get the job done.

Read more ›

Posted in System Administration
Archives
Categories
(c) 2004-2015 Philip M Lembo