Searched refs:pwnam_cache (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/
H A Dutil_pw.c42 static struct passwd **pwnam_cache = NULL; variable in typeref:struct:passwd
46 if (pwnam_cache != NULL)
49 pwnam_cache = TALLOC_ZERO_ARRAY(NULL, struct passwd *,
51 if (pwnam_cache == NULL) {
52 smb_panic("Could not init pwnam_cache\n");
60 TALLOC_FREE(pwnam_cache);
61 pwnam_cache = NULL;
74 if ((pwnam_cache[i] != NULL) &&
75 (strcmp(name, pwnam_cache[i]->pw_name) == 0)) {
76 DEBUG(10, ("Got %s from pwnam_cache\
[all...]

Completed in 32 milliseconds