How do I provide Active Directory Authentication in .NET Compact Framework 2.0?

I need to provide authentication from the .NET Compact Framework application to a Windows Active Directory. But I figure out that there is no System.DirectoryServices Namespeace in the compact framework. Does anyone has any suggestion on providing a Active directory authentication to a smart client



Answer this question

How do I provide Active Directory Authentication in .NET Compact Framework 2.0?

  • Nuno Barreiro

    Since there is no AD support at the OS level, you will need some sort of LDAP client

  • Melterx12

    Thanks Alex. The LDAP API supported by CE 4.2 and 5.0 allows me to login to AD. I ended up writing a COM wrapper for the API as you suggested. My project is for Pocket PC 2003 and the SDK provided by micrososft is missing the wldap32.lib. So I make my Mobile 5.0 (the file is there is the 5.0 sdk) working but is waiting for Microsoft to send me the file.

    See,

    http://forums.microsoft.com/msdn/showpost.aspx postid=446490&siteid=1

    Thanks for your help!


  • How do I provide Active Directory Authentication in .NET Compact Framework 2.0?