Project archive

WU-FTPD with LDAP authentication

An LDAP extension for the WU FTP daemon, built so FTP users could be authenticated against a directory service instead of being maintained in the local Unix password file.

What it does

Extends WU-FTPD so user records and passwords can be resolved and checked through LDAP.

Why it mattered

It allowed the same directory-backed identity model to be used for both web and FTP access in extranet-style deployments.

What to read first

Start with the README for build requirements, ftpaccess configuration, and the expected LDAP schema and attributes.

Downloads

Patches and integrated source trees

Documentation

README.LDAP

Build prerequisites, runtime configuration, schema expectations, and an example LDAP-backed FTP login session.

Read the README

Release archive

Earlier hosted version

The 2.6.0 patch and integrated tree are also preserved here.

Notes

How the LDAP integration worked

Design

System users first, LDAP second

The patched daemon first keeps the normal WU-FTPD behavior for anonymous and system users. If that lookup fails, it falls back to LDAP and builds a standard struct passwd from the directory data.

Configuration

ftpaccess drives the connection

LDAP host, port, base DN, bind user, and bind password are configured through new ftpaccess directives such as ldap-host, ldap-port, and ldap-base.

Schema expectations

Directory-side requirements

Users are looked up with uid=username and are expected to have attributes such as uidNumber, gidNumber, homeDirectory, and userPassword, with an ftpUser object class.

History

The original project context

This work came out of an extranet project that mixed web and FTP access. The README is still the authoritative source for the build path, OpenLDAP dependency notes, runtime behavior, and example session transcript.