I have been toying with the idea of having an Active Directory
authentication / authorisation functionality in MS Access; but there
is not much useful info around.
I have built these functionalities for some applications (JAVA, PHP).
The parameters used there are the LDAP parameters for AD:
*searchFilter: (objectClass=us er)
*searchBase: OU=register,OU= applications,DC =inside,DC=myco mpany,DC=com
*adminPassword: Password
*adminName: CN=LDAP
Lookup,OU=Servi ces,OU=applicat ions,DC=inside, DC=mycompany,DC =com
*ldapURL: ldap://ldap.nicta.net
But I have not had much experience with LDAP queries using VBA :-(
Is there any sample code showing the correct synthax and appropriate
functions to use these parameters in a VBA for Access environment?
My idea is to have users presented with a login form; if they
authenticate successfully against AD then I can manage their
authorisation in locally in MS Access.
An even better scenario would be to also check if they belong to a
specific AD group - this way I could also manage authorisation using
AD.
I am using Access2k3 on Win XP S2; the AD service supports LDAP v4.
Any help would be greatly appreciated.
authentication / authorisation functionality in MS Access; but there
is not much useful info around.
I have built these functionalities for some applications (JAVA, PHP).
The parameters used there are the LDAP parameters for AD:
*searchFilter: (objectClass=us er)
*searchBase: OU=register,OU= applications,DC =inside,DC=myco mpany,DC=com
*adminPassword: Password
*adminName: CN=LDAP
Lookup,OU=Servi ces,OU=applicat ions,DC=inside, DC=mycompany,DC =com
*ldapURL: ldap://ldap.nicta.net
But I have not had much experience with LDAP queries using VBA :-(
Is there any sample code showing the correct synthax and appropriate
functions to use these parameters in a VBA for Access environment?
My idea is to have users presented with a login form; if they
authenticate successfully against AD then I can manage their
authorisation in locally in MS Access.
An even better scenario would be to also check if they belong to a
specific AD group - this way I could also manage authorisation using
AD.
I am using Access2k3 on Win XP S2; the AD service supports LDAP v4.
Any help would be greatly appreciated.
Comment