summaryrefslogtreecommitdiff
path: root/source4/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk')
-rw-r--r--source4/gtk/common/select.c2
-rw-r--r--source4/gtk/tools/gwsam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/common/select.c b/source4/gtk/common/select.c
index 46a9140831..dac32e8807 100644
--- a/source4/gtk/common/select.c
+++ b/source4/gtk/common/select.c
@@ -136,7 +136,7 @@ GtkWidget *gtk_select_domain_dialog_new (struct dcerpc_pipe *sam_pipe)
d->sam_pipe = sam_pipe;
cr.in.system_name = 0;
- cr.in.access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED;
+ cr.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
cr.out.connect_handle = &handle;
status = dcerpc_samr_Connect(sam_pipe, mem_ctx, &cr);
diff --git a/source4/gtk/tools/gwsam.c b/source4/gtk/tools/gwsam.c
index 2f8e247fff..d4da7a2fdf 100644
--- a/source4/gtk/tools/gwsam.c
+++ b/source4/gtk/tools/gwsam.c
@@ -144,7 +144,7 @@ static void connect_sam(void)
}
r.in.system_name = 0;
- r.in.access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED;
+ r.in.access_mask = SEC_FLAG_MAXIMUM_ALLOWED;
r.out.connect_handle = &sam_handle;
status = dcerpc_samr_Connect(sam_pipe, mem_ctx, &r);