Re: [Proftpd-user] Question about mod_ldap

"TJ Saunders" <[email protected]> Tue, 24 May 2022 18:29:23 -0700
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
> I currently have a ProFTP server configured and running with the 
> mod_ldap module. Everything is working fine, however I was curious if it 
> is possible to include two different LDAP configurations, based on if 
> the first authentication attempt succeeds. For example, a user attempts 
> to log in. The user lookup in LDAP succeeds, but the password is 
> incorrect. ProFTPD then attempts another lookup, but with different LDAP 
> attributes.
>
> Is this something that is possible?

Unfortunately that sort of configuration is not currently supported.  ProFTPD has the concept of trying multiple different modules when authenticating (e.g. try against LDAP, then SQL, then local files, etc), but not the concept of trying the same module (such as mod_ldap) multiple times with different configurations.

What's the particular use case you're wanting to address?

Cheers,
TJ


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html