diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-02-29 16:34:33 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-02-29 16:34:33 +0000 |
commit | c4877403a04b60619523dfe3fc892564ff41a079 (patch) | |
tree | 9d46368a664444e7bcae10b5faeee774c4f08171 /source3/rpc_server/srv_samr_nt.c | |
parent | efd357b732238a95ed38fe75544044f5339f3344 (diff) | |
download | samba-c4877403a04b60619523dfe3fc892564ff41a079.tar.gz samba-c4877403a04b60619523dfe3fc892564ff41a079.tar.bz2 samba-c4877403a04b60619523dfe3fc892564ff41a079.zip |
net_rpc.c: Don't complain if [add|del]mem was successful.
srv_samr_nt.c: Correctly report that a user is not member of an alias.
Volker
(This used to be commit 540f625036871e7facd094fce49d7317f65f4ffd)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 58dcd48d8d..a817627127 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -3477,7 +3477,7 @@ NTSTATUS _samr_del_aliasmem(pipes_struct *p, SAMR_Q_DEL_ALIASMEM *q_u, SAMR_R_DE /* if the user is not in the group */ if(!user_in_unix_group_list(pdb_get_username(sam_pass), grp_name)) { pdb_free_sam(&sam_pass); - return NT_STATUS_MEMBER_IN_ALIAS; + return NT_STATUS_MEMBER_NOT_IN_ALIAS; } smb_delete_user_group(grp_name, pdb_get_username(sam_pass)); |