Announcement

Collapse
No announcement yet.

contextadmin passwort neusetzen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • contextadmin passwort neusetzen

    Hallo,

    ich würde gerne das Passwort für einen Contextadmin neusetzen. Habe bis jetzt nur gefunden wie man beim oxadminmaster und bei einem normalen User das Passwort neusetzt.

    Gibt es dafür auch irgendein Tool?


    Danke

    thor

  • #2
    Hi,

    oxadmin is just a normal user. You can change its password like this:

    Code:
    /opt/open-xchange/sbin/changeuser -c 1 -A oxadmin -P oldpass -u oxadmin -p newpass
    Greetings

    Comment


    • #3
      Das Problem ist, dass das Passwort vom contextadmin nicht mehr bekannt ist, deswegen funktioniert das changeuser nicht.


      Gruß thor

      Comment


      • #4
        Hi,

        this can be solved by disabling context authentication. Then you can manage the context and set passwords without authenticating as oxadmin.

        /opt/open-xchange/etc/admindaemon/AdminDaemon.properties
        Code:
        CONTEXT_AUTHENTICATION_DISABLED=true
        Restart the admindaemon after applying this change. Please read the description and reset the setting after finishing the task.

        Greetings
        Last edited by Martin Heiland; 06-08-2010, 02:25 PM.

        Comment


        • #5
          Ok das hat soweit funktioniert, jedoch habe ich kein gutes Gefühl dabei die Authentifizierung auszuschalten. Gibt es noch eine andere Möglichkeit?

          Zum Beispiel per MySQL die Passwörter händisch zuändern?


          Grüße

          thor

          Comment


          • #6
            Hallo,

            die Authentifizierung kannst du ja sofort nach der Änderung wieder anschalten. Weiterhin wirkt sich das nur auf lokale Administration aus, wer erst einmal soweit kommt... Die Passwörter kann man auch über die Datenbank setzen, jedoch wird das nicht supported.

            Gruß

            Comment


            • #7
              Authentication problem

              Hello, it's my first time, excuse me for any mistake.

              I tried what you advised, but the answer seem the same:
              Code:
              #/opt/open-xchange/sbin/changeuser -c 1 -u oxadmin -p newpass
              user oxadmin in context 1 could not be changed:
              Server response:
               Authentication failed
              I tried also:
              Code:
              #changeuser -c 1 -A oxadmin -u oxadmin -p newpass
              #changeuser -c 1 -u roberto -p newpass
              and disabling also MASTER_AUTHENTICATION_DISABLED=true

              Obviously I restarted admindaemon and egroupware.

              The system was working for a long time and is continuing working.



              Originally posted by Martin Braun View Post
              Hi,

              this can be solved by disabling context authentication. Then you can manage the context and set passwords without authenticating as oxadmin.

              /opt/open-xchange/etc/admindaemon/AdminDaemon.properties
              Code:
              CONTEXT_AUTHENTICATION_DISABLED=true
              Greetings

              Comment


              • #8
                Hey there,

                i have the absolut same problem as 7 vroby67 in the post above this one.

                I've forgetten the passwort for oxadmin & oxadminmaster.
                I've tried to disable the context authentication and the master authentication too - but no change.

                I always get "Authentication failed"

                Comment


                • #9
                  The oxadminmaster password can be reset by just calling generatempasswd.

                  Comment


                  • #10
                    password can be reset by just calling generatempasswd
                    Do what you say and i have called generatempassword - but what now? How can I reset the oxadmin Password without knowing the old one?
                    Trying
                    Code:
                    [root@oxserver ~]# changeuser -c 0 -A oxadminmaster -P newpassword -u oxadmin -p newpassword
                    user oxadmin in context 0 could not be changed:
                    Server response:
                     Authentication failed
                            at com.openexchange.admin.rmi.impl.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:185)
                            at com.openexchange.admin.rmi.impl.OXUser.getModuleAccess(OXUser.java:953)
                            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                            at java.lang.reflect.Method.invoke(Method.java:616)
                            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
                            at sun.rmi.transport.Transport$1.run(Transport.java:177)
                            at java.security.AccessController.doPrivileged(Native Method)
                            at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
                            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
                            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
                            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                            at java.lang.Thread.run(Thread.java:679)
                            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)
                            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)
                            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:160)
                            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
                            at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
                            at sun.proxy.$Proxy0.getModuleAccess(Unknown Source)
                            at com.openexchange.admin.console.user.ChangeCore.commonfunctions(ChangeCore.java:128)
                            at com.openexchange.admin.console.user.Change.<init>(Change.java:77)
                            at com.openexchange.admin.console.user.Change.main(Change.java:70)
                    dont work.

                    I need to do some admin things in openxchange, so i need to reset the passwords of both.

                    please help ...

                    Comment


                    • #11
                      You may set CONTEXT_AUTHENTICATION_DISABLED = true at /opt/open-xchange/etc/AdminDaemon.properties, restart OX and just set a new oxadmin password using changeuser -c 1 -u oxadmin -p bla.

                      Remember to re-enable authentication afterwards.

                      Cheers
                      Martin

                      Comment

                      Working...
                      X