Lines Matching defs:idbuf
330 char idbuf[LOGIN_NAME_MAX]; /* name to be used in response */
341 (void)strlcpy(idbuf, user, sizeof(idbuf));
411 idbuf, gethost((struct sockaddr *)&ss[0]));
412 idparse(fd, lport, fport, charset, osname, idbuf);
452 idbuf, gethost((struct sockaddr *)&ss[0]));
453 idparse(fd, lport, fport, charset, osname, idbuf);
482 if (iflag && pw && check_userident(pw->pw_dir, idbuf, sizeof(idbuf))) {
484 if ((strspn(idbuf, "0123456789") &&
485 getpwuid(atoi(idbuf)) != NULL) ||
486 (getpwnam(idbuf) != NULL)) {
489 idbuf, userbuf);
490 (void)strlcpy(idbuf, userbuf, sizeof(idbuf));
495 idbuf, userbuf, gethost((struct sockaddr *)&ss[0]));
496 idparse(fd, lport, fport, charset, osname, idbuf);
504 (void)snprintf(idbuf, sizeof(idbuf), "%u",
507 random_string(idbuf, sizeof(idbuf));
511 idbuf, userbuf, gethost((struct sockaddr *)&ss[0]));
512 idparse(fd, lport, fport, charset, osname, idbuf);
518 (void)snprintf(idbuf, sizeof(idbuf), "%u", uid);
520 (void)strlcpy(idbuf, userbuf, sizeof(idbuf));
529 idparse(fd, lport, fport, charset, osname, idbuf);