1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00

r13138: old fix I forgot to commit

need to access info when using the ldap backend
This commit is contained in:
Simo Sorce
2006-01-25 21:29:36 +00:00
committed by Gerald (Jerry) Carter
parent 58e48fef45
commit 80c0625667

View File

@@ -4495,8 +4495,11 @@ NTSTATUS _samr_set_groupinfo(pipes_struct *p, SAMR_Q_SET_GROUPINFO *q_u, SAMR_R_
if (!NT_STATUS_IS_OK(r_u->status = access_check_samr_function(acc_granted, SA_RIGHT_GROUP_SET_INFO, "_samr_set_groupinfo"))) {
return r_u->status;
}
if (!get_domain_group_from_sid(group_sid, &map))
become_root();
ret = get_domain_group_from_sid(group_sid, &map);
unbecome_root();
if (!ret)
return NT_STATUS_NO_SUCH_GROUP;
ctr=q_u->ctr;