summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2001-09-30merge from 2.2Gerald Carter1-17/+0
(This used to be commit c308459bda3f3036c305ee7b9307f740aec66811)
2001-09-29Add a few const statements to various odd bits of the tree. (Fixes someAndrew Bartlett3-4/+4
warnings) (This used to be commit b648cc669d16eb40b477c8dc51efeab485a15de5)
2001-09-26OpenSSL merge from 2.2Gerald Carter2-2/+2
(This used to be commit efc6df5a3914da9e7b792ccaccd1403c72c09f78)
2001-09-26Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison1-5/+8
Jeremy. (This used to be commit bca6419447e926e51aeecf3e484228f640cecb84)
2001-09-25- the inactive core of the new mangling code that use tdbSimo Sorce1-0/+107
- some more utils for unicode string manipulation (This used to be commit 4ade36446e7dee1c3828d8c822f047c6e891a644)
2001-09-25fixed the really awful performance problem with the stat cache when itAndrew Tridgell1-8/+10
ran out of primes and used a power of two hash modulus. It ended up sticking all the entries in just a few buckets. Yuck! (This used to be commit fdc9952391027e209fbd24f7794b1c2b551b1f9f)
2001-09-25added a little smbtorture test for dumping the unicode table of aAndrew Tridgell1-1/+0
server. This is just a framework right now - I want this to eventually replace the win32 test code from monyo The interesting this about this test is that it shows up a really horrible performance bug in our stat cache code. I'll see if I can fix it. (This used to be commit eb668b54af4925194c07b217724657f406ec00d0)
2001-09-25allow all ucs2 chars in utf8, rather than mapping some to a singleAndrew Tridgell1-10/+1
char like libiconv does (This used to be commit e13e8b190c70136cb2c3588bdcf7328a7f61d152)
2001-09-25Fixed enumeration of large numbers of groups from a Samba DC.Jeremy Allison1-1/+5
Tidied up debug messages in lib/messages.c Jeremy. (This used to be commit dfb58f227609d6c8a255677b85ec853efa19f602)
2001-09-24fixed a silly off by 1 bugAndrew Tridgell1-0/+3
(This used to be commit e558ab6ac8930e3393291fe12289ad43175b8a1d)
2001-09-22Ignore unmappable (NT Authority, BUILTIN etc.) SIDs in an ACL set.Jeremy Allison1-0/+24
Jeremy. (This used to be commit bc7963bd643422cce081b6284e3bdd49ae3a02ab)
2001-09-19Fix (I hope) compile on HP-UX. Found by the build farm.Andrew Bartlett1-1/+1
(This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
2001-09-17fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell1-3/+4
completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case (This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
2001-09-17move to SAFE_FREE()Simo Sorce23-168/+129
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-09-15Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett1-0/+10
fixed - an mmaped file or the like would be a good idea. (This used to be commit bc1385fc5e55eeed626615fad92877296064a27e)
2001-09-13added a new global option "hostname lookups = yes/no"Andrew Tridgell1-0/+8
This should finally kill off the remaining places where we attempt reverse lookups of the IP of the client. It may be that some pam modules called via the session code will need "hostname lookups = yes" but I've left it off by default as most sites don't need it and so many sites have broken reverse maps (This used to be commit 2b83ad03965d00bba88fe56452d2990099b75ef1)
2001-09-10convert more code to use XFILEAndrew Tridgell2-7/+7
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-10declare dbf in one spotAndrew Tridgell2-2/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10added xfileAndrew Tridgell1-0/+340
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell4-42/+22
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-08convert more code to using d_printfAndrew Tridgell1-2/+2
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell3-36/+167
which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT (This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell1-1/+1
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06Started a cleanup of smbpasswd related stuff. I've created a new fileTim Potter1-0/+201
lib/smbpasswd.c which will contain routines related to manipulating smbpasswd entries. - renamed and moved pdb_{get,set}hexpwd() functions - renamed and moved pdb_{decode,encode}acct_ctrl() functions - started hiding references to the cruftalicious NEW_PW_FORMAT_SPACE_PADDED_LEN constant - started gradual rename of references to acct_ctrl to acb_info which is the nomenclature used in MSDN and header files There's still more work to be done. Currently there are several places where smbpasswd entries are iterated etc. Ideally this should all happen through the passdb system. (This used to be commit 4a01e240305fb6fead973beef4937a016b15d744)
2001-09-04Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison1-66/+39
Jeremy. (This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-2/+2
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-04Fixed some compiler warnings.Tim Potter1-2/+0
(This used to be commit 06608971ed95c02188a1b2bf7b1f9a2845e04022)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell1-3/+3
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-08-28Merge from TNG - function to initialise NTTIME structure.Tim Potter1-0/+9
(This used to be commit 14bc8283f26fb80633575e471de4a15a492113c6)
2001-08-28fixed typoAndrew Tridgell1-1/+1
(This used to be commit 2d1829dfd041336a587443435d8dccab365a2b56)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell3-8/+8
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27started converting NTSTATUS to be a structure on systems with gcc in order ↵Andrew Tridgell1-6/+11
to make it type incompatible with BOOL so we catch errors sooner. This has already found a number of bugs (This used to be commit 1b778bc7d22efff3f90dc450eb12baa1241cf68f)
2001-08-26bzero is not used (deprecated) as it's a BSDism.Jeremy Allison1-62/+52
Syscalls must check for -1, not < 0 (POSIX). Formating (tab) fixups. Jeremy. (This used to be commit 7263949584a5e01fd5316770861a7550bd3f1155)
2001-08-26Small changes to get ready for adding WINS failover to smbd and clients.Christopher R. Hertel1-5/+76
My plan is to change the lp_wins_server() function to lp_wins_server_list(). My reason being: With WINS failover the 'wins server' parameter may take a list of WINS server names/IPs instead of just one. If it's a list, then calling lp_wins_server() won't give you what you expect (that is, a single WINS server name or IP). Instead, the functions in wins_srv.c should be used. You can get either the name or IP of the 'current' working WINS server in the list. Chris -)----- (This used to be commit efaa9ef5e72c3748d97e43bba38a0ba47ff3438d)
2001-08-26Fussing with debug lines in open_socket_in(). I cleaned up some slightlyChristopher R. Hertel1-32/+56
funky code that was simply setting a local int to 0 or 1 and also added calls to strerror() in some of the debug lines. The use of the dlevel parameter in this function is a little awkward. There should probably be some comments about it in the source. (This used to be commit 3031e7acdc4eac99a736f45161dee9bf81c1cc87)
2001-08-24fixes big endian unistring problems. Need to check that it didn'tHerb Lewis1-2/+9
break little-endian machines. (This used to be commit 0f08e79030419b778c1229712c98b839faaf734f)
2001-08-24get rid of old debug code and possible socket leakHerb Lewis1-9/+1
(This used to be commit f942397d6515402be0c7c1085fc2e6d48eb6928f)
2001-08-23better error reporting for servers that don't do port 445Andrew Tridgell1-1/+1
(This used to be commit a896dc299eba12886d800e6c88309d534232cabc)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell3-15/+26
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-19More Realloc fixes.Jeremy Allison1-4/+3
Jeremy. (This used to be commit 94128f9f372c23602c14cf13a79a24d01065ced1)
2001-08-16removed unused fileAndrew Tridgell1-113/+0
(This used to be commit c452eb0fbbeb2d450d94c972dfeb190767005cd7)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce4-14/+32
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-10Added Mike Davidsons Tru64 ACL patch.Jeremy Allison1-13/+23
Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-10Use the new client error api.Tim Potter1-2/+2
(This used to be commit 688da3c41dd944f7f69083518d25e9edbc55406f)
2001-08-08Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2-2/+2
changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c) (This used to be commit 7f33c01688b825ab2fa9bbb2730bff4f2fa352be)
2001-08-05me stupid.Simo Sorce1-1/+1
never commit without building. sorry. (This used to be commit f87924aec4ff3ad1855b470c33df2e0ae9d51d85)
2001-08-05Some fixes about malloc/Realloc and mem leakSimo Sorce3-6/+15
thanks to andreas moroder (This used to be commit b29a549cdd85d42a1697041ab04f0ae4eddd23ca)
2001-08-01Oops. Typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d862be4b680fc495d920fa802854032e668a2073)
2001-08-01Pidfile check can be read-only. Removed old ifdef in password.cJeremy Allison1-6/+6
Jeremy. (This used to be commit d82efc61ef16533c5652a5d4a9863f8317cb4ea2)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)