Robert's Virtual Networkingeast82.com

Building a Virtual Network - Part III

Putting together the virtual network

To make Lasker a domain controller do the following. Bring up a run dialog and enter

dcpromo
You'll be presented with a series of dialogs. Here are the options you want to select / enter.

  • Domain controller in a new domain
  • Domain in a new forest
  • Full DNS name for new domain = lopez.loc
  • Domain NetBIOS name = LOPEZ
  • Accept defaults for database and system volume files
  • Install and configure DNS ...
  • Permissions compatible only with Windows 2000 ...

A restart will be required. We'll now make this machine a file server.

From the start menu select Administrative Tools >> Manage Your Server. From the dialog select Add or remove a role. Select Next and accept the defaults. For the shared folder path enter whatever you like, I chose C:\Docs\Public.

Creating OU's and users:
Without going into a whole lot of detail, here is what we are trying to accomplish. Windows 2000 and newer Windows servers use Active Directory (AD) to manage a Windows domain. Within AD, Organizational Units (OU’s) are used along with group membership(s) to apply permissions and group policies, and manage other various aspects of the domain.

Our aim here is this; create a minimal AD infrastructure to give you a starting point to build upon and experiment with various aspects of AD, permissions and group polices.

From the start menu select Administrative Tools >> Active Directory Users and Computers. When the snap-in appears right-click the domain, select New >> Organizational Unit. Create an OU named "Development" and then two more named "Testing" and "Workstations"
Creating an OU
Creating OU's

Now right click the Development OU and select New >> User. Give the new user a logon name of "coder". Do the same thing with the Testing OU and name this user labrat. Let's go ahead and disable the Windows firewall, otherwise you won't be able to connect to it when attempting to join the domain.

Creating domain users
Create domain users
Disable windows firewall
Disable Windows firewall

Joining the XP Pro VM to the lopez domain
Leave the Windows Server 2003 running and start the Windows XP Pro VM. On the XP VM from the start menu lcate "My Computer", right click and select Properties.

The system properties dialog appears. Select the Computer Name tab and click the Change button. In the "Computer Name Changes" dialog, select the "Domain" radio button and enter "lopez" in the text box and click OK. You'll need to supply the administrator account info to continue and a restart will be rewuired.
Joining a Windows Domain
Joining the domain

Up to now the Windows XP VM has logged on locally, now it will get authorization from the domain controller. When the logon screen appears hit CTL+ALT+DEL. The logon dialog appears. Click the Options button and change the Log on to from the local computer to LOPEZ and enter the credential of on of the accounts you created in Active Directory, such as "coder". You are now logged on to the domain!

Go back to your Windows 2003 VM and open up Active Directory Users and Computers. When you click on the “Computers” folder you notice that Tal (The XP Pro machine) was added when we joined the domain. Right-click and select “Cut”. Right-click the “Workstations”  OU and select “Paste”. Select “Yes” to the warning.
Moving computer in AD
Move computer

That completes configuration of Tal, our Windows XP Pro VM.

Only thing left is add Samba and xsmbrowser to Euwe (Ubuntu Desktop). So, what is this going to do for us? According to the samba.org website:

“Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.”
Samba allows us to share files, among other things, in a Windows environment. xsmbrowser will serve as our front end for Samba and is similar to Network Neighborhood in Windows. OK …start your Ubuntu Desktop VM. Once logged in, open up the Syanaptic Package Manager from the System >> Administration menu. The Synaptic Package Manager is similar to Add Remove Programs in Windows …however, it automatically connects to Ubuntu repositories via the Internet to offer the user thousands of FREE programs.

In the Syanaptic Package Manager quick search “samba” and then mark samba for installation. Do the same for xsmbrowser. Select “Mark” on additional required changes. Then “Apply” to install and “Apply” again to confirm.
Install samba on Ubuntu
Installing Samba 

You access the xsmbrowser from the System >> Preferences.

Your virtual network is complete. Enjoy. Check into the How To and Blog sections periodically for additional pointers and tutorials.

1 2 3 4