Running script throws login error

  • I’m trying to run the script on my Univention UCS server with Kopano, but it throws an error
    [error ] HrLogon server “default:” user “SYSTEM”: logon failed

    Probably something obvious i’m missing, but i can’t find where to specify the user & password for the store whose contacts i’m trying to export.

  • Kopano

    Hi @pwhooftman,

    this works on my test system (tested with the latest version from

    root@ucs-4570 ~/core-tools/contacts2csv
    $ kopano-admin -V
    kopano-admin 8.6.8
    root@ucs-4570 ~/core-tools/contacts2csv
    $ python --user xena  --export
    running script for 'xena'
    export contacts

  • Not sure what i am doing wrong ;

    Administrator@server:~$ sudo kopano-admin -V
    [sudo] wachtwoord voor Administrator:
    kopano-admin 8.6.2
    Administrator@server:~$ ls
    Administrator@server:~$ python --user Ingrid --export
    [error  ] HrLogon server "default:" user "SYSTEM": logon failed
    Traceback (most recent call last):
      File "", line 317, in <module>
      File "", line 105, in main
        server = kopano.Server(options)
      File "/usr/lib/python2.7/dist-packages/kopano/", line 252, in __init_                                      _
        raise LogonError('Could not logon to server: username or password incorrect'                                      )
    kopano.errors.LogonError: Could not logon to server: username or password incorr                                      ect

  • Kopano

    @pwhooftman said in Running script throws login error:

    Administrator@server:~$ python

    You’d have to run the second command with sudo as well.

Log in to reply