summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-09-06Started a cleanup of smbpasswd related stuff. I've created a new fileTim Potter8-156/+232
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-06Removed 18 duplicate #undef entries.Tim Potter1-21/+0
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)
2001-09-06Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.Tim Potter1-1/+3
(This used to be commit e3ec6197ede4a37113567c2ab406937c6ca80e9d)
2001-09-06flush stdout in test logging fnsAndrew Tridgell2-0/+2
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)
2001-09-06use a different test tdb name for tdbtest and tdbtortureAndrew Tridgell1-1/+1
(This used to be commit 931bded1c92c812d6aae101a40f453c925054627)
2001-09-06actually obey the "use mmap" smb.conf optionAndrew Tridgell2-2/+6
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)
2001-09-06Logon workstation checks from Toomas Soome <tsoome@ut.ee>Tim Potter1-9/+42
Fixed compile warning. (This used to be commit 3eee66516596835c70c8d652ca633d2e1158fbb7)
2001-09-06enable strict locking by default. This will be slow, so now we justAndrew Tridgell1-1/+1
need to fiind a way to make it fast (This used to be commit 42b147d1f26093c45110077a309c5e0d3010a28d)
2001-09-06it turns out that XP agrees with the samba head branch over the rightAndrew Tridgell1-12/+13
error codes for locking, so fix the test rather than fixing samba (This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)
2001-09-06use NTSTATUS not BOOL in do_lock()Andrew Tridgell2-21/+24
(This used to be commit b1b2a5fa5d084dad8ae47777419ab75db1e51eff)
2001-09-05Removed unneeded set of delete on close in fsp->share_mode.Jeremy Allison1-7/+0
Jeremy. (This used to be commit 7816f79075132350c910f75f9b757477a319bbae)
2001-09-05Fix I think for the fcntl spinning problem. Re-prioritize soJeremy Allison2-1/+21
that oplock break messages get priority over incoming client messages. Jeremy. (This used to be commit 1779f6a223dad87c3b8451d09b9808b46495a8b6)
2001-09-052nd DELETE_ON_CLOSE_FLAG fix ...Andrew Tridgell1-3/+3
we set the DELETE_ON_CLOSE_FLAG on all share modes on the file, which means the share mode in the fsp will not match the one in the tdb when we come to close for other file handles, which means we end up with share modes on files after all handles are closed fixed by making the comparison function that says if two shares modes are equal ignore the DELETE_ON_CLOSE_FLAG (This used to be commit 7b39c4c59897669106d7129bad8af3d592d25838)
2001-09-05when you update the share mode in the db you must also updateAndrew Tridgell1-0/+7
fsp->share_mode otherwise the check to see if the fsp share mode matches the one in the db will fail when you come to delete it, thus leaving us with a share mode on a file that isn't even open! (This used to be commit 2020738b889d8d508cf787e5c5d380af817b92f9)
2001-09-05fixed formatting to make the code vaguely readable. It's still a dogsAndrew Tridgell1-142/+143
breakfast, but at least you can follow the indents (This used to be commit 9955ea0aaa299c6c946b4e7b7e98017c39b60bc8)
2001-09-05add PROFILE_OBJ to nmbd nowHerb Lewis1-1/+1
(This used to be commit 99b773217c001b8b89e72561f3ece46bb4ea553e)
2001-09-05merge profile data changes from 2.2Herb Lewis4-32/+101
(This used to be commit c105859304e93297fa29f346e9cbd1af0c95048b)
2001-09-05always include profile support so you do not need a different binary ofHerb Lewis1-5/+0
smbstatus to dump profile stats. (This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)
2001-09-05add profiling stats from 2.2Herb Lewis2-3/+383
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)
2001-09-05variable name changed to --with-profiling-dataHerb Lewis2-620/+617
(This used to be commit 28fba1ba4883e5eaa97247e933da9311c53c41df)
2001-09-05When sending a message via a tdb, it must be open read/write.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f35887c7d40ced750596b87bf37f7aae1df68c7a)
2001-09-05use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell7-64/+55
codes don't work correctly (This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)
2001-09-05added filename to error_packet()Andrew Tridgell2-11/+12
(This used to be commit 2c424788dec2fd6e44c243ea115d66689dfae6c0)
2001-09-05fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵Andrew Tridgell2-12/+12
configure to get the new NTSTATUS stuff right (This used to be commit 9bae57cfe30825174536d11983bb3434498e3f03)
2001-09-05more warning fixes on solarisAndrew Tridgell8-11/+17
(This used to be commit c04c67fec85b1c81ef0b3cebacde304a1de0d854)
2001-09-05fixed a bunch of compilation errors on Solaris, mostly people getting ↵Andrew Tridgell7-103/+100
NSS_STATUS and WINBINDD error codes mixed up (This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)
2001-09-05Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.cTim Potter1-0/+177
except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly. (This used to be commit 4ca085f253fc39de60115edc049e91d5c95735ef)
2001-09-05oh fooTim Potter1-1/+1
(This used to be commit 66c7bb9467c1acaf7e5b310a2ebc753f455b18c9)
2001-09-05Don't crash if run with no command line arguments. (-:Tim Potter1-1/+1
(This used to be commit a46e9cc3a1a247fba8fe9b4cdfa16954071b4a35)
2001-09-05NFS v2 can return ENOLCK when greater than 31 bit offsets are used.Jeremy Allison1-2/+2
Treat this the same as an EFBIG error. Jeremy (This used to be commit 8fad5177701c1738a7f5bdd7c0082ef23a00b876)
2001-09-04don't do pointer arithmetic on void* (some compilers can't do it)Andrew Tridgell1-1/+1
(This used to be commit c65e8db7ae765f844f8b0adb1e5de3651561ad96)
2001-09-04Fixes to ensure invalid vuids cannot stop oplock breaks.Jeremy Allison1-5/+7
This may have bearing on the Solaris fcntl spin bug. Jeremy. (This used to be commit 0f676202529cbfead629d2c228b7d5abc2dff7d6)
2001-09-04Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison6-418/+327
Jeremy. (This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)
2001-09-04fixed compilation of tortureAndrew Tridgell2-48/+44
(This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)
2001-09-04cope with pam being offAndrew Tridgell2-2/+2
(This used to be commit 5f6e7bbce76c85571ee10a3f8b5bbbd0beadb632)
2001-09-04a fix for fussy compilersAndrew Tridgell1-1/+1
(This used to be commit 78f437b5073207606b23be42960e2b10f785a148)
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell11-354/+330
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04Welcome to tpot's exploit world!Tim Potter1-253/+413
- put in checks for return values in rpc parsing routines - replace a bunch of stupid &(foo->bar) with &foo->bar - fixed bug in net_io_sam_alias_mem_info where there are zero members in the alias (This used to be commit eecdba2b015ed48d7dd88daea2af466f28cd2ff7)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell67-952/+1031
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 Tridgell8-182/+779
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03tidied up some unused vars in JFs new fnsAndrew Tridgell1-12/+0
(This used to be commit e26502b1f840cd0fafd700c9756b610b38709ce2)
2001-09-03the next step in our error code handling changeAndrew Tridgell12-1027/+1091
- added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-09-02updated copyright for Michael SweetAndrew Tridgell1-1/+1
(This used to be commit 9d53473f302f172c10854b8df3000552918d0637)
2001-09-01use a name not a number for ERRinsufficientbufferAndrew Tridgell1-1/+1
(This used to be commit 8e70666fccde1025d77e4db51b5b63e5142d98ec)
2001-09-01more NTSTATUS changesAndrew Tridgell1-17/+4
(This used to be commit 8a49b2f7df46b2c990a980758fe1f3871e8b578e)
2001-08-31Set acb_info to ACB_SVRTRUST if we are joining the domain as a BDC withoutTim Potter1-2/+6
going through the server manager. (This used to be commit 52f5abae4667d841be7ca8f5ff0f25ba6d027067)
2001-08-31Fix up some compile issues. We can't have C99 comments and add a smatteringAndrew Bartlett2-3/+3
of const. (This used to be commit af53e774d754d72b01d9840e8b45d27bc394e33d)
2001-08-31Added samsync binary to list of ignored files.Tim Potter1-0/+1
(This used to be commit 604468c6eedfa7a8ac62800cf7cf73cbd969ae45)
2001-08-31changed the data format in the tdb, as the time fields were notSimo Sorce1-24/+29
managed correctly. this mean you need to rebuild your passdb.tdb file. (This used to be commit 57b8d3bb84e261e55febdde88e45684455f0a294)