[ 
https://issues.apache.org/jira/browse/VCL-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15536469#comment-15536469
 ] 

ASF subversion and git services commented on VCL-867:
-----------------------------------------------------

Commit 1762935 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1762935 ]

VCL-277 - Add support for images to join Active Directory domains
VCL-867 - Active Directory Authentication for Windows VM's

incorporated patches from Junaid Ali attached to VCL-867; the VCL resource code 
has been largely rewritten since the patches were generated, so that part 
needed to be rewritten as well; shortened some of the names of fields and tables

addomain.php: initial add; definition of ADdomain class which inherits from 
Resource class

image.php:
-modified fieldWidth: added os, addomain, baseOU, adauthenabled
-modified fieldDisplayName: added adauthenabled, addomain, baseOU
-modified addEditDialogHTML: added fieldset and fields for AD authentication; 
added tooltip for baseOU
-modified AJsaveResource: added section that inserts/deletes/updates 
imageaddomain table as appropriate
-modified addResource: added section to insert into imageaddomain table as 
appropriate
-modified validateResourceData: added array keys and validation for 
adauthendabled, addomainid, baseou

resource.php:
-modified resource: added case statement for addomain
-modified viewResources and fieldWidth: added conditional for Edge browser for 
setting widths (unrelated to these JIRAs)
-added checkExistingField 

states.php:
-added addomain to $actions["entry"]
-added addomain to $actions['mode'], $actions['args'], and $actions['pages']

utils.php:
-modified initGlobals: added case for addomain in section that require_once's 
resource.php
-modified getImages: added addomainid, addomain, and baseOU to query and 
returned data; added adauthenabled to returned data
-modified getResourceGroupMembers: added conditional for $type == addomain; 
added addomain to $names, $joins, and $orders
-added getADdomains
-modified labeledFormItem: added case for password to go along with text case; 
changed hard coded 'text' for input type to be $type so it matches the passed 
in type to be either text or password
-added validateHostname
-modified getNavMenuData: added AD Domains menu entry for users with 
addomainAdmin
-modified getDojoHTML: added addomain case statement to include addomain.js to 
switch statement in groupMapHTML, viewResources, and editConfigMap case 
statements

image.js:
-modified Image.prototype.colformatter: added adauthenabled for true/false 
part; added addomain and baseOU to (unset) part
-modified inlineEditResourceCB: added showing/hiding of imageadauthbox; added 
setting of adauthenable, addomainid, and baseou
-modified resetEditResource: added resets for adauthenable, addomainid, and 
baseou
-modified saveResource: added for validation of baseou; added adauthenabled, 
addomainid, and baseou to submitted data
-modified saveResourceCB: added setting for adauthenabled, addomainid, 
addomain, and baseOU fields in store object
-modified startImageCB: added resetting of adauthenable, addomainid, and baseou 
and showing/hiding of imageauthbox based on OS type
-added toggleADauth

vcl.css:
-added:
#addomaindlgcontent label
#addomaindlgcontent .labeledform

dropdownmenus/css/theme.css:
-added:
#renameDialog tbody tr:hover td
#renameDialog tbody tr td
div.dijitDialog h2
div.dijitDialog h3
#confdelcontent h3
#groupbyresourcediv table.dojoxGridRowTable tbody tr:hover td
#groupbyresourcediv div.dojoxGridRowSelected table.dojoxGridRowTable tbody tr td
#imageadauthbox label
#imageadauthbox .labeledform

> Active Directory Authentication for Windows VM's
> ------------------------------------------------
>
>                 Key: VCL-867
>                 URL: https://issues.apache.org/jira/browse/VCL-867
>             Project: VCL
>          Issue Type: New Feature
>          Components: database, vcld (backend), web gui (frontend)
>            Reporter: Junaid Ali
>              Labels: features
>             Fix For: 2.5
>
>         Attachments: managementnode.patch, vmadsauth.sql, web.patch
>
>
> The current VCL application creates local user accounts for each reservation. 
> There is a need to provide active directory authentication so as to provide 
> access to domain resources like profile and network shares during the VCL 
> reservation. 
> This patch updates the VCL database by creating two additional tables:
> activedirectorydomain -> used to store active directory related information
> imageactivedirectorydomain -> used to store mapping of which images use which 
> active directory domain.
> A new column is added to the reservation table to hold current active 
> directory information for that particular reservation.
> The patch updates the VCL backed (vcld) to add functionality to make the 
> windows images part of the active directory domain. It also sets the 
> computer's hostname to be the same as defined in the database. This is done 
> to prevent creation of a lot of temporary computer objects within Active 
> Directory. The process of domain join add's two reboots (one for hostname 
> update and one for domain join). After each reboot the cygwin_rebase scripts 
> are run to reconfigure SSHD.
> The patch also updates the VCL frontend to allow management of Active 
> directory domains within the system and also manage the association of VCL 
> images and active directory domains. There is an option to enable moving 
> computer objects to specific Active directory Organization Unit's for better 
> grouping and ability to apply custom policies to custom group of images on 
> the Active directory side. This option was working in Cygwin 1.5 but stopped 
> working in Cygwin 1.7 due to some path issues. I left this option in the 
> front-end while I look for resolution within Cygwin 1.7.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to