Tag | LDAP Posts

I've been running several searches against a GDS LDAP directory - and
the Timeout and ServerTimeLimit properties of the DirectorySearcher
class appear to have no effect.

After further testing I've discovered that the problem is caused because I was using sub second timeout periods eg 500ms - and the LDAP server I'm accessing (GDS) only supports timeout periods of whole number seconds.

HTH

Tim

You have got to go check out these documents just posted by Microsoft on their press release page. My favorite quote: "In short, the Statement of Objections claims Microsoft has failed to create Technical Documentation that the Commission did not read, and for which no competitor has sought a license, all to address a problem about which no customer has ever complained."
Courtesy of Doug Brown at DABCC.COM there is this news of what is effectively a hotfix for the CAG (Citrix Access Gateway) I can also confirm with Doug that this will simply update the device without blowing away your existing Config, Licences, etc. However, it is always good practice to plan for the unforseen? so it's not a bad idea to save a copy of the config in a safe place before upgrading, don't you think? ;-)) If you are currently running Citrix Access Gateway version 4.2 you can upgrade to ...
New just been posted in MSmobiles about an open source Project called Funambol Now MSmobiles has always been keen to be setting the record straight with regard to MS's claims about the Push email (MSFP, AKU2, etc.) just being around the corner, pointing out about the onging court action by Visto, so it will be interesting to see what sort of reply Jason has regarding this and when we might actually start to see some releases by the Carriers? What is quite exciting is that although this is listed ...
No rest for the wicked! My first week back has meant clocking up the miles and visiting vendors and attending meetings. One of the software vendors I went to visit was Sybase at their Maidenhead office and particularly their mobility division. I would like to thank Ian Matthews and Tim Roberts for there hospitality. The day visit was a deep dive into the Afaria mobility management product. Afaria, if you have done your homework, is the pretty much the market leader in the mobility management space ...

I added a small feature so that if you don't know what DN to bind to and your directory server is Active Directory, you can click on a little "?" button and the application will attempt to discover a root binding DN for you.

Updated copy of the LDAP browser (c# source code and compiled exe) can be downloaded here.

Custom Properties in AD , Open DirectorySearcher Queries and Large LDAP Queries QUESTION Mike, I am new to AD and LDAP but have programmed the last couple of years in C#. I have read your articles. I am trying to write a program that will go in and check three columns in a User OU for each of the objects in that OU. I need to check the sAMAccountName, EmployeeNumber and UIDNumber. I have to make sure that the EN and the UID are the same but they must be different than the sAMAccountName. I then must ...
This occurs when using ADSI (ActiveDs.dll) when retreiving a property value whose type (in the schema) is not the same as that specified in the method you use. In my case I was trying to access a property which was a dn (distinguished name), however the method I was using to retrieve the value was defaulting to type ADSTYPEENUM.ADSTYPE_CASE_IG... This caused the following error: Exception Information****************... Type: System.Runtime.InteropServi... ...
This article on ASP Alliance explains how to use the IP*Works! .Net LDAP component in an ASP.Net web application. A lot of people have emailed me asking about how to do this in classic ASP. For those people, here is the same information told from the perspective of the classic ASP developer, using the Ldap component from IPWorks ASP Edition ...
When you connect to a directory server, you can do a DSE search to determine if it is an AD server or not. If the supportedCapabilities attribute contains the value "1.2.840.113556.1.4.800", you know it is AD. How do you perform a root DSE search using the IP*Works! Ldap component? This is discussed in an LDAP tutorial on the nsoftware website. Basically its just a search in which the DN is blank, the search filter is "objectClass=*", and you have a base level search scope ...
.Net Directory Services Programming – C# - Part 2 Topics Covered Binding – How to connect to directory services and the flexibility of the bind process. Properties – Review of the most commonly used AD properties, and a look at a few others. Binding You will remember in Part 1 that we provided a very simple code example of binding to AD and retrieving the object reference for the user object CN=Mike Hamilton. Here I want to review a little more in detail the binding process. Binding ...
As you venture into this aspect of development, you will likely use 1 of 2 assemblies to provide you access to Active Directory (AD) or other directory services providers (DSP's). Microsoft's System.DirectoryServices is the most fundamental - providing core LDAP (lightweight directory access protocol) access to AD and its schema/components. The other is Microsoft's Active Directory Services Interface assembly (ADSI) - the ActiveDs.DLL - which is not so documented but provides a hoard of features ...
Here is a sample LDAP Browser with csharp source code. This was built using the IP*Works! LDAP component.  This zip includes the .net exe, but not that if you actually want to compile you will need to download and install IPWorks.
Using LDAP to authenticate users is common, fast, and easy way to do. A while back I wrote a tutorial about how this can be done in a web app using the IP*Works! LDAP component. This particular article was written using VB.Net code samples. Some people ask me for classic ASP code samples, here you go. Lots of people ask about how to change an Active Directory (orADAM) user password over LDAP. With Novell, SunOne, and OpenLdap, its not so difficult as long as you have the administrator permissions ...
There is a new update available for the Citrix Access Gateway Also be aware that the Admin Interface does change significantly from 4.0 to 4.1, it would appear on the surface of it that 4.1 was a bit "buggy" so it might be a better idea to try the 4.1.2, although as usual, your mileage may vary ;-)) http://support.citrix.com/k... orhttp://support.citrix.com... Resolved in this Hotfix 1. Cached LDAP user group information was not ...
In my experiences with AD, SunOne (iPlanet), Siemens, and Novell directory servers, root DSE searches turn up a full set of results. This search request is sent like so: Dim ldap as new nsoftware.IPWorks.Ldap() ldap.ServerName = SERVERNAME ldap.DN = "" ldap.SearchScope = ssBaseObject ldap.Search "objectClass=*" By default, when no attributes are provided in the search request itself, these directory servers will return all the attributes. Today, someone pointed out to me that the OpenLDAP server ...
So far my testing has only substantiated the RFCs that define LDAP communications. Since the client first authenticates then subsequently makes its request operations, it would be impossible for Big-IP to identify the request without some theoretical LDAP proxy capability. An LDAP proxy would need to authenticate a user locally and then identify the nature of a request, upon which Big-IP would then authenticate against the actual LDAP servers themselves and subsequently forward on the client request ...
Bad news, the LDAP browser opens a connection to the the server prior to sending commands. This nails up a TCP connection, at this point all load balancing decisions are over. Any intervention by Big-IP will break the IP session. If the Vingette servers work similarly, then a rule will not work. Also as a side note the LDAP browser reveals a potential security exploit, given that there is an apparent long-lived TCP connection. I must consult RFCs 1777 and 2251 ...
The issue is Vignette makes LDAP v.2 requests that are load balanced to a Master and Consumer, Sun Java System Directory Server 5.2. I must parse the transactions to identify “read“ and “write“ requests. Read requests may be sent to either servers, while the write requests must be sent only to the Master LDAP server. Read request redirected to Master or Consumer LDAP server: SearchRequest CompareRequest Write requests forwarded to Master LDAP server: ModifyRequest AddRequest ...
Game Day. Leave Peoria at 6:30 a.m. and head for the University of Illinois, Champaign-Urbana. My initial impression, “so this is what a computer science department is supposed to look like...wow.” My second impression, (download speeds of 2 MB/sec) “I thought hitting over 100 KB/sec was good.” Here's the break-down: Format -- Long and Boring Round 1 We have two rooms with approximately 10 teams in each. We have two judges, one judge short. Each team gets 20 minutes with a ...
ASP.NET Whidbey Themes Developer productivity Reduce ASP.NET V1-V2 lines of code by 2/3rds Enable rich scenarios not easily possible today Administration and Management Easiest platform to manage and administer Totally Extensible Platform Replace/extend all built-in features + services Customize for any enterprise environment Performance and scalability The world’s fastest web application server Runs on a 64-bit server ASP.NET 2.0 Developer Stack New ASP.NET Building block APIs Membership. ...