When trying to remove a user from a group, winbind should be informed
authorVolker Lendecke <vlendec@samba.org>
Sun, 14 Mar 2004 07:15:39 +0000 (07:15 +0000)
committerVolker Lendecke <vlendec@samba.org>
Sun, 14 Mar 2004 07:15:39 +0000 (07:15 +0000)
about the user and group...

Volker

source/nsswitch/wb_client.c

index 0c6644e9d0055dc26e326678e1ca0ff9f34c5fa1..90e4584daba026676b7d0f42acea0de2e13e9527 100644 (file)
@@ -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;