I am adding AD support to an application. I have been switching back and forth between the WinNT and LDAP ADSI providers mainly because some information is...
Well, honestly there is no advantage whatsoever to using the WinNT provider. That is, unless you are trying to work with local SAM accounts on the machine....
Thanks for the reply, Ryan. One very useful feature of the WinNT provider I have found is the memberOf attribute of user class object. While the LDAP provider...
It is because memberOf in LDAP is actually just reading the data stored in the directory in the memberOf attribute and primary group is not assigned via normal...
Hi, I wrote a vbscript that has been working fine for 2 years. Recently, some machines, but not all, have been getting the "80040E37 Table does not exist...
How is authentication supposed to work against this directory? Typically, with ADSI when you are binding to the directory, the default is Windows security....
Hi Joe, This Sun LDAP server allows anonymous searches of public attributes, so I never need to pass credentials for the simple lookups. The netstat idea is a...
If I were you, I'd change your ADO connection object so you pass in "" for the username and password and set the auth flags for the anonymous auth setting (10...
Joe, I'm having trouble using the "ADSI Flag" property for my ldap search. The constant for no authentication is 10, but when I leave that line in I get a...
Joe, the netstat command is showing around 2,500 TIME_WAIT tcp statuses as I monitor it. Wow, I never realized how many ports on my machine were being used by...
That is generally a bad sign. When connection caching is working the way you want, there is only one socket opened to the server. It may be the case that...
It is really just the searching stuff that is going through more layers in script. The rest is probably a wash. With searching, .NET has a COM interop layer...
Joe, thanks for the detailed explanation. I won't bother the list anymore with this problem, but if we figure it out, I'll post back. I guess if we need to...
I don't really have much experience with the Novell LDAP library, so take this FWIW. My understanding is that their library is more of a low level LDAP...
... You might want to download my Delphi ADSI Browser from the "Files" section here and have a look around at your Novell eDirectory. We used regular ADSI...
Hi All, I am developing role-based authorization application by using AzMan API to create roles, assign tasks to roles, and assign users to roles. The policy...
DirectorySearcher.FindOne() method produces an error "Object reference not set to an instance of an object" when I run the following code on WIN2003 Server. It...
... Two questions: 1) Why are you setting the filter twice? Setting it again (to the "samAccountName=" value) will erase the first filter entry.... 2) Do you...
Hello Marc, Can you please tell me about the starting point ? Actually I can successfully run the same code from my code but when I place it on the windows2003...
Can you show the complete stack trace of the error message? It looks like your DirectorySearcher isn't the problem, so there must be something weird going on....
You need a SearchRoot. Where are you initializing this? If you leave it null, it will try to open the default naming context, which can be problematic based...