Unable to delete domain

Eloy eloy at omertasecurity.com
Wed Feb 11 13:06:03 CET 2015


Hi

I would like to delete a domain from Kolab, but I am unable to do so.
This is the output of the command `kolab delete-domain [domain]`

Do you have any idea how to solve this?

Traceback (most recent call last):
  File "/usr/sbin/kolab", line 39, in <module>
    kolab = Cli()
  File "/usr/lib/python2.7/dist-packages/pykolab/cli/__init__.py", line
64, in __init__
    commands.execute('_'.join(to_execute))
  File "/usr/lib/python2.7/dist-packages/pykolab/cli/commands.py", line
138, in execute
    commands[cmd_name]['function'](conf.cli_args, kw)
  File
"/usr/lib/python2.7/dist-packages/pykolab/cli/cmd_delete_domain.py",
line 49, in execute
    wap_client.authenticate(username=username)
  File
"/usr/lib/python2.7/dist-packages/pykolab/wap_client/__init__.py", line
68, in authenticate
    response = request('POST', "system.authenticate", post=post)
  File
"/usr/lib/python2.7/dist-packages/pykolab/wap_client/__init__.py", line
372, in request
    response_data = request_raw(method, api_uri, get, post, headers)
  File
"/usr/lib/python2.7/dist-packages/pykolab/wap_client/__init__.py", line
412, in request_raw
    return response_data
UnboundLocalError: local variable 'response_data' referenced before
assignment

Thanks in advance,

Eloy



More information about the users mailing list