Checking for Mangled Attributes in Windows 2000 Forests with Adfind

From link: The Microsoft Exchange 2000 schema defines three non-Request for Comments (RFC)-compliant attributes: houseIdentifier, Secretary, and labeledURI. The Microsoft Windows 2000 InetOrgPerson Kit redefines the Secretary attribute and the labeledURI attribute. The adprep /forestprep command in Microsoft Windows Server 2003 has redefined all three attributes as described in Request for Comments (RFC) 2798. If Exchange 2000 created these three attributes before you ran the Windows 2000 InetOrgPerson Kit, the LdapDisplayName attribute for the houseIdentifier attribute becomes conflicted or mangled after the new RFC-compliant definitions are added by Windows Server 2003 adprep /forestprep replication.
Read more →

Stopping MIB Module Errors When Starting Wireshark in os x

If you get the following error on startup when starting wireshark on macos: The following errors were found while loading the MIBS Then add this path to the ‘name resolution’ setting under edit > preferences: /usr/share/snmp/mibs/ Make sure to apply the change before you exit.
Read more →

Installing Package Groups in Ubuntu Server

To re-run the package group selection from the Ubuntu server installation use: sudo tasksel If you want to view the avalable tasks use: sudo tasksel –list-tasks Just make sure you have the install CD in.
Read more →

Finding Group Membership from Active Directory with Dsquery

Use the following: dsquery user -samid "username" | dsget user -memberof -expand The -expand option will include nestled groups.
Read more →

Converting Wma to Mp3

This is easy with ffmpeg: ffmpeg -i source_file.wma -ab 128k output_filen.mp3 Where the -ab is the bitrate.
Read more →

Flushing the DNS Cache in OS X and Linux

In Leopard do: sudo dscacheutil -flushcache In Linux (Ubuntu): sudo /etc/init.d/nscd restart Update: In OS X Yosemite: sudo discoveryutil mdnsflushcache In OS X Mavericks, Lion, Mountain Lion: sudo killall -HUP mDNSResponder
Read more →

Adding a VLAN Adapter in OS X

Using the Network Preferences GUI you can add a VLAN tag network interface:
Read more →

Replacing the OS X Login Image

If you need to replace the system default image in Leopard OS X 10.5. You can do this easily from the terminal: sudo cp /System/Library/CoreServices/DefaultDesktop.jpg /System/Library/CoreServices/DefaultDesktop.jpg.bak Then just copy in the image you want (you really want this to be the correct aspect ratio/resolution): sudo cp ~/Pictures/filename.jpg /System/Library/CoreServices/DefaultDesktop.jpg
Read more →

Finding and Listing Email Addresses from Active Directory Groups with Powershell

Get hold of the excellent Quest Free PowerShell Commands for Active Directory, then once installed use the following command from the powershell (Quest) console: Get-QADGroupMember group name -Indirect | select name, email Change group name to the AD group you are interested in querying. Indirect will give you results from nestled grouping. This works for distribution groups as well as other types. Use the following to output the results to a csv file:
Read more →

Adding Colour to ‘ls’ in OS X

You can add colour to ‘ls’ with the -G option. To reduce typing pop an alias in your bash_profile file: alias ls=‘ls -G’
Read more →