Author Topic: Password plugin on virtualmin nginx and RoundCube 1.2.3 version  (Read 4808 times)

Offline sumi21kav

  • Newbie
  • *
  • Posts: 3
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Password plugin on virtualmin nginx and RoundCube 1.2.3 version
« Reply #1 on: March 11, 2017, 02:56:44 PM »
The the README file in the password plugin folder.

Offline sumi21kav

  • Newbie
  • *
  • Posts: 3
Re: Password plugin on virtualmin nginx and RoundCube 1.2.3 version
« Reply #2 on: March 11, 2017, 04:34:24 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 ?!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Password plugin on virtualmin nginx and RoundCube 1.2.3 version
« Reply #3 on: March 11, 2017, 06:02:23 PM »
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.

Offline sumi21kav

  • Newbie
  • *
  • Posts: 3
Re: Password plugin on virtualmin nginx and RoundCube 1.2.3 version
« Reply #4 on: March 12, 2017, 05:57:26 PM »
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.