Zentyal Forum, Linux Small Business Server

Zentyal Server => Directory and Authentication => Topic started by: rjka on April 10, 2019, 12:02:28 pm

Title: netbios name
Post by: rjka on April 10, 2019, 12:02:28 pm
https://doc.zentyal.org/en/directory.html

after documentation:

Know Limitations

Your hostname can not match your NETBIOS name, the NETBIOS name is generated using the left part of the domain, for example, if your hostname is ‘zentyal’ your domain can not be ‘zentyal.lan’, but it could be ‘zentyal-domain.lan’

what 'netbios name' is it about? domain or host???

and how about smb.conf:

workgroup = ?? is it netbios domain name or something else?
netbios name = ?? again what name it is domain or host?

there is also picture where host name and netbios name is the same - 'zentyal'





Title: Re: netbios name
Post by: rjka on April 10, 2019, 01:01:27 pm
Again I ask and answer myself :)

It looks like 'netbios name' it is 'workgroup' in smb.conf and it can't be the same as host name.

I check fresh install of zentyal domain standalone and there it is:

workgroup = zentyal-domain
netbios name = zentyal

hostname
zentyal

It is a bit confusing.
Title: Re: netbios name
Post by: JLLEWELYN on April 10, 2019, 05:42:21 pm
example:

 hostname: servidor
netbios name: servidor

Code: [Select]
administrator@servidor:~$ hostname
servidor
administrator@servidor:~$ domainname
(none)
administrator@servidor:~$ dnsdomainname
savidoca.com
administrator@servidor:~$ nisdomainname
nisdomainname: Local domain name not set
administrator@servidor:~$ ypdomainname
ypdomainname: Local domain name not set
administrator@servidor:~$ hostname --fqdn
servidor.savidoca.com
administrator@servidor:~$

Code: [Select]
administrator@servidor:~$ cat /etc/samba/smb.conf
[global]
    workgroup = savidoca
    realm = SAVIDOCA.COM
    netbios name = servidor
    server string = Zentyal Server
    server role = dc
    server role check:inhibit = yes
    server services = -dns
    server signing = auto
    dsdb:schema update allowed = yes
    ldap server require strong auth = no
    drs:max object sync = 1200

    idmap_ldb:use rfc2307 = yes

    winbind enum users = yes
    winbind enum groups = yes
    vfs objects = acl_xattr
    map acl inherit = yes
    store dos attributes = yes
    template shell = /bin/bash
    template homedir = /home/%U

    min protocol = SMB2

    rpc server dynamic port range = 49152-65535

    interfaces = lo,eth2
    bind interfaces only = yes

    map to guest = Bad User

    log level = 3
    log file = /var/log/samba/samba.log
    max log size = 100000



    include = /etc/samba/shares.conf




[netlogon]
    path = /var/lib/samba/sysvol/savidoca.com/scripts
    browseable = no
    read only = yes

[sysvol]
    path = /var/lib/samba/sysvol
    read only = no


review this information (https://itknowledgeexchange.techtarget.com/itanswers/difference-between-netbios-and-host-name/)