Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-26-2010, 03:02 PM   #1
LQ Newbie
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Question Create new domain on Ubuntu Server 32 bit 10.04

I checked the man pages before posting but I am new to linux and I may not have known what I was looking for. I am trying to create a new domain on an Ubuntu server version. the man page tells me to type


When I do this it tells me that the command CREATE is not recognized. I realize (and hope) that this is probably extremely simple but can anyone help me with this? To give an idea of what I am trying to do. I am a network technician and I work with a Windows Server 2003 network. I am trying to create a separate domain for our training classes with linux to reduce costs. I still want to connect to the internet through our existing domain. I have all of the computers connected to the internet and set up including this server but I have not been able to get the server to become a name server so I can change the domain on all of the linux computers that I set up to have them on a separate domain.
Old 05-26-2010, 04:42 PM   #2
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 538

Rep: Reputation: 71
You have two or more requests for help, I think.

1. It sounds like you want a Linux host to act like a windows domain server. In Linux, Samba provides some imperfect functionality of the Windows domain software stack. If you configure Samba as a desktop authenticator *only*, this might work. But it depends on the details of what you are trying to accomplish.

2. You want the new PC's and the new domain to co-exist with the current domain and get DNS and DHCP service from your windows DC? This shouldn't be an issue. Don't install a DHCP server on the Linux box. When joining the PC's to the Samba-provided domain, you will probably need to manually specify the domain controller. Oh, and add an entry for the new Samba server in your AD DNS.

FYI: Microsoft and "reduce costs" are permanently conflicting concepts like "fire and water."

Last edited by mpapet; 05-26-2010 at 04:44 PM.
Old 06-03-2010, 04:50 PM   #3
LQ Newbie
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
The first is closer to what I am looking for. I need the server to act as if it were a domain server. The windows network is actually on static IP (I didn't build it, and I am not in charge of it) so I am not worried about the DHCP my main concern is to have all of the Ubuntu workstations use the Ubuntu Server as a gateway to access the windows network and the internet and to have the Ubuntu server act as a sort of proxy server to the internet and intranet.
Old 06-03-2010, 06:54 PM   #4
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 538

Rep: Reputation: 71

1. If you want the Ubuntu clients to route their traffic through a Ubuntu server ONLY, then this is a networking problem.. The clients have a static configuration in /etc/networking/interfaces. The server can use a network bridge or firewall rules. If you want the server to do DHCP leases or other services, a plain old bridge might not work.

2. If you want Linux-client user logins to be authenticated by a Ubuntu server, there are several ways to do this. Samba is not the slimmest/fastest way to go, but lots of Samba users might make it worth the trouble. LDAP authentication is very well suited to this task. It provides centralized authentication much easier than Samba.

Last edited by mpapet; 06-03-2010 at 07:04 PM.
Old 06-03-2010, 07:02 PM   #5
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
I setup a network similar to what (I think) you want a while back.
I am not familiar with the command your trying to run at all but I don't use ubuntu.
I had to edit smb.conf manually and it took some trial and error.

You want 2 domains (1 windows) (1 linux)->that acts like windows.
You want the linux network to connect to the internet through the windows network.

Check this out
Old 06-03-2010, 07:23 PM   #6
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Here's a very good HOWTO site Try chapters 10,11,12.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a domain server with Redhat yuanjunliang Linux - Newbie 5 03-29-2010 01:31 AM
LXer: Ubuntu 32-bit, 32-bit PAE, 64-bit Benchmarks LXer Syndicated Linux News 0 12-30-2009 12:00 PM
Is Ubuntu server 64 bit? ckosloff Linux - Newbie 1 12-01-2009 08:06 PM
How do i make a sub-domain on Ubuntu Server 9.10? Jamie Kugelmann Linux - Server 1 07-19-2009 02:16 AM
Q: how to create dual boot disk with ubuntu 32-bit and 64-bit maxreason Ubuntu 4 08-07-2008 12:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration