GithubHelp home page GithubHelp logo

Does not work offline. about nsscache HOT 6 CLOSED

wmantly avatar wmantly commented on August 19, 2024
Does not work offline.

from nsscache.

Comments (6)

jaqx0r avatar jaqx0r commented on August 19, 2024

from nsscache.

wmantly avatar wmantly commented on August 19, 2024

Yes. When I try to login offline, this appears in the logs:

Oct 27 11:13:09 i7-william-alder su[8858]: pam_ldap: ldap_simple_bind Can't contact LDAP server
Oct 27 11:13:09 i7-william-alder su[8858]: pam_ldap: reconnecting to LDAP server...
Oct 27 11:13:09 i7-william-alder su[8858]: pam_ldap: ldap_simple_bind Can't contact LDAP server

nsswitch.conf

passwd:         files systemd cache
group:          files systemd cache
shadow:         files cache
gshadow:        files 

hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

nsscache.conf


[DEFAULT]

# Default NSS data source module name
source = ldap

# Default NSS data cache module name; 'files' is compatible with the
# libnss-cache NSS module.  'nssdb' is deprecated, and should not be used for
# new installations.
cache = files

# NSS maps to be cached
maps = passwd, group, shadow

# Directory to store our update/modify timestamps
timestamp_dir = /var/lib/nsscache

# Lockfile to use for update/repair operations
#lockfile = /var/run/nsscache

# Defaults for specific modules; prefaced with "modulename_"

##
# ldap module defaults.
#

# Enable to connect to Active Directory. If enabled (set to 1),
# default Active Directory attributes will be used for mapping.
# Leave disabled if connecting to openldap.
#ldap_ad = 0

# LDAP URI to query for NSS data
ldap_uri = ldap://10.1.0.55

# Base for LDAP searches
ldap_base = dc=theta42,dc=com

# Default LDAP search filter for maps
ldap_filter = (objectclass=posixAccount)

# Default LDAP search scope
#ldap_scope = one

# Default LDAP BIND DN, empty string is an anonymous bind
ldap_bind_dn = "cn=ldapclient service,ou=People,dc=theta42,dc=com"

# Default LDAP password, empty DN and empty password is used for
# anonymous binds
ldap_bind_password = "*******"

ldap_tls_require_cert = 'never'

# files module defaults

# Directory to store the plain text files
files_dir = /etc

# Suffix used on the files module database files
files_cache_filename_suffix = cache

[passwd]
ldap_base = ou=people,dc=theta42,dc=com

[group]

ldap_base = ou=groups,dc=theta42,dc=com
ldap_filter = (objectclass=posixGroup)

[shadow]

ldap_filter = (objectclass=posixAccount)

from nsscache.

jaqx0r avatar jaqx0r commented on August 19, 2024

from nsscache.

jaqx0r avatar jaqx0r commented on August 19, 2024

from nsscache.

jaqx0r avatar jaqx0r commented on August 19, 2024

from nsscache.

wmantly avatar wmantly commented on August 19, 2024

oh, i see, Thank you for the help.

from nsscache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.