summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_cache.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Remove unused args from nss_get_infoVolker Lendecke2011-03-061-1/+1
|
* s3:winbind: Protect against invalid winbindd_cache entries in lookupridsVolker Lendecke2011-01-211-1/+2
|
* s3: wcache_invalidate_samlogon only needs the SIDVolker Lendecke2010-12-191-7/+4
|
* s3: netsamlogon_clear_cached_user only needs the SIDVolker Lendecke2010-12-191-1/+1
|
* s3: Use sid_check_is..Volker Lendecke2010-11-221-2/+2
|
* s3: Call sid_check_is_domain instead of dom_sid_equalVolker Lendecke2010-11-181-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 18 15:32:32 UTC 2010 on sn-devel-104
* s3:winbind add wcache_tdc_fetch_domainbysidChristian Ambach2010-11-081-0/+52
| | | | add a function to lookup a domain in the winbind cache by domain SID
* s3: Put some parentheses around conditionalsVolker Lendecke2010-11-081-2/+2
|
* s3: Consistently use stdbool types in new codeVolker Lendecke2010-11-081-11/+11
|
* s3:winbind add timeouts to winbind cacheChristian Ambach2010-11-081-14/+57
| | | | | | | | | | | | | | | This adds a timeout value to cache entries and the NDR records in the winbind cache. The previous approach of just comparing the sequence number has some issues, e.g. when retrying a wbinfo -n operation for a user in a not yet trusted domain was always failing even after the trusted domain was added. The new approach compares sequence number and timeout value to determine if a cache entry is still valid or not. I increased the cache version number so an old cache will be wiped automatically after upgrade.
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison2010-09-271-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.
* s3-winbindd: another attempt to fix the non-ldap build.Günther Deschner2010-09-211-0/+3
| | | | Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-3/+4
| | | | Guenther
* s3/winbind: remove unused winbindd_check_cache_sizeBjörn Jacke2010-09-191-29/+0
|
* s3: Remove "mem_ctx" from wcache_save_creds()Volker Lendecke2010-09-091-1/+0
|
* s3: Remove "mem_ctx" from lookup_cached_name()Volker Lendecke2010-09-091-2/+1
|
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-winbind: Don't cache queries to builtin and own sam domain.Andreas Schneider2010-07-131-3/+29
|
* s3-winbind: Fixed the winbind caching.Günther Deschner2010-07-061-0/+8
|
* s3-nss_info: only include nss_info.h where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-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>
* s3: Fix unnecessary traversing winbindd_cache.tdb in SIGHUP handler.Bo Yang2010-03-061-0/+6
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Don't invalidate cache for uninitialized domains.Bo Yang2010-02-091-0/+27
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Fix a winbind segfault in "trusted_domains"Volker Lendecke2010-01-131-3/+4
| | | | | | | We have to initialize domain->backend by calling "get_cache" before doing a query Thanks to Christian Ambach to find this :-)
* s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke2010-01-101-2/+1
|
* s3: List trusted domains from wcache when domain is offline.Bo Yang2010-01-061-24/+139
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary ↵Bo Yang2010-01-061-2/+263
| | | | | | backend query. Signed-off-by: Bo Yang <boyang@samba.org>
* s3: Pass netr_DomainTrustList instead of names and sids through ↵Volker Lendecke2009-12-281-11/+2
| | | | (*trusted_domains)
* s3: Remove some unused codeVolker Lendecke2009-12-281-101/+0
| | | | Watch the #if 0 -- we never stored this in the cache anymore
* s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)Volker Lendecke2009-12-261-1/+1
|
* s3: Replace IS_DOMAIN_OFFLINE by a functionVolker Lendecke2009-12-261-2/+2
|
* s3: wbinfo --ping-dc is not cacheableVolker Lendecke2009-12-231-0/+1
|
* s3-winbindd: add wbint_ChangeMachineAccount implementation.Günther Deschner2009-10-131-0/+1
| | | | Guenther
* s3-winbindd: NDR_WBINT_CHECKMACHINEACCOUNT should not be cacheable.Günther Deschner2009-10-081-0/+1
| | | | Guenther
* s3:winbind: Fix Coverity ID 940: Resource LeakVolker Lendecke2009-09-041-0/+1
|
* w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new APIVolker Lendecke2009-08-301-0/+1
|
* w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new APIVolker Lendecke2009-08-301-0/+1
|
* s3:winbind: add a fake NDR winbind cache validatorVolker Lendecke2009-08-291-0/+11
|
* s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke2009-08-291-2/+5
| | | | | | We need to enumerate passdb alias members Thanks to gd for bugging me :-)
* s3:winbind: Some calls are not cacheableVolker Lendecke2009-08-271-0/+19
|
* s3:winbind: Factor out wcache_store_seqnum()Volker Lendecke2009-08-271-19/+32
|
* s3:winbind: Add a generic cache for NDR based parent-child requestsVolker Lendecke2009-08-271-0/+112
|
* s3:winbind: Factor out wcache_fetch_seqnumVolker Lendecke2009-08-271-14/+39
|
* s3:winbind: Fix Coverity ID 942: Resource LeakVolker Lendecke2009-08-261-0/+2
|
* s3:winbind: Make wcache_lookup_groupmem available publicallyVolker Lendecke2009-08-161-24/+54
|
* s3:winbind: WINBIND_USERINFO -> wbint_userinfoVolker Lendecke2009-08-161-5/+6
|
* s3:winbind: Make wcache_lookup_usergroups externally visibleVolker Lendecke2009-08-051-29/+47
|
* s3:winbind: Make wcache_lookup_useraliases available publicallyVolker Lendecke2009-08-051-33/+74
|
* s3:winbind: Make wcache_query_user externally visibleVolker Lendecke2009-08-051-22/+43
|