Blog posts

Blog full archive

WordPress login time with the wpDirAuth plugin

The WordPress wpDirAuth plugin currently has a hard coded session time of 1 hour for directory authenticated (LDAP etc.) users. Hopefully at some point in the future this will become configurable. Discussion here.

On a related note, inserting

define( 'AUTOSAVE_INTERVAL', 60 ); // Seconds

in wp-config.php changes the autosave interval (default is 60 seconds).

Edit: Fixed in V1.9.3 thanks to patch submitted by Sean Leavey – time is now configurable.

User missing from login screen - OSX with FileVault

Situation: new MacBook with OSX Sierra. Set up with an admin account, enable FileVault (taking note of recovery key obviously!) and install the necessary. Create account for end user and give it to them. All is well (after getting some USB-A to USB-C converters…)

User restores all his stuff from a Time Machine backup to the account on the new system – this overwrites all the current user settings. After rebooting the system, his account has disappeared from the login screen.

Read more...

Checking out SVN in a new directory and getting a "working copy too old" (or similar) error

Had a situation today where we were trying to check out a SVN repository and kept getting

Check Out: Cleanup with an older 1.7 client before upgrading with this client

both with SmartSVN and the OSX command line svn – into a new clean directory.

The problem turned out to be an old .svn metadata folder in the directory above which should have been deleted when rearranging folders. This seemed not to affect existing working copies below this, but it looks like it did cause problems with creating new working copies. Deleting the rogue .svn directory made things work.

Enable pfSense web administration from WAN

N.B. you should only do this if the WAN interface is actually on a protected network!

Set up a new firewall rule on the WAN:

Save this.

Note that if your WAN network has private addresses on it then you also need to configure the WAN interface to allow this (bottom of configuration page, uncheck Block private networks and loopback addresses). Note that you will then see this rule removed from the firewall WAN list.

Reset BIOS Admin password on Optiplex 780 SFF

To reset BIOS passwords on Optiplex 780 (small form factor shown here);

Password should now be cleared – check in BIOS settings.

Dell Optiplex 780 Small Form Factor BIOS password reset jumper.