Active Directory: Searching Users/Group in LDAP via C++
Currently we started to migrate our existing authentication to Active Directory authetication, but now i am facing lot of issues in searching users and group.
let me explain you we have an application/server who will autheticate and authorize user. so we will change our server to autheticate from LDAP server configured.
i know we should have service account, so i have ldap setup and service account exist.
- How to search user with password via service account
- How to search group
- How to search user is part of group
it would b开发者_Go百科e good if someone refer any book and code sample to understand the LDAP search functionality.
LDAP: Programming Directory-Enabled Apps by Mark Smith, Timothy A. Howes
This book contains lot of code samples using C. I have not looked at other books though. This was sufficient for me to get started.
Matt Butcher, Mastering OpenLDAP, PackT Publishing 2007, ISBN 978-1-847191-02-1.
精彩评论