EasySMB installs Samba and Winbind, joins an Ubuntu server to Active Directory, and shares the directories you choose. The AD group you select gets initial access and can manage share permissions from Windows Computer Management.
On the Ubuntu server, open a terminal in the download directory and run:
sudo bash ./easysmb.sh
Enter your AD domain, domain controller, admin group, and share paths. Press Enter on a blank path to finish the list, then supply your domain admin credentials when prompted.