Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down | Andrew Tridgell | 2001-09-10 | 28 | -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. | ||||
* | Make sure that if there are no interfaces, name_register_wins does not | Richard Sharpe | 2001-09-09 | 1 | -0/+7 |
| | | | | segfault. | ||||
* | Typo fix per Vance on IRC. | Christopher R. Hertel | 2001-09-09 | 1 | -1/+1 |
| | |||||
* | fixed typo | Andrew Tridgell | 2001-09-09 | 1 | -1/+1 |
| | |||||
* | removed pointless parameter from readfile() | Andrew Tridgell | 2001-09-09 | 1 | -3/+3 |
| | |||||
* | fixed missing const on d_printf declaration | Andrew Tridgell | 2001-09-09 | 1 | -3/+3 |
| | |||||
* | convert more code to using d_printf | Andrew Tridgell | 2001-09-08 | 7 | -564/+566 |
| | |||||
* | Change the description on --with-pam_smbpass to make it clearer - some peope | Andrew Bartlett | 2001-09-07 | 4 | -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). | ||||
* | Don't fail if no owner/group owner set. Use existing owners. | Jeremy Allison | 2001-09-07 | 1 | -3/+7 |
| | | | | Jeremy. | ||||
* | #ifdef out function when not used. | Jeremy Allison | 2001-09-07 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Fixed paragraph about byte range locking. Jerry, could you make a pdf of this? | Volker Lendecke | 2001-09-07 | 1 | -15/+20 |
| | | | | | | Thanks, Volker | ||||
* | added "display charset" option in smb.conf, along with d_printf() | Andrew Tridgell | 2001-09-07 | 8 | -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 | ||||
* | Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX. | Jeremy Allison | 2001-09-06 | 2 | -94/+53 |
| | | | | | Don. please check this out. Jeremy. | ||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 19 | -28/+27 |
| | |||||
* | Fixed O(N^2) talloc loop when allocating printer name memory - fix from | Jeremy Allison | 2001-09-06 | 1 | -2/+2 |
| | | | | | Richard Bollinger <rabollinger@home.com>. Jeremy. | ||||
* | - fixed proto.h build on systems using a parallel make | Andrew Tridgell | 2001-09-06 | 4 | -197/+1590 |
| | | | | - changed DENY1 and DENY2 tests to only report errors | ||||
* | Converted to NTSTATUS return codes. | Tim Potter | 2001-09-06 | 1 | -17/+92 |
| | | | | | | | Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively. | ||||
* | Started a cleanup of smbpasswd related stuff. I've created a new file | Tim Potter | 2001-09-06 | 8 | -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. | ||||
* | Removed 18 duplicate #undef entries. | Tim Potter | 2001-09-06 | 1 | -21/+0 |
| | |||||
* | Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant. | Tim Potter | 2001-09-06 | 1 | -1/+3 |
| | |||||
* | flush stdout in test logging fns | Andrew Tridgell | 2001-09-06 | 2 | -0/+2 |
| | |||||
* | use a different test tdb name for tdbtest and tdbtorture | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 |
| | |||||
* | actually obey the "use mmap" smb.conf option | Andrew Tridgell | 2001-09-06 | 2 | -2/+6 |
| | |||||
* | Logon workstation checks from Toomas Soome <tsoome@ut.ee> | Tim Potter | 2001-09-06 | 1 | -9/+42 |
| | | | | Fixed compile warning. | ||||
* | enable strict locking by default. This will be slow, so now we just | Andrew Tridgell | 2001-09-06 | 1 | -1/+1 |
| | | | | need to fiind a way to make it fast | ||||
* | it turns out that XP agrees with the samba head branch over the right | Andrew Tridgell | 2001-09-06 | 1 | -12/+13 |
| | | | | error codes for locking, so fix the test rather than fixing samba | ||||
* | use NTSTATUS not BOOL in do_lock() | Andrew Tridgell | 2001-09-06 | 2 | -21/+24 |
| | |||||
* | Removed unneeded set of delete on close in fsp->share_mode. | Jeremy Allison | 2001-09-05 | 1 | -7/+0 |
| | | | | Jeremy. | ||||
* | Fix I think for the fcntl spinning problem. Re-prioritize so | Jeremy Allison | 2001-09-05 | 2 | -1/+21 |
| | | | | | that oplock break messages get priority over incoming client messages. Jeremy. | ||||
* | 2nd DELETE_ON_CLOSE_FLAG fix ... | Andrew Tridgell | 2001-09-05 | 1 | -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 | ||||
* | when you update the share mode in the db you must also update | Andrew Tridgell | 2001-09-05 | 1 | -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! | ||||
* | fixed formatting to make the code vaguely readable. It's still a dogs | Andrew Tridgell | 2001-09-05 | 1 | -142/+143 |
| | | | | breakfast, but at least you can follow the indents | ||||
* | add PROFILE_OBJ to nmbd now | Herb Lewis | 2001-09-05 | 1 | -1/+1 |
| | |||||
* | merge profile data changes from 2.2 | Herb Lewis | 2001-09-05 | 4 | -32/+101 |
| | |||||
* | always include profile support so you do not need a different binary of | Herb Lewis | 2001-09-05 | 1 | -5/+0 |
| | | | | smbstatus to dump profile stats. | ||||
* | add profiling stats from 2.2 | Herb Lewis | 2001-09-05 | 2 | -3/+383 |
| | |||||
* | variable name changed to --with-profiling-data | Herb Lewis | 2001-09-05 | 2 | -620/+617 |
| | |||||
* | When sending a message via a tdb, it must be open read/write. | Jeremy Allison | 2001-09-05 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | use cli_is_error() instead of looking in smb_rcls, otherwise NT status | Andrew Tridgell | 2001-09-05 | 7 | -64/+55 |
| | | | | codes don't work correctly | ||||
* | added filename to error_packet() | Andrew Tridgell | 2001-09-05 | 2 | -11/+12 |
| | |||||
* | fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵ | Andrew Tridgell | 2001-09-05 | 2 | -12/+12 |
| | | | | configure to get the new NTSTATUS stuff right | ||||
* | more warning fixes on solaris | Andrew Tridgell | 2001-09-05 | 8 | -11/+17 |
| | |||||
* | fixed a bunch of compilation errors on Solaris, mostly people getting ↵ | Andrew Tridgell | 2001-09-05 | 7 | -103/+100 |
| | | | | NSS_STATUS and WINBINDD error codes mixed up | ||||
* | Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c | Tim Potter | 2001-09-05 | 1 | -0/+177 |
| | | | | | except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly. | ||||
* | oh foo | Tim Potter | 2001-09-05 | 1 | -1/+1 |
| | |||||
* | Don't crash if run with no command line arguments. (-: | Tim Potter | 2001-09-05 | 1 | -1/+1 |
| | |||||
* | NFS v2 can return ENOLCK when greater than 31 bit offsets are used. | Jeremy Allison | 2001-09-05 | 1 | -2/+2 |
| | | | | | Treat this the same as an EFBIG error. Jeremy | ||||
* | don't do pointer arithmetic on void* (some compilers can't do it) | Andrew Tridgell | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Fixes to ensure invalid vuids cannot stop oplock breaks. | Jeremy Allison | 2001-09-04 | 1 | -5/+7 |
| | | | | | This may have bearing on the Solaris fcntl spin bug. Jeremy. | ||||
* | Merge of transfer file code from 2.2, fix for readbraw. | Jeremy Allison | 2001-09-04 | 6 | -418/+327 |
| | | | | Jeremy. |