You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running php-fpm with libnss-extrausers and creating a customer with 0 ftp account froxlor doesn't create a user and group in the extrausers files and so php-fpm crashes when a domain is created for this cusomter since there is no linux user for the domain.
This is caused because the users in the extrausers file are created from the default ftp user of the customer.
When adding a new customer (even with 0 ftp users) there is always a default ftp user created (with the exact loginname as given for creation). Did you by any chance delete the default ftp user additionally (which should not be possible through the interface)?
…interface though); refs #741
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
d00p
changed the title
libnss-extrausers user not created then customer has no allowed ftp accounts
libnss-extrausers user not created when customer has no ftp resources
Oct 27, 2019
Can you verify that the default ftp user for that customer exists? Also it would be necessary to know whether you've added the customer via interface or via API externally
When i checked the default user didn't existed and i created it. The customer was created via the interface by a reseller.
The problem occurs when all tfp accounts of the reseller are used. When creating a new customer from the reseller account there is a error message "No more resources available", but the customer is created anyway with no default ftp account.
The problem occurs when all tfp accounts of the reseller are used. When creating a new customer from the reseller account there is a error message "No more resources available", but the customer is created anyway with no default ftp account.
Summary
When running php-fpm with libnss-extrausers and creating a customer with 0 ftp account froxlor doesn't create a user and group in the extrausers files and so php-fpm crashes when a domain is created for this cusomter since there is no linux user for the domain.
This is caused because the users in the extrausers file are created from the default ftp user of the customer.
System information
Froxlor version: 0.10.3
Web server: nginx & php-fpm
DNS server: PowerDNS (standalone)
POP/IMAP server: Dovecot
SMTP server: postfix
FTP server: proftpd
OS/Version: Debian 10
Steps to reproduce
The text was updated successfully, but these errors were encountered: