Share the Knowledge
RSS icon Home icon
  • Opportunistic TLS

    Posted on March 21st, 2009 webmaster 3 comments

    We had to upgrade our mail gateway/anti-spam software on Sunday because one of our vendors requires us to use encryption when exchanging emails with them.  The easiest solution is to use opportunistic TLS, where the server will always try to connect to the other server using the TLS protocol.  If the other server supports TLS, then traffic is encrypted.  If not, then the email is sent using just regular SMTP without encryption.

    This is actually the first time I’ve even heard of opportunistic TLS, I’m used to seeing S/MIME and PGP when reading about email encryption.  What I like about this is encryption/decryption is done on the server side so the users don’t have to do anything different when sending emails and we don’t have to issue a certificate to each user and manage the keys.

    If you’re using Exchange Server 2007, opportunistic TLS is already enabled by default.  You can check this by entering Get-SendConnector “Send Connector Name” | Format-List in the Exchange Management Shell.  Look for the IgnoreStartTLS parameter, if it’s set to false then opportunistic TLS is enabled.

    To check whether a server supports TLS, telnet to the server on port 25 and check if the server supports the STARTTLS command, for example:

    telnet mail.global.frontbridge.com 25

    This server supports TLS

    Here’s an example of the header of an email that was delivered with TLS enabled (I modified the IP addresses and names for privacy reasons):

    Received: from mailgateway01 (1.2.3.4) by mailserver01.domain.com (1.2.3.5)
    with Microsoft SMTP Server (TLS) id 8.1.263.0; Mon, 16 Mar 2009 18:05:18
    -0400
    Received: from mail.global.frontbridge.com ([65.55.88.22]) by mail.somedomain.com
    ([1.2.3.4]) with ESMTP (TREND IMSS SMTP Service 7.0; TLS:
    TLSv1/SSLv3,128bits,AES128-SHA
    ) id 06456c96000057da for <jdoe@microsoft.com>;
    Mon, 16 Mar 2009 18:05:16 -0500

  • How to automate Microsoft Office 2007 installation

    Posted on March 11th, 2009 webmaster 1 comment

    I was just updating some documentation on our wiki and found some old notes on automating Office 2007 installation.  We upgraded our Microsoft Office software early last year from Office 2003 (and a few Office XP) to Office 2007 and this simple installation script saved us a lot of time. Here are the steps:

    Step 1.  Copy the contents of the Office 2007 installation CD (or package) to a network share (eg. \\server\Office12).

    Step 2.  Run the Office Customization Tool and create a setup customization file (I got these instructions from a BDD 2007 document on Microsoft’s website).

    Read the rest of this entry »

  • How to change from ACPI Multiprocessor HAL back to ACPI Uniprocessor HAL in Windows 2003

    Posted on January 9th, 2009 webmaster No comments

    “Warning: Changing the number of virtual processors after the guest OS is installed may make your virtual machine unstable.”

    You’ve probably seen this message before while working with VMware, especially if you’ve done physical to virtual migrations.

    As a best practice, it is recommended to always start with only 1 vCPU when creating virtual machines and only increase the number of vCPUs if you think it’s necessary and if the virtual machine is actually running applications that can utilize multiple processors to avoid wasting resources.

    Increasing the number of processors from 1 to 2 or more is actually not a problem with Windows Server 2003 because it will automatically change the HAL to ACPI Multiprocessor PC.  But setting the number of virtual processors back to 1 won’t automatically change the Windows 2003 HAL back to ACPI Uniprocessor PC.

    According to Microsoft, “If you run a multiprocessor HAL with only a single processor installed, the computer typically works as expected, and there is little or no affect on performance.”  But if you’re like me and just want to be absolutely sure that there won’t be issues, switching back to the uniprocessor HAL in Windows Server 2003 is pretty easy:

    1. Make sure you have at least Windows Server 2003 Service Pack 2 installed.
    2. Shut down the virtual machine.
    3. Change number of virtual processors to 1.
    4. Power on the virtual machine.
    5. In Windows, go to Device Manager -> Computer.
    6. Right-click “ACPI Multiprocessor PC” and choose “Update Driver…“.
    7. Select “No, not this time” option -> “Install from a list or specific location” -> “Don’t search.  I will choose the driver to install.” -> select “ACPI Uniprocessor PC.”
    8. Reboot the virtual machine.

    That’s it! You’re all set!

  • How to send syslog messages to a remote syslog server in Fedora 9

    Posted on December 7th, 2008 webmaster No comments

    I have a virtual machine set up running Fedora 9 on my home network which I mainly use for SSH tunneling and I just realized that this version of Fedora now uses rsyslog as its default syslog daemon.

    I wanted to send a copy of the syslog messages for SSH to my central syslog server so I can easily keep track of login attempts to my server from the outside.

    Here are the steps:

    1. Open /etc/rsyslog.conf and  add this line:
      • authpriv.* @remote_server_ip_address
    2. Restart the rsyslog service: /etc/init.d/rsyslog restart

    Change “authpriv.*” to “*.*” if you wish to send a copy of all the syslog messages to the remote server.

  • Windows XP: Updating a domain account’s local cached password

    Posted on December 3rd, 2008 webmaster No comments

    So I took a laptop home from work tonight to do some tests and I forgot that I haven’t logged in to that laptop with my domain account for quite some time now so I of course got the message “Domain YOURDOMAIN is not available” and I couldn’t log in.

    I connect to our network over a VPN connection using Cisco VPN Client but I first have to be logged in to Windows to do this.  I want to be able to log in with my domain account directly then log in to the VPN as it is more convenient so here’s what I did to update the local cache for my domain profile:

    1. Log in as local Administrator.
    2. Log in to the VPN.
    3. While still connected to the VPN, do a “Run As” on a program.  In my case, I did a “Run As” with Outlook (press shift+right mouse click on the program’s icon, choose the option “Run As…” -> “The following user:” myDomain\username -> enter your current domain password) and the program should open using the profile of the user you wanted to run as.
    4. Log off (which will also disconnect the VPN connection).
    5. Log back in to your domain account using your current domain password and it should take it.

    If you’re already able to log in with the cached password, but your current domain password is different from the cached password, while connected to the VPN you can just press CTRL+ALT+DEL, choose the option “Lock Computer”, and then unlock it but this time using your current domain password and that should update the cached password.

  • How to capture an image using BDD 2007 and ImageX

    Posted on November 13th, 2008 webmaster No comments

    I was looking through some old notes and found this, hope this helps:

    1. PXE boot on the computer you wish to image.
    2. At the first prompt, choose the option “Exit to command Prompt.”
    3. Map a network drive to your distribution share and run ImageX.  Example:
      1. net use x: \\bddserver\distribution
      2. cd x:\Tools\x86
      3. imagex /capture c: x:\Captures\ImageName.wim “Computer Image Description”

    Source:  http://lukenotley.wordpress.com/2007/05/20/bdd-2007-how-to-capture-a-reference-computer-image/

  • Multiple connections to a server or shared resource by the same user…

    Posted on October 24th, 2008 webmaster No comments

    Error Message:  “\\x.x.x.x is not accessible.  You might not have permission to use this network resource.  Contact the administrator of this server to find out if you have access permissions.

    Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.  Disconnect all previous connections to the server or shared resource and try again.”

    I get this once in a while when working on files remotely.  To make it go away, do the following:

    1. Go to Start->Run, type in cmd and hit Enter.
    2. Type net use to view all mapped network shares.
    3. Type net use \\network_share /del to disconnect that specific network share or  type net use * /del to disconnect all network shares.
  • Security Warning: “The publisher could not be verified”

    Posted on October 20th, 2008 webmaster No comments

    Warning Message: “The publisher could not be verified. Are you sure you want to run this software?”

    I got this warning message last week while testing a group policy object to run a small program from a network drive when users log in to the domain.

    After some googling, it turned out that this feature was added in Windows XP Service Pack 2 and it checks whether the program has a digital signature attached.

    To prevent this from appearing do the following:

    1. Open the Group Policy management console (Start->Run->gpedit.msc)
    2. Go to User Configuration->Administrative Templates->Windows Components->Attachment Manager
    3. Enable “Inclusion list for moderate risk file types
    4. Add .exe to the list

    Source: http://davestechshop.net/archive/2006/10/30/IE7PublisherCouldNotBeVerified.aspx