Accessing the Lotus Notes address book through LDAP

  • Thread starter Thread starter sweetpotatop
  • Start date Start date
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.
 
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
 
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.
 
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
 
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
 
Back
Top