jedisct1/pure-ftpd — pull request #17 by jhoblitt (2014-10-01 21:33:36+00:00)
Title: add options to pureftpd-ldap.conf to allow overriding LDAP uid/gid value...

...s

This patch adds to two options to pureftpd-ldap.conf:

LDAPForceDefaultUID True
LDAPForceDefaultGID True

These options both default to `False`. Any value other than `True` (case
insensitve) is also treated as `False`. When set these options cause the
respective uid or gid value returned by the LDAP server for a username to be
ignored and instead use the value set by `LDAPDefaultUID` or `LDAPDefaultGID`.
If the appropriate `LDAPDefaultXID` option is not set, these options have no
effect.

An example complete configuration snippet:

LDAPDefaultUID 777
LDAPForceDefaultUID True
LDAPDefaultGID 888
LDAPForceDefaultGID True