Active Directory is replicating only changes between DCs. This is something which every person who is working with AD for a while is familiar with. Same mechanism can be used from .NET code to request changes from DC. With .NET it's fairly easy. However AD has one more mechanisms which can be used for pooling … Continue reading "Change notification in .NET"
Connection pooling is something with most of .NET and SQL developers are pretty familiar with. It is mechanism which allows to re-usage of once established connection under some conditions. Establishing connections are considered as costly operation in networking world. So it might do good for performance of Your application if only one connection will be … Continue reading "System.DirectoryServices and connection pooling"
I’m not a great programmer but from time to time I have to write some piece of code – this is mostly related to my day job and MIIS projects or creating ad hoc tools for Active Directory projects. Most of these projects are being created using .NET 2.0 as this is environment we are … Continue reading "S.DS and large data sets"
Today at MIIS newsgroup question was asked how to rename AD account with MIIS. This is pretty simple and if I remember correctly this is even covered by MIIS developer reference but I've decided to give it quick thought here. OK – rename operation: if account name is also CS object's DN this operation has … Continue reading "AD account (connector) rename with MIIS"
I was working lately on some code which utilizes Active Directory and I came across problem that trying to access some of objects raised an exception with E_ADS_BAD_PATHNAME message. After short investigation I found out that this objects for which this exception was raised had slash character in distinguishedName. These objects were representing physical locations … Continue reading "Slash character in AD object distinguishedName"
Yesterday I was at customer site to talk about identity management and as it often happens some other topics were discussed with customer tech stuff after discussing main topics. In this discussion I was asked how to read and parse security descriptor for Active Directory object. After few questions we came to conclusion that they … Continue reading "How to check if I can update attribute?"
If You are developer and You have to utilize Active Directory or ADAM in Your application .NET System.DirectoryServices (S.DS) namespace is nice thing to have. It simplifies operation performed against Active Directory, hiding all COM stuff behind relatively few different classes You can use to query and modify directory objects. S.DS is nice namespace, but it still utilizes … Continue reading "More data is available exception when searching with S.DS"