r23244: Fix loop with nscd and NSS recusive calls.
[samba.git] / source / nsswitch / winbindd_group.c
index 1500324583d4b95e933544d2c8eb9c5178eb1cf1..05aeef2612f872cda960005b38d3927f33dfb8f3 100644 (file)
@@ -529,7 +529,7 @@ void winbindd_getgrnam(struct winbindd_cli_state *state)
        ws_name_replace( name_group, WB_REPLACE_CHAR );
         
        winbindd_lookupname_async( state->mem_ctx, domain->name, name_group,
-                                  getgrnam_recv, state );
+                                  getgrnam_recv, WINBINDD_GETGRNAM, state );
        }
 
 struct getgrsid_state {
@@ -1324,7 +1324,7 @@ void winbindd_getgroups(struct winbindd_cli_state *state)
        /* Get rid and name type from name.  The following costs 1 packet */
 
        winbindd_lookupname_async(state->mem_ctx, s->domname, s->username,
-                                 getgroups_usersid_recv, s);
+                                 getgroups_usersid_recv, WINBINDD_GETGROUPS, s);
 }
 
 static void getgroups_usersid_recv(void *private_data, BOOL success,