[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] Samba.Conf drilller



ok det hjap ... takker ;-)

Michael Rasmussen wrote:
> 
> <snip>
> > Jeg er i gang med at teste noget omkring dns, da jeg har en løs antagelse
> > om, at problemer med dns kan influere på resultatet - det ser lovende det
> > ud, så jeg vender tilbage med konklusionen senere i dag.
> >
> > Fortsat held og lykke.
> >
> > Mvh.
> > Michael
> <snip>
> Her kommer konklusionen:
> 
> DNS:
> 
> for at kunne få forbindelse til samba-serveren, kræves der en fungerende
> løsning på navneopslag. Dette kan løses på 2 måder:
> 
> 1) Hosts og Lmhosts - netbios way (har i øvrigt suffixet .sam): I disse
> filer skal samba-serveren være nævnt se figur 1 og 2.
> 2) Sæt linuxserveren til af køre named - tcp/ip way, og fortæl windows at
> den skal bruge linuxserveren som dns. Åbn
> indstillinger->kontrolpanel->netwærk. Åbn egenskaber for TCP/IP. Under
> fanebladet Gateway tilføjes 192.168.1.1. Under fanebladet DNS-konfiguration
> aktiveres DNS, i Vært skrives maskinens navn f.eks WS1 (dette samme navn
> skal være angivet som Computernavn i fanebladet identifikation:
> Indstillinger->kontrolpanel->netværk), Domæne sættes til domain.net, i
> feltet Rækkefølge til søgning efter DNS-server tilføjes 192.168.1.1 (hvis
> den står som første går det hurtigere).
> 
> DOMAINNAVN:
> 
> Workgroup/domainnavn må ikke være sammenfaldende med hostnavnet. Hvis samba
> kører på f.eks. host test.domain.net, og har følgende stående i filen
> /etc/hosts:
> 
> ip                    fulde navn                        alias
> --                    ---------------                        ------
> 
> 127.0.0.1        localhost.localdomain    localhost
> 192.168.1.1    test.domain.net                test
> 172.10.10.1    router.domain.net            router
> 
> er følgende navne ikke tilladt for workgroup/domain:
> 
> localhost.localdomain
> test.domain.net
> router.domain.net
> ps. disse vil formentlig være ulovlige i sig selv, da de indeholder et
> forbudt tegn.
> 
> localhost
> test
> router
> 
> så vores eksempel domain hedder derfor <testdomain>.
> 
> # Copyright (c) 1998 Microsoft Corp.
> #
> # This is a sample HOSTS file used by Microsoft TCP/IP stack for Windows98
> #
> # This file contains the mappings of IP addresses to host names. Each
> # entry should be kept on an individual line. The IP address should
> # be placed in the first column followed by the corresponding host name.
> # The IP address and the host name should be separated by at least one
> # space.
> #
> # Additionally, comments (such as these) may be inserted on individual
> # lines or following the machine name denoted by a '#' symbol.
> #
> # For example:
> #
> #      102.54.94.97     rhino.acme.com          # source server
> #       38.25.63.10     x.acme.com              # x client host
> 
> 127.0.0.1       localhost
> 192.168.1.1   test
> 172.10.10.1   router
> 
> figur 1: hosts
> 
> # Copyright (c) 1998 Microsoft Corp.
> #
> # This is a sample LMHOSTS file used by the Microsoft Wins Client (NetBios
> # over TCP/IP) stack for Windows98
> #
> # This file contains the mappings of IP addresses to NT computernames
> # (NetBIOS) names.  Each entry should be kept on an individual line.
> # The IP address should be placed in the first column followed by the
> # corresponding computername. The address and the comptername
> # should be separated by at least one space or tab. The "#" character
> # is generally used to denote the start of a comment (see the exceptions
> # below).
> #
> # This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
> # files and offers the following extensions:
> #
> #      #PRE
> #      #DOM:<domain>
> #      #INCLUDE <filename>
> #      #BEGIN_ALTERNATE
> #      #END_ALTERNATE
> #      \0xnn (non-printing character support)
> #
> # Following any entry in the file with the characters "#PRE" will cause
> # the entry to be preloaded into the name cache. By default, entries are
> # not preloaded, but are parsed only after dynamic name resolution fails.
> #
> # Following an entry with the "#DOM:<domain>" tag will associate the
> # entry with the domain specified by <domain>. This affects how the
> # browser and logon services behave in TCP/IP environments. To preload
> # the host name associated with #DOM entry, it is necessary to also add a
> # #PRE to the line. The <domain> is always preloaded although it will not
> # be shown when the name cache is viewed.
> #
> # Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
> # software to seek the specified <filename> and parse it as if it were
> # local. <filename> is generally a UNC-based name, allowing a
> # centralized lmhosts file to be maintained on a server.
> # It is ALWAYS necessary to provide a mapping for the IP address of the
> # server prior to the #INCLUDE. This mapping must use the #PRE directive.
> # In addtion the share "public" in the example below must be in the
> # LanManServer list of "NullSessionShares" in order for client machines to
> # be able to read the lmhosts file successfully. This key is under
> #
> \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessi
> onshares
> # in the registry. Simply add "public" to the list found there.
> #
> # The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE
> # statements to be grouped together. Any single successful include
> # will cause the group to succeed.
> #
> # Finally, non-printing characters can be embedded in mappings by
> # first surrounding the NetBIOS name in quotations, then using the
> # \0xnn notation to specify a hex value for a non-printing character.
> #
> # The following example illustrates all of these extensions:
> #
> # 102.54.94.97     rhino         #PRE #DOM:networking  #net group's DC
> # 102.54.94.102    "appname  \0x14"                    #special app server
> # 102.54.94.123    popular            #PRE             #source server
> # 102.54.94.117    localsrv           #PRE             #needed for the
> include
> #
> # #BEGIN_ALTERNATE
> # #INCLUDE \\localsrv\public\lmhosts
> # #INCLUDE \\rhino\public\lmhosts
> # #END_ALTERNATE
> #
> # In the above example, the "appname" server contains a special
> # character in its name, the "popular" and "localsrv" server names are
> # preloaded, and the "rhino" server name is specified so it can be used
> # to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"
> # system is unavailable.
> #
> # Note that the whole file is parsed including comments on each lookup,
> # so keeping the number of comments to a minimum will improve performance.
> # Therefore it is not advisable to simply add lmhosts file entries onto the
> # end of this file.
> 
> 192.168.1.1     test         #PRE #DOM:testdomain  #net group's DC
> 
> figur 2: lmhosts
> 
> Jeg håber denne "korte" forklaring hjælper.
> 
> Mvh.
> Michael


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:59 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *