Accessing the Lotus Notes address book through LDAP

S

sweetpotatop

Hi,

I have an asp.net applicaiton in which I want to control the
accessibility. Does anyone has any idea how I can access the Lotus
Notes address book through LDAP? That way, I can restrict those who
can access the web site.


Thanks in advance. Your help would be greatly appreciated.
 
G

Guest

Hi,

I have an asp.net applicaiton in which I want to control the
accessibility. Does anyone has any idea how I can access the Lotus
Notes address book through LDAP? That way, I can restrict those who
can access the web site.

Thanks in advance. Your help would be greatly appreciated.

If you're using LDAP to store the address book in Lotus Notes, you
should be able to use standard LDAP queries to

LDAP://servername/basedn

http://www.google.com/search?hl=en&q=get+all+users+ldap
http://www.google.com/search?hl=en&q=ldap+browser

To use LDAP from ASP.NET use System.DirectoryServices
 
S

sweetpotatop

If you're usingLDAPto store the address book in Lotus Notes, you
should be able to use standardLDAPqueries to

LDAP://servername/basedn

http://www.google.com/search?hl=en&...://www.google.com/search?hl=en&q=ldap+browser

To useLDAPfrom ASP.NET use System.DirectoryServices


strADPath = "IP Address";

DirectoryEntry Entry = new DirectoryEntry(("LDAP://" +
strADPath));

foreach (DirectoryEntry child in Entry.Children)
{
Console.WriteLine(child.Name);


I got an error when it hits foreach (DirectoryEntry child in
Entry.Children)
The requested authentication method is not supported by the server.

Thanks in advance.
 
G

Guest

strADPath = "IP Address";

DirectoryEntry Entry = new DirectoryEntry(("LDAP://" +
strADPath));

foreach (DirectoryEntry child in Entry.Children)
{
Console.WriteLine(child.Name);

I got an error when it hits foreach (DirectoryEntry child in
Entry.Children)
The requested authentication method is not supported by the server.

Thanks in advance.- Hide quoted text -

- Show quoted text -

it means that ASP.NET worker process account has no rights and you
need to use an impersonation

<identity impersonate="true" />

Take a look at the following article
http://msdn2.microsoft.com/en-us/library/aa292118(VS.71).aspx
 
S

sweetpotatop

it means that ASP.NET worker process account has no rights and you
need to use an impersonation

<identity impersonate="true" />

Take a look at the following articlehttp://msdn2.microsoft.com/en-us/library/aa292118(VS.71).aspx- Hide quoted text -

- Show quoted text -

It still doesn't work even I tried:
<identity impersonate="true" />

I wonder if the methods/properties that are exposed by lotus note is
different from what I am using? Entry.Children

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top