summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/wb_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 0c6644e9d0..90e4584dab 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -499,6 +499,9 @@ BOOL winbind_remove_user_from_group( const char *user, const char *group )
ZERO_STRUCT(response);
+ fstrcpy( request.data.acct_mgt.username, user );
+ fstrcpy( request.data.acct_mgt.groupname, group );
+
result = winbindd_request( WINBINDD_REMOVE_USER_FROM_GROUP, &request, &response);
return result == NSS_STATUS_SUCCESS;