From 03ea6b5b9e6baae3596649b9d9cfe79dbd44a9a4 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 16 Jun 2011 09:01:04 +0200 Subject: s4:winbind/wb_samba3_protocol.c - rework it using concrete enum values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changes commit 49352cafb4259503e6afb44d38db9bfd525d5e0d to comply with kblin's plans. Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Thu Jun 16 10:14:52 CEST 2011 on sn-devel-104 --- source4/winbind/wb_samba3_protocol.c | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'source4/winbind') diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c index 95861d1fa4..f0f803dac5 100644 --- a/source4/winbind/wb_samba3_protocol.c +++ b/source4/winbind/wb_samba3_protocol.c @@ -179,9 +179,33 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call) return wbsrv_samba3_pam_logoff(s3call); /* Unimplemented commands */ - default: - DEBUG(4, ("Unimplemented winbind samba3 request %d\n", - s3call->request->cmd)); + case WINBINDD_GETPWSID: + case WINBINDD_PAM_CHAUTHTOK: + case WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP: + case WINBINDD_LOOKUPRIDS: + case WINBINDD_LOOKUPSIDS: + 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: + case WINBINDD_CHANGE_MACHACC: + case WINBINDD_PING_DC: + case WINBINDD_DC_INFO: + case WINBINDD_CCACHE_SAVE: + DEBUG(10, ("Unimplemented winbind samba3 request %d\n", + s3call->request->cmd)); break; } -- cgit