summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_protocol.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-10 03:48:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:01 -0500
commit0eeedb97a5b28c20edcf13d37e52b8e8b98567f6 (patch)
tree91bfe583a974b35795fada1c7b53a7a288bd8d22 /source4/winbind/wb_samba3_protocol.c
parent16a9bfd33f52cb398c6d3d3472d9dbe53927370d (diff)
downloadsamba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.tar.gz
samba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.tar.bz2
samba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.zip
r11626: Fix unhandled enum in case statement warnings by noting appropriately
that some values aren't handled. The remaining warnings I think are actual bugs or required functionality that is missing (mostly lack of server side Unix extensions). (This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
Diffstat (limited to 'source4/winbind/wb_samba3_protocol.c')
-rw-r--r--source4/winbind/wb_samba3_protocol.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c
index f9eb7a09d4..479920bf97 100644
--- a/source4/winbind/wb_samba3_protocol.c
+++ b/source4/winbind/wb_samba3_protocol.c
@@ -118,6 +118,49 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_call *call)
case WINBINDD_LIST_TRUSTDOM:
return wbsrv_samba3_list_trustdom(s3call);
+
+ /* Unimplemented commands */
+
+ case WINBINDD_GETPWNAM:
+ case WINBINDD_GETPWUID:
+ case WINBINDD_GETGRNAM:
+ case WINBINDD_GETGRGID:
+ case WINBINDD_GETGROUPS:
+ case WINBINDD_SETPWENT:
+ case WINBINDD_ENDPWENT:
+ case WINBINDD_GETPWENT:
+ case WINBINDD_SETGRENT:
+ case WINBINDD_ENDGRENT:
+ case WINBINDD_GETGRENT:
+ case WINBINDD_PAM_CHAUTHTOK:
+ case WINBINDD_LIST_USERS:
+ case WINBINDD_LIST_GROUPS:
+ case WINBINDD_SID_TO_UID:
+ case WINBINDD_SID_TO_GID:
+ case WINBINDD_UID_TO_SID:
+ case WINBINDD_GID_TO_SID:
+ case WINBINDD_ALLOCATE_RID:
+ case WINBINDD_ALLOCATE_RID_AND_GID:
+ case WINBINDD_CHECK_MACHACC:
+ case WINBINDD_DOMAIN_INFO:
+ case WINBINDD_SHOW_SEQUENCE:
+ case WINBINDD_WINS_BYIP:
+ case WINBINDD_WINS_BYNAME:
+ case WINBINDD_GETGRLST:
+ case WINBINDD_INIT_CONNECTION:
+ case WINBINDD_DUAL_SID2UID:
+ case WINBINDD_DUAL_SID2GID:
+ case WINBINDD_DUAL_IDMAPSET:
+ case WINBINDD_DUAL_UID2NAME:
+ case WINBINDD_DUAL_NAME2UID:
+ case WINBINDD_DUAL_GID2NAME:
+ case WINBINDD_DUAL_NAME2GID:
+ case WINBINDD_DUAL_USERINFO:
+ case WINBINDD_DUAL_GETSIDALIASES:
+ case WINBINDD_NUM_CMDS:
+ DEBUG(10, ("Unimplemented winbind samba3 request %d\n",
+ s3call->request.cmd));
+ break;
}
s3call->response.result = WINBINDD_ERROR;