password change webapp not working
-
Now that’s weird,
This is what I get:grep -r mapi_zara php/class.passwdmodule.php: $userinfo = mapi_zarafa_getuser_by_name($store, $userName); php/class.passwdmodule.php: if (mapi_zarafa_setuser($store, $userinfo['userid'], $userName, $userinfo['fullname'], $userinfo['emailaddress'], $newPassword, 0, $userinfo['admin'])) {
Both true for my installed version, and the one sinux linked:
https://github.com/silentsakky/zarafa-webapp-passwd/releases/download/1.3/passwd-1.3.zipwhich one are you using then?
-
Looks for me that someone tried to avoid zarafa-passwd/kopano-passwd usage by internal functions. Maybe the functions do not publicy exists or being used wrong way (sorry no time to check API Library now). In file I’ve send you by chat link you will not find them. - Actually because I’m using “My Version” that is based on Silentsakky Version but got changed in past since issues with Zarafa->Kopano WebApp change and some other things that asked to get adapted to have it working again…
-
Dear allthesenames,
have you been able to get it running? I have the same issues as you on my server.
So i would be glad if someone might be able to post the solution :)Thanks in advance.
icey -
Also stumbled upon the error:
... PHP Fatal error: Uncaught Error: Call to undefined function mapi_zarafa_setuser() in /usr/share/kopano-webapp/plugins/passwd/php/class.passwdmodule.php ...
Problem seems to be that the function was removed: https://forum.kopano.io/topic/3021/web-user-management-function-removed-from-php-mapi/2
Hmmm, according to bhuisman (https://forum.kopano.io/topic/1121/official-supported-and-maintained-password-plugin/11):
We do not currently have plans to release an official Kopano-maintained password modification plugin. We’ve researched into the topic but it introduces few risks (e.g. in case of LDAP/AD it would require Kopano to have write access to these systems).
The community plugin mentioned above seems to do the job pretty well according to the comments. This leaves time for us to spend on other features!Would be cool if such -imho basic- functionality would be build-in into the webapp, especially when the community plugins are so easily broken by removing critical functions.
Can an official Kopano-maintained password modification plugin not be made so that LDAP/AD support is optional? Mostly, LDAP/AD powered installs have other means to change passwords already, but for DB powered installs it would be really useful.
-
@laurensb said in password change webapp not working:
Can an official Kopano-maintained password modification plugin not be made so that LDAP/AD support is optional? Mostly, LDAP/AD powered installs have other means to change passwords already, but for DB powered installs it would be really useful.
I feel the same way. Any other software in this area has been offering this for a long time! It is overdue.
(why can’t I edit / find my signature anymore? I would have to update this?)
-
We would aprove an officical password change function, can’t use community version anymore without the functionality.
-
@irrlicht why not, what you mean by that?
-
What is the problem to use kopano-passwd for db user plugin,
LDAP Functions for “Standard” LDAP user plugin,
KTPasswd for AD LDAP user plugin,
passwd for unix user plugin?All can be started from php…
-
@dw2412 said in password change webapp not working:
Sorry for late answer,What is the problem to use kopano-passwd for db user plugin,
Users should change their password on their own.
We didn’t use ldap. -
@irrlicht said in password change webapp not working:
@dw2412 said in password change webapp not working:
Sorry for late answer,What is the problem to use kopano-passwd for db user plugin,
Users should change their password on their own.
We didn’t use ldap.Thats for what Passwd Plugin is intended for. You just have to use kopano-passwd for the password change process. Not the MAPI Function call that may still exist in your PHP Mapi but is intended only to be used by an admin user.
Andreas
-
@irrlicht said in password change webapp not working:
We didn’t use ldap.
You could get in contact with out support team, they can help you transition to a ldap setup.
-
This post is deleted! -
@icey
A little late response, but we got it working.
What the other plugin does, is just uses the php-ldap to change the password.This is a really simple password change solution, and I find it strange, that kopano isn’t able to do this out of the box.
-
@allthesenames said in password change webapp not working:
@icey
A little late response, but we got it working.
What the other plugin does, is just uses the php-ldap to change the password.This is a really simple password change solution, and I find it strange, that kopano isn’t able to do this out of the box.
+1