In a default exchange 2007/2010 installation the logging level for OALGen is set to lowest. That means that if you have users who do not show up in the Global address list (GAL) or they are missing some info, you will only see the following events in the event log: Log Name: Application Source: MSExchangeSA Date: 03.08.2011 08:15:18 Event ID: 9320 Task Category: (13) Level: Warning Keywords: Classic User: N/A Computer: <servername> Description: OABGen could not generate full details for some entries in the offline address list for address list ‘Global Address List’. To see which entries are affected, set event logging for the offline address list generator to at least medium. Log Name: Application Source: MSExchangeSA Date: 03.08.2011 08:15:18 Event ID: 9327 Task Category: (13) Level: Warning Keywords: Classic User: N/A Computer: <servername> Description: OALGen skipped some entries in the offline address list ‘Global Address List’. To see which…

Read more

At work I was recently assigned some more network related task. One of the task I fine myself repeating over and over is locating a computer on the network. The only info you need is the ip-address of the computer. This is how I do it: 1. Telnet core switch 2. show ip arp | include <ip-address> This gives me the mac address of the computer 3. show mac address-table address <mac address> This shows what port the computer is behind 4. show cdp neighbors <port on core> This shows the name of the switch that is connected on that port 5. Telnet to that switch 6. Repeat step 3-5 until step 4 returns no switches, that means the computer is directly connected to that port!

SmtpDiag is a nifty little tool for diagnosing any smtp or dns issues on your mailserver. Usage: smtpdiag <sender emailaddress> <recipient emailaddress> SmtpDiag

Did you know you use an SSH connection as a proxy using PuTTY? I didn’t until today 🙂 Fire up PuTTY but before you connect navigate to Connection–>SSH–>Tunnels. Here you can specify a port you want PuTTY to respond to proxy requests. Choose a port that is not in use on your localhost, I will use 8080 in this example. Choose Dynamic on Destination and click Add. In the forwarded ports part of the windows you will now see D8080. Connect to your host and open up your browser of choice. Specify the following in SOCKS proxy: Now you will tunnel your traffic through the SSH host you connected to. This trick works for all applications that support SOCKS proxy, not just browsers.

From time to time you will want to reinstall you os right? And of course you have all your license keys documented right? Well, I don’t 🙂 Thats why I usually extract them from my computer before i reinstall the os. A nice little tool that I have been using for this is ProduKey. It has a small footprint, no need for installation, just run the exe file. It gathers your licensekeys for windows, office, exchange, sql etc. And also have some features for gathering keys from across a network.

Stumbled upon a tool from Microsoft called ALTools that I thought were absolutely awesome. It’s over 7 years old so I wonder why I haven’t seen it before Nevertheless it’s as cool now as it was when it was released. ALTools consists of several tools, but the coolest of them are: aloinfo – Displays all user account names and the age of their passwords eventcombMT – Gathers specific events from event logs of several different machines and saves them in a text file LockoutStatus – Shows a list of all domain controllers in a given domain and the lockoutstatus of a given user on those I have used eventcomb a couple of times as it has some predefined searches, for example Account Lockouts. That particular search is quit helpful if you have a user that frequently gets locked out. Just choose the predfined search, input username and hit search. A…

Read more

At the company where I currently work we lease a bunch of Xerox copiers. Those leasing contracts are based on number of prints per device. That means that once a month we have to gather pagecounts from all our printers (about 100 of them) and report them to our supplier, which takes a lot of time. Since we already were using Zenoss for monitoring of the printers I figured I could try and gather the information via snmp. That resulted in this ZenPack. It creates a device class, /Printer/Laser/Xerox and assigns a Monitoring Template called XeroxPageCounts. The monitoring template consist of 3 DataPoints, BlackPageCount, ColorPageCount and TotalPageCount. It also includes a graph using the 3 DataPoints. What I did after creating this ZenPack is create a new view which contains all these graphs. So now we simply open the new view and all the info we need is right there,…

Read more