Comments (6)
from nsscache.
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.
from nsscache.
from nsscache.
from nsscache.
oh, i see, Thank you for the help.
from nsscache.
Related Issues (20)
- nsscache doesn't map all members of a group HOT 2
- reformat by removing error E713 for membership test HOT 7
- ShadowExpire == -1 HOT 1
- sshkey map fails to import HOT 4
- Not all LDAP servers provide LastModification Dates
- bsddb3 is deprecated HOT 3
- `uidattr` ignored when writing out groups
- mox3 archived & deprecated upstream, please update tests to not use it HOT 3
- Question: Merge groups with the same ids
- sshkey.cache format: valid characters include "'" "[" "]" ":" and ","; which are broken in AuthorizedKeysHelper HOT 1
- Example AuthorizedKeysCommand returns keys for other users if the username is a substring HOT 2
- Please support nested groups HOT 11
- Tagging of versions HOT 3
- nsscache doesn't update group cache from ldap source HOT 7
- ConfigParser.NoSectionError: No section: 'suffix' with nsscache >= 0.36 HOT 2
- configure nsscache with samba4 active directory HOT 31
- is nsscache python3 compatible? HOT 25
- Get integration tests running in CI HOT 37
- Properly define byte vs string types in source and cache api boundaries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsscache.