summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-08 18:57:00 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-09 10:53:36 +0200
commit49352cafb4259503e6afb44d38db9bfd525d5e0d (patch)
treea4ec4bca845218d263eea2310d9af2a5c301395c
parent26c7223e7240a5d4a2b39b14b47c0e66b7c089c9 (diff)
downloadsamba-49352cafb4259503e6afb44d38db9bfd525d5e0d.tar.gz
samba-49352cafb4259503e6afb44d38db9bfd525d5e0d.tar.bz2
samba-49352cafb4259503e6afb44d38db9bfd525d5e0d.zip
s4:winbind/wb_samba3_protocol.c - quiet enum warning
Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
-rw-r--r--source4/winbind/wb_samba3_protocol.c25
1 files changed, 3 insertions, 22 deletions
diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c
index 4bb0582cd2..95861d1fa4 100644
--- a/source4/winbind/wb_samba3_protocol.c
+++ b/source4/winbind/wb_samba3_protocol.c
@@ -179,28 +179,9 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call)
return wbsrv_samba3_pam_logoff(s3call);
/* Unimplemented commands */
- case WINBINDD_GETPWSID:
- case WINBINDD_PAM_CHAUTHTOK:
- case WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP:
- case WINBINDD_LOOKUPRIDS:
- case WINBINDD_SIDS_TO_XIDS:
- case WINBINDD_ALLOCATE_UID:
- case WINBINDD_ALLOCATE_GID:
- case WINBINDD_SHOW_SEQUENCE:
- case WINBINDD_WINS_BYIP:
- case WINBINDD_WINS_BYNAME:
- case WINBINDD_GETGRLST:
- case WINBINDD_GETSIDALIASES:
- case WINBINDD_DSGETDCNAME:
- case WINBINDD_INIT_CONNECTION:
- case WINBINDD_DUAL_SIDS2XIDS:
- case WINBINDD_DUAL_USERINFO:
- case WINBINDD_DUAL_GETSIDALIASES:
- case WINBINDD_DUAL_NDRCMD:
- case WINBINDD_CCACHE_NTLMAUTH:
- case WINBINDD_NUM_CMDS:
- DEBUG(10, ("Unimplemented winbind samba3 request %d\n",
- s3call->request->cmd));
+ default:
+ DEBUG(4, ("Unimplemented winbind samba3 request %d\n",
+ s3call->request->cmd));
break;
}