• The Forums
  • About
  • Archives
  • Categories
  • Archive for the ‘Geek’ Category

    MAC OSx Lion and Windows Active directory


    2012 - 01.12

    After days of struggling to get Lion to integrate correctly with a Windows AD, I’ve finally come to the conclussion:

    APPLE – YOU SCREWED UP!

    Can’t get it to go green for sign in after following absolutely all of the help and suggestions as well as Apple support docs. This is from 7-7.2.

    Shameless link/plug


    2011 - 12.28

    So if you’re in the UK and you need something gift orientated, give http://sjpcrafts.co.uk a look up. They custom make gift boxes, bracelets, neclaces and the alike.

    Documents/My Documents showing up instead of users home folder name


    2011 - 12.20

    Something that has driven me mad since Vista was introduced is the issue of going to a home folder share such as:

    \\server\home\

    and seeing a list of DOCUMENTS, DOCUMENTS, DOCUMENTS, etc, rather than George, Sarah, Zippy.

    The fix, do in to these folders and delete the desktop.ini file (it’s a hidden system file so you’ll need to enable seeing these in Explorer view settings). Et voila, fixed.

    Outlook for Mac sends plain text via Exchange


    2011 - 11.18

    Recently a new company merged in with my current one and all they brought with them was Macs. I’m already a linux geek so getting to grips with the funky Macs wasn’t too stressful as I just dropped to a Bash shell and played away at that level. It scares the Hell out of Mac users who are always so used to shiny GUI things.

    Anyway, one of the big gripes was that since they moved in and started using the Exchange server, all their externals mails turned to plain text. I checked in the spam filtering company and they didn’t make changes to the headers of the emails. Internally, HTML mail worked fine between users. It was driving me mad.

    After some serious google searching I came across RisualBlogs.com and they mentioned that a send connector was set to ContentType=MimeText and not MimeHtmlText.

    get-remotedomain | set-remotedomain -ContentType MimeHtmlText

    Tada! Fixed. Thanks guys!

    Fix BESx 5.0.3 webmin/console 404


    2011 - 11.14

    If you are running a BESx server on a Windows 2008 box, you may run in to a 404 error and it not work at all. The quick fix is usually because of Java and you need to regedit:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters\JVM Option Number 3

    Change from “-Xmx1024m” to “-Xmx768m”.

    Reboot and cross your fingers.

    Slow HP Server running Windows 2003 R2 64bit


    2011 - 09.19

    There are times when you think to your self “Why the Hell Windows, just, WHY!?”

    This is generally when you realise that something so simple is causing the server to behave completely erratically but you can’t put your finger on it. In this case, I have a HP DL385 quad core, 8Gb of ram running Exchange. I thought initially that install the BESx software on the server killed its speed. It still functioned, just ridiculously slowly.

    It came to a head tonight when I had to patch it and it ground to a halt. It’s soooo sloow. I started researching what could cause it. Everyone did the usual posts of reboot in to safemode, is it quick then, did you do this patch, that registry edit. I thought I’d start with the basics and actually disable the services I don’t need/want.

    Off went DHCP client (it’s a fixed IP server), next went the HP Smart Array SAS/SATA Event Notification Service and voila! All of a sudden, the OS starts performing correctly and at full speed!

    Thanks HP, yet another service from you guys that breaks your hardware!

    Reset Apple OS X password


    2011 - 09.09

    I don’t know about you but administering Macs is a whore of a job. The good stuff though is the bottom end of it being a BSD/Linux system you can do stuff like reset the admin password when a user brings you their Mac from home and begging you to help:

    Power on the Mac, push and hold AppleKey+S and it’ll boot in to single user mode (God/Root)
    Do ‘mount -uw /’
    Do ‘rm /var/db/.AppleSetupDone’ (Makes the OS think it hasn’t been initiated yet)
    Do ‘shutdown -h now’

    Upon power up you are greeted with the OS thinking it’s all new and shiny. Register a new account (not one that exists) and bang, you have a new admin account and can reset the password to the old one if you wish.

    Find & Update legacy mailboxes


    2011 - 09.05

    I don’t know about you, but I still create my users using an old VBS script. It creates the users fine but the Exchange Server is 2007 so it creates a legacy-mailbox type which can’t be used from OWA.

    Easy fix, in PowerShell, search and apply mandatory properties to fix them. You can take this on the end of a VBS script if you call it from a PowerShell prompt:

    Get-Mailbox -server SERVERNAME -RecipientTypeDetails LegacyMailbox | set-mailbox -applymandatoryproperties

    Simple, eh?

    MP4 Encode and Streaming


    2011 - 08.08

    One of the things that I’ve found recently is there is an awful lot of people who struggle to use the FLV file format (yes, that means anyone who invested in something Apple-ish!). For those of us that need to be cross platform, we’ve been forced to change to newer formats.

    Luckily, most browsers now allow for directly embedding content in to the HTML but you’ll need to get it in to the right format first. This script which uses FFMPEG will do just that, and spit out a lovely HTML and MP4 file for you to upload to your site and use instantly.

    Here ya go: mp4encode

    You can play about with the HTML section as much as you like to make it generate pages on the fly. Trust me, this script has been mightily useful. Ok, so the BASH scripting probably isn’t all that and I could tidy it plenty, but it suits my needs and maybe can be adapted for yours!

    BESx Service Start Order


    2011 - 08.07

    I’m posting this more for my own benefit as I can never remember which order the Blackberry Enterprise Server services are supposed to start in, but here they are:

    BlackBerry Administration Service – Application Server
    BlackBerry Administration Service – Native Code Container
    BlackBerry Mail Store Service
    BlackBerry MDS Connection Service
    BlackBerry Dispatcher
    BlackBerry Attachment Service
    BlackBerry Controller
    All of the remaining services for BlackBerry Enterprise Server Express components