summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix compiler warnings.Tim Potter2002-11-061-4/+5
| | | | | | | | (This used to be commit 3a68613e934e25f2ccfbf5afa5e26b5f47b40a53)
| * Remove dummy function I used for testingJelmer Vernooij2002-11-021-7/+0
| | | | | | | | (This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)
| * Add more options to popt_common and use them. Current ones are:Jelmer Vernooij2002-11-021-7/+52
| | | | | | | | | | | | | | | | | | | | -V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options (This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
| * add smb_load_modules() to load a list of modules - does this function look ok ?Jelmer Vernooij2002-10-311-0/+22
| | | | | | | | (This used to be commit a82dbb3c22e6cb2096efb87c12a6006642806aac)
| * Fix build. Don't use BSD setenv. Use POSIX putenv.Jim McDonough2002-10-301-3/+6
| | | | | | | | | | Jeremy, it wasn't me!!!!!! (This used to be commit 00d4e5c67b8a3b8eafa56fd46fbaf4922030dd81)
| * use sys_dlopen instead of dlopen (thanks to jra for noticing)Jelmer Vernooij2002-10-301-1/+1
| | | | | | | | (This used to be commit 86eb0a25b1df8ca25872f9846a74d0f13a4ad045)
| * - Remove RTLD_GLOBALJelmer Vernooij2002-10-301-3/+4
| | | | | | | | | | - make smb_load_module() return the return value of init_module() (This used to be commit a8d2dd8d009797486105188f8fdb898a65bb25b0)
| * added a timegm() function for systems that don't have itAndrew Tridgell2002-10-301-0/+22
| | | | | | | | (This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
| * Add initial vesion of new module systemJelmer Vernooij2002-10-301-0/+63
| | | | | | | | (This used to be commit b5d05d3ec6808465d27e15db2a9ff48804e2e78e)
| * Fix bug in '-d'Jelmer Vernooij2002-10-261-1/+1
| | | | | | | | (This used to be commit 8c15db105addbafd822d96d29ff1692566b92267)
| * First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison2002-10-231-92/+108
| | | | | | | | | | | | | | | | This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy. (This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
| * reverted an incorrect fix. What I was trying to do was fix a problemAndrew Tridgell2002-10-211-1/+1
| | | | | | | | | | | | | | | | with filenames with spaces in mangle_hash.c but the real problem is that mangle_hash.c assumes that the set of valid characters for 8.3 names is the same as the set of valid characters for long names. Thats an invalid assumption, with space being the obvious example. (This used to be commit e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
| * a space is a standard valid character in a filenameAndrew Tridgell2002-10-211-1/+1
| | | | | | | | (This used to be commit 0db79d4a379a502362c230a9019d5d71f5af8e0e)
| * Bugfix for pidfile_create() from Kelledin.Tim Potter2002-10-211-1/+1
| | | | | | | | (This used to be commit 4808a95f5f4536774d41bebca76660f010069117)
| * It seems that I'm meant to be using the helper function here, not the structAndrew Bartlett2002-10-181-1/+1
| | | | | | | | | | | | | | directly... Andrew Bartlett (This used to be commit 0abeb8725e8ea53a468d6004457bb7fa89a0f8b2)
| * Format objectGUIDs on ads dumps.Jim McDonough2002-10-181-4/+35
| | | | | | | | (This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
| * Start to merge the new ACL mapping code from Andreas Gruenbacher ↵Jeremy Allison2002-10-181-38/+68
| | | | | | | | | | | | | | <agruen@suse.de>. Jeremy. (This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
| * Nice *big* patch from metze.Andrew Bartlett2002-10-121-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
| * try to put every security descriptors related definitions in the same file.Simo Sorce2002-10-062-14/+30
| | | | | | | | | | | | | | also try to uniform names to a clean scheme. first part. (This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
| * Add more common options to popt_common - and start usingJelmer Vernooij2002-10-051-6/+54
| | | | | | | | | | the ones for debuglevel and configuration file in pdbedit (This used to be commit cb0d03a393d9009c3e16b9d05d88c171de9a9414)
| * Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2002-10-041-1/+1
| | | | | | | | | | | | MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
| * Remove useless spaces - this broke make protoJelmer Vernooij2002-10-041-1/+1
| | | | | | | | (This used to be commit 0341fb45829c5d13a7e02daaa9b960fdff492323)
| * Another patch from Steve Langasek <vorlon@netexpress.net>, again from theAndrew Bartlett2002-10-032-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Debian patchset. The idea is to still allow DNS domains to be specified in 'hosts allow' and 'hosts deny' without making the admin set 'hostname lookups' in their smb.conf. His concern is about upgrades. This has been designed not to change the value of %M. Andrew Bartlett (This used to be commit f428ee98d83a55922c991b0eeddd47891b80d918)
| * Added const. Anal formatting fixup.Jeremy Allison2002-10-021-175/+222
| | | | | | | | | | Jeremy. (This used to be commit ae4bf35f942de6025d3f364d599cca9720734a19)
| * 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)