IE, What Have You Done for me Lately?

What am I using Internet Explorer for these days? Certainly not for surfing the computernets. Oh, maybe I’ll occasionally launch it accidentally. Embedded links in Outlook still launch it as my default browser.

Oh, and animated GIFs work much better in IE than they do in Firefox.

…

Um… uh…

I’m thinking…

Oh, I use it for Windows Update. Yeah. Good ol’ Windows Update. That is, when the built-in updater is not working and I need to troubleshoot the update failure. That ActiveX control is great, the way it checks for patches I need to download. That’s why I got into computers, actually – to make sure my OS is fully patched. That has seemed like more and more of my job lately.

And I use IE on our internal LAN for integrated Windows authentication, aka NTLM, the single sign-on technology that enables Active Directory domain user authentication via web browser. I’ve set that up for SharePoint and Outlook Web Access. It’s a neat little feature that’s part of IIS (the built-in HTTP daemon in Microsoft Windows Server).

Nevertheless, it seems as though, despite their best efforts, Microsoft may be losing the browser war. But, then again, what does it really have left to gain from winning this war? It seems that when these technology waves start rolling, big movers do what I do when I start playing a game of Monopoly. When I play Monopoly, I buy everything I land on. Even the stupid purple ones at the beginning – and the utilities and the railroads. Why? Compulsion, maybe fear. I’m not really sure, but I think the same mentality has existed at Microsoft during the Web 1.0 boom and was pervasive at Google during the Web 2.0 boom.

When this “control everything” program was going on at Microsoft, they attempted to control what they saw as the three-tiers of web topology: the browser, the server and the portal Their efforts were a multi-pronged attack: encourage the favored MS script language, VBScript, for client-side scripting (the only browser the VB scripting runtime engine worked on was IE); when that didn’t work, they came up with their own version of javascript (jscript). Since javascript had become the de facto browser scriptingg language, they tried to got it to work as a server-side scripting language and offered it up to developers as an alternative scripting language for ASP. They also encouraged the development of proprietary browser plug-ins (ActiveX controls) and extended the HTML featureset so that cool tricks (e.g. page transitions) only work in IE.

Developers, Developers, Developers…
Too little, too late, by the time the .NET framework showed up, many developers had switched to PHP, or had their work taken away from them and handed to faster and more agile Java developers. What was originally going to be called ASP+ turned out to be a clunky development framework that, although robust in its capabilities, swayed many developers to either entrench with what would become known as “classical” ASP, or switch to other development platforms altogether.

And Finally…
And we continue to see the miserable failure that is Microsoft’s attempted domination of the search and portal theaters. Despite massive funding and continuing to operate at a loss, MSN and Live Search continue to trail behind Google and Yahoo! as the, at best, number three offering for searches and as users’ default home page choice.

Active Directory Query for SMTP Recpients

On occasion, I need a query in Active Directory. Sometimes I need to create a query-based distribution group (those always seem to come in handy). And sometimes I just need a better idea of what objects there are in existence in our domain – I don’t want to create duplicates and I certainly don’t want to duplicate any work that’s already been done.

So, when a situation like this pops up, I need to create an Active Directory query. As is the case with all great technologies, this one has a couple of aliases: they’re also known as LDAP and WMI searches/filters/queries. For the sake of keeping things simple we’re going just going to call them queries.

I imagine there are already a lot of youngins out there who are swift with code, but may take a moment or two to wrap their heads around the way this stuff works. The syntax is slightly less than intuitive, but if you’ve ever overloaded operators in C you’ll get the gist of this in a few seconds. Even if you haven’t, there’s not that much to it.

Basically you are going to define a set of qualifiers explicitly stating, in binary terms, what criteria should be used to the inclusion and exclusion of objects in the search results.

Bibble-it.com has already done a great job of explaining the basic mechanics of LDAP. There’s also the Microsoft walkthrough on LDAP basics.

This is the query. It includes all objects (users, contacts, groups, folders) in Active Directory that are capable of receiving mail.

(&
(mailnickname=*)
(|
(&
(objectCategory=person)
(objectClass=user)
(!
(homeMDB=*)
)
(!
(msExchHomeServerName=*)
)
)
(&
(objectCategory=person)
(objectClass=user)
(|
(homeMDB=*)
(msExchHomeServerName=*)
)
)
(&
(objectCategory=person)
(objectClass=contact)
)
(objectCategory=group)
(objectCategory=publicFolder)
(objectCategory=msExchDynamicDistributionList)
)
)