version 1.19, 2010/10/29 05:29:49
|
version 1.20, 2011/05/19 06:50:25
|
|
|
| |
if (GetUserInfo(request.userName, &uid, &gid) != 0) | if (GetUserInfo(request.userName, &uid, &gid) != 0) |
{ | { |
|
Log(LL_WARNING, "User %s does not exist on this system, " |
|
"hence cannot start the provider agent %s", |
|
request.userName, request.module); |
status = -1; | status = -1; |
break; | break; |
} | } |
|
|
| |
do | do |
{ | { |
if (GetUserInfo(request.username, &uid, &gid) != 0) |
|
{ |
|
status = -1; |
|
break; |
|
} |
|
| |
#if defined(PEGASUS_PAM_AUTHENTICATION) | #if defined(PEGASUS_PAM_AUTHENTICATION) |
| |
|
|
#else /* !PEGASUS_PAM_AUTHENTICATION */ | #else /* !PEGASUS_PAM_AUTHENTICATION */ |
| |
{ | { |
|
if (GetUserInfo(request.username, &uid, &gid) != 0) |
|
{ |
|
status = -1; |
|
break; |
|
} |
|
|
const char* path = FindMacro("passwordFilePath"); | const char* path = FindMacro("passwordFilePath"); |
| |
if (!path) | if (!path) |