Roundcube Community Forum

 

Password plugin on virtualmin nginx and RoundCube 1.2.3 version

Started by sumi21kav, March 11, 2017, 12:55:44 PM

Previous topic - Next topic

sumi21kav

Hi,

I`m trying to enable password plugin for Round Cube.
my server is running On Centos7 and webmin/vrtulamin, instead of Apache we use Nginx for web server and we run PHP 7.0 .
We are trying to use RoundCube 1.2.3 version and enable password plugin but nomather what i do i can`t seem to set it running.
All the time we get the following error: New password could not be saved.

Any suggestion or working step by step instruction ?

Thanks

SKaero


sumi21kav

Quote from: SKaero on March 11, 2017, 02:56:44 PM
The the README file in the password plugin folder.

I already go try there. But just to be sure. in chgvirtualminpasswd.c it`s sayng:
/* INSTALLING:
  gcc -o chgvirtualminpasswd chgvirtualminpasswd.c
  chown root.apache chgvirtualminpasswd
  strip chgvirtualminpasswd
  chmod 4550 chgvirtualminpasswd

on   chown root.apache chgvirtualminpasswd i have chnage apache to nginx because i run nginx instead of apache but still the same issue.
I have try to change it apache to demo because the username od the account where roundcube is its demo but still the same issue.

I just notice in the 4,5 and 6 line in chgvirtualminpasswd.c  the following code:
// set the UID this script will run as (root user)
#define UID 0
#define CMD "/usr/sbin/virtualmin"

Do i need to change something here ?!

SKaero

I haven't used that plugin driver so I most likely can't be of too much help. If you having permissions problems remember you need to use the user that PHP is running as not nginx. Try running the command manually just to make sure it works outside of Roundcube.

sumi21kav

Someone else ?
I'm will pay for someone to fix this for me if even it's possible.
If its not possible any closest possible solution.