summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/samlogon_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* r15227: Fix a valgrind error. We are marshalling here, not unmarshalling.Volker Lendecke2007-10-101-2/+1
| | | | | | | Jeremy, can you check this? This was part of your -O6 on 64bit sweep. Volker (This used to be commit 4fa5dbcc8dd1f150664e1241b22e3f048d816001)
* r13991: Fix Coverity bug # 69Volker Lendecke2007-10-101-0/+1
| | | | (This used to be commit 6dc79e6b12e221e9af85a1edf487b5fb5aae222b)
* r12043: It's amazing the warnings you find when compiling on a 64-bitJeremy Allison2007-10-101-2/+6
| | | | | | | | | | | | box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. (This used to be commit c65b752604f8f58abc4e7ae8514dc2c7f086271c)
* r11661: Store the INFO3 in the PAC data into the netsamlogon_cache.Gerald Carter2007-10-101-2/+10
| | | | | | | | Also remove the mem_ctx from the netsamlogon_cache_store() API. Guenther, what should we be doing with the other fields in the PAC_LOGON_INFO? (This used to be commit 8bead2d2825015fe41ba7d7401a12c06c29ea7f7)
* r11652: Reinstate the netsamlogon_cache in order to workGerald Carter2007-10-101-0/+247
| | | | | | | | | | | | | | around failed query_user calls. This fixes logons to a member of a Samba domain as a user from a trusted AD domain. As per comments on samba-technical, I still need to add (a) cache the PAC info as werll as NTLM net_user_info_3 (b) expire the cache when the SMB session goes away Both Jeremy and Guenther have signed off on the idea. (This used to be commit 0c2bb5ba7b92d9210e7fa9f7b70aa67dfe9faaf4)
* r9590: forget to remove this from the 3.0 treeGerald Carter2007-10-101-0/+0
| | | | (This used to be commit 74f8718438c73170d394c61eb91da9d8388f84d0)
* r9588: remove netsamlogon_cache interface...everything seems to work fine. ↵Gerald Carter2007-10-101-247/+0
| | | | | | Will deal with any fallout from special environments using a non-cache solution (This used to be commit e1de6f238f3981d81e49fb41919fdce4f07c8280)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.Jeremy Allison2007-10-101-1/+1
| | | | | | Use correct enum type for comparisons. Jeremy. (This used to be commit b926480d053e42205e959b9808a6e3bb90db9ce5)
* r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling ↵Gerald Carter2007-10-101-1/+10
| | | | | | in the username in the user_info3 (This used to be commit 4703a71fa88dff8bdc932f6c9af3a9d25a88938f)
* Apply some constVolker Lendecke2004-03-301-2/+2
| | | | (This used to be commit 8037750df568e6b51b2b0cba9192468110470388)
* i guess i'm the only one this ever annyoed...Gerald Carter2003-07-101-1/+1
| | | | | | | fix the confusion when we tdb_lock_bystring() but we retrieve an entry using tdb_fetch_by_string. It's now always tdb.*bystring() (This used to be commit 66359531b89368939f0e8f584a45844b5f2f99e7)
* merge of the netsamlogon caching code from APPLIANCE_HEADGerald Carter2003-06-211-0/+238
This replaces the universal group caching code (was originally based on that code). Only applies to the the RPC code. One comment: domain local groups don't show up in 'getent group' that's easy to fix. Code has been tested against 2k domain but doesn't change anything with respect to NT4 domains. netsamlogon caching works pretty much like the universal group caching code did but has had much more testing and puts winbind mostly back in sync between branches. (This used to be commit aac01dc7bc95c20ee21c93f3581e2375d9a894e1)