Anonymous_User Absent Member.
Absent Member.
2160 views

Web application Asp.Net 4.0 with Novell LDAP Authentication


Hi All,
I'm trying to develop a web application in Asp .Net 4.0 with *Novell
LDAP Authentication*.
I have added in my form login.aspx the *Login control* and I have
configured the *web.config* in this way:


Code:
--------------------
<connectionStrings>
<add connectionString="LDAP://10.0.0.100:389/cn=admin,o=pippo" name="myConnectionString"/>
</connectionStrings>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
</authentication>
<membership defaultProvider="MembershipADProvider">
<providers>
<add name="MyADMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider,
System.Web, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="myConnectionString"
port="389"
useSSL="false"
connectionProtection="None"
connectionUsername="cn=admin,o=pippo"
connectionPassword="admin"
enableSearchMethods="true"
/>
</providers>
</membership>
--------------------


But when I click on login button i receive this error:

\"THIS PROVIDER CAN TARGET ONLY ACTIVE DIRECTORY AND ADAM
DIRECTORIES.\"

I noticed that if I'm wrong password the error message changes to:
"Logon failure: unknown user name or bad password". So I think that in
some way the application is connected with ldap server and communicate
with it.

Now the questions...
Which kind of provider I must choose? Or how can I setup the
*ActiveDirectoryMembershipProvider* in order to make login against LDAP
Novell?

In other word, how can develop LDAP Authentication Code to Look Up the
User in Novell's LDAP?

Thanks to all in advance

Regards


--
fpaganel
------------------------------------------------------------------------
fpaganel's Profile: http://forums.novell.com/member.php?userid=125899
View this thread: http://forums.novell.com/showthread.php?t=454397

Labels (1)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Web application Asp.Net 4.0 with Novell LDAP Authentication


I solved!

I had to develop / create a custom membership provider. There's an
example here: 'ASP .Net 2.0 MembershipProvider for LDAP? : The Official
Microsoft ASP.NET Forums' (http://forums.asp.net/t/970391.aspx/1)

Best Regards


--
fpaganel
------------------------------------------------------------------------
fpaganel's Profile: http://forums.novell.com/member.php?userid=125899
View this thread: http://forums.novell.com/showthread.php?t=454397

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Web application Asp.Net 4.0 with Novell LDAP Authentication


Check this one.........'Difference between Authentication and
Authorization' (http://net-informations.com/faq/asp/authentication.htm)


Chris


--
chriselviss
------------------------------------------------------------------------
chriselviss's Profile: https://forums.netiq.com/member.php?userid=10519
View this thread: https://forums.netiq.com/showthread.php?t=2880

0 Likes
Knowledge Partner
Knowledge Partner

Re: Web application Asp.Net 4.0 with Novell LDAP Authenticat

Pretty old, but valid .NET Universal LDAP Connector (ULC) stiil available on Cool Solution site
https://www.novell.com/coolsolutions/tools/1828.html

Alex
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.