Solved

Novell

Posted on 2002-06-25
3
573 Views
Last Modified: 2007-11-27
Anyone know a good tutorial for authenticating against Novell via ASP/COM objects?
0
Comment
Question by:thunderchicken
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
ManuelMSP earned 400 total points
ID: 7107593
There are couple of Internet Directory Controls in Novell Controls for
ActiveX ,
you can use,

     Novell Internet Directory Entries Control
     Novell Internet Directory Query Control


You can download the same @ http://developer.novell.com/ndk/ocx.htm

Example Sample Code written Visual Basic:

Private Sub Connect_Click()
Dim Query As Object
Dim Results As NWQueryResults
Dim Result As NWQueryResult
On Error GoTo eh:
Set Query = CreateObject("NWIDirQueryLib.NWIDirQuery.1")
Query.FullName = "ldap:\\servername\o=OrgName"
MsgBox Query.FullName

With Query
    .UserName = "ldap:\\servername\o=OrgName\cn=admin"
    .Password = "Admin Password"
    .Connect
     MsgBox "Connected"

    Query.Fields = "cn,telephoneNumber"

    Set Results = Query.Search()
    MsgBox Results.Count

    Set Result = Results.Item(2)
    phNos = Result.FieldValue("telephoneNumber")
    For i = LBound(phNos) To UBound(phNos)
          MsgBox phNos(i)
    Next

Set Result = Nothing
Set Results = Nothing
End With

Exit Sub
eh:
    MsgBox Err.Description
    Resume Next
End Sub

Hope this helps a bit.
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 7107595
Found the answer... no need for help
0
 
LVL 11

Author Comment

by:thunderchicken
ID: 7107599
That's what I found, you posted before I could post that I found it so you deserve the points.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question