Bug 10860 - registry is locked after failed RPC registry update
registry is locked after failed RPC registry update
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DCE-RPCs and pipes
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2014-10-09 08:49 UTC by Ralph Wuerthner
Modified: 2014-10-13 19:14 UTC (History)
1 user (show)

See Also:

Patch for 3.6 - 4.2 (931 bytes, patch)
2014-10-09 09:57 UTC, Volker Lendecke
vl: review+
gd: review+
obnox: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Wuerthner 2014-10-09 08:49:45 UTC
If a SMB client is trying to submit a CREATEKEY request via RPC and the request fails due to ACCESS_DENIED, the registry is locked afterwards and any further registry updates are blocked. To unlock the registry again the client connection must be closed.

A fix is already available in master:
4237138 vl@samba.org registry: Don't leave dangling transactions

Note: this defect exists in all Samba releases
Comment 1 Volker Lendecke 2014-10-09 09:57:22 UTC
Created attachment 10333 [details]
Patch for 3.6 - 4.2

Applies cleanly to 3.6 up to 4.2
Comment 2 Volker Lendecke 2014-10-09 10:08:55 UTC
Karo, please push to all releases :-)


Comment 3 Karolin Seeger 2014-10-09 18:44:51 UTC
Pushed to autobuild-v4[0|1|2]-test.
Comment 4 Karolin Seeger 2014-10-13 19:14:20 UTC
Pushed to all three branches.
Closing out bug report.