summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2003-01-13Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett1-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)
2003-01-13Accessing data after it's been free()ed really is a no-no...Andrew Bartlett3-4/+17
Andrew Bartlett (This used to be commit 6e821285a4aacfc0031957b88ddbec73d7e1dc11)
2003-01-11Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison1-54/+55
contention on the messaging tdb. Jeremy. (This used to be commit ee0ceeff99f32146bebd4b49d346abdaa20aa10c)
2003-01-11Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison1-54/+55
contention on the messaging tdb. Jeremy. (This used to be commit 5b8cf0810a7297f239b35c93ec50d20f1eed793b)
2003-01-10First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison1-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)
2003-01-10First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison1-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)
2003-01-09Remove read_with_timeout() and replaced its only caller (the passwd chatTim Potter1-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)
2003-01-08Removed pointless null statement in signal handler.Tim Potter1-2/+0
(This used to be commit db24489eb4304f1fb0e47a5b6bd77ff3871b757e)
2003-01-04Merge from HEAD - whitespace :-)Andrew Bartlett2-1/+1
(This used to be commit 5fc90b6cf438480c9fcf8d01f0a319a52c5914cc)
2003-01-04Merge from HEAD - baseless parinoia about never having a closed dbf (the debugAndrew Bartlett1-2/+4
file pointer). Andrew Bartlett (This used to be commit c8a809a2a83974330bc1015d07d69f40a4a09610)
2003-01-04Merge from HEAD - mimir's new gencache based namecache code.Andrew Bartlett2-13/+164
Andrew Bartlett (This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
2003-01-03patch to include support for daemontools from Michael HandlerGerald Carter2-3/+7
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03patch to include support for daemontools from Michael HandlerGerald Carter2-3/+7
(This used to be commit 4c48c475a28450ad4fd8dcc8263e841c0c39a80e)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett12-26/+27
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.Andrew Bartlett5-7/+7
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
2003-01-03Merge from HEAD - tridge's new timegm() that actually works on solaris.Andrew Bartlett1-18/+15
Andrew Bartlett (This used to be commit 353c6b24234444c5430de183c3a4b1318bfce02c)
2003-01-02Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids inAndrew Bartlett5-7/+7
compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
2003-01-02Call me parinoid, but I don't like the idea that we could ever have dbf pointAndrew Bartlett1-2/+4
to a closed file. Swap the assign and the close around. Andrew Bartlett (This used to be commit ceb2a7984910533187d3345440c24b605306e3cb)
2003-01-02BIG patch...Andrew Bartlett14-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)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+0
Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2-4/+4
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2-4/+4
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-19merge from 2.2Herb Lewis1-0/+2
actually print args for %g and %e (This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9)
2002-12-19merge from 2.2Herb Lewis1-0/+2
actually print args for %g and %e (This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)
2002-12-16updates to the gumsSimo Sorce2-0/+975
introduce genparser will be used by tdbsam2 (This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)
2002-12-14The name pointer in the talloc context must not be a talloced entry asJeremy Allison1-2/+13
calling talloc_destroy_pool(as we do sometimes) will destroy it. Jeremy. (This used to be commit bcd22a9039b0fb3697ebc4377898cc7ecfd853cc)
2002-12-14The name pointer in the talloc context must not be a talloced entry asJeremy Allison1-2/+13
calling talloc_destroy_pool(as we do sometimes) will destroy it. Jeremy. (This used to be commit 63f344e27be5aaf2204899fea7d53a7302001108)
2002-12-11Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.Jeremy Allison2-0/+11
Jeremy. (This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
2002-12-11Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.Jeremy Allison2-0/+13
Jeremy. (This used to be commit ec4ed45563f9d8e25fcfd88840944a90b3139c3e)
2002-12-10The _abs time functions should not be converting from/to GMT.Jeremy Allison1-18/+11
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to> Jeremy. (This used to be commit 199c9fcbb9e9a5d4b75ac370d358f54e91808e76)
2002-12-10The _abs time functions should not be converting from/to GMT.Jeremy Allison1-18/+11
Patch from "Jordan Russell" <jr-list-samba-technical@quo.to> Jeremy. (This used to be commit aecc9db60a3c8227e2d24c775282cf6c1a37efaa)
2002-12-06Ensure global_scope() returns "", not the NULL string. Froma tpot fix.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 0ff254264e6e43399404595bc87b5bd889e17952)
2002-12-06Ensure global_scope() returns "", not the NULL string. Froma tpot fix.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 7185b846e41da2bf7edaa7f3edeff1cc1486d28b)
2002-12-03fns for retrieving dns host name and domain name (get rid of lp_realm hacks).Jim McDonough1-0/+56
(This used to be commit eda83b6d13f5f73136363d165e9396725b923873)
2002-12-03fns for retrieving dns host name and domain name (get rid of lp_realm hacks).Jim McDonough1-0/+56
(This used to be commit 456813308d8542211183f9655b7fe598144f7bfc)
2002-12-01Merge from HEAD, struct in_addr is always in network byte order, so we don'tAndrew Bartlett1-5/+0
need a little-endian case here. (This used to be commit 24fb89da51f54cc547f7f963b094b0f3178632e4)
2002-12-01POSIX indicates that this is always in network byte order, so we don't need theAndrew Bartlett1-5/+0
little-endian case (tested on Intel-linux). Andrew Bartlett (This used to be commit 281b713b12ece63d499652df193509c57312b749)
2002-11-29Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter1-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)
2002-11-27removing inet_aton()Gerald Carter1-1/+2
(This used to be commit 08ac3610f9ef7e1c37541729441acfa13b48d34c)
2002-11-26Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett2-13/+124
cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett (This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-24Add ntlm_auth, a new program to provide a stable interface to winbind'sAndrew Bartlett1-0/+41
authentication code. In particular, ntlm_auth is designed to replace the winbind authentication 'helpers' currently supplied by Squid. I have added support for the current plaintext password protocol used by Squid, and will add the real guts (NTLMSSP support) shortly. I'll merge this into 3.0 when I've got the interface more stable (error message format etc) and got the important NTLMSSP support added. Also move SWAT's URL decoding code into util_str.c, for use in both utilities. Andrew Bartlett (This used to be commit 82dbf838879e8a2d2d3f9dd5be6eda50b780b787)
2002-11-23a working timegm() function for systems that don't have itAndrew Tridgell1-18/+15
(This used to be commit 6efdd54d063043cac2fe151231ac1999ade25704)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-10/+23
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-10/+23
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-20merged the %U changes to 3.0Andrew Tridgell1-5/+24
(This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
2002-11-20more %U fixes for headAndrew Tridgell1-0/+3
(This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)
2002-11-19a better for for using %U in smb.confAndrew Tridgell1-5/+21
this follows the method used for remote_machine and also fixes the problem of anonymous connections clobbering the string (This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)