diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-06-29 11:07:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:53:30 -0500 |
commit | 115b706939acecaf60831195fca8a2912cfdbe55 (patch) | |
tree | 011a8cacd51e21b6aabbc4afdb7a7f132badc8b1 /source4/winbind/wb_samba3_protocol.c | |
parent | 698093b0283faa902f238d545c15397d49b3384c (diff) | |
download | samba-115b706939acecaf60831195fca8a2912cfdbe55.tar.gz samba-115b706939acecaf60831195fca8a2912cfdbe55.tar.bz2 samba-115b706939acecaf60831195fca8a2912cfdbe55.zip |
r23653: add dummy implementation for all nss calls to let nsstest
pass against a samba4 winbind
metze
(This used to be commit 57dfc7674352df8b0d4e06750e11a91b574eabb1)
Diffstat (limited to 'source4/winbind/wb_samba3_protocol.c')
-rw-r--r-- | source4/winbind/wb_samba3_protocol.c | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/source4/winbind/wb_samba3_protocol.c b/source4/winbind/wb_samba3_protocol.c index da3e404c1e..33aad302e5 100644 --- a/source4/winbind/wb_samba3_protocol.c +++ b/source4/winbind/wb_samba3_protocol.c @@ -125,19 +125,41 @@ NTSTATUS wbsrv_samba3_handle_call(struct wbsrv_samba3_call *s3call) case WINBINDD_LIST_TRUSTDOM: return wbsrv_samba3_list_trustdom(s3call); - /* Unimplemented commands */ - case WINBINDD_GETPWNAM: + return wbsrv_samba3_getpwnam(s3call); + case WINBINDD_GETPWUID: + return wbsrv_samba3_getpwuid(s3call); + + case WINBINDD_SETPWENT: + return wbsrv_samba3_setpwent(s3call); + + case WINBINDD_GETPWENT: + return wbsrv_samba3_getpwent(s3call); + + case WINBINDD_ENDPWENT: + return wbsrv_samba3_endpwent(s3call); + case WINBINDD_GETGRNAM: + return wbsrv_samba3_getgrnam(s3call); + case WINBINDD_GETGRGID: + return wbsrv_samba3_getgrgid(s3call); + case WINBINDD_GETGROUPS: - case WINBINDD_SETPWENT: - case WINBINDD_ENDPWENT: - case WINBINDD_GETPWENT: + return wbsrv_samba3_getgroups(s3call); + case WINBINDD_SETGRENT: - case WINBINDD_ENDGRENT: + return wbsrv_samba3_setgrent(s3call); + case WINBINDD_GETGRENT: + return wbsrv_samba3_getgrent(s3call); + + case WINBINDD_ENDGRENT: + return wbsrv_samba3_endgrent(s3call); + + /* Unimplemented commands */ + case WINBINDD_PAM_CHAUTHTOK: case WINBINDD_PAM_LOGOFF: case WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP: |