?
Solved

Novell

Posted on 2002-06-25
3
Medium Priority
?
578 Views
Last Modified: 2007-11-27
Anyone know a good tutorial for authenticating against Novell via ASP/COM objects?
0
Comment
Question by:thunderchicken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
ManuelMSP earned 1600 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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/…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

771 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