XenServer 5.6: Add /var/log/btmp to logrotate

Warning: Since a large /var/log/btmp could indicate that somebody is running brute force attacks against your system, you should at least think about changing the ssh port or setting up tools like DenyHosts or Fail2Ban (see here for more information about preventing ssh brute force attacks). By default logrotate seems not be configured for the […]

Read more…

DotNetNuke: Workaround for “Validation of viewstate MAC failed” exception when using the DNN 7 login form in multiple tabs

As I’ve written in one of my previous posts, I found out that one gets a “Validation of viewstate MAC failed” exception when submitting a DNN login form and the login status has changed from “not logged in” to “logged in” after the login form initially was loaded (e.g. by using an addition browser tab […]

Read more…

DotNetNuke: ModuleController.UpdateTabModuleSetting() truncates setting names to 50 characters

This is the second blog post in my new DotNetNuke blog series and it’s about a problem I found out when saving TabModuleSettings in my custom module. Generally, saving ModuleSettings and TabModuleSettings in DotNetNuke is very straightforward: The DotNetNuke.Entities.Modules.ModuleController offers two simple update methods: UpdateModuleSetting(int ModuleId, string SettingName, string SettingValue) for updating ModuleSettings and UpdateTabModuleSetting(int […]

Read more…

SubsonicTools: Export all playlists from Subsonic Music Streamer to .m3u playlist files

Starting with version 4.7 (changelog), the Subsonic Music Streamer no longer saves playlists as .m3u files but stores the playlist information in its internal database to offer a more sophisticated playlist management (like shared and private playlists). Before version 4.7 it was very easy to share the Subsonic playlists with other media servers that also […]

Read more…