Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More paranoid checks for secrets_init() success. | Günther Deschner | 2008-02-09 | 1 | -13/+35 |
| | | | | Guenther | ||||
* | Add secrets_shutdown(). | Günther Deschner | 2008-01-07 | 1 | -0/+13 |
| | | | | Guenther | ||||
* | Add and use some keystr functions using talloc_tos() in secrets api. | Günther Deschner | 2007-12-19 | 1 | -44/+123 |
| | | | | Guenther | ||||
* | Replace sid_string_static by sid_string_dbg in DEBUGs | Volker Lendecke | 2007-12-15 | 1 | -1/+1 |
| | |||||
* | Refactor the lagacy part of secrets_fetch_trust_account_password() out | Michael Adam | 2007-12-13 | 1 | -13/+31 |
| | | | | | | | | into a new function secrets_fetch_trust_account_password_legacy() that does only try to obtain the hashed version of the machine password directly from secrets.tdb. Michael | ||||
* | Remove two unneeded functions. | Michael Adam | 2007-12-13 | 1 | -23/+0 |
| | | | | | | | | | secrets_store_trust_account_password() and trust_password_delete() are the write access functions to the SECRETS/$MACHINE.ACC/domain keys in secrets.tdb, the md4 hashed machine passwords. These are not used any more: Current code always writes the clear text password. Michael | ||||
* | Fix logic and prevent segfaults in secrets trustdom tdb pack code. | Michael Adam | 2007-12-12 | 1 | -14/+14 |
| | | | | | | | | New size calculation logic in tdb_trusted_dom_pass_pack() and tdb_sid_pack() used accumulated sizes as successive offsets to buffer pointer. Michael | ||||
* | Fix secrets_store_trusted_domain_password() after pstring removal. | Michael Adam | 2007-12-12 | 1 | -1/+1 |
| | | | | | | Jeremy, this small "&" sign has given me a headache... :-) Michael | ||||
* | Change tdb_unpack "P" to return a malloc'ed string rather | Jeremy Allison | 2007-12-03 | 1 | -1/+6 |
| | | | | | | than expect a pstring space to put data into. Fix the (few) callers. Jeremy. | ||||
* | More pstring elimination. | Jeremy Allison | 2007-11-20 | 1 | -18/+76 |
| | | | | Jeremy. | ||||
* | static pstring removal | Volker Lendecke | 2007-11-05 | 1 | -5/+9 |
| | |||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -29/+29 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-test | Gerald (Jerry) Carter | 2007-10-10 | 1 | -51/+36 |
| | |||||
* | r24991: Kill all those lots of trailing whitespaces from secrets.c. | Michael Adam | 2007-10-10 | 1 | -72/+72 |
| | | | | | | These red bars in vi really hurt my eyes... :-o Michael | ||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r22125: Fix a warning | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r22009: change TDB_DATA from char * to unsigned char * | Stefan Metzmacher | 2007-10-10 | 1 | -13/+13 |
| | | | | | | and fix all compiler warnings in the users metze | ||||
* | r21981: as we use tdb_trans_store(), we should also use tdb_trans_delete() | Stefan Metzmacher | 2007-10-10 | 1 | -1/+1 |
| | | | | metze | ||||
* | r21831: Back out r21823 for a while, this is going into a bzr tree first. | Volker Lendecke | 2007-10-10 | 1 | -20/+1 |
| | | | | Volker | ||||
* | r21823: Let secrets_store_machine_password() also store the account name. ↵ | Volker Lendecke | 2007-10-10 | 1 | -1/+20 |
| | | | | | | | | | Not used yet, the next step will be a secrets_fetch_machine_account() function that also pulls the account name to be used in the appropriate places. Volker | ||||
* | r21819: Wrap all steps in secrets_store_machine_password into one single | Volker Lendecke | 2007-10-10 | 1 | -12/+50 |
| | | | | | | transaction. Succeed all or store nothing. Volker | ||||
* | r21818: Remove some unused code | Volker Lendecke | 2007-10-10 | 1 | -23/+0 |
| | |||||
* | r20824: Send access to the trusted domain passwords through the pdb backend, ↵ | Volker Lendecke | 2007-10-10 | 1 | -41/+0 |
| | | | | | | | | | | so that in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker | ||||
* | r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> ↵ | Volker Lendecke | 2007-10-10 | 1 | -3/+3 |
| | | | | for the hint. | ||||
* | r20116: Start merging in the work done to create the new idmap subsystem. | Simo Sorce | 2007-10-10 | 1 | -0/+42 |
| | | | | Simo. | ||||
* | r18654: Rename "struct uuid" => "struct GUID" for consistency. | Jelmer Vernooij | 2007-10-10 | 1 | -8/+8 |
| | |||||
* | r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need | Jeremy Allison | 2007-10-10 | 1 | -21/+172 |
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. | ||||
* | r16197: Fix Klocwork id 1338 | Volker Lendecke | 2007-10-10 | 1 | -2/+3 |
| | |||||
* | r16076: Fix for machine password timeout overflow from Shlomi Yaakobovich | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | <Shlomi@exanet.com>. Jeremy. | ||||
* | r15888: Fix bug #3804 from jason@ncac.gwu.edu | Jeremy Allison | 2007-10-10 | 1 | -2/+2 |
| | | | | | Invalid comparisons. Jeremy. | ||||
* | r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring ↵ | Volker Lendecke | 2007-10-10 | 1 | -2/+2 |
| | | | | | | | | | does not have the timeout argument in Samba4. Add a new routine tdb_lock_bystring_with_timeout. Volker | ||||
* | r14103: Fix a memleak found by valgrind (!!) | Volker Lendecke | 2007-10-10 | 1 | -0/+1 |
| | |||||
* | r14102: Fix Coverity bug # 70 | Volker Lendecke | 2007-10-10 | 1 | -0/+4 |
| | |||||
* | r14088: Fix Coverity bug #20. Don't deref possible null. | Jeremy Allison | 2007-10-10 | 1 | -6/+9 |
| | | | | Jeremy. | ||||
* | r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() | Gerald Carter | 2007-10-10 | 1 | -11/+11 |
| | | | | macro which sets the freed pointer to NULL. | ||||
* | r13548: Always use the get_remote_macinhe_name() as the key | Jeremy Allison | 2007-10-10 | 1 | -2/+4 |
| | | | | | | for the creds store. This should fix the problems Jerry reported (but I have still to run tests :-). Jeremy. | ||||
* | r13542: Don't reuse a pointer we just freed (Doh!). | Jeremy Allison | 2007-10-10 | 1 | -2/+2 |
| | | | | Jeremy. | ||||
* | r13538: Make sure we store all 16 bytes of credentials session | Jeremy Allison | 2007-10-10 | 1 | -5/+6 |
| | | | | | | key and delete records that are old. We will need this for the full 16 byte session key support. Jeremy. | ||||
* | r13519: Fix the credentials chaining across netlogon pipe disconnects. | Jeremy Allison | 2007-10-10 | 1 | -4/+10 |
| | | | | | I mean it this time :-). Jeremy. | ||||
* | r13407: Change the credentials code to be more like the Samba4 structure, | Jeremy Allison | 2007-10-10 | 1 | -0/+1 |
| | | | | | | | | makes fixes much easier to port. Fix the size of dc->sess_key to be 16 bytes, not 8 bytes - only store 8 bytes in the inter-smbd store in secrets.tdb though. Should fix some uses of the dc->sess_key where we where assuming we could read 16 bytes. Jeremy. | ||||
* | r13316: Let the carnage begin.... | Gerald Carter | 2007-10-10 | 1 | -101/+63 |
| | | | | Sync with trunk as off r13315 | ||||
* | r13310: first round of server affinity patches for winbindd & net ads join | Gerald Carter | 2007-10-10 | 1 | -29/+0 |
| | |||||
* | r13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | | access free'd memory. Jerry please pick up for 3.0.21b ! Jeremy. | ||||
* | r12051: Merge across the lookup_name and lookup_sid work. Lets see how the ↵ | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | build farm reacts :-) Volker | ||||
* | r12043: It's amazing the warnings you find when compiling on a 64-bit | Jeremy Allison | 2007-10-10 | 1 | -11/+9 |
| | | | | | | | | | | | 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. | ||||
* | r10792: Fix the "schannel not stored across client disconnects" problem. | Jeremy Allison | 2007-10-10 | 1 | -0/+209 |
| | | | | | | | Based on the Samba4 solution - stores data in $samba/private/schannel_store.tdb. This tdb is not left open but open and closed on demand. Jeremy. | ||||
* | r10658: It's so nice to have CVSIN to blame for this kind of bugs :-) | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | | | | Volker | ||||
* | r10656: BIG merge from trunk. Features not copied over | Gerald Carter | 2007-10-10 | 1 | -7/+59 |
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) | ||||
* | r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵ | Gerald Carter | 2007-10-10 | 1 | -0/+65 |
| | | | | version to 3.0.20pre1 |