Jerald.Net
A little VB.Net, SQL, and whatever else comes to mind...

Articles

  • VB.Net Email Wrapper Class

    Introduction System.Net.Mail is easy to use, so why would I want to have a wrapper for it? I have often found myself writing this code over and over again. Each time its different and managing multiple version of the same functionality across projects is not very efficient. Consistent code is always easier to maintain. Background This wrapper class was the outcome of a discussion on how to encapsulate some common features used in sending email. The environment had multiple SMTP gateways, and it was...
    Posted to Blog by Jerald Carter on 10-07-2008
    Filed under: ,
  • VB.Net: Returning AD UserName from Multi-Domain Forrest

    Growth sometimes brings out the unexpected flaws in designs. What seems like a quick solution, may intern lead to what I have affectionately call 'Learning Opportunities'.After a recent expansion from a single domain environment to a multi-domain forest, the following VB.Net function ceased functioning for retrieving the user's full name. Public Shared Function GetADUserName() As String Dim returnString As String = String .Empty If HttpContext.Current.User.Identity.IsAuthenticated Then...
    Posted to Blog by Jerald Carter on 10-01-2007
  • More LDAP Queries: Accounts never logged in

    In continuing to audit a network, the number of accounts in Active Directory did not match employee records, nor previous asset records. While using the interval variable for lastLogonTimeStamp will find accounts that have not logged on in a specific time period, it will not find accounts which have never logged on. The following queries will find them: (&(objectCategory=Computer)(!lastLogonTimeStamp=*)(!userAccountControl:1.2.840.113556.1.4.803:=2)) (&(objectCategory=User)(!lastLogonTimeStamp...
    Posted to Blog by Jerald Carter on 08-17-2005
    Filed under: ,
  • LDAP to find users with Remote Access Privileges

    We have all been in the position where we have started a new job with an existing organization where security was somewhat lax. Inevitably during the process of locking the network down you have to deal with the VPN / Dial-up access problem. The first step is to determine who already has access. This is fairly easy to accomplish using LDAP filters. (&(objectCategory=person)(objectClass=user)(msNPAllowDialin=TRUE)) This filter will show you all of the user accounts that have Allow Access checked...
    Posted to Blog by Jerald Carter on 07-26-2005
    Filed under: ,
  • MS ExMerge error 0x8004011d

    When trying to export a mailbox to a PST, I received the following error in ExMerge : Error opening message store (MSEMS). Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on. (0x8004011d) I verified the account I was using to export the mailbox had full control over the database per http://www.microsoft.com/technet/prodtechnol/exchange/guides/UseE2k3RecStorGrps/1ed0d5af-7dff-4cc3-9a05-f46d292ac5f4.mspx . This did not seem to...
    Posted to Blog by Jerald Carter on 06-24-2005
    Filed under: ,
1 2 Next >
© Jerald Carter 1999 - 2008
Powered by Community Server (Non-Commercial Edition), by Telligent Systems