s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
[gd/samba-autobuild/.git] / source4 / winbind / wb_samba3_protocol.c
index 9a9765b564f475d025bb01def1c98cd289fe803a..d40e0e6bc637593496eac261ee175359e1c4b44e 100644 (file)
@@ -117,6 +117,9 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call)
        case WINBINDD_GETUSERSIDS:
                return wbsrv_samba3_usersids(s3call);
 
+       case WINBINDD_LIST_GROUPS:
+               return wbsrv_samba3_list_groups(s3call);
+
        case WINBINDD_LIST_TRUSTDOM:
                return wbsrv_samba3_list_trustdom(s3call);
 
@@ -172,12 +175,11 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call)
        case WINBINDD_DUAL_GID2SID:
                return wbsrv_samba3_gid2sid(s3call);
 
-               /* Unimplemented commands */
+       /* Unimplemented commands */
 
        case WINBINDD_PAM_CHAUTHTOK:
        case WINBINDD_PAM_LOGOFF:
        case WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP:
-       case WINBINDD_LIST_GROUPS:
        case WINBINDD_LOOKUPRIDS:
        case WINBINDD_SIDS_TO_XIDS:
        case WINBINDD_ALLOCATE_UID: