Archive

Archive for the ‘Systems’ Category

Mac Airport Utility

November 23rd, 2009 Kurt Wolf No comments

I needed a quick way to check the type of connection I had running. After a quick Google, I found that the MacOS has the utility, it just needs to be tweaked a little.

Open terminal and create a link to the utility.

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport

Now that the utility is available, run airport -I for all of your wireless information.

Categories: Mac Tags:

Sonicwall NetExtender and Snow Leopard

September 13th, 2009 Kurt Wolf 5 comments

Seems like pppd is no longer setuid anymore. To correct this, fire up terminal and enter the following:

sudo chmod u+s /usr/sbin/pppd

This will enable NetExtender to once again work its magic.

Categories: Mac, Systems Tags:

Snow Leopard – 64bit

September 13th, 2009 Kurt Wolf No comments

Looks like Snow Leopard does not boot into a 64bit kernel by default. There are a couple of ways to get some 64bit goodness.

Read more…

Categories: General, Mac, Systems Tags:

Administrative Tools for Windows 7

July 29th, 2009 Kurt Wolf No comments

I am running Windows 7 (build 7100) and I manage quite a few Windows 2003 servers, one of which is running Exchange 2003.  I am not a fan of having to RDP to a domain controller just to manage some user settings and I was patiently waiting for Microsoft to release something…

Don’t bother trying to install the Windows 2003 Admin Tool Pack in Windows 7.  It will not work.

Microsoft has released the Remote Server Administration Tools for Windows 7.  Download and install this little jewel.  Once installed, hop into your “Control Panel”.  Click on “Programs” and then “Turn Windows features on or off”.  You will see a new section called “Remote Server Administration Tools”.  Mark which tools you need and then click Ok.  No reboot needed.

That was half the problem…  Now onto the Exchange tools.  Microsoft seems to not have much information about the Exchange tools for 2003.  I can’t blame them.  I would like to be running Exchange 2007 right now but it is not in the cards for another year.  By that time, probably jump right into Exchange 2010.  In the meantime, I found a download over at Will Dove’s website.  What he has done is take the official ESM for Vista build from Microsoft and removed the check for Vista in the install process.  This works like a charm.  I have not run into any issues using this on my system.

Next up for my admin tool build project, Citrix Tools and OCS.


Updates:

  • 20090817 – Updated the link to the Remote Server Administration Tools
Categories: Systems, Windows Tags:

Migrating AD Manager information into Infra

July 27th, 2009 Kurt Wolf No comments

Infra has been a great ITIL toolset for my department.  The only downfall I have run into is some of the simpler integrations or features come at a steep price point.  This integration cannot be that far out of the box for Infra but yet costs thousands of dollars.  Instead I have been spending some time understanding the Infra database and have come up with the following VBS to move the manager information stored in AD into the Infra database.  We have this script to run each night and it keeps everything in order.

   1:  ' Root DN of the Users
   2:  LDAPRootDN = "LDAP://OU=HCL Users,DC=hcl,DC=internal"
   3:   
   4:  ' Infra database DSN
   5:  InfraDSN = "Driver={SQL Server};Server=data01.hcl.internal;Database=infraEnterprise;Trusted_Connection=TRUE"
   6:   
   7:  set objConnection = CreateObject("ADODB.Connection")
   8:  objConnection.ConnectionString = InfraDSN
   9:  objConnection.open
  10:   
  11:  ' Start the process
  12:  ProcessOU(LDAPRootDN)
  13:   
  14:  function ProcessOU ( DN )
  15:      set CNUsers = GetObject(DN)
  16:      for each User in CNUsers
  17:          select case User.class
  18:              case "user"
  19:                  ' Migrate manager information if a manager is defined
  20:                  if ( User.manager <> "" ) then
  21:                      MigrationCount = MigrationCount + 1
  22:                      MigrateManager User.distinguishedName, User.manager
  23:                  else
  24:                      ' No manager information on file
  25:                  end if
  26:              case "organizationalUnit", "container"
  27:                  ' This is an OU, recurse into
  28:                  ProcessOU( User.ADsPath )
  29:          end select
  30:      next
  31:  end function
  32:   
  33:  function MigrateManager ( StaffDN, ManagerDN )
  34:      set Staff = GetObject("LDAP://" + StaffDN)
  35:      set Manager = GetObject("LDAP://" + ManagerDN)
  36:      strQuery = "exec sp_MigrateManager '" + Staff.GUID + "', '" + Manager.GUID + "'"
  37:      set rs = objConnection.execute(strQuery)
  38:  end function

 

The following is the supporting TSQL for the sp_MigrateManager procedure.

   1:  USE infraEnterprise
   2:  GO
   3:   
   4:  IF EXISTS ( (SELECT NAME FROM sysobjects WHERE NAME = 'sp_MigrateManager' AND TYPE = 'P'))
   5:  BEGIN
   6:      DROP PROCEDURE sp_MigrateManager
   7:  END
   8:  GO
   9:   
  10:  CREATE PROCEDURE sp_MigrateManager 
  11:      @StaffGUID NVARCHAR(300),
  12:      @ManagerGUID NVARCHAR(300)
  13:  AS
  14:  BEGIN
  15:   
  16:      DECLARE @ManagerRef INT
  17:      
  18:      SELECT @ManagerRef = COALESCE(REF, 0) FROM AR_USER_ATTRIBUTES WHERE ldap_object_id = @ManagerGUID
  19:      
  20:      UPDATE AR_USER_ATTRIBUTES
  21:      SET
  22:          MANAGER_REF = @ManagerRef
  23:      WHERE
  24:          ldap_object_id = @StaffGUID
  25:      
  26:  END
  27:  GO
Categories: Development, Infra Tags:

Mac OS 10.5.6

December 15th, 2008 Kurt Wolf No comments

An update is available now only through Apple Software Update. As of right now, download was not found on the apple.com website.

Categories: Mac Tags:

Cingular Aircard 875 / Ubuntu Hardy Heron 8.04

May 11th, 2008 Kurt Wolf 1 comment

A while back I posted instructions for getting the Aircard 875 to work with Ubuntu Feisty. I am now updating this for Hardy Heron. For me the configuration was much simpler. Here is some information regarding the hardware/software I am using.

  • IBM Thinkpad
  • Cingular Aircard 875 (note, this is really a Sierra card)
  • Ubuntu Hardy Heron 8.04 (updated system as of 20080510)

Read more…

Categories: Linux, Systems Tags: , ,

Mac OS X 10.5: Quick launch Front Row

November 5th, 2007 Kurt Wolf No comments

Pressing Apple-Esc will launch Front Row. Pretty slick!

Categories: Mac, Systems Tags:

Mac OS X 10.5: Hide the Time Machine drive

November 5th, 2007 Kurt Wolf 5 comments

I have two drives on my Mac and I wanted to hide the Time Machine drive. I have no need to access this drive and I wanted a cleaner desktop. I found some information online that lead me to a good method to perform the task.

Read more…

Categories: General, Mac, Systems Tags:

Mac OS X 10.5: Unable to eject (unmount) a disk image

November 5th, 2007 Kurt Wolf No comments

I have come acros a rather annoying bug in 10.5. It seems that when a disk image (DMG) is mounted, the finder is unable to eject (dismount) the image. I have tried both Apple+E as well as dragging the disk to the trash. Both methods were unsuccessful. The disks can be ejected using the Disk Utility application. See the following URL’s for an ongoing discussion.

http://discussions.apple.com/thread.jspa?threadID=1198385&stqc=true

http://discussions.apple.com/thread.jspa?messageID=5677911

Categories: Mac, Systems Tags: