From 76aab4ad560adf6c5af1d6a7068077e3dad4161a Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 11 Oct 2000 05:45:06 +0000 Subject: Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS. (This used to be commit 5f3cf2eb78bfa6fb00890d449d38e9f13964712c) --- source3/nsswitch/wb_client.c | 2 +- source3/nsswitch/wbinfo.c | 2 +- source3/nsswitch/winbindd_nss.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index f319531993..1725ab3448 100644 --- a/source3/nsswitch/wb_client.c +++ b/source3/nsswitch/wb_client.c @@ -248,7 +248,7 @@ static int wb_getgroups(char *user, gid_t **groups) ZERO_STRUCT(response); - result = winbindd_request(WINBINDD_INITGROUPS, &request, &response); + result = winbindd_request(WINBINDD_GETGROUPS, &request, &response); if (result == NSS_STATUS_SUCCESS) { diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 31de512267..e26b0c1b26 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -44,7 +44,7 @@ static BOOL wbinfo_get_usergroups(char *user) fstrcpy(request.data.username, user); - result = winbindd_request(WINBINDD_INITGROUPS, &request, &response); + result = winbindd_request(WINBINDD_GETGROUPS, &request, &response); if (result != NSS_STATUS_SUCCESS) { return False; diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h index cdb051889d..aedbaaf1fd 100644 --- a/source3/nsswitch/winbindd_nss.h +++ b/source3/nsswitch/winbindd_nss.h @@ -41,7 +41,7 @@ enum winbindd_cmd { WINBINDD_GETPWNAM_FROM_UID, WINBINDD_GETGRNAM_FROM_GROUP, WINBINDD_GETGRNAM_FROM_GID, - WINBINDD_INITGROUPS, + WINBINDD_GETGROUPS, /* Enumerate users and groups */ -- cgit