Lines Matching defs:passbuf
79 static char *groupname, *passbuf;
129 char *acptr = passbuf, *line;
134 if (!passbuf || !(*passbuf))
137 /* read through passbuf, stripping comments. */
198 if (passbuf) {
199 free(passbuf);
200 passbuf = NULL;
216 passbuf = (char *) calloc(1, 1);
219 if (!(passbuf = (char *) malloc((size_t) finfo.st_size + 1))) {
220 (void) syslog(LOG_ERR, "could not malloc passbuf (%d bytes)",
225 if (!fread(passbuf, (size_t) finfo.st_size, 1, prvfile)) {
231 *(passbuf + finfo.st_size) = '\0';
298 if (passbuf && gpass && *gpass != '\0' && grp && *grp->gpass != '\0')