[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

accessing LDAP directory attributes.

Posted on 2003-12-07
8
Medium Priority
?
880 Views
Last Modified: 2013-12-18
I need to get an attribute from the ldap directory. Is it possible to do this with the @name function in domino 6. What other options do I have.

Regards
Pat
0
Comment
Question by:pcorreya
  • 3
  • 2
6 Comments
 
LVL 31

Expert Comment

by:qwaletee
ID: 9894599
Is this from the Domino Directory (which is also an LDAP directory), or is this from a separate LDAP directory.  If it is a separate LDAP directory, is it configured in Directory Assistance for the Directory Server for whatever client is trying to do the LDAP lookup?
0
 
LVL 1

Author Comment

by:pcorreya
ID: 9894778
It is Novell's edirectory services. It is configured in the DA.
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9895172
You want @NameLookup, with the [EXHAUSTIVE] option.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:pcorreya
ID: 9895470
We have an attribute in the edirectory called company name which i want to get hold. Will this command help.
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 1000 total points
ID: 9896944
I believe it can, but I have not tried it. @NameLookup takes as its latter parameter the name of the ite you want to retrieve.  If it is a Notes directory, you give the field Item) name.  If it is LDAP, I would imagine you pass the attribute name, which is the LDAP equivalent.  Not sure how LDAP schemas come into play for this.  Easy enough to try!

You might want to expirment first with better-known attributes that more or less HAVE to be there.
0
 
LVL 4

Expert Comment

by:bhartung
ID: 9914138
Sorry if you think this is off-topic, but so long as you were discussing ways to access LDAP (albeit Novell in your case), here's some code to allow accessing of Active Directory LDAP objects:

Include Reference to "Active DS Type Library" in VB or use "Variant" as variable types in LotusScript

Dim adsDSO As ActiveDS.IADsOpenDSObject   ' Directory Service object reference
Dim adsMembers As ActiveDS.IADsContainer   ' Container object in which user objects are accessed
Dim adsUser As ActiveDS.IADs                       ' User object to be manipulated

' Get a reference to the ADSI object we'll use to talk to LDAP
Set adsDSO = GetObject("LDAP:")

' Authenticate and get a reference to the container object
Set adsMembers = adsDSO.OpenDSObject("LDAP://MYSERVER:483/ou=Members, o=Acme", "UserName", "Password", 0&)

' Get a specific user object within the container
Set adsUser = adsMembers.GetObject("SomeClass", "cn=SomeUserName")
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

834 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