summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix Solaris sendfile detection. Add small fixes to sendfile code.Jeremy Allison2002-10-011-3/+2
| | | | | | | | | | Jeremy. (This used to be commit ef7bcaf1b7e1ca073b27a8836c6aa86e112b5bee)
| * Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison2002-09-301-3/+84
| | | | | | | | | | | | | | <belanger@yahoo.com>. Jeremy. (This used to be commit 8db4d46dc983ce37814fb375d61951b6220a4c61)
| * Don't zero out numwritten before using.... Found by Pierre Belanger ↵Jeremy Allison2002-09-301-2/+2
| | | | | | | | | | | | | | belanger@pobox.com Jeremy. (This used to be commit a7009ad5c8aaae350b2521b8c0cd2538e561618a)
| * Fix the compile issue in bin/samtest, and make the 'system' token just have theAndrew Bartlett2002-09-301-5/+2
| | | | | | | | | | | | System sid. This avoids comparing with ACEs that we don't yet support in the ADS Domain security descriptor. (This used to be commit ace7738e123b28f69c290f9f1de50011d230e14b)
| * Remove sam/api.c.Andrew Bartlett2002-09-291-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to reduce complexity, this patch removes the upper layer of the SAM API. Also, we remove the function pointers on the sam context - there really is no point making these replaceable - that's for the modules. Move a number of functions in include/interface.c around to allow for use of 'static' and to keep the external API in one chunk, at the bottem. All these functions were renamed to remove the context_sam -> sam Consequential changes in the samtest module, and back out metze's change for ACB filtering, becouse I think it belongs in the SAM backeds. (But I will take debate on this one). Changes to the lib/util_sid.c code to create a 'system' token, and make it a SAM_ASSERT() enforced requirement to have a token on those calls that specify it. samtest now uses this. We should have a samtest call to set your own token. We also need to extend our se_access code to cover the things that Win2k is returning in it's access tokens. Currently our system token doesn't pass, due to unexpected flags. (When running sam_ads against Win2k) Andrew Bartlett (This used to be commit b9036900d0bb227ec16c6a5792c18ef943dcf015)
| * Add const.Andrew Bartlett2002-09-281-1/+1
| | | | | | | | (This used to be commit f7dd66e88dba947a167d9a14c96810854dfc5c9d)
| * Add const.Andrew Bartlett2002-09-281-4/+4
| | | | | | | | (This used to be commit 0f5d18626bebaa0621ee703ea2cc8bf47e14ea3e)
| * Vance picked up a pile of typos etc at the CIFS confernce, and finally got themAndrew Bartlett2002-09-271-8/+8
| | | | | | | | | | | | | | off his laptop :-) Andrew Bartlett (This used to be commit df8f0338fae01e5edc176708c2b798c67c2e8c36)
| * Some small cleanups to the libads code (mainly error checking), and give aAndrew Bartlett2002-09-271-2/+2
| | | | | | | | | | | | | | sane prototype for the push_utf8_allocate code. Andrew Bartlett (This used to be commit ce00a3238ed8a82639c4d0ee3e960f7000b1a7b0)
| * Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*Andrew Bartlett2002-09-261-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | better job of working with usrmgr. Previously we were blanking out entires, and all sort of mischif. The new patch (which I've now had a chance to test/modify) also takes care not to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store \\server\user back) and to correctly notice 'not set' compared to 'null string' etc. Andrew Bartlett (This used to be commit ab878b6cc4132594fc33f78aeebf0d8b7266c150)
* | sync with tpot's change to gencache_get() in HEADGerald Carter2003-01-241-22/+31
| | | | | | | | (This used to be commit 305f167db2a34cdf3dd6378954e815ce34111232)
* | masking an assert error in Tim's wins server checking code; needs a proper ↵Gerald Carter2003-01-241-0/+11
| | | | | | | | | | | | fix after I talk to tpot (This used to be commit 607bc0b4fca38640c6b5c730aa4119e2aa9006fc)
* | Memory leak fix from Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison2003-01-241-1/+4
| | | | | | | | | | Jeremy. (This used to be commit efd52f6ca7784a3edfc0371b5ff2054ad9704ab7)
* | merging [un]signed declarationGerald Carter2003-01-241-1/+1
| | | | | | | | (This used to be commit 15be89e72fee97106db1bd06d18060c21bbf78e1)
* | Merge of wins server dead list into gencache.tdbTim Potter2003-01-221-60/+54
| | | | | | | | (This used to be commit d1107efa1cd23cbfe8da6d3462714a6f3ec570ae)
* | Janitorial duty...Jeremy Allison2003-01-171-4/+8
| | | | | | | | | | | | | | fix some undefined behaviour with increments in C. In theory a compiler could have produced complete crap for this code. (tridge). Jeremy. (This used to be commit 2b4335f06265940582f389f48dc4f87f452a2703)
* | Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison2003-01-161-2/+4
| | | | | | | | | | Jeremy. (This used to be commit daf179bcd6297b525bfc644efb154734723f4d58)
* | Remove a wayward file.Richard Sharpe2003-01-151-281/+0
| | | | | | | | (This used to be commit ef597400602cdbd1601355f8ef54f12ea45dff78)
* | *lots of small merges form HEADGerald Carter2003-01-152-86/+18
| | | | | | | | | | | | | | *sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
* | Merge from HEAD:Andrew Bartlett2003-01-141-2/+0
| | | | | | | | | | | | | | | | | | - remove useless #else - signed/unsigned fixes - use an fstring for LM hash buffer. Andrew Bartlett (This used to be commit c0fb53c31fd7341745d14640e761affc5dae5230)
* | Don't touch data after a free.Jeremy Allison2003-01-131-1/+0
| | | | | | | | | | Jeremy. (This used to be commit 3aea32c8e6d204e41776b4bce79234d2159867b3)
* | More janitorial duties. Pulling these in from samba-head.Richard Sharpe2003-01-131-0/+281
| | | | | | | | (This used to be commit f2529a35a7b60c16e229cc3bf22afc726035f15d)
* | Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison2003-01-111-54/+55
| | | | | | | | | | | | contention on the messaging tdb. Jeremy. (This used to be commit ee0ceeff99f32146bebd4b49d346abdaa20aa10c)
* | First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison2003-01-101-48/+95
| | | | | | | | | | | | | | | | | | the amount of time we hold tdb locks). Gulp down all messages at once rather than reading/re-writing one at a time. NOTE: All dispatch routines *must* be able to cope with incoming message on *odd* byte boundaries (all current handlers do). Jeremy. (This used to be commit b752c0340f96669b2b2573cf7d3d10f99580b070)
* | Merge from HEAD - whitespace :-)Andrew Bartlett2003-01-042-1/+1
| | | | | | | | (This used to be commit 5fc90b6cf438480c9fcf8d01f0a319a52c5914cc)
* | Merge from HEAD - baseless parinoia about never having a closed dbf (the debugAndrew Bartlett2003-01-041-2/+4
| | | | | | | | | | | | | | file pointer). Andrew Bartlett (This used to be commit c8a809a2a83974330bc1015d07d69f40a4a09610)
* | Merge from HEAD - mimir's new gencache based namecache code.Andrew Bartlett2003-01-042-13/+164
| | | | | | | | | | Andrew Bartlett (This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
* | patch to include support for daemontools from Michael HandlerGerald Carter2003-01-032-3/+7
| | | | | | | | (This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
* | Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-0312-26/+27
| | | | | | | | | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* | Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.Andrew Bartlett2003-01-035-7/+7
| | | | | | | | (This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
* | Merge from HEAD - tridge's new timegm() that actually works on solaris.Andrew Bartlett2003-01-031-18/+15
| | | | | | | | | | Andrew Bartlett (This used to be commit 353c6b24234444c5430de183c3a4b1318bfce02c)
* | Finish adding strings to all talloc_init() calls.Jeremy Allison2002-12-231-1/+0
| | | | | | | | | | Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
* | talloc_init_named -> talloc_init.Jeremy Allison2002-12-221-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
* | Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-202-4/+4
| | | | | | | | | | | | named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
* | merge from 2.2Herb Lewis2002-12-191-0/+2
| | | | | | | | | | actually print args for %g and %e (This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9)
* | The name pointer in the talloc context must not be a talloced entry asJeremy Allison2002-12-141-2/+13
| | | | | | | | | | | | calling talloc_destroy_pool(as we do sometimes) will destroy it. Jeremy. (This used to be commit bcd22a9039b0fb3697ebc4377898cc7ecfd853cc)
* | Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.Jeremy Allison2002-12-112-0/+13
| | | | | | | | | | Jeremy. (This used to be commit ec4ed45563f9d8e25fcfd88840944a90b3139c3e)
* | The _abs time functions should not be converting from/to GMT.Jeremy Allison2002-12-101-18/+11
| | | | | | | | | | | | Patch from "Jordan Russell" <jr-list-samba-technical@quo.to> Jeremy. (This used to be commit 199c9fcbb9e9a5d4b75ac370d358f54e91808e76)
* | Ensure global_scope() returns "", not the NULL string. Froma tpot fix.Jeremy Allison2002-12-061-0/+6
| | | | | | | | | | Jeremy. (This used to be commit 0ff254264e6e43399404595bc87b5bd889e17952)
* | fns for retrieving dns host name and domain name (get rid of lp_realm hacks).Jim McDonough2002-12-031-0/+56
| | | | | | | | (This used to be commit eda83b6d13f5f73136363d165e9396725b923873)
* | Merge from HEAD, struct in_addr is always in network byte order, so we don'tAndrew Bartlett2002-12-011-5/+0
| | | | | | | | | | need a little-endian case here. (This used to be commit 24fb89da51f54cc547f7f963b094b0f3178632e4)
* | Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
* | Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-232-10/+23
| | | | | | | | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
* | merged the %U changes to 3.0Andrew Tridgell2002-11-201-5/+24
| | | | | | | | (This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
* | Merge from HEAD:Andrew Bartlett2002-11-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | - heimdal updates to configure - make DEBUG() const - add testsuite for: - preexec - preexec close - valid users - fix testsuite for 'invalid users' Andrew Bartlett (This used to be commit aa41fb8703db4a4ecd3b353874c99a994e8ed630)
* | Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-1210-718/+892
| | | | | | | | | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* | Fix all returns to be size_t (they are all unsigned). Fixup strlen beingJeremy Allison2002-11-111-213/+244
| | | | | | | | | | | | done on ucs2 strings. Jeremy. (This used to be commit 9a6c6946193289eac5b91fe6fd236c0742ec6f8c)
* | sync with headSimo Sorce2002-11-101-75/+0
| | | | | | | | | | | | was: consolidate alla error mapping functions in one file (This used to be commit 2c9e8b79d94e3276e9eb9bd676af0a68ee3908ff)
* | Last sync with HEADJelmer Vernooij2002-11-091-11/+2
| | | | | | | | (This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
* | Sync with HEADJelmer Vernooij2002-11-092-7/+71
| | | | | | | | (This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)