Author: jfthomps
Date: Mon Nov  3 20:29:13 2014
New Revision: 1636432

URL: http://svn.apache.org/r1636432
Log:
VCL-253 - Allow users to specify RDP port

ldapauth.php: modified updateLDAPUser: added rdpport to returned data

itecsauth.php: modified updateITECSUser: added rdpport to returned data

Modified:
    vcl/trunk/web/.ht-inc/authmethods/itecsauth.php
    vcl/trunk/web/.ht-inc/authmethods/ldapauth.php

Modified: vcl/trunk/web/.ht-inc/authmethods/itecsauth.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/authmethods/itecsauth.php?rev=1636432&r1=1636431&r2=1636432&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/authmethods/itecsauth.php (original)
+++ vcl/trunk/web/.ht-inc/authmethods/itecsauth.php Mon Nov  3 20:29:13 2014
@@ -178,6 +178,7 @@ function updateITECSUser($userid) {
               .        "u.mapdrives AS mapdrives, "
               .        "u.mapprinters AS mapprinters, "
               .        "u.mapserial AS mapserial, "
+              .        "COALESCE(u.rdpport, 3389) AS rdpport, "
               .        "u.showallgroups "
               . "FROM user u, "
               .      "IMtype i, "
@@ -229,6 +230,7 @@ function updateITECSUser($userid) {
                       .        "u.mapdrives AS mapdrives, "
                       .        "u.mapprinters AS mapprinters, "
                       .        "u.mapserial AS mapserial, "
+                      .        "COALESCE(u.rdpport, 3389) AS rdpport, "
                       .        "u.showallgroups, "
                       .        "u.lastupdated AS lastupdated "
                       . "FROM user u, "

Modified: vcl/trunk/web/.ht-inc/authmethods/ldapauth.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/authmethods/ldapauth.php?rev=1636432&r1=1636431&r2=1636432&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/authmethods/ldapauth.php (original)
+++ vcl/trunk/web/.ht-inc/authmethods/ldapauth.php Mon Nov  3 20:29:13 2014
@@ -195,6 +195,7 @@ function updateLDAPUser($authtype, $user
               .        "u.mapdrives AS mapdrives, "
               .        "u.mapprinters AS mapprinters, "
               .        "u.mapserial AS mapserial, "
+              .        "COALESCE(u.rdpport, 3389) AS rdpport, "
               .        "u.showallgroups "
               . "FROM user u, "
               .      "IMtype i, "
@@ -266,6 +267,7 @@ function updateLDAPUser($authtype, $user
                       .        "u.mapdrives AS mapdrives, "
                       .        "u.mapprinters AS mapprinters, "
                       .        "u.mapserial AS mapserial, "
+                      .        "COALESCE(u.rdpport, 3389) AS rdpport, "
                       .        "u.showallgroups, "
                       .        "u.usepublickeys, "
                       .        "u.sshpublickeys, "


Reply via email to