Comments (9)
Comment #1 originally posted by jaqx0r on 2013-01-16T11:24:42.000Z:
I strongly recommend using the 'cache' backend and installing libnss-cache in your nsswitch, insteadof using the nssdb backend. 'cache' is faster, less buggy, and more battle tested.
from nsscache.
Comment #2 originally posted by jaqx0r on 2014-04-30T13:05:47.000Z:
<empty>
from nsscache.
I ran into this same issue in Arch with db version 5.3.28-2. I tried using the 'cache' backend as suggested, but unless I missed something it doesn't actually seem to be implemented. The only valid cache backends are 'files' and 'nssdb'.
from nsscache.
What errors do you get when configuring the cache backends? It is the only
one that is battle tested, so I am very surprised to hear it doesn't work.
No one new should use the nssdb backend, and I'd delete it except I don't
know if any existing users rely on it.
On Thu, 5 Nov 2015, 10:58 William Huba [email protected] wrote:
I ran into this same issue in Arch with db version 5.3.28-2. I tried using
the 'cache' backend as suggested, but unless I missed something it doesn't
actually seem to be implemented. The only valid cache backends are 'files'
and 'nssdb'.—
Reply to this email directly or view it on GitHub
#28 (comment).
from nsscache.
I tried setting cache = cache
in my nsscache.conf and the following is thrown when running nsscache update:
Traceback (most recent call last):
File "/usr/sbin/nsscache", line 33, in <module>
return_value = nsscache_app.Run(sys.argv[1:], os.environ)
File "/usr/lib/python2.7/site-packages/nss_cache/app.py", line 240, in Run
retval = command_callable().Run(conf=conf, args=args)
File "/usr/lib/python2.7/site-packages/nss_cache/command.py", line 230, in Run
force_lock=options.force_lock)
File "/usr/lib/python2.7/site-packages/nss_cache/command.py", line 303, in UpdateMaps
force_write=force_write)
File "/usr/lib/python2.7/site-packages/nss_cache/update/updater.py", line 272, in UpdateFromSource
cache = cache_factory.Create(self.cache_options, self.map_name)
File "/usr/lib/python2.7/site-packages/nss_cache/caches/cache_factory.py", line 76, in Create
raise RuntimeError('cache not implemented: %r' % (cache_name,))
RuntimeError: cache not implemented: 'cache'
Looking at cache_factory.py, only files and nsscache get registered as cache implementations: https://github.com/google/nsscache/blob/master/nss_cache/caches/cache_factory.py#L84-L85
from nsscache.
Have you had a chance to look at this any further? I'm happy to switch backends, but can't see how to do that currently.
from nsscache.
@hexedpackets
use 'cache = files'
from nsscache.
Thanks Robin. That config option eluded me, and now looking at it, it is
not very clear what it does!
On Sat, 2 Jan 2016, 05:43 Robin H. Johnson [email protected] wrote:
@hexedpackets https://github.com/hexedpackets
use 'cache = files'—
Reply to this email directly or view it on GitHub
#28 (comment).
from nsscache.
I've sent a documentation fix; it's still confusing but at least it's now
correct.
On 2 January 2016 at 12:50, Jamie Wilkinson [email protected] wrote:
Thanks Robin. That config option eluded me, and now looking at it, it is
not very clear what it does!On Sat, 2 Jan 2016, 05:43 Robin H. Johnson [email protected]
wrote:@hexedpackets https://github.com/hexedpackets
use 'cache = files'—
Reply to this email directly or view it on GitHub
#28 (comment).
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
- Does not work offline. HOT 6
- Question: Merge groups with the same ids
- Add support for GCS source 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.