Thoughts from Dan Miser RSS 2.0
# Monday, October 18, 2004
I installed AD/AM (download link is here) a while back in order to do some LDAP testing on my local XP box without having to turn it into a full-fledged Domain Controller. It installs easily and works reasonably well.

However, I was having all sorts of problems getting the WinLDAP JEDI port to work against AD/AM. AD/AM is LDAP version 3, so I modified the demo that came with JEDI to say:


  Version := LDAP_VERSION3;
  ldap_set_option(nil, LDAP_OPT_PROTOCOL_VERSION, @Version);

The result of all of this is that I get an "Operations error" when calling ldap_search_s. Doing some digging on Google, I believe there is some problem with the authentication against AD/AM when using ldap_simple_bind_s. No error is returned, but my gut tells me the error lies there.

My first thought at solving this was to create a hook DLL that would do OutputDebugStrings each and every time I used the wldap32.dll. Doing this, I could compare the calls and parameters used when using the Address Book (wab.exe) program - which works - and the sample program from the JEDI port - which doesn't work. I even used ldp.exe to do some testing and couldn't get authentication and searching to work properly. ldp reported that my ldap_simple_bind_s authenticated me properly, but the subsequent call to ldap_search_s resulted in the Operations Error with extended server error information telling me that "In order to perform this operation a successful bind must be completed on the connection.".

In the end, I had to succumb to deadline pressures. I now use ADSI, and things work just fine. I'd really like to get the low-level LDAP working, but that has to be a task left for another day.

Monday, October 18, 2004 10:17:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [0] -

Tracked by:
http://9ns-information.info/31999468/index.html [Pingback]
http://9nt-information.info/95642843/index.html [Pingback]
http://9nu-information.info/03095416/index.html [Pingback]
http://9nx-information.info/87357431/index.html [Pingback]
http://9nu-information.info/59649570/roadmaster-trailer-lights-drawtite.html [Pingback]
http://9nu-information.info/70486892/index.html [Pingback]
http://9nc-information.info/00797350/index.html [Pingback]
http://9nd-information.info/78425537/quark-xpress-software.html [Pingback]
http://9oa-information.info/23505190/index.html [Pingback]
http://9qf-information.info/68085223/index.html [Pingback]
http://9of-information.info/97452767/index.html [Pingback]
http://9ow-information.info/82729529/index.html [Pingback]
http://9oe-information.info/93445633/index.html [Pingback]
http://9oa-information.info/58805190/index.html [Pingback]
http://9qn-information.info/68996877/testo-dei-kiss.html [Pingback]
http://9op-information.info/59965704/cost-per-photo-using-hp-8750.html [Pingback]
http://9so-information.info/41146832/index.html [Pingback]
http://9rw-information.info/57849149/snow-patrol-chasing-cars.html [Pingback]
http://9sa-information.info/86782256/riproduzione-gioiello-antichi-argento.html [Pingback]
http://9sq-information.info/77844852/index.html [Pingback]
http://9rq-information.info/43747532/product-recall-canned-dog-food.html [Pingback]
http://9rj-information.info/13915126/index.html [Pingback]
http://9sp-information.info/08405337/index.html [Pingback]
http://9uafb-le-informazioni.info/17905179/index.html [Pingback]
http://9uafg-le-informazioni.info/08482836/index.html [Pingback]
http://9uafr-le-informazioni.info/29886789/index.html [Pingback]
http://9uaei-le-informazioni.info/29429540/index.html [Pingback]
http://9uaet-le-informazioni.info/06884665/pirelli-movie.html [Pingback]
http://9uafj-le-informazioni.info/39915826/index.html [Pingback]
http://9uafa-le-informazioni.info/88382930/index.html [Pingback]
http://9uaed-le-informazioni.info/66890808/index.html [Pingback]
http://9uafb-le-informazioni.info/23530513/index.html [Pingback]
http://9uaff-le-informazioni.info/42506997/ft-817-nd.html [Pingback]
http://9uahk-le-informazioni.info/92165145/corso-front-page.html [Pingback]
http://9uags-le-informazioni.info/49951363/parole-di-vita-eterna.html [Pingback]
http://9uahc-le-informazioni.info/97674435/index.html [Pingback]
http://9uaha-le-informazioni.info/78414291/index.html [Pingback]
http://9uagr-le-informazioni.info/74172705/scuola-media-statale-pecoraro-palermo... [Pingback]
http://9uahg-le-informazioni.info/26049639/index.html [Pingback]
http://9uagm-le-informazioni.info/06072043/gimp-eps.html [Pingback]
http://9uagd-le-informazioni.info/40927217/modify-registry.html [Pingback]
http://9uahi-le-informazioni.info/69813756/index.html [Pingback]
Comments are closed.
Navigation
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Dan Miser
Sign In
Statistics
Total Posts: 375
This Year: 3
This Month: 0
This Week: 0
Comments: 654
Themes
Pick a theme:
All Content © 2012, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)