Smb.conf


/etc/samba/smb.conf


 cat /etc/samba/smb.conf
# Global parameters
[global]
    netbios name = SERVER-UD3L
    realm = LAB.HOME
    server role = active directory domain controller
    server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
    workgroup = LAB
    idmap_ldb:use rfc2307 = yes
    log level = 3
#    dns forwarder = 192.168.0.3 192.168.0.1
[shares]
    read only = No
    browseable = Yes
    writable = Yes
    inherit permissions = Yes
    path = /var/lib/samba/usershares

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

[netlogon]
    path = /var/lib/samba/sysvol/lab.home/scripts
    read only = No