Lines Matching defs:path
71 const char *path, const int pathlen _U_,
78 if ( (fd = open(path, (set) ? O_WRONLY : O_RDONLY)) < 0 ) {
79 LOG(log_error, logtype_uams, "Failed to open %s", path);
94 LOG(log_info, logtype_uams, "Insecure permissions found for %s.", path);
101 LOG(log_error, logtype_uams, "Failed to write to %s", path );
106 LOG(log_error, logtype_uams, "Failed to read from %s", path );
127 * handle /path/afppasswd with an optional key file. we're a lot more
143 const char *path, const int pathlen,
155 if ((fp = fopen(path, (set) ? "r+" : "r")) == NULL) {
156 LOG(log_error, logtype_uams, "Failed to open %s", path);
161 strcpy(buf, path);
271 char path[MAXPATHLEN + 1];
276 strcpy(path, pwd->pw_dir );
277 strcat(path, "/" );
278 strcat(path, file + 2);
281 i = home_passwd(pwd, path, i, passwd, len, set);
556 static int uam_setup(const char *path)
558 if (uam_register(UAM_SERVER_LOGIN_EXT, path, "Randnum exchange",
562 if (uam_register(UAM_SERVER_LOGIN_EXT, path, "2-Way Randnum exchange",
568 if (uam_register(UAM_SERVER_CHANGEPW, path, "Randnum Exchange",
574 /*uam_register(UAM_SERVER_PRINTAUTH, path, "Randnum Exchange",