Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • winbind offline cache issue

    Posted on

    I have a problem, when I'm offline I can not connect to my localhost via ssh.

    Actual results:
    Domain Controller unreachable, using cached credentials instead. Network resources may be unavailable
    Connection closed by 127.0.0.1


    /etc/samba/smb.conf :

    [global]

    workgroup = xxxx
    netbios name = xxxx
    server string = xxxx
    realm = xxxx
    security = ads

    password server = xxxx
    idmap uid = 500-1000000
    idmap gid = 500-1000000
    idmap backend = tdb
    encrypt password = yes
    idmap config xxxx:backend = rid
    idmap config xxxx:base_rid = 500
    idmap config xxxx:range = 500-1000000

    socket options = SO_REUSEADDR TCP_NODELAY SO_RCVBUF=16383 SO_SNDBUF=16384

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

    winbind uid = 500-1000000
    winbind gid = 500-1000000
    winbind use default domain = true
    winbind offline logon = yes
    winbind refresh tickets = true
    winbind cache time = 86400
    winbind reconnect delay = 3600
    winbind enum users = yes
    winbind enum groups = yes
    allow trusted domains = yes

    lock directory = /var/cache/samba/

    Attachments

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat