Bug 48686 - univention-s4connector-list-rejected crashes with TypeError, sqlite: file is encrypted or is not a database
univention-s4connector-list-rejected crashes with TypeError, sqlite: file is ...
Status: NEEDMOREINFO
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-15 09:23 CET by Daniel Tröder
Modified: 2019-02-18 13:23 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2019-02-15 09:23:09 CET
root@m65:~# univention-s4connector-list-rejected 

UCS rejected

Traceback (most recent call last):
  File "/usr/sbin/univention-s4connector-list-rejected", line 162, in <module>
    main()
  File "/usr/sbin/univention-s4connector-list-rejected", line 132, in main
    for filename, dn in s4.list_rejected_ucs():
TypeError: 'NoneType' object is not iterable

ps ax shows samba and smbd processes.

/var/log/univention/connector-s4.log shows:

15.02.2019 09:21:36,345 LDAP        (ERROR  ): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,345 LDAP        (ERROR  ): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,346 LDAP        (WARNING): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,346 LDAP        (WARNING): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,346 LDAP        (WARNING): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,347 LDAP        (WARNING): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,368 LDAP        (PROCESS): Building internal group membership cache
15.02.2019 09:21:36,406 LDAP        (PROCESS): Internal group membership cache was created
15.02.2019 09:21:36,659 LDAP        (WARNING): sqlite: file is encrypted or is not a database
15.02.2019 09:21:36,660 LDAP        (WARNING): sqlite: file is encrypted or is not a database
...
Comment 1 Arvid Requate univentionstaff 2019-02-18 13:23:40 CET
Some logs and if possible the sqlite file itself would be good.