[Samba] Minimal configuration for Name Service

Thiago Crepaldi thiago at thiagocrepaldi.com
Wed Feb 26 11:59:17 MST 2014


That is all I need. the client host needs to be able to resolve the server
name through netbios in a way that is as safe as possible.

The server might or not be a domain member and server might be in a
different subnet. it all depends if the upnp packet can make its path.


On Wed, Feb 26, 2014 at 3:34 PM, Marc Muehlfeld <samba at marc-muehlfeld.de>wrote:

> Am 26.02.2014 18:11, schrieb Marc Muehlfeld:
>
>  [global]
>> workgroup = WKG
>> netbios name = MYNAME
>>
>
>
> With this minimal config, you only need to start 'nmbd', to let the
> machine answer.
>
>
> # nmblookup -S myname
> 192.168.150.2 myname<00>
> Looking up status of 192.168.150.2
>         MYNAME          <00> -         B <ACTIVE>
>         MYNAME          <03> -         B <ACTIVE>
>         MYNAME          <20> -         B <ACTIVE>
>         ..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
>         WKG             <00> - <GROUP> B <ACTIVE>
>         WKG             <1d> -         B <ACTIVE>
>         WKG             <1e> - <GROUP> B <ACTIVE>
>
>         MAC Address = 00-00-00-00-00-00
>
>
>
> > nbtstat -a myname
>
>       NetBIOS-Namentabelle des Remotecomputers
>
>        Name               Typ          Status
>     ---------------------------------------------
>     MYNAME         <00>  EINDEUTIG   Registriert
>     MYNAME         <03>  EINDEUTIG   Registriert
>     MYNAME         <20>  EINDEUTIG   Registriert
>     ??__MSBROWSE__?<01>  GRUPPE      Registriert
>     WKG            <00>  GRUPPE      Registriert
>     WKG            <1D>  EINDEUTIG   Registriert
>     WKG            <1E>  GRUPPE      Registriert
>
>     MAC Adresse = 00-00-00-00-00-00
>
>
>
> If you have special requirements (machine must be member in a domain,
> server in a different subnet than client, etc.) please give some more
> information about your environment and what you want to achieve.
>
>
> Regards,
> Marc
>



-- 
Thiago


More information about the samba mailing list