“Dare to Win” or “Why I love S.DS”

Note: “Dare to struggle. Dare to win!” was a slogan used in the 1960s by the Students for a Democratic Society (SDS). This post has nothing to do with that.

Imagine, for a moment, that you’re a software developer, it’s the year 1998 and you need to write a program that accesses an LDAP directory. What do you have to do? Something like this:

  1. Write a TCP-based transport layer to connect to the LDAP server.
  2. Write a data access layer that composes LDAP protocol messages, sends them and decodes the replies.
  3. Write a bunch of utility routines to find LDAP servers, deal with error conditions, handle asynchronouse mode, deal with paged results, etc.
  4. Write all your code in C/C++.
  5. Fix numerous memory management issues: leaks, overruns, heap corruption, etc.

It’s incredible that anybody ever did this. It’s not surprising that the few who did took a really, really, long time to do it.

Now, fast forward to 2008. How would your task be any different? You’d:

  1. Write your code in a .NET language (probably C#)
  2. Use System.DirectoryServices (S.DS) to do all of your LDAP work

You wouldn’t have to write any network code. You wouldn’t have to write any LDAP protocol code. You’d have all the utility functions that you needed including ones specific to Microsoft Active Directory. You would not have to deal with 99% of the memory management problems (it’s still possible to leak memory in .NET but you have to try hard to do it).

I am not exaggerating when I say that you’d be 100 times more productive in 2008 than in 1998.

Lest I place too many laurels on S.DS, let me acknowledge that it’s actually a layer on top of another technology: the Active Directory Service Interfaces (ADSI). ADSI does the really hard work. It implements a scriptable object layer on top of LDAP that makes it much, much, easier to bind to LDAP objects, to perform searches and to get/set object attributes. Anyone who has to deal with AD should immediately go out and buy Robbie Allen’s Active Directory Cookbook if they don’t have one already. The Cookbook has tons of “recipes” that describe how ADSI (and other tools)  can be used from script languages (vbscript, jscript) to manipulate AD.

By the way, the inventor of ADSI (the key developer who managed the project at Microsoft) is Krishna Ganugapati, our VP Engineering at Likewise Software.

Oh, and while you’re getting the Cookbook, you might as well pick up a copy of Jerry Carter’s LDAP System Administration, another excellent book. And, yes, Jerry is another Likewise employee (a senior developer and the main person in charge of Likewise Open).

You know what else is really cool? If you have a good software developer or two, you can write your own version of S.DS that calls OpenLDAP and then use Mono to run S.DS-based code on Linux, UNIX and Mac OS X. Mind you, your developers have to be pretty good; the exercise is not trivial. You have to deal with Kerberos, for example, in order to make authenticated LDAP calls to AD.

53 Responses to ““Dare to Win” or “Why I love S.DS””

  1. Jamesdaymn says:

    viagra prices buy cheap sildenafil generic name for viagra

  2. KevinInigh says:

    coupon for cialis by manufacturer cialis the effects of cialis on women

  3. WallyLes says:

    best canadian pharmacy online online medication erectile dysfunction medications

  4. WallyLes says:

    dysfunction erectile erection pills cause of ed

  5. Stevenslilk says:

    mail order viagra buy viagra online how much viagra should i take the first time?

  6. Stevenslilk says:

    canadian viagra buy ed pills online viagra discount

  7. DanielEnank says:

    ed drugs cheap ed pills pharmacy online

  8. DanielEnank says:

    ed drugs compared Cheap Erection Pills levitra without a doctor prescription

  9. DanielEnank says:

    prescription drugs Cheap Erection Pills meds online without doctor prescription

  10. NathanHok says:

    online cialis cialis for sale how long does it take cialis to take effect

  11. NathanHok says:

    cialis generic availability tadalafil cialis 30 day trial coupon

  12. Williamphish says:

    ed medicines buy ed pills online shots for ed

  13. Williamphish says:

    treatments for ed best online canadian pharmacy herbal ed

  14. RobertKic says:

    tadalafil for sale tadalafil pharmacy

  15. RobertKic says:

    compare pharmacy buy generic drugs cheap

  16. RobertKic says:

    buy tadalafil online tadalafil canada

  17. RobertKic says:

    sildenafil buy sildenafil online

  18. Way cool! Some extremely valid points! I appreciate you penning this
    post and also the rest of the site is also very good.

  19. CaseyHof says:

    drugs prices https://sildenafilxxl.com/ canadian online pharmacy viagra

  20. Anonymous says:

    Cheap Proxy Buy

    I found a great…

  21. Anonymous says:

    Shared Proxy

    I found a great…

  22. Anonymous says:

    Palmer Sarafin

    I found a great…

  23. payday loan says:

    I enjoy you because of all of the effort on this blog. Debby delights in conducting internet research and it’s easy to see why. A number of us hear all about the compelling form you convey both useful and interesting guidelines by means of the blog and boost contribution from other individuals about this area of interest and my child has been becoming educated a great deal. Enjoy the remaining portion of the new year. You’re carrying out a fabulous job.

  24. I am just writing to make you understand what a wonderful experience our princess went through visiting yuor web blog. She realized too many things, with the inclusion of what it is like to possess an incredible teaching style to make the rest without problems understand various very confusing topics. You undoubtedly surpassed visitors’ expected results. Thanks for supplying those warm and helpful, trustworthy, revealing not to mention unique tips on your topic to Tanya.

  25. order luvox says:

    I am commenting to let you know of the fantastic encounter my cousin’s daughter experienced reading your site. She even learned many issues, not to mention what it’s like to have a wonderful giving mindset to have many people quite simply grasp chosen grueling subject areas. You really exceeded our expectations. Many thanks for giving the informative, healthy, educational and as well as easy thoughts on the topic to Jane.

  26. Thanks for another magnificent post. Where else could anyone get that type of info in such an ideal way of writing? I have a presentation next week, and I’m on the look for such information.

  27. Thanks for the tips on credit repair on all of this blog. The thing I would offer as advice to people will be to give up a mentality they will buy at this moment and pay back later. As being a society most people tend to repeat this for many factors. This includes family vacations, furniture, plus items we really want to have. However, you must separate a person’s wants from the needs. When you’re working to fix your credit score you really have to make some trade-offs. For example you possibly can shop online to economize or you can click on second hand suppliers instead of highly-priced department stores to get clothing.

  28. Anonymous says:

    DreamProxies

    I found a great…

  29. Rodrigo Lias says:

    Buy Private proxies: BEST PRIVATE PROXIES – Exclusive level of quality, Endless data transfer, 1000 mb/s superspeed, 99,9 uptime, No sequential IP’s, Virtually no practice polices, An array of subnets, USA and even Eu proxies – Purchase These days – DreamProxies.com

  30. Anonymous says:

    Wilson Difabio

    I found a great…

  31. Anonymous says:

    residential private proxies free

    I found a great…

  32. Hi, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam feedback? If so how do you prevent it, any plugin or anything you can suggest? I get so much lately it’s driving me mad so any support is very much appreciated.

  33. Anonymous says:

    dedicated private proxies free

    I found a great…

  34. Anonymous says:

    Verlene Esmiol

    I found a great…

  35. Anonymous says:

    Adan Oas

    I found a great…

  36. Donn Frazey says:

    I love the efforts you have put in this, regards for all the great articles.

  37. I like this website its a master peace ! .

  38. Anonymous says:

    Zelma Yoke

    I found a great…

  39. Anonymous says:

    Mila Neimeyer

    I found a great…

  40. Hi! I’ve been reading your website for a while now and finally got the courage to go ahead and give you a shout out from Porter Tx! Just wanted to say keep up the great work!

  41. Anonymous says:

    Sherwood Trace

    I found a great…

  42. Anonymous says:

    Mack Demarce

    I found a great…

  43. Sharla Jakab says:

    Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

  44. I saw a lot of website but I believe this one has got something special in it in it

  45. Looking to get superior in addition to anonymous private proxies? https://DreamProxies.com presents the best quality unknown proxies having 50 discounts and BIG bonuses! Obtain right now and get your private proxies

  46. Reda says:

    Hi there, just wanted to say, I liked this blog post.
    It was helpful. Keep on posting!

  47. Nate says:

    Thanks for finally talking about > “Dare to Win” or
    “Why I love S.DS” « And Then… < Liked it!

  48. Anonymous says:

    Rubin Verna

    I found a great…

  49. Anonymous says:

    Dulce Burtless

    page-description

  50. Hairstyles says:

    Awesome blog! Do you have any recommendations for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally overwhelmed .. Any recommendations? Thanks!

  51. Hairstyles says:

    There are some attention-grabbing points in time on this article however I don抰 know if I see all of them heart to heart. There may be some validity however I’ll take maintain opinion till I look into it further. Good article , thanks and we wish more! Added to FeedBurner as properly

Leave a Reply