summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-01-28s3: separate tdb validation code out into its own source fileMichael Adam1-0/+1
So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
2009-01-16s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam1-6/+6
Michael
2009-01-07refresh sequence number as soon as possible when domain->sequence_number == ↵boyang1-3/+8
-1 or domain->last_status is not ok.
2008-12-31Fix more asprintf and "ignoring return code" warnings from gcc 4.3.Jeremy Allison1-1/+3
Jeremy.
2008-12-01s3:winbindd_cache: add debugging to get_nss_info_cached()Michael Adam1-0/+7
Michael
2008-09-16winbindd: Add support for name aliasing.Gerald (Jerry) Carter1-0/+249
* Add support user and group name aliasing by expanding the ws_name_replace() and ws_name_return() functions. The lookup path is aliases -> qualified name -> SID SID -> fully qualified name -> alias In other words, the name aliasing support is a thin layer built on top of SID/NAME translation. * Rename the ws_name_XX() functions to normalize_name_map() and normalize_name_unmap(). Chaneg interface to return NTSTATUS rather than char *. * Add associated cache validation functions.
2008-08-27Fix the wcache_invalidate_samlogon calls.Jeremy Allison1-1/+22
Jeremy. (This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
2008-07-30winbindd: handle trusted domains without sid.Günther Deschner1-2/+7
Guenther (This used to be commit 0c1efc6c89b1a51a94d10971bf0fc515416709b3)
2008-07-01Revert "winbind cache: Don't create SN cache entries during name-to-sid ↵Karolin Seeger1-6/+6
queries." This reverts commit b58e4f6b3d73294d8448c0dff4341183c52e5b7c. Details can be found on the samba-technical mailing list. Karolin (This used to be commit 534a445df450c681be7da2c9dd65f7294f942b08)