By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,300 Members | 1,867 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,300 IT Pros & Developers. It's quick & easy.

Need help with Novell LDAP and VB.NET

P: 15
Hello, I am really stuck on how to get a LDAP connection with my college.

http://www.niu.edu/its/www/sharedlib...mmandline.html

First of all I'm trying to convert this to VB.NET and I'm having trouble.

I don't understand how I should conver

LDAPResult lr = LDAPAuthenticator.Authenticate(ldapServer, ldapPort, username, password);

to VB.NET

When I check out the LDAPAuthenticator info,

http://www.niu.edu/its/www/sharedlib...api/index.html

It says that

[Visual Basic]
NotInheritable Public Class LDAPAuthenticator

I don't understand what that means and what I can do with it.

----

My code currently looks like this.

Expand|Select|Wrap|Line Numbers
  1. Partial Class _Default
  2.     Inherits System.Web.UI.Page
  3.     Dim ldapServer As String
  4.     Dim ldapPort As Integer
  5.     Dim username As String
  6.     Dim password As String
  7.  
  8.  
  9.  
  10.     Public NotInheritable Class LDAPAuthenticator
  11.  
  12.  
  13.     End Class
  14.  
  15.     Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
  16.         ldapPort = 636
  17.         username = txtID.Text
  18.         password = txtPassword.Text
  19.         ldapServer = "ldap.niu.edu"
  20.  
  21.     End Sub
  22.  
  23.  
  24. End Class


---

Thanks.
Oct 31 '07 #1
Share this Question
Share on Google+
1 Reply


P: 15
Sorry to have this bumped, I'm stumped :(
Oct 31 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.