summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Debug cleanups.Tim Potter2001-08-101-3/+3
|
* Had the test for cli_is_error() reversed. You idiot Stimpy!Tim Potter2001-08-101-1/+1
|
* Fixes for new client error api.Tim Potter2001-08-101-2/+2
|
* Use new client error api.Tim Potter2001-08-101-12/+13
|
* Use the new client error api.Tim Potter2001-08-104-6/+8
|
* A rewrite of the error handling in the libsmb client code. I've separatedTim Potter2001-08-1013-182/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | out the error handling into a bunch of separate functions rather than all being handled in one big function. Fetch error codes from the last received packet: void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *num); uint32 cli_nt_error(struct cli_state *); Convert errors to UNIX errno values: int cli_errno_from_dos(uint8 eclass, uint32 num); int cli_errno_from_nt(uint32 status); int cli_errno(struct cli_state *cli); Detect different kinds of errors: BOOL cli_is_dos_error(struct cli_state *cli); BOOL cli_is_nt_error(struct cli_state *cli); BOOL cli_is_error(struct cli_state *cli); This also means we now support CAP_STATUS32 as we can decode and understand NT errors instead of just DOS errors. Yay! Ported a whole bunch of files in libsmb to use this new API instead of the just the DOS error.
* More constant conversions.Tim Potter2001-08-102-4/+4
|
* Removed nt_error field from cli_state as it was not used anywhere.Tim Potter2001-08-102-8/+1
|
* Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-105-332/+335
| | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes.
* Moved dos error codes from smb.h into new file doserr.hTim Potter2001-08-102-113/+136
|
* Changed the order of arguments in make_oem_passwd_hash(). All the otherTim Potter2001-08-102-2/+3
| | | | encryption functions have outputs as the last arguments.
* merge from 2.2Gerald Carter2001-08-103-6/+6
|
* Fixed typo in patch.Jeremy Allison2001-08-101-1/+1
| | | | Jeremy.
* Fixed wrong placement of allocate code :-(.Jeremy Allison2001-08-091-5/+5
| | | | | Changed alignment offset to 1 to allow netmon to parse ok. Jeremy.
* Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison2001-08-091-0/+13
| | | | Jeremy.
* Fix inspired by Don @ HP. Close down password server connection if keepaliveJeremy Allison2001-08-091-1/+4
| | | | | fails. Jeremy.
* Merged John's fix.Jeremy Allison2001-08-091-1/+1
| | | | Jeremy.
* a few cleanups while mergeing the passdb code into 2.2Gerald Carter2001-08-095-27/+25
|
* Try to set the socket options early for some OSs (like Sol 8) where theyAndrew Bartlett2001-08-091-1/+8
| | | | | | can't be set after the listen(). Andrew Bartlett
* Link fix for smbpasswd.Tim Potter2001-08-091-2/+3
|
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-088-48/+45
| | | | | | | changed some code to exploit the fact that Realloc(NULL, size) == malloc(size) fixed some possible mem leaks, or seg faults. thanks to andreas moroder (mallocs not checked in client/client.c, client/smbumount.c)
* Some better debugs for our security=server code. I want to track down whyAndrew Bartlett2001-08-081-1/+3
| | | | we occasionally don't make the connection to the server.
* Merge of modesty patch from 2.2 spec file.Tim Potter2001-08-081-2/+2
|
* Factored out common rpc pipe initialisation and shutdown code.Tim Potter2001-08-087-300/+86
|
* Patch for having spaces in tdb keys, NULL termination fixes and otherTim Potter2001-08-071-22/+87
| | | | stuff. From Andrew Esh <AEsh@tricord.com>
* Update to work with no crypt available, just like it will in Samba.Jeremy Allison2001-08-071-0/+778
| | | | Jermey.
* merge from 2.2Gerald Carter2001-08-072-122/+140
|
* Always return NT_STATUS_DISK_FULL, even for quota errors.Jeremy Allison2001-08-071-1/+1
| | | | Jeremy.
* Added fixes to return correct error codes on space allocation fail.Jeremy Allison2001-08-072-2/+31
| | | | Jeremy.
* Correctly report amount written in debug when allocation space.Jeremy Allison2001-08-071-1/+1
| | | | Jeremy.
* A collection of fixes/cleanups to the security descriptor code byTim Potter2001-08-071-9/+10
| | | | matt_zinkevicius@hp.com