Linger.Ldap.Novell 0.7.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Linger.Ldap.Novell --version 0.7.2
                    
NuGet\Install-Package Linger.Ldap.Novell -Version 0.7.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Linger.Ldap.Novell" Version="0.7.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Linger.Ldap.Novell" Version="0.7.2" />
                    
Directory.Packages.props
<PackageReference Include="Linger.Ldap.Novell" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Linger.Ldap.Novell --version 0.7.2
                    
#r "nuget: Linger.Ldap.Novell, 0.7.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Linger.Ldap.Novell@0.7.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Linger.Ldap.Novell&version=0.7.2
                    
Install as a Cake Addin
#tool nuget:?package=Linger.Ldap.Novell&version=0.7.2
                    
Install as a Cake Tool

Linger.Ldap.Novell

📝 View this document in: English | 中文

A comprehensive .NET library providing seamless integration with LDAP directories using the Novell.Directory.Ldap provider, with cross-platform support.

Features

Core Functionality

  • Platform-independent LDAP operations
  • SSL/TLS secure connections
  • Connection pooling and management
  • Comprehensive error handling

User Management

  • User authentication and validation
  • Detailed user information retrieval
  • Advanced search capabilities
  • Group membership querying

Information Categories

  • Basic identification (username, display name, UPN)
  • Personal information (first name, last name, initials)
  • Contact details (email, phone numbers, addresses)
  • Organization info (department, title, employee ID)
  • System attributes (workstations, profile paths)
  • Security settings (account status, password info)

Supported Frameworks

  • .NET 9.0
  • .NET 8.0

Installation

From Visual Studio

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages....
  4. Click on the Browse tab and search for "Linger.Ldap.Novell".
  5. Click on the Linger.Ldap.Novell package, select the appropriate version and click Install.

Package Manager Console

PM> Install-Package Linger.Ldap.Novell

.NET CLI Console

> dotnet add package Linger.Ldap.Novell

Usage Examples

Basic Configuration

var config = new LdapConfig 
{ 
    Url = "ldap.company.com", 
    Domain = "COMPANY", 
    SearchBase = "DC=company,DC=com", 
    Security = true, 
    Credentials = new LdapCredentials { BindDn = "serviceAccount", BindCredentials = "password" } 
};

User Authentication

using var ldap = new Ldap(config); 
if (ldap.ValidateUser("username", "password", out var userInfo)) 
{
    Console.WriteLine($"User authenticated: {userInfo.DisplayName}"); 
    Console.WriteLine($"Email: {userInfo.Email}"); 
    Console.WriteLine($"Department: {userInfo.Department}"); 
}

Finding Users

using var ldap = new Ldap(config);

// Find specific user 
var user = ldap.FindUser("username"); 
if (user != null) 
{ 
    Console.WriteLine($"Name: {user.DisplayName}"); 
    Console.WriteLine($"Email: {user.Email}"); 
    Console.WriteLine($"Title: {user.Title}"); 
}

// Search users with pattern
var users = ldap.GetUsers("john*"); 
foreach (var foundUser in users) 
{ 
    Console.WriteLine($"Found: {foundUser.DisplayName}");
    Console.WriteLine($"Groups: {string.Join(", ", foundUser.MemberOf ?? Array.Empty())}"); 
}

Available User Properties

Identification

  • DisplayName
  • SamAccountName
  • UserPrincipalName (UPN)
  • DistinguishedName (DN)

Personal Information

  • FirstName
  • LastName
  • Description
  • Initials

Contact Information

  • Email
  • TelephoneNumber
  • Mobile
  • HomePhone
  • Fax
  • IpPhone
  • WebPage

Organization Details

  • Company
  • Department
  • Title
  • Manager
  • EmployeeId
  • EmployeeNumber

Address Information

  • Street
  • City
  • State
  • PostalCode
  • Country
  • PostOfficeBox

System Information

  • UserWorkstations
  • ProfilePath
  • HomeDrive
  • HomeDirectory
  • WhenCreated

Security Information

  • Status (Enabled/Disabled/Locked/Expired)
  • AccountExpires
  • PwdLastSet
  • PwdExpirationLeftDays
  • MemberOf (Group memberships)

Key Differences from Active Directory Version

  • Cross-platform support (Windows, Linux, macOS)
  • Different connection handling mechanism
  • Platform-independent authentication
  • Native SSL/TLS support
  • More flexible LDAP server compatibility

Requirements

  • LDAP/LDAPS server access
  • Appropriate LDAP permissions

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a Pull Request

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.1-preview 242 9/16/2025
0.9.0-preview 70 9/12/2025
0.8.5-preview 148 8/31/2025
0.8.4-preview 266 8/25/2025
0.8.3-preview 132 8/20/2025
0.8.2-preview 169 8/4/2025
0.8.1-preview 118 7/30/2025
0.8.0-preview 513 7/22/2025
0.7.2 154 6/3/2025
0.7.1 153 5/21/2025
0.7.0 152 5/19/2025
0.6.0-alpha 153 4/28/2025
0.5.0-alpha 166 4/10/2025
0.4.0-alpha 157 4/1/2025
0.3.3-alpha 155 3/19/2025
0.3.2-alpha 154 3/17/2025
0.3.1-alpha 136 3/16/2025
0.3.0-alpha 198 3/6/2025
0.2.0-alpha 101 2/9/2025
0.1.2-alpha 91 12/17/2024
0.1.1-alpha 92 12/17/2024
0.1.0-alpha 103 12/6/2024