MirandaPothiawala
asked on
Current LDAP user?
I have a Windows app that accesses a Microsoft SQL database. Currently the app uses Windows authentication to access the SQL database and finds each user's application privileges from a table in the database based on the Windows user name. Doing it this way means I do not have to prompt for a separate username and password for my app. Everything works fine.
I now need to implement the application in a larger organisation which has multiple Windows domains but a single LDAP directory. I want to use LDAP to identify the user rather than Windows/AD. I can sort out the SQL side (by using SQL logins) but I am new to LDAP.
I have written a VB.NET test app and figured out how to do LDAP queries. However, how do I find out the details of the current user using LDAP instead of Windows? Is there even a concept of 'currently authenticated user' in LDAP? I have a feeling I'm missing something but I don't know what!
Thanks in advance,
Miranda
I now need to implement the application in a larger organisation which has multiple Windows domains but a single LDAP directory. I want to use LDAP to identify the user rather than Windows/AD. I can sort out the SQL side (by using SQL logins) but I am new to LDAP.
I have written a VB.NET test app and figured out how to do LDAP queries. However, how do I find out the details of the current user using LDAP instead of Windows? Is there even a concept of 'currently authenticated user' in LDAP? I have a feeling I'm missing something but I don't know what!
Thanks in advance,
Miranda
ASKER
No I can't set up a domain forest, I do not have control of the whole domain unfortunately ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>No I can't set up a domain forest, I do not have control of the whole domain unfortunately ...<<
no need to create forest, all you have to do is, create linked server of AD.
no need to create forest, all you have to do is, create linked server of AD.
http://www.petri.co.il/understanding_function_levels_in_windows_2003_ad.htm
http://technet.microsoft.com/en-us/library/cc758611(WS.10).aspx