summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2001-09-10added xfileAndrew Tridgell2-0/+384
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell28-110/+86
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-09Make sure that if there are no interfaces, name_register_wins does notRichard Sharpe1-0/+7
segfault. (This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)
2001-09-09fixed typoAndrew Tridgell1-1/+1
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)
2001-09-09removed pointless parameter from readfile()Andrew Tridgell1-3/+3
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)
2001-09-09fixed missing const on d_printf declarationAndrew Tridgell1-3/+3
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
2001-09-08convert more code to using d_printfAndrew Tridgell7-564/+566
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-07Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett4-67/+81
seem to think you need this module for normal samba/PAM operation. rerun autoconf rerun autoheader (Note that --with-pam_smbpass still doesn't build, but at least when it does again only people who actually need it will select it). (This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)
2001-09-07Don't fail if no owner/group owner set. Use existing owners.Jeremy Allison1-3/+7
Jeremy. (This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)
2001-09-07#ifdef out function when not used.Jeremy Allison1-0/+2
Jeremy. (This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)
2001-09-07added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell8-155/+318
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-06Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.Jeremy Allison2-94/+53
Don. please check this out. Jeremy. (This used to be commit ce9f95996498f7795aaef069e1443ea1c7d524b3)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell19-28/+27
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06Fixed O(N^2) talloc loop when allocating printer name memory - fix fromJeremy Allison1-2/+2
Richard Bollinger <rabollinger@home.com>. Jeremy. (This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)
2001-09-06- fixed proto.h build on systems using a parallel makeAndrew Tridgell4-197/+1590
- changed DENY1 and DENY2 tests to only report errors (This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06Converted to NTSTATUS return codes.Tim Potter1-17/+92
Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively. (This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)
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)