summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-10-11 05:45:06 +0000
committerTim Potter <tpot@samba.org>2000-10-11 05:45:06 +0000
commit76aab4ad560adf6c5af1d6a7068077e3dad4161a (patch)
treed3071aaa60ca476e5c609eff99988098b6d9c10a /source3
parent9dc817cdfc2ad71addc5084687188b9d6592f9e5 (diff)
downloadsamba-76aab4ad560adf6c5af1d6a7068077e3dad4161a.tar.gz
samba-76aab4ad560adf6c5af1d6a7068077e3dad4161a.tar.bz2
samba-76aab4ad560adf6c5af1d6a7068077e3dad4161a.zip
Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.
(This used to be commit 5f3cf2eb78bfa6fb00890d449d38e9f13964712c)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wb_client.c2
-rw-r--r--source3/nsswitch/wbinfo.c2
-rw-r--r--source3/nsswitch/winbindd_nss.h2
3 files changed, 3 insertions, 3 deletions
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 */