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