Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 366499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:38:19+00:00 2026-05-12T13:38:19+00:00

I am trying to connect to an edirectory v8.8 server running LDAP. How would

  • 0

I am trying to connect to an edirectory v8.8 server running LDAP. How would I go about doing that in .NET? Can I still use the classes in System.DirectoryService such as DirectoryEntry and DirectorySearcher or are they AD specific? Do I need to specify the "Connection String" any differently?

I am trying something like the code below but it doesn’t seem to work…

DirectoryEntry de = new DirectoryEntry ("LDAP://novellBox.sample.com","admin","password",AuthenticationTypes.None);
DirectorySearcher ds = new DirectorySearcher(de);
var test = ds.FindAll();

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:38:20+00:00Added an answer on May 12, 2026 at 1:38 pm

    Well, I think your connection string is missing a bit – specifying just the server name isn’t good enough – you also need to specify a “starting point” for your search.

    In AD, this would typically be something like the “Users” container in your domain, which you’d specify like this in LDAP parlance:

    LDAP://novellBox.sample.com/cn=Users,dc=YourCompany,dc=com
    

    Not sure how LDAP compliant the newer versions of eDirectory are – but that should work since in theory, it’s standard LDAP regardless of the implementation 🙂

    But then again: only in theory, there’s no difference between theory and practice…..

    There’s also a System.DirectoryServices.Protocols namespace which offers low-level LDAP calls directly – and that’s definitely not tied to AD at all, but it’s really quite low-level…..

    There’s also a Novell C# LDAP library but I’ve never tried it and can’t say how complete or capable it is. It might give you some clues, though!

    Also see this other Stackoverflow question about Novell, LDAP and C# – it might give you additional info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to connect to an LDAP server which requires StartTLS, but having no
I am trying to test on a private development server, and I can't use
I'm trying to use plink on winXP to connect to a linux server and
We want to use a proxy user to connect to an LDAP server (Active
Im trying to connect MySql from VB.NET in visual basic 2010. I wanted to
When I am trying to connect to my SVN repository on some remote server
I am trying to connect to a MySQL Server using JDBC tool in java
I'm trying to publish my program so that it can get updates and am
I'm trying to connect to James server localhost, but I'm getting an exception javax.mail.MessagingException:
I'm trying to write an application that runs as a daemon and monitors running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.