|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Need assistance connecting to AD using LDAPAD for user authentication. I am trying to use the code found at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/active_directory_authentication_from_asp__net.asp I'm using forms-based authentication and everytime I enter my user/pass it returns (I know it's correct because it is my login credentials): Authentication did not succeed. Check user name and password. The heirarchy of our folders in AD resembles this (the location of my AD entry): corp.bedking.com >> Bed King >> Corporate >> Information Technology >> My User Account The LDAP path I am using is this: LDAP://corp.bedking.com/CN=Users,DC=corp,DC=bedking,DC=com Please provide me any insight if you see any mistakes I have made. This has been a long-running issue that I would LOVE to resolve. Thank you for your assistance. -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 3. MIEMBRO ACTIVO DE ALIANZADEV http://spaces.msn.com/members/extremed/ Not sure of the example you provided, but I would simply reformat the LDAP
connection string to this: LDAP://CN=Users,DC=corp,DC=bedking,DC=com You don't need the FQDN before the path, as you are providing that with the DC=,DC=, etc. Show quote "Luis Esteban Valencia" <luisva***@haceb.com> wrote in message news:%23$KFfXM%23EHA.208@TK2MSFTNGP12.phx.gbl... > I've never worked with LDAP before, and I'm having issues connecting to > our > AD for user authentication. I am trying to use the code found at: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/active_directory_authentication_from_asp__net.asp > > > > I'm using forms-based authentication and everytime I enter my user/pass it > returns (I know it's correct because it is my login credentials): > > Authentication did not succeed. Check user name and password. > > > > The heirarchy of our folders in AD resembles this (the location of my AD > entry): > > corp.bedking.com >> Bed King >> Corporate >> Information Technology >> My > User Account > > > > The LDAP path I am using is this: > > LDAP://corp.bedking.com/CN=Users,DC=corp,DC=bedking,DC=com > > > > Please provide me any insight if you see any mistakes I have made. This > has > been a long-running issue that I would LOVE to resolve. Thank you for > your > assistance. > > -- > LUIS ESTEBAN VALENCIA > MICROSOFT DCE 3. > MIEMBRO ACTIVO DE ALIANZADEV > http://spaces.msn.com/members/extremed/ > > >Not sure of the example you provided, but I would simply reformat the LDAP Not in a WinForms app - in this scenario, this "server-less binding">connection string to this: > >LDAP://CN=Users,DC=corp,DC=bedking,DC=com > >You don't need the FQDN before the path, as you are providing that with the >DC=,DC=, etc. works well. Not so in ASP.NET environments where you'll need to specify the server you want to bind to, and credentials (most often). Marc ================================================================ Marc Scheuner May The Source Be With You! Berne, Switzerland m.scheuner -at- inova.ch >I've never worked with LDAP before, and I'm having issues connecting to our Try specifying the SERVER (DC) you want to bind to:>AD for user authentication. >I'm using forms-based authentication and everytime I enter my user/pass it >returns (I know it's correct because it is my login credentials): >Authentication did not succeed. Check user name and password. LDAP://MyDC01.corp.bedking.com/CN=Users.......... Marc ================================================================ Marc Scheuner May The Source Be With You! Berne, Switzerland m.scheuner -at- inova.ch |
|||||||||||||||||||||||