From af6225afa95cf1d8dd6bb1bfb438daaf6097e30a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 14 Mar 2004 07:16:05 +0000 Subject: When trying to remove a user from a group, winbind should be informed about the user and group... Volker (This used to be commit 87fa7904f7da5f4a80ca465c09ae4ad274e81690) --- source3/nsswitch/wb_client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nsswitch') 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; -- cgit