Solved

Novell

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
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/…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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