Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    password change webapp not working

    Plugins for Kopano WebApp
    10
    26
    3465
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marty
      marty Kopano (Inactive) last edited by

      This plugin is not maintained by Kopano so you should raise those questions to the owner of this plugin.
      https://github.com/dducret/kopano-webapp-passwd#notes

      https://documentation.kopano.io/deskapp_admin_manual
      http://documentation.kopano.io/webapp_smime_manual
      https://documentation.kopano.io/webapp_admin_manual

      1 Reply Last reply Reply Quote 0
      • allthesenames
        allthesenames last edited by

        Ok, I get that.

        but isn’t there another way of changing the password through the webapp interface. Other than through an external plugin?

        mcostan 1 Reply Last reply Reply Quote 0
        • mcostan
          mcostan last edited by

          I have the password plugin working on Kopano but I am sure it is an old version that I have hacked some times ago by changing some of the functions from zarafa to kopano.

          I tried later on to upgrade to the later versions and never succeeded.

          If you PM I can try sending you the files I have.

          marty 1 Reply Last reply Reply Quote 0
          • mcostan
            mcostan @allthesenames last edited by

            @allthesenames

            And yes, I do think that having a standard kopano approved plugin for changing the password from the front end would be great, because if all you use is the standard setup of Kopano, there is no way to change the password from the front end.

            1 Reply Last reply Reply Quote 0
            • marty
              marty Kopano (Inactive) @mcostan last edited by

              @mcostan

              You could make a PR to make the plugin up to date.
              Or fork it…

              https://documentation.kopano.io/deskapp_admin_manual
              http://documentation.kopano.io/webapp_smime_manual
              https://documentation.kopano.io/webapp_admin_manual

              1 Reply Last reply Reply Quote 0
              • Sinux
                Sinux last edited by

                Hallo

                i know the topic is a bit older but i found out today that version 1.3 works.
                But I only use DB, no LDAP!
                https://github.com/silentsakky/zarafa-webapp-passwd/releases
                The kopano server log and mariad db log is clean ;)
                Maybe it helps someone

                WebApp:3.5.14.2539+111.1
                Kopano Core:8.7.12
                Z-Push:2.5.2+0-0

                allthesenames 1 Reply Last reply Reply Quote 0
                • allthesenames
                  allthesenames @Sinux last edited by

                  @Sinux

                  I tried every version, none work.

                  dw2412 1 Reply Last reply Reply Quote 0
                  • Sinux
                    Sinux last edited by Sinux

                    ok, on my System,

                    WebApp:3.5.14.2539+111.1
                    Kopano Core:8.7.12 no community or beta Versions…
                    Z-Push:2.5.2+0-0

                    i used only the DB auth from silentsakky not dducret fork!
                    https://github.com/silentsakky/zarafa-webapp-passwd/releases/download/1.3/passwd-1.3.zip

                    1 Reply Last reply Reply Quote 0
                    • dw2412
                      dw2412 @allthesenames last edited by

                      @allthesenames have you had a look inside php error log? If nothing mentioned in there what could give you a clue, please try to have a look inside the php/class.passwdmodule.php file. Try to put in error_log statements that will write in file so that you can narrow the line where the problem occurs.

                      If using LDAP please have especially a look on how connection to LDAP is being established and if user is having all necessary rights to change his own password…

                      If using AD please have a look that the path in config.php to ktpasswd binary is correct and web server is allowed to execute the binary (check i.e. open_basedir restriction)

                      Best regards

                      Andreas

                      1 Reply Last reply Reply Quote 0
                      • allthesenames
                        allthesenames last edited by

                        I’ve looked into the php error logs, that’s where the original error quote came from.

                        PHP cannot find the function mapi_zarafa_setuser()

                        which is correct, this function isn’t defined anywhere in the webapp source code.

                        using:
                        core: 10.0.3.38
                        webapp: 4.0.2678
                        z-push: 2.5.2

                        1 Reply Last reply Reply Quote 0
                        • dw2412
                          dw2412 last edited by

                          @allthesenames
                          Interesting. I’ve greped through whole of my passwd plugin that is working at my WebApp - I actually did not find this function being called in my passwd Plugin…

                          Andreas

                          1 Reply Last reply Reply Quote 0
                          • allthesenames
                            allthesenames last edited by

                            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.zip

                            which one are you using then?

                            dw2412 1 Reply Last reply Reply Quote 0
                            • dw2412
                              dw2412 @allthesenames last edited by dw2412

                              @allthesenames

                              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…

                              1 Reply Last reply Reply Quote 1
                              • icey
                                icey last edited by

                                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

                                allthesenames 1 Reply Last reply Reply Quote 0
                                • laurensb
                                  laurensb last edited by

                                  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.

                                  Sinux 1 Reply Last reply Reply Quote 0
                                  • Sinux
                                    Sinux @laurensb last edited by Sinux

                                    @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?)

                                    irrlicht 1 Reply Last reply Reply Quote 0
                                    • irrlicht
                                      irrlicht @Sinux last edited by

                                      We would aprove an officical password change function, can’t use community version anymore without the functionality.

                                      Sinux dw2412 2 Replies Last reply Reply Quote 0
                                      • Sinux
                                        Sinux @irrlicht last edited by

                                        @irrlicht why not, what you mean by that?

                                        1 Reply Last reply Reply Quote 0
                                        • dw2412
                                          dw2412 @irrlicht last edited by

                                          @irrlicht

                                          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…

                                          1 Reply Last reply Reply Quote 0
                                          • irrlicht
                                            irrlicht last edited by

                                            @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.

                                            dw2412 fbartels 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post