Root DN for user authentication requires a password. Is this supported?

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/27/2011 5:04:33 PM
Gravatar
Total Posts 1

Root DN for user authentication requires a password. Is this supported?

System Information
mojoPortal Version 2.3.6.7 MSSQL
Operating System Microsoft Windows NT 6.1.7601 Service Pack 1
ASP.NET Info v2.0.50727 Running in Full Trust

When I attempt to use the Root DN without the password I of course get the following error:

2011-09-27 16:25:29,489 ERROR mojoPortal.Business.LdapHelper - login failure
System.DirectoryServices.DirectoryServicesCOMException (0x8007052E): Logon failure: unknown user name or bad password.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_NativeObject()
   at mojoPortal.Business.LdapHelper.ActiveDirectoryLogin(LdapSettings ldapSettings, String uid, String password)

 

Thanks in advance for any help?

9/27/2011 7:33:23 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Root DN for user authentication requires a password. Is this supported?

The ActiveDirectory authentication matches the mojoPortal user ID with the sAMAccountName field in active directory. The get_NativeObject() call is used to validate the SAMAccountName/entered password combination as a valid and active user in AD. So the authentication is actually happening at the user level, not the root user.

I hope that helps,
Jamie

You must sign in to post in the forums. This thread is closed to new posts.