LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-13-2008, 08:29 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Rep: Reputation: 30
Hostnames, Domains, Realms, Samba Groups, etc


Can anyone give me a clearer idea of the significance of the various 'names' that a server might have.

For example, when apache starts up it says "could not determine the server's fully qualified domain name using localhost instead"

Why do I need the FQDN? Does it need to be a FQDN with a qualified TLD, such as .com or .co.uk? Can I use a made up name like comp.frieddomain.lan?

Samba appears to need a GROUP. Should this be FRIEDDOMAIN? I see Samba also uses realms. Should this be the same as the FQDN?

Kerebos also deals in REALMS. Are these the same as the one Samba is using? or Apache? Does it matter?

Squid needs a unique_hostname. What is it asking for. The Domain? The Realm? The FQDN?

Thanks.
 
Old 03-13-2008, 09:01 PM   #2
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
1. A FQDN is of the form foo.bar.org. It has at least 2 parts, separated by a dot. Whether this must be "legal" depends on whether the machine with this name is going to be visible on the public Internet, where a scheme called the Domain Name System (DNS) operates. If your machine needs to be accessible over the Internet, the way other machines will get there is by translating the FQDN into an IP address, using the DNS to do that translation. In that case, you need to be legal.

If, on the other hand, your server is attached to an isolated network which does not participate in the public DNS, you are free to come up with any FQDN you like. Beware, though, because if your isolated net eventually becomes attached to the public Internet, you will have to go back and change the FQDN for your server, and change any references to that name wherever they are (user's browser bookmarks, for example).

2. As with many things in this networked world, Samba is bound by the work of the Microsoft Empire. It needs a workgroup to identify related machines that ought to be allowed free (or freer) access to each other's files, printers, and other services. This workgroup does not need to be related in any way the FQDN. It must, however, be the same for all the members who want to share info. Samba knows about a realm only if it is involved in an Active Directory scheme for authenticating users. In that case, it uses the Kerberos realm as part of the user identification. More info is available on the implications of all this at http://www.samba.org.

3. Squid wants either the FQDN or the first part of it. Look at the documentation to decide which is wanted in a particular place.
 
  


Reply


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
samba : several domains : how to set the samba one as default? tonguim Linux - Networking 3 01-12-2006 08:16 AM
2 domains on the same network with samba ddaas Linux - Networking 2 01-06-2005 02:13 AM
SAMBA and Domains? TheRealDeal Linux - General 4 10-14-2003 06:36 AM
no hostnames in host allow/deny list error with samba colpaarm Linux - Software 1 07-18-2003 10:12 AM
Apache and Realms AgentRn007 Linux - Software 0 04-08-2003 02:52 PM


All times are GMT -5. The time now is 10:00 AM.

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