[
https://issues.apache.org/jira/browse/VCL-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15850638#comment-15850638
]
ASF subversion and git services commented on VCL-867:
-----------------------------------------------------
Commit 1781479 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1781479 ]
VCL-867
Initial commit for Active Directory code.
DataStructure.pm:
* Added image_domain* getters/setters
* Added get_image_domain_dns_servers sub (mainly added to return simple array
for consistency)
utils.pm:
* Added get_image_active_directory_domain_info sub. Added call to
get_request_info.
* Added update_reservation_addomain sub.
Windows.pm:
* Added code in pre_capture to call ad_unjoin.
* Added code to post_load to call ad_join. Reworked the code which may have
rebooted the computer at the end of post_load to eliminate unnecessary reboots.
* Updated create_user to determine if a random password needs to be set.
* Added code to delete_user to remove the user from local groups if not a local
account.
* Added subroutines:
** ad_get_current_domain
** ad_delete_computer
** ad_join
** ad_join_prepare
** ad_search
** ad_search_computer
** ad_search_ou
** ad_unjoin
** ad_user_exists
** create_update_cygwin_startup_scheduled_task
** enable_dynamic_dns
** enable_windows_feature
** get_ad_computer_ou_dn
** get_current_computer_hostname
** get_group_members
** get_windows_features
** get_windows_feature_info
** is_windows_feature_enabled
** powershell_command_exists
** remove_user_from_group
** run_powershell_as_script
** run_powershell_command
** set_static_dns_servers
** should_set_user_password
VCL-1010
Removed get_kms_client_product_key. It was previously moved to Windows.pm.
Added to Windows.pm:
* get_kms_client_product_keys
* get_kms_client_product_key
Other
Added insert_natport to export list in utils.pm so it can be called from
elsewhere.
Modified utils.pm::notify to not strip leading spaces from every line. It was
removing formatting which is useful.
Removed legacy calls to code in Windows.pm::pre_capture which disable/stop a
ntsyslog service and disable dynamic DHCP.
> 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)