diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-03-14 07:16:05 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-03-14 07:16:05 +0000 |
commit | af6225afa95cf1d8dd6bb1bfb438daaf6097e30a (patch) | |
tree | 638975c4fea2ac060d0875db3611aef369b7c632 /source3/nsswitch | |
parent | badb5b4e16c2987f19a950edf363f26555224e75 (diff) | |
download | samba-af6225afa95cf1d8dd6bb1bfb438daaf6097e30a.tar.gz samba-af6225afa95cf1d8dd6bb1bfb438daaf6097e30a.tar.bz2 samba-af6225afa95cf1d8dd6bb1bfb438daaf6097e30a.zip |
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)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wb_client.c | 3 |
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; |