Author: fapeeler
Date: Thu May 17 15:58:45 2012
New Revision: 1339674

URL: http://svn.apache.org/viewvc?rev=1339674&view=rev
Log:
VCL-463

- uid was not getting set correctly for server loads
- if reservation owner is not in any of the defined admin or login groups, it 
was not adding them to the login list


Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm?rev=1339674&r1=1339673&r2=1339674&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS.pm Thu May 17 15:58:45 
2012
@@ -2176,7 +2176,7 @@ sub manage_server_access {
        my @userlist_admin;
        my @userlist_login;
        my %user_hash;
-       my $allow_list = '';
+       my $allow_list = '$user_login_id_owner';
 
        if ($server_request_admingroupid) {
                @userlist_admin = 
getusergroupmembers($server_request_admingroupid);

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm?rev=1339674&r1=1339673&r2=1339674&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm Thu May 17 
15:58:45 2012
@@ -2796,7 +2796,7 @@ sub create_user {
        if (!$adminoverride) {
                $adminoverride = 0;     
        }
-       if (!$user_uid) {
+       if (!defined($user_uid)) {
                $user_uid = $self->data->get_user_uid();        
                notify($ERRORS{'OK'}, 0, "user_uid not provided, pulling from 
datastructure");
        }


Reply via email to