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

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

Commit 1785881 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1785881 ]

VCL-867
Made another attempt to update DataStructure.pm::_automethod to not display 
warnings when get_image_domain* is called and the data is not defined. The 
previous change wasn't catching all calls.

Added utils.pm::get_active_directory_domain_credentials. This is needed to 
determine the domain username and password in order to remove a computer from a 
domain after the preloaded image was reconfigured to not join a domain. The 
normal $self->data->get_image_domain* information is not available in this case.

Updated Provisioning.pm to check if OS module implements a node_status_os_check 
subroutine and call it if it does.

Added Windows.pm::ad_check. It contains all logic to determine if an image is 
configured for AD, if a computer is already joined to a domain, and calls the 
necessary subroutines to either unjoin the domain, join the domain, or both if 
the computer is joined to a different domain or located in the wrong OU. 
Removed similar logic from ad_join.

Replaced call from ad_join to ad_check in Windows.pm::post_load.

Added Windows.pm::node_status_os_check which simply returns the value of 
ad_check. Naming reason: ad_check is called elsewhere and Windows-specific. 
node_status_os_check is more general and may perform additional functions in 
the future.

Reworked Windows.pm::ad_unjoin to call wmic.exe rather than building Powershell 
script. Need to test this and determine which is better.

Updated Windows.pm::ad_search, ad_delete_computer, and ad_search_computer to 
accept domain DNS name argument. This is used when a computer is joined to a 
domain but shouldn't be (image was reconfigured after computer was loaded).

> 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.15#6346)

Reply via email to