summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison1-2/+5
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
2010-09-21s3-winbindd: another attempt to fix the non-ldap build.Günther Deschner1-0/+3
Guenther
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-3/+4
Guenther
2010-09-19s3/winbind: remove unused winbindd_check_cache_sizeBjörn Jacke1-29/+0
2010-09-09s3: Remove "mem_ctx" from wcache_save_creds()Volker Lendecke1-1/+0
2010-09-09s3: Remove "mem_ctx" from lookup_cached_name()Volker Lendecke1-2/+1
2010-08-05s3: avoid global include of ads.h.Günther Deschner1-0/+1
Guenther
2010-07-13s3-winbind: Don't cache queries to builtin and own sam domain.Andreas Schneider1-3/+29
2010-07-06s3-winbind: Fixed the winbind caching.Günther Deschner1-0/+8
2010-07-01s3-nss_info: only include nss_info.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-32/+32
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-06s3: Fix unnecessary traversing winbindd_cache.tdb in SIGHUP handler.Bo Yang1-0/+6
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-09s3: Don't invalidate cache for uninitialized domains.Bo Yang1-0/+27
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-13s3: Fix a winbind segfault in "trusted_domains"Volker Lendecke1-3/+4
We have to initialize domain->backend by calling "get_cache" before doing a query Thanks to Christian Ambach to find this :-)
2010-01-10s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke1-2/+1
2010-01-06s3: List trusted domains from wcache when domain is offline.Bo Yang1-24/+139
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-06s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary ↵Bo Yang1-2/+263
backend query. Signed-off-by: Bo Yang <boyang@samba.org>
2009-12-28s3: Pass netr_DomainTrustList instead of names and sids through ↵Volker Lendecke1-11/+2
(*trusted_domains)
2009-12-28s3: Remove some unused codeVolker Lendecke1-101/+0
Watch the #if 0 -- we never stored this in the cache anymore
2009-12-26s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)Volker Lendecke1-1/+1
2009-12-26s3: Replace IS_DOMAIN_OFFLINE by a functionVolker Lendecke1-2/+2
2009-12-23s3: wbinfo --ping-dc is not cacheableVolker Lendecke1-0/+1
2009-10-13s3-winbindd: add wbint_ChangeMachineAccount implementation.Günther Deschner1-0/+1
Guenther
2009-10-08s3-winbindd: NDR_WBINT_CHECKMACHINEACCOUNT should not be cacheable.Günther Deschner1-0/+1
Guenther
2009-09-04s3:winbind: Fix Coverity ID 940: Resource LeakVolker Lendecke1-0/+1
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new APIVolker Lendecke1-0/+1
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new APIVolker Lendecke1-0/+1
2009-08-29s3:winbind: add a fake NDR winbind cache validatorVolker Lendecke1-0/+11
2009-08-29s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke1-2/+5
We need to enumerate passdb alias members Thanks to gd for bugging me :-)
2009-08-27s3:winbind: Some calls are not cacheableVolker Lendecke1-0/+19
2009-08-27s3:winbind: Factor out wcache_store_seqnum()Volker Lendecke1-19/+32
2009-08-27s3:winbind: Add a generic cache for NDR based parent-child requestsVolker Lendecke1-0/+112
2009-08-27s3:winbind: Factor out wcache_fetch_seqnumVolker Lendecke1-14/+39
2009-08-26s3:winbind: Fix Coverity ID 942: Resource LeakVolker Lendecke1-0/+2
2009-08-16s3:winbind: Make wcache_lookup_groupmem available publicallyVolker Lendecke1-24/+54
2009-08-16s3:winbind: WINBIND_USERINFO -> wbint_userinfoVolker Lendecke1-5/+6
2009-08-05s3:winbind: Make wcache_lookup_usergroups externally visibleVolker Lendecke1-29/+47
2009-08-05s3:winbind: Make wcache_lookup_useraliases available publicallyVolker Lendecke1-33/+74
2009-08-05s3:winbind: Make wcache_query_user externally visibleVolker Lendecke1-22/+43
2009-08-05s3:winbind: Make wcache_name_to_sid visible externallyVolker Lendecke1-42/+37
2009-08-05s3:winbind: Make wcache_sid_to_name externally visibleVolker Lendecke1-42/+43
2009-08-03Add some const to winbind_userinfoVolker Lendecke1-2/+2
2009-08-02Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke1-3/+3
Pass a "flags" argument instead of the original winbind command down the name_to_sid chain. This way we are independent of the winbind commands and can take the decision at a much higher level
2009-07-31Refactoring: mem_ctx is not needed as an argument to centry_sidVolker Lendecke1-21/+25
2009-07-27Fix some nonempty blank linesVolker Lendecke1-105/+103
2009-06-14Remove some unused codeVolker Lendecke1-109/+0
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-1/+1
Should make Solaris 10 builds look cleaner. Jeremy.
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-0/+1
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-03-12Make opt_nocache static to winbindd.cVolker Lendecke1-4/+4
2009-02-23More warning fixes for Solaris.Jeremy Allison1-9/+9
Jeremy.