Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin. | Jeremy Allison | 2001-08-22 | 4 | -28/+85 |
| | | | | | | Don't delete a share mode that failed to remove the oplock (doh!), just set the oplock entry to zero.... Jeremy. | ||||
* | Missed uninitialized variable return for del_share_mode(). | Jeremy Allison | 2001-08-21 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | string terminate in mkdir | Andrew Tridgell | 2001-08-21 | 1 | -1/+1 |
| | |||||
* | Added cli_lsa_open_policy2() | Tim Potter | 2001-08-21 | 1 | -0/+58 |
| | |||||
* | Distinguish between NT informational and error codes. | Tim Potter | 2001-08-21 | 1 | -4/+10 |
| | |||||
* | Add a new option to disable our paranoid server check. | Andrew Bartlett | 2001-08-21 | 3 | -2/+6 |
| | | | | Defaults to ON, ie checking | ||||
* | This is Jeremy pretending to be Volker, 'cos the | Volker Lendecke | 2001-08-21 | 3 | -64/+159 |
| | | | | | | | | | | | | | | | | | link from Seattle is having problems. I've added 3 things here to work on the fcntl spin problem. 1). Check *all* tdb return codes... :-). 2). If we're asking ourselves to break an oplock, and we can't find a fsp pointer that matches the entry, this is a *logic bug* and we should abort and panic so someone with gdb can pick up the pieces. 3). After we've broken an oplock, ensure that the entry itself has been removed, and if not remove it ourselves. This should not be neccessary in a correctly working environmen,t, but will provide an added layer of robustness in error situations. 4). I hate german keyboards :-) :-). Jeremy. | ||||
* | Ensure we are very explicit about what we're comparing when | Jeremy Allison | 2001-08-20 | 1 | -4/+4 |
| | | | | | | | we're comparing structures (ie. don't just do a memcmp). I don't think this will fix the fcntl spin issue, but it's a "just in case" change. Jeremy. | ||||
* | Add comment to clarify why we call this twice. | Andrew Bartlett | 2001-08-20 | 2 | -0/+4 |
| | |||||
* | two fixes for NT clients -> share level Samba server | Andrew Tridgell | 2001-08-20 | 3 | -3/+13 |
| | |||||
* | allow for the NULL in make_nmb_name() | Andrew Tridgell | 2001-08-20 | 1 | -1/+1 |
| | |||||
* | added -b option | Andrew Tridgell | 2001-08-20 | 1 | -2/+9 |
| | |||||
* | a bunch of fixes from the sflight to seattle | Andrew Tridgell | 2001-08-20 | 13 | -676/+699 |
| | | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch | ||||
* | Realloc fix. | Jeremy Allison | 2001-08-19 | 1 | -6/+5 |
| | | | | Jeremy. | ||||
* | Realloc fixes. | Jeremy Allison | 2001-08-19 | 1 | -13/+8 |
| | | | | Jeremy. | ||||
* | Realloc fixes. | Jeremy Allison | 2001-08-19 | 1 | -6/+5 |
| | | | | Jeremy. | ||||
* | Realloc fixes. | Jeremy Allison | 2001-08-19 | 1 | -2/+3 |
| | | | | Jeremy. | ||||
* | More Realloc fixes. | Jeremy Allison | 2001-08-19 | 1 | -4/+3 |
| | | | | Jeremy. | ||||
* | Realloc fix. | Jeremy Allison | 2001-08-19 | 1 | -3/+13 |
| | | | | Jeremy. | ||||
* | Add missing gcc memory barriers, this bug showed up when doing a | Anton Blanchard | 2001-08-19 | 1 | -16/+43 |
| | | | | | | heavy netbench run. :) Rework ppc spinlocks to be faster. | ||||
* | More Realloc fixes. | Jeremy Allison | 2001-08-18 | 2 | -4/+13 |
| | | | | Jeremy. | ||||
* | More Realloc fixes. | Jeremy Allison | 2001-08-18 | 1 | -7/+17 |
| | | | | Jeremy. | ||||
* | Use tparam not tdata when reallocing params to make clearer. | Jeremy Allison | 2001-08-17 | 1 | -12/+15 |
| | | | | Jeremy. | ||||
* | more useful debug messages and check if the size are non null. | Jean-François Micouleau | 2001-08-17 | 1 | -10/+17 |
| | | | | | | that fix the notification backend channel for spoolss. J.F. | ||||
* | OK, so not freeing these was a mistake. I'll try to be less exuberent next | Andrew Bartlett | 2001-08-17 | 1 | -0/+2 |
| | | | | time :-) | ||||
* | Move the claim_connection stuff till a little later in the process. | Andrew Bartlett | 2001-08-17 | 1 | -16/+14 |
| | | | | (You don't have to clean up somthing you haven't done yet...) | ||||
* | Move admin user check into a helper function. | Andrew Bartlett | 2001-08-17 | 1 | -18/+35 |
| | | | | Formatting fixes. | ||||
* | Move read only check into a helper funcion. Ensure conn->service is set | Andrew Bartlett | 2001-08-17 | 1 | -40/+50 |
| | | | | before we use it to find a share's details. | ||||
* | Restore a debug I think I dropped earlier | Andrew Bartlett | 2001-08-17 | 1 | -0/+2 |
| | |||||
* | smbd/auth_server: Doco, we want to use cli_nt_error here soon | Andrew Bartlett | 2001-08-17 | 5 | -36/+47 |
| | | | | | | | | | smbd/password.c: We don't use globals here anymore smbd/reply.c: Tidyness, global_myworkgroup must die! smbd/service.c: Move some of the make_connection code into a helper function. | ||||
* | Style cleanup for the last vuid change. | Andrew Bartlett | 2001-08-17 | 3 | -11/+17 |
| | | | | | | | Style, doco and DEBUG() fixes for auth_smbpasswd.c (In particular for the account control call). Andrew Bartlett | ||||
* | One less getpwnam() call... | Andrew Bartlett | 2001-08-17 | 2 | -11/+6 |
| | | | | Andrew Bartlett | ||||
* | removed unused file | Andrew Tridgell | 2001-08-16 | 1 | -91/+0 |
| | |||||
* | removed unused file | Andrew Tridgell | 2001-08-16 | 1 | -113/+0 |
| | |||||
* | Added Jim McDonough's Win9x take ownership fix. | Jeremy Allison | 2001-08-13 | 1 | -0/+12 |
| | | | | Jeremy. | ||||
* | merge from 2.2 | Gerald Carter | 2001-08-13 | 2 | -0/+16 |
| | |||||
* | Add printing of errno when POSIX lock requests fail. | Jeremy Allison | 2001-08-13 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | Moved across definition of dos error types from smb.h to doserr.h | Tim Potter | 2001-08-13 | 2 | -4/+7 |
| | |||||
* | Converted to new error API. | Tim Potter | 2001-08-13 | 1 | -28/+32 |
| | | | | | | Now that we support NT errors from the client, appropriate values will need to be filled in for the various invocations of check_error() within the torture code. | ||||
* | Fixed typo in debug message. | Tim Potter | 2001-08-13 | 1 | -2/+2 |
| | |||||
* | Fixed up 'orrible formatting. | Tim Potter | 2001-08-13 | 1 | -21/+21 |
| | |||||
* | Fixed crash bug when attempting to list contents of non-existent | Tim Potter | 2001-08-12 | 1 | -0/+3 |
| | | | | directory. | ||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 30 | -136/+363 |
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. | ||||
* | Kill of idra's extra become_root()/unbecome_root() now I have fixed the actual | Andrew Bartlett | 2001-08-12 | 1 | -2/+0 |
| | | | | | | problem. Andrew Bartlett | ||||
* | This patch does a number of things, mostly smaller than they look :-) | Andrew Bartlett | 2001-08-12 | 16 | -876/+702 |
| | | | | | | | | | | | | | | | In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett | ||||
* | it was half committed last time, | Simo Sorce | 2001-08-12 | 1 | -2/+2 |
| | | | | thanks to Hasch@t-online.de (Juergen Hasch) for spotting that. | ||||
* | Without this become_root()/unbecome_root() pair I was not able to login | Simo Sorce | 2001-08-11 | 1 | -3/+3 |
| | | | | | | | | | when samba acting as a PDC. I also removed a pdb_free_sam(sampass), because it sampass was never initialized before... Please abartlet can you check this patch is ok? I feel like this was a bad check-in | ||||
* | Added Mike Davidsons Tru64 ACL patch. | Jeremy Allison | 2001-08-10 | 6 | -22/+32 |
| | | | | Jeremy. | ||||
* | Merge in the NT drivers changes from 2.2. | Jeremy Allison | 2001-08-10 | 4 | -404/+668 |
| | | | | Jeremy. | ||||
* | - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed) | Simo Sorce | 2001-08-10 | 13 | -112/+713 |
| | | | | | | | - ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 |