diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 9d4af18ac5..9d2b544928 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -1537,7 +1537,9 @@ NTSTATUS ctdbd_traverse(uint32 db_id, int cstatus; struct ctdbd_traverse_state state; + become_root(); status = ctdbd_init_connection(NULL, &conn); + unbecome_root(); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("ctdbd_init_connection failed: %s\n", nt_errstr(status))); |