Bug 8684 - Missing become_root() in ctdbd_traverse()
Missing become_root() in ctdbd_traverse()
Product: Samba 3.6
Classification: Unclassified
Component: Clustering
All All
: P5 normal
: ---
Assigned To: Karolin Seeger
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2012-01-02 08:35 UTC by Stefan Metzmacher
Modified: 2012-01-10 20:03 UTC (History)
1 user (show)

See Also:

Patch for v3-6-test (1.13 KB, patch)
2012-01-02 08:39 UTC, Stefan Metzmacher
vl: review+
Patch for v3-5-test (1.13 KB, patch)
2012-01-02 08:40 UTC, Stefan Metzmacher
vl: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2012-01-02 08:35:43 UTC
If ctdbd_traverse() gets called the main db_context is already open,
which means we already have access to the database.

We need to become_root() for to open the traverse ctdb connection.
Comment 1 Stefan Metzmacher 2012-01-02 08:39:42 UTC
Created attachment 7219 [details]
Patch for v3-6-test
Comment 2 Stefan Metzmacher 2012-01-02 08:40:17 UTC
Created attachment 7220 [details]
Patch for v3-5-test
Comment 3 Stefan Metzmacher 2012-01-09 14:02:39 UTC
Karolin, please pick for the releases.
Comment 4 Karolin Seeger 2012-01-10 20:03:06 UTC
Pushed to both branches.
Closing out bug report.