views:

536

answers:

2

Can anyone point me at good books for Active Directory Programming in C++ ( Linux ) or refer me to libaries for doing this?

I need to authenticate application with is developed C++ and Sever has Active Directory , And before going to Start the application . I need to test user credentials information with Active Directory .

+2  A: 

Try looking at the documentation for winbind, which is a windows domain interface that comes with Samba. Using winbind you can attach a machine to an AD domain and use AD authentication for logins. Note that you can get a pam module for winbind (pam_winbind) so you could possibly use libpam.

ConcernedOfTunbridgeWells
A: 

You may also want to look into the MIT Kerberos V5 library.

A few applicable Links

MIT Kerberos Site

Kerberos Infrastructure HOWTO

MS TechNet: Step by Step Guide to Kerberos Interoperability

The KRB library has sample code for connecting to AD.

Philip T.