Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
libnss-extrausers user not created when customer has no ftp resources #741
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.
Froxlor version: 0.10.3
Steps to reproduce
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.
that was the key, thanks :)