Lines 6738-6743
Link Here
|
6738 |
ipp_attribute_t *attr; /* requesting-user-name attribute */ |
6738 |
ipp_attribute_t *attr; /* requesting-user-name attribute */ |
6739 |
struct passwd *user; /* User info */ |
6739 |
struct passwd *user; /* User info */ |
6740 |
struct group *group; /* System group info */ |
6740 |
struct group *group; /* System group info */ |
|
|
6741 |
location_t *loc; /* Authentication location */ |
6742 |
|
6743 |
loc = FindBest(con->uri, con->http.state); |
6741 |
char junk[33]; /* MD5 password (not used) */ |
6744 |
char junk[33]; /* MD5 password (not used) */ |
6742 |
|
6745 |
|
6743 |
|
6746 |
|
Lines 6748-6753
Link Here
|
6748 |
* Validate input... |
6751 |
* Validate input... |
6749 |
*/ |
6752 |
*/ |
6750 |
|
6753 |
|
|
|
6754 |
if (loc->type == AUTH_NONE) { |
6755 |
return (1); |
6756 |
} |
6757 |
|
6751 |
if (con == NULL || owner == NULL || username == NULL || userlen <= 0) |
6758 |
if (con == NULL || owner == NULL || username == NULL || userlen <= 0) |
6752 |
return (0); |
6759 |
return (0); |
6753 |
|
6760 |
|