Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access LDAP use Visual C++6

Status
Not open for further replies.

helending

Programmer
Mar 12, 2002
1
CN
I want to access WinNT LDAP(userdb) use visual c++6.
The function I need is :
1.access LDAP to check whether a certain account exist or get an account's passwd use given username.
2.create NT account with provided username & passwd.
I'm not sure what should the account' priviledge be. I think remote logon or remote access priviledge will be ok
From msdn I got that I should use ADSI to accomplish it, but it seems not easy to use ADSI.
I tried to find samples on internet, but failed. All the samples & manuals I got are for Dephi or VB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top