“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.

88 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:


    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


  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

  52. Hairstyles says:

    Great beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog web site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided bright clear concept

  53. I love what you guys are up too. This kind of clever work and coverage! Keep up the excellent works guys I’ve you guys to our blogroll.

  54. Best Proxies says:

    Its such as you learn my thoughts! You appear to know so much approximately this, such as you wrote the e-book in it or something. I believe that you just can do with a few percent to drive the message home a bit, however other than that, that is wonderful blog. A fantastic read. I will certainly be back.

  55. Hello, I would like to subscribe for this blog to take most recent
    updates, therefore where can i do it please assist.

  56. Anonymous says:

    Quality Plays

    I found a great…

  57. What’s up, just wanted to say, I loved this blog
    post. It was practical. Keep on posting!

  58. Anonymous says:

    Real Youtube Services

    I found a great…

  59. Stunning story there. What occurred after? Take care!

  60. This is a very interesting article. Please, share more like this!

  61. I am not sure where you’re getting your info, but great topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for fantastic info I was looking for this info for my mission.

  62. I am no longer certain where you are getting your info, however good topic.
    I needs to spend a while learning more or understanding more.
    Thank you for magnificent info I was searching for this info for my mission.

  63. Way cool! Some extremely valid points! I appreciate
    you penning this write-up and the rest of the site is really good.

  64. FvfcExork says:

    get viagra overnight viagra; overnight shipping no prescription top sale viagracialis

  65. Thanks for your article. Another element is that being a photographer includes not only problems in catching award-winning photographs but in addition hardships in acquiring the best video camera suited to your needs and most especially struggles in maintaining the grade of your camera. This can be very accurate and noticeable for those photography addicts that are in to capturing the actual nature’s fascinating scenes : the mountains, the forests, the particular wild or the seas. Going to these adventurous places unquestionably requires a digital camera that can meet the wild’s unpleasant area.

  66. Ahkdapeno says:

    best online pharmacy canadian drugstore reviews online pharmacies no prescription

  67. cialis without prescription cialis con alimentos discount cialis

  68. I’m not sure where you’re getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thanks for great information I was looking for this info for my mission.

  69. Lbsxapeno says:

    pharmacy price compare buy viagra reputable canadian mail order pharmacies

  70. Jbbvapeno says:

    general health canadian pharmacy online canadianpharmacy

  71. Kbcxsmat says:

    mexican pharmacies online canadian online pharmacy reviews canada pharmacy no prescription

  72. Kuikwrami says:

    bayviagra sun viking viagra viagra, australia

  73. Fqhhapeno says:

    best online pharmacies no prescription canadian pharmacies without an rx pharmacy online prescription

  74. Jbnbirore says:

    prescription drugs prices canada pharmacy no prescription canadian pharmacy king

  75. NncsExork says:

    viagra generic australia cheap chinese viagra paying with paypal pfizerl viagra online

  76. What’s up colleagues, how is the whole thing, and what you desire to say on the topic of this post, in my view its in fact
    amazing for me.

  77. Ahbzapeno says:

    legal payday loans online american express card cash advance locations first virginia payday loans suffolk va

  78. Labxapeno says:

    cialis drug plan remedio similar ao cialis can i take tamsulosin with cialis

  79. Jbbnapeno says:

    achat de cialis pas cher cialis generika wien faire l’amour avec cialis

  80. Dane Coslan says:

    cars for sale.com

  81. Kvaxsmat says:

    30 day payday loans no credit check canada payday cash advance warren ohio bank loans and advances definition

  82. Jbnvirore says:

    payday loans affiliate marketing cash advance loans in phoenix az what is a cash advance finance charge

  83. Fqbbapeno says:

    trapped in a payday loan payday loans no turndowns payday loans over the internet

  84. Fitness Tips says:

    you’ve got an awesome blog right here! would you prefer to make some invite posts on my weblog?

  85. Phenelzine says:

    Did you know that the MAOI Anti-depressant Nardil is effective in 90 of patients for social anxiety and depression?

Leave a Reply