summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | merge from HEAD - enable dynamic RPC modulesJim McDonough2003-02-141-0/+12
| | | | | | | | (This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
* | Merge of nicer error message for gencache open error from HEAD.Tim Potter2003-02-121-1/+1
| | | | | | | | (This used to be commit 23ca54000514d400c81950edb556ef4308a88253)
* | Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**Jeremy Allison2003-02-121-2/+2
| | | | | | | | | | Jeremy. (This used to be commit 81437e2ad034e9b83ae954c17a7a261504c55101)
* | merge from HEAD - x_fileno, not fileno on an XFILEAndrew Bartlett2003-02-081-1/+1
| | | | | | | | (This used to be commit e3468d8edc77c4d3dffc81770f4bc991e5a5fe52)
* | Merge from HEAD - don't mix FILE and X_FILE - fixes debian bugAndrew Bartlett2003-02-081-3/+3
| | | | | | | | | | | | | | | | http://bugs.debian.org/178219 where the first 4096 bytes where being chewed into the FILE buffer, and never available to X_FILE's read. Andrew Bartlett (This used to be commit 8af72c13841ee51bca4f061a91c05e8fd366f586)
* | Samba janitor: adding mbp's umask patch :-).Jeremy Allison2003-02-071-79/+69
| | | | | | | | | | Jeremy. (This used to be commit d4d8d27bf136bdbc785c7aad027537aabaa56a76)
* | merge from headAndrew Tridgell2003-02-071-2/+6
| | | | | | | | (This used to be commit fd3216dbcbaec7d64dd24fe2af6c4156935c47e9)
* | Merge of signed/unsigned fixes from HEAD.Andrew Bartlett2003-02-012-3/+3
| | | | | | | | (This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-02-011-0/+90
|\| | | | | | | used to be commit ed336acc6eef4736bd924e8402cc463944e9327c)
| * Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm toAndrew Bartlett2003-02-011-0/+90
| | | | | | | | | | | | | | | | | | blame for the realloc() stuff. Plus a couple of minor updates to libads. Andrew Bartlett (This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)
| * Make it clear that the magic value is (size_t)-1.Andrew Bartlett2003-02-011-2/+2
| | | | | | | | | | Andrew Bartlett (This used to be commit 0676b4e35f2ab5b58c44df9fe2eef112425d6013)
| * Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-5/+45
| | | | | | | | | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
| * Move debug level message handling into debug.c from messages.cTim Potter2003-01-302-11/+14
| | | | | | | | | | Removed duplicate message_register() for REQ_DEBUGLEVEL message. (This used to be commit 6fee7196d695ca813a301b1e6d7da687b7e7bda5)
| * Removed duplicate fn to avoid compiler warning.Tim Potter2003-01-291-19/+0
| | | | | | | | (This used to be commit 55d268fdd67e42244128dae8614d0e4aa2eb2da2)
| * Return 0 instead of crashing when a NULL source string is passedTim Potter2003-01-291-0/+1
| | | | | | | | | | to rpcstr_pull() (This used to be commit b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)
| * Quieten debug about gencache.tdb not being able to be opened.Tim Potter2003-01-291-1/+1
| | | | | | | | | | Perhaps we should try to open O_RDONLY if O_RDWR fails? (This used to be commit 1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
* | Add 3 second timeout when terminating server and sending print notifyJeremy Allison2003-01-301-5/+45
| | | | | | | | | | | | | | messages. Stops build-up of large numbers of smbd's waiting to terminate on large print throughput. Jeremy. (This used to be commit 07efebb98473cb3d4adc6b2e0afef3f06dcc99b8)
* | Merge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.Tim Potter2003-01-302-23/+7
| | | | | | | | (This used to be commit abb112ba2ad362036c7b3f340d5f64d6fcc0cd3c)
* | Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).Jeremy Allison2003-01-291-0/+2
| | | | | | | | | | Jeremy. (This used to be commit 60be9a2f1e6d18562218a55e1a1f753e34fb1e5b)
* | Return 0 instead of crashing when a NULL source string is passedJeremy Allison2003-01-291-0/+1
| | | | | | | | | | | | to rpcstr_pull() - merge from HEAD (tpot). Jeremy. (This used to be commit e781388c59d694058576529fb43f861c48011091)
* | Merge from HEAD:Andrew Bartlett2003-01-281-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett (This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2003-01-281-0/+92
|\| | | | | | | used to be commit b741abd496621586040081c04674ae53cb5db47c)
| * Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.Jeremy Allison2003-01-241-1/+4
| | | | | | | | | | Jeremy. (This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)
| * Merge of max log file fixes from appliance:Tim Potter2003-01-231-1/+3
| | | | | | | | | | | | | | | | | | - smbd/process.c: check log file sizes more often than in timeout_processing() - lib/debug.c: increment debug_count inside Debug1() instead of when log file sizes are checked. (This used to be commit 303710c2065850beebef678e657633497e4d8452)
| * Updated some comments.Tim Potter2003-01-211-5/+5
| | | | | | | | (This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
| * Keep the list of dead WINS servers in gencache.tdb instead of inTim Potter2003-01-211-60/+54
| | | | | | | | | | | | | | | | memory. This allows the information to be shared amongst all smbd processes. HP CR #1099 (This used to be commit 88d977ecceaec45ab6b238ddd32d92885da19793)
| * Make the valstr and timeout return pointers optional so a caller canTim Potter2003-01-211-11/+31
| | | | | | | | | | pass NULL if it doesn't care about the gencache key. (This used to be commit 9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)
| * dlsym() can return NULL validly, so we can't use that as the error test.Jim McDonough2003-01-171-2/+6
| | | | | | | | | | dlerror() is the correct way to test. (This used to be commit 41b1be15bac271116a7096e511cc029685013e1f)
| * Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough2003-01-171-0/+12
| | | | | | | | | | | | for instructions. (This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
| * fix some undefined behaviour with increments in C. In theory aAndrew Tridgell2003-01-171-4/+8
| | | | | | | | | | compiler could have produced complete crap for this code. (This used to be commit 0e90da0810b60dd1c2b1ec46c1a2993856b919d3)
| * Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison2003-01-161-2/+4
| | | | | | | | | | Jeremy. (This used to be commit 3d04872499332ef2d8e7479b924afc8fc1ac29d7)
| * Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett2003-01-161-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
| * Fix a signed/unsigned warning.Andrew Bartlett2003-01-161-1/+1
| | | | | | | | (This used to be commit b5ae49544d8e389595a3b076466498912de42081)
| * Doing a malloc(strlen(s)) then a pstrpcp(y, s) is just silly, make it a strdupAndrew Bartlett2003-01-151-3/+1
| | | | | | | | | | | | | | instead. Andrew Bartlett (This used to be commit c781e34d274f4185ec932cc59029d3f9a65e47c4)
| * Patch from metze to add what he feels is the correct semantics for a DomainAndrew Bartlett2003-01-131-0/+17
| | | | | | | | | | | | | | | | | | | | | | Controller. As we have had a number of attempts at this over the last little while, I need to get my test rig going, and give this whole area a poke... Meanwhile, if you want to use this, just adjust your 'auth methods' line to use samstrict_dc... Andrew Bartlett (This used to be commit 18e598ec24493026008fcfe486057555b8832108)
| * Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett2003-01-131-7/+1
| | | | | | | | | | | | | | | | | | name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett (This used to be commit 71f4d8efd36351ddb2180103c160a6d737da62b1)
| * Accessing data after it's been free()ed really is a no-no...Andrew Bartlett2003-01-133-4/+17
| | | | | | | | | | Andrew Bartlett (This used to be commit 6e821285a4aacfc0031957b88ddbec73d7e1dc11)
| * 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 5b8cf0810a7297f239b35c93ec50d20f1eed793b)
| * 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 04243e39cf4e11dd20e6035f553722a9720f00ae)
| * Remove read_with_timeout() and replaced its only caller (the passwd chatTim Potter2003-01-091-81/+1
| | | | | | | | | | | | | | | | | | stuff) with a call to read_socket_with_timeout() which does the same thing. Passwd chat still works but I couldn't figure out the right arguments to passwd chat to get it to work right but data was definitely getting through. (This used to be commit 88eb9e9486bca55a38e40ae53aed35ee338a68d7)
| * Removed pointless null statement in signal handler.Tim Potter2003-01-081-2/+0
| | | | | | | | (This used to be commit db24489eb4304f1fb0e47a5b6bd77ff3871b757e)
| * patch to include support for daemontools from Michael HandlerGerald Carter2003-01-032-3/+7
| | | | | | | | (This used to be commit 4c48c475a28450ad4fd8dcc8263e841c0c39a80e)
| * Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids inAndrew Bartlett2003-01-025-7/+7
| | | | | | | | | | compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
| * Call me parinoid, but I don't like the idea that we could ever have dbf pointAndrew Bartlett2003-01-021-2/+4
| | | | | | | | | | | | | | to a closed file. Swap the assign and the close around. Andrew Bartlett (This used to be commit ceb2a7984910533187d3345440c24b605306e3cb)
| * BIG patch...Andrew Bartlett2003-01-0214-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
| * Finish adding strings to all talloc_init() calls.Jeremy Allison2002-12-231-1/+0
| | | | | | | | | | Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
| * talloc_init_named -> talloc_init.Jeremy Allison2002-12-221-1/+1
| | | | | | | | | | Jeremy. (This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
| * 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 842e08e52a665ae678eea239759bb2de1a0d7b33)
| * merge from 2.2Herb Lewis2002-12-191-0/+2
| | | | | | | | | | actually print args for %g and %e (This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)
| * updates to the gumsSimo Sorce2002-12-162-0/+975
| | | | | | | | | | introduce genparser will be used by tdbsam2 (This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)