Solved

Novell

Posted on 2002-06-25
3
569 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now