Bug 54165 - Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE
Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE
Status: NEW
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
amd64 Windows 10
: P5 major (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-26 23:40 CET by Emanuel
Modified: 2023-04-04 05:18 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
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 Emanuel 2021-11-26 23:40:10 CET
After doing an update printing via samba doesn't work anymore. Printing only works with the domain admin user itself.

~# smbd -V
Version 4.13.13-Univention

Univention: 5.0-0 errata159

Following messages appear in log.smbd.log

dcesrv_auth_gensec_prepare: Failed to prepare gensec: NT_STATUS_INVALID_SERVER_STATE
[2021/11/26 23:32:10.317436,  1, pid=10038] ../../librpc/rpc/dcesrv_auth.c:137(dcesrv_auth_prepare_gensec)
  Failed to call samba_server_gensec_start NT_STATUS_INVALID_SERVER_STATE

Might be the same issue as:

https://bugzilla.samba.org/show_bug.cgi?id=14867,

and

https://lists.samba.org/archive/samba/2021-November/238662.html

Is it possible downgrade the samba server?

Thanks for looking after this :)
Emanuel
Comment 1 Ingo Steuwer univentionstaff 2021-11-29 08:27:26 CET
Unset flags as no Ticket number given.
Comment 3 Marcel Gebert univentionstaff 2023-04-04 05:18:47 CEST
same error after update to:

UCS: 5.0-0 errata195
Installed: cups=2.2.1 samba4=4.16

___________________________________________

problem solved with continue of update to UCS 5.0.2