summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the (incorrect) paranioa fix I put in for the fcntl lock spin.Jeremy Allison2001-08-224-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 Allison2001-08-211-1/+1
| | | | Jeremy.
* string terminate in mkdirAndrew Tridgell2001-08-211-1/+1
|
* Added cli_lsa_open_policy2()Tim Potter2001-08-211-0/+58
|
* Distinguish between NT informational and error codes.Tim Potter2001-08-211-4/+10
|
* Add a new option to disable our paranoid server check.Andrew Bartlett2001-08-213-2/+6
| | | | Defaults to ON, ie checking
* This is Jeremy pretending to be Volker, 'cos theVolker Lendecke2001-08-213-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 whenJeremy Allison2001-08-201-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 Bartlett2001-08-202-0/+4
|
* two fixes for NT clients -> share level Samba serverAndrew Tridgell2001-08-203-3/+13
|
* allow for the NULL in make_nmb_name()Andrew Tridgell2001-08-201-1/+1
|
* added -b optionAndrew Tridgell2001-08-201-2/+9
|
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-2013-676/+699
| | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
* Realloc fix.Jeremy Allison2001-08-191-6/+5
| | | | Jeremy.
* Realloc fixes.Jeremy Allison2001-08-191-13/+8
| | | | Jeremy.
* Realloc fixes.Jeremy Allison2001-08-191-6/+5
| | | | Jeremy.
* Realloc fixes.Jeremy Allison2001-08-191-2/+3
| | | | Jeremy.
* More Realloc fixes.Jeremy Allison2001-08-191-4/+3
| | | | Jeremy.
* Realloc fix.Jeremy Allison2001-08-191-3/+13
| | | | Jeremy.
* Add missing gcc memory barriers, this bug showed up when doing aAnton Blanchard2001-08-191-16/+43
| | | | | | heavy netbench run. :) Rework ppc spinlocks to be faster.
* More Realloc fixes.Jeremy Allison2001-08-182-4/+13
| | | | Jeremy.
* More Realloc fixes.Jeremy Allison2001-08-181-7/+17
| | | | Jeremy.
* Use tparam not tdata when reallocing params to make clearer.Jeremy Allison2001-08-171-12/+15
| | | | Jeremy.
* more useful debug messages and check if the size are non null.Jean-François Micouleau2001-08-171-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 nextAndrew Bartlett2001-08-171-0/+2
| | | | time :-)
* Move the claim_connection stuff till a little later in the process.Andrew Bartlett2001-08-171-16/+14
| | | | (You don't have to clean up somthing you haven't done yet...)
* Move admin user check into a helper function.Andrew Bartlett2001-08-171-18/+35
| | | | Formatting fixes.
* Move read only check into a helper funcion. Ensure conn->service is setAndrew Bartlett2001-08-171-40/+50
| | | | before we use it to find a share's details.
* Restore a debug I think I dropped earlierAndrew Bartlett2001-08-171-0/+2
|
* smbd/auth_server: Doco, we want to use cli_nt_error here soonAndrew Bartlett2001-08-175-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 Bartlett2001-08-173-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 Bartlett2001-08-172-11/+6
| | | | Andrew Bartlett
* removed unused fileAndrew Tridgell2001-08-161-91/+0
|
* removed unused fileAndrew Tridgell2001-08-161-113/+0
|
* Added Jim McDonough's Win9x take ownership fix.Jeremy Allison2001-08-131-0/+12
| | | | Jeremy.
* merge from 2.2Gerald Carter2001-08-132-0/+16
|
* Add printing of errno when POSIX lock requests fail.Jeremy Allison2001-08-131-3/+3
| | | | Jeremy.
* Moved across definition of dos error types from smb.h to doserr.hTim Potter2001-08-132-4/+7
|
* Converted to new error API.Tim Potter2001-08-131-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 Potter2001-08-131-2/+2
|
* Fixed up 'orrible formatting.Tim Potter2001-08-131-21/+21
|
* Fixed crash bug when attempting to list contents of non-existentTim Potter2001-08-121-0/+3
| | | | directory.
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-1230-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 actualAndrew Bartlett2001-08-121-2/+0
| | | | | | problem. Andrew Bartlett
* This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett2001-08-1216-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 Sorce2001-08-121-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 loginSimo Sorce2001-08-111-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 Allison2001-08-106-22/+32
| | | | Jeremy.
* Merge in the NT drivers changes from 2.2.Jeremy Allison2001-08-104-404/+668
| | | | Jeremy.
* - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2001-08-1013-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