Note: This series covers Active Directory connection strings, often referred to as bind paths, with the goal of simplifying the process of creating an AD bind path. A significant amount of the information for this series comes from the wonderful AD programming book, The .NET Developer’s Guide to Directory Services Programming, by Ryan Dunn and Joe Kaplan. The LDAP ADsPath article [...]
Binding to Active Directory: AD Connections De-mystified, Part 4
Note: This series covers Active Directory connection strings, often referred to as bind paths, with the goal of simplifying the process of creating an AD bind path. A significant amount of the information for this series comes from the wonderful AD programming book, The .NET Developer’s Guide to Directory Services Programming, by Ryan Dunn and Joe Kaplan. The LDAP ADsPath article [...]
Binding to Active Directory: AD Connections De-mystified, Part 3
Note: This series covers Active Directory connection strings, often referred to as bind paths, with the goal of simplifying the process of creating an AD bind path. A significant amount of the information for this series comes from the wonderful AD programming book, The .NET Developer’s Guide to Directory Services Programming, by Ryan Dunn and Joe Kaplan. The LDAP ADsPath article [...]
Binding to Active Directory: AD Connections De-mystified, Part 2
Note: This series covers Active Directory connection strings, often referred to as bind paths, with the goal of simplifying the process of creating an AD bind path. A significant amount of the information for this series comes from the wonderful AD programming book, The .NET Developer’s Guide to Directory Services Programming, by Ryan Dunn and Joe Kaplan. The [...]
Binding to Active Directory: AD Connections De-mystified, Part 1
Note: This series covers Active Directory connection strings, often referred to as bind paths, with the goal of simplifying the process of creating an AD bind path. A significant amount of the information for this series comes from the wonderful AD programming book, The .NET Developer’s Guide to Directory Services Programming, by Ryan Dunn and Joe Kaplan. The LDAP ADsPath article [...]
Unknown error 0×80005000 When Using a New PrincipalContext in .NET
I am working with the System.DirectoryServices.AccountManagement namespace’s PrincipalContext class to bind to Active Directory and perform operations against the directory. A problem cropped up recently that took a bit of sleuthing to solve and I want to share the solution in hopes that it will save someone else a bit of a headache. I received the [...]
Active Directory and LDAP Tips and Tricks: Capitalize the Provider in Connection Strings
We see issues from time to time with LDAP connection strings for Active Directory failing to work even when folks know the connection string and bind credentials are correct. Even if you copy a distinguished name value from a tool like ADSIEdit or Active Directory Explorer, many times you must specify a provider in the [...]
Adding Windows Computer Accounts from Active Directory to NTFS ACLs to Control Permissions
When writing web applications, you often must grant permissions to an application to do something on other machines in a Windows domain or forest. IIS 6, 7 and 7.5 all allow you to configure IIS application pools to run under specific, rather secure identities like NETWORK SERVICE and the Application Pool Identity. When accessing resources [...]
Weird Attribute Names in Active Directory
For the most part, the LDAP names of Active Directory attributes are the same or very similar to their English-language descriptions. However, there are a few annoying exceptions that I’ve summarized here, including one of the more weird attribute names for the City attribute. The City attribute uses the letter “L” as its LDAP display [...]
Microsoft .NET AuthenticablePrincipal.LastPasswordSet Value Trick
The AuthenticablePrincipal.LastPasswordSet property in the .NET library’s System.DirectoryServices.AccountManagement namespace specifies the last date and time that the password was set for an account. We use this property to read a number of pieces of data about Active Directory user accounts but there is an interesting anomaly with the LastPasswordSet property in the AuthenticablePrincipal wrapper class. The LastPasswordSet property [...]
- Office 365 and BlackBerry Calendar Synchronization: A Replacement for BlackBerry Enterprise Server Functionality July 7, 2011
- Office 365 and BlackBerry Enterprise Server Express July 8, 2011
- Windows Active Directory Cached User Credentials June 9, 2011
- RIM Gets Closer to Cloud-Based BlackBerry Enterprise Service (BES) for Office 365 August 15, 2011
- Efficient Queries with LDAP Search Filters March 30, 2012
- System.Security.SecurityException Writing to the Application Event Log on Windows Server 2008 with ASP.NET 4.0 April 6, 2012
- Redirect HTTP to HTTPS on Microsoft IIS 7 and 7.5 April 2, 2012
- Efficient Queries with LDAP Search Filters March 30, 2012
- Create a Code Signing Certificate on Windows Server 2008 with OpenSSL and pvkimprt March 29, 2012
- Configure ASP.NET with Load Balancing on a Web Farm to Avoid ViewState Errors March 23, 2012
-
Jason Cox: We work with Microsoft Active Directory and the AD...
-
Engin: Great article. thanks for posting....
-
Feruza: If you set the port for OpenDS to 389, it means th...
-
Jason Cox: This doesn't sound like a SQL Server engine issue...
-
vic: Advise isn't helpful. Still get the same error me...
Blogroll
- Active Directory Powershell Blog
- Active Directory Tools Review
- Brian Desmond’s Blog
- Brian Desmond’s Blog
- Dirk Adamsky’s Scripting Blog
- Florian’s Blog
- IT Geared
- JFRMilner’s Tech Blog
- Mark Parris’s blog
- Microsoft Active Directory resources for Server 2008 R2
- Mike Kline’s AD is Fun Blog
- Mike Kline’s AD is Fun Blog
- Stuart Coney’s Blog
- Tim Springston’s Active Directory Blog
- Ulf B. Simon-Weidner’s Blog – Directory Services/Active Directory






