Web lists-archives.com

Re: [Samba] Urgend Help ... Please




On 21/05/2019 21:19, Maurizio Caloro via samba wrote:
Hello

# uname -rsa
Linux srvcar018 4.4.0-148-generic #174~14.04.1-Ubuntu SMP Thu May 9
08:17:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# /usr/sbin/smbd -V
Version 4.2.4-SerNet-Ubuntu-7.trusty
Ouch, that is old ;-)

smb.conf
# Global parameters
[global]
         netbios aliases = SRVCAR018
         security = ADS
         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbindd, ntp_signd, kcc, dnsupdate
         winbind trusted domains only = yes
         write raw = no
         encrypt passwords = true
         dns forwarder = 192.168.201.92
         workgroup = CARAG
         load printers = yes
         winbind use default domain = yes
         read raw = no
         kerberos method = system keytab
         realm = CARAG.LOCAL
         netbios name = SRVCAR018
         log file = /var/log/samba/loglog.smbdmon
         os level = 20

[netlogon]
         path = /var/lib/samba/sysvol/carag.local/scripts
         read only = No

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

Try resetting your smb.conf, there are various problems with it, try this:

[global]
        netbios name = SRVCAR018
        realm = CARAG.LOCAL
        server role = active directory domain controller
        server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
        workgroup = CARAG
        idmap_ldb:use rfc2307  = yes
        log file = /var/log/samba/loglog.smbdmon
        dns update command = /usr/sbin/samba_dnsupdate --use-samba-tool

[netlogon]
        path = /var/lib/samba/sysvol/carag.local/scripts
        read only = No

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

Ubuntu Trusty (12.04) is now EOL, Samba 4.2.x is EOL, so I would suggest that when you get things working again, you start to upgrade.

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba