Re: [Proftpd-user] Authentication with mod_sftp via PAM + SSSD not work with error "(Login failed): No such user found" if -DTLS enable
Dario Lesca <[email protected]> Tue, 18 Jul 2023 16:07:19 +0200
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Organization | Solinos |
| Message-ID | <[email protected]> |
Il giorno mar, 04/07/2023 alle 17.47 +0200, Dario Lesca ha scritto: > - mod_auth_unix: getspnam(3) for user 'dario.lesca.e' error: Success > - RELINQUISH PRIVS at mod_auth_unix.c:589 > - USER dario.lesca.e (Login failed): No such user found I have partially resolve my problem. it seems that the mod_sftp accept only local user (/etc/passwd) and do not see the external users via PAM when SFTPAuthMethods parameter is set to "password". To allow also PAM users I have must set SFTPAuthMethods to "keyboard- interactive" mode. Now both local and remote PAM users can logged in, and if I add to SFTPAuthMethods the publickey option (SFTPAuthMethods keyboard- interactive publickey) they can correctly connect also with our public SSH keys. only a marginal problem remains. When I access to server via SFTP, both local or external PAM user, I do not see the virtual folders, set with VRootAlias directive and visible only when the users connect via FTPS. There is some way to resolve this minor issue? Many thanks Dario _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html