Bug 10860 - registry is locked after failed RPC registry update
Summary: registry is locked after failed RPC registry update
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DCE-RPCs and pipes (show other bugs)
Version: 4.1.12
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 08:49 UTC by Ralph Wuerthner
Modified: 2014-10-13 19:14 UTC (History)
1 user (show)

See Also:


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

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 :-)

Thanks,

Volker
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.

Thanks!