Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    thor Guest

    Default 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. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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

  3. #3
    thor Guest

    Default

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


    Gruß thor

  4. #4
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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 at 02:25 PM.

  5. #5
    thor Guest

    Default

    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

  6. #6
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    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ß

  7. #7
    vroby67 Guest

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



    Quote 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

  8. #8
    Join Date
    Nov 2010
    Posts
    24

    Default

    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"

  9. #9
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    The oxadminmaster password can be reset by just calling generatempasswd.

  10. #10
    Join Date
    Nov 2010
    Posts
    24

    Default

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •