[Samba] Problems with Userlogin to share

basti mailinglist at unix-solution.de
Mon Dec 16 08:16:37 UTC 2019


Hello,

we have a Samba AD (AD Server: 4.9.5 / Fileserver: 4.10.11).

On the Fileserver sometimes the Users are lost. wbinfo -u does not show
any AD user. After restart winbind it works like expected.

An other strange think is, that the kerberos ticket is not updated.

Smb.conf fileserver:


    security = ADS
    workgroup = FOO
    realm = FOO.EXAMPLE.COM

    log file = /var/log/samba/%m.log
    log level = 3

    idmap config * : backend = tdb
    idmap config * : range = 1000-1005

    idmap config FOO:backend = ad
    idmap config FOO:schema_mode = rfc2307
    idmap config FOO:range = 1006-999999

    winbind enum users = yes
    winbind enum groups = yes

    winbind use default domain = yes

    vfs objects = acl_xattr
    map acl inherit = yes
    store dos attributes = yes

    template shell = /bin/bash
    template homedir = /home/users/%U

    host msdfs = no

    # fix connection lost ?
    client min protocol = SMB2
    client max protocol = SMB2

    # master for doamin
    local master = yes
    os level = 255
    preferred master = yes


/etc/krb5.conf

[libdefaults]
    default_realm = FOO.EXAMPLE.COM
    dns_lookup_realm = false
    dns_lookup_kdc = true



More information about the samba mailing list