Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | Debug cleanups. | Tim Potter | 2001-08-10 | 1 | -3/+3 | |
| | ||||||
* | Had the test for cli_is_error() reversed. You idiot Stimpy! | Tim Potter | 2001-08-10 | 1 | -1/+1 | |
| | ||||||
* | Fixes for new client error api. | Tim Potter | 2001-08-10 | 1 | -2/+2 | |
| | ||||||
* | Use new client error api. | Tim Potter | 2001-08-10 | 1 | -12/+13 | |
| | ||||||
* | Use the new client error api. | Tim Potter | 2001-08-10 | 4 | -6/+8 | |
| | ||||||
* | A rewrite of the error handling in the libsmb client code. I've separated | Tim Potter | 2001-08-10 | 13 | -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 Potter | 2001-08-10 | 2 | -4/+4 | |
| | ||||||
* | Removed nt_error field from cli_state as it was not used anywhere. | Tim Potter | 2001-08-10 | 2 | -8/+1 | |
| | ||||||
* | Replaced the duplicate DOS constants with appropriate ones from doserr.h to | Tim Potter | 2001-08-10 | 5 | -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.h | Tim Potter | 2001-08-10 | 2 | -113/+136 | |
| | ||||||
* | Changed the order of arguments in make_oem_passwd_hash(). All the other | Tim Potter | 2001-08-10 | 2 | -2/+3 | |
| | | | | encryption functions have outputs as the last arguments. | |||||
* | merge from 2.2 | Gerald Carter | 2001-08-10 | 3 | -6/+6 | |
| | ||||||
* | Fixed typo in patch. | Jeremy Allison | 2001-08-10 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fixed wrong placement of allocate code :-(. | Jeremy Allison | 2001-08-09 | 1 | -5/+5 | |
| | | | | | Changed alignment offset to 1 to allow netmon to parse ok. Jeremy. | |||||
* | Added fix from Dan Thibadeau @ HP for parsing problem. | Jeremy Allison | 2001-08-09 | 1 | -0/+13 | |
| | | | | Jeremy. | |||||
* | Fix inspired by Don @ HP. Close down password server connection if keepalive | Jeremy Allison | 2001-08-09 | 1 | -1/+4 | |
| | | | | | fails. Jeremy. | |||||
* | Merged John's fix. | Jeremy Allison | 2001-08-09 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | a few cleanups while mergeing the passdb code into 2.2 | Gerald Carter | 2001-08-09 | 5 | -27/+25 | |
| | ||||||
* | Try to set the socket options early for some OSs (like Sol 8) where they | Andrew Bartlett | 2001-08-09 | 1 | -1/+8 | |
| | | | | | | can't be set after the listen(). Andrew Bartlett | |||||
* | Link fix for smbpasswd. | Tim Potter | 2001-08-09 | 1 | -2/+3 | |
| | ||||||
* | Change all realloc() statements to Realloc() (ecxept for tdb.c) | Simo Sorce | 2001-08-08 | 8 | -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 why | Andrew Bartlett | 2001-08-08 | 1 | -1/+3 | |
| | | | | we occasionally don't make the connection to the server. | |||||
* | Merge of modesty patch from 2.2 spec file. | Tim Potter | 2001-08-08 | 1 | -2/+2 | |
| | ||||||
* | Factored out common rpc pipe initialisation and shutdown code. | Tim Potter | 2001-08-08 | 7 | -300/+86 | |
| | ||||||
* | Patch for having spaces in tdb keys, NULL termination fixes and other | Tim Potter | 2001-08-07 | 1 | -22/+87 | |
| | | | | stuff. From Andrew Esh <AEsh@tricord.com> | |||||
* | Update to work with no crypt available, just like it will in Samba. | Jeremy Allison | 2001-08-07 | 1 | -0/+778 | |
| | | | | Jermey. | |||||
* | merge from 2.2 | Gerald Carter | 2001-08-07 | 2 | -122/+140 | |
| | ||||||
* | Always return NT_STATUS_DISK_FULL, even for quota errors. | Jeremy Allison | 2001-08-07 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Added fixes to return correct error codes on space allocation fail. | Jeremy Allison | 2001-08-07 | 2 | -2/+31 | |
| | | | | Jeremy. | |||||
* | Correctly report amount written in debug when allocation space. | Jeremy Allison | 2001-08-07 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | A collection of fixes/cleanups to the security descriptor code by | Tim Potter | 2001-08-07 | 1 | -9/+10 | |
| | | | | matt_zinkevicius@hp.com | |||||
* | Fixed another possible memleak in cli_initialise() | Tim Potter | 2001-08-06 | 1 | -0/+6 | |
| | ||||||
* | Added Gerald's lanman printing only change to HEAD. | Jeremy Allison | 2001-08-06 | 3 | -167/+99 | |
| | | | | Jeremy. | |||||
* | Fix for getting allocate_file_space to return the correct errno. | Jeremy Allison | 2001-08-06 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Record the NT_STATUS constant rather than its number in the logfiles | Andrew Bartlett | 2001-08-06 | 3 | -3/+5 | |
| | | | | Fix typo in lmhosts manpage | |||||
* | Stop HP/UX building shared libraries for the moment ... | Richard Sharpe | 2001-08-06 | 1 | -1/+1 | |
| | ||||||
* | We don't use indent in the HEAD branch. | Tim Potter | 2001-08-06 | 1 | -14/+0 | |
| | ||||||
* | Cleaned up error handling in cli_initialise() to fix a memleak found by | Tim Potter | 2001-08-06 | 1 | -10/+14 | |
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> | |||||
* | Changed lone malloc() call to talloc(). Spotted by | Tim Potter | 2001-08-06 | 1 | -1/+1 | |
| | | | | Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> | |||||
* | Added smbtree to list of ignored files. | Tim Potter | 2001-08-06 | 1 | -0/+1 | |
| | ||||||
* | me stupid. | Simo Sorce | 2001-08-05 | 1 | -1/+1 | |
| | | | | | never commit without building. sorry. | |||||
* | Another winbind test - fill in later. | Tim Potter | 2001-08-05 | 1 | -0/+38 | |
| | ||||||
* | Some fixes about malloc/Realloc and mem leak | Simo Sorce | 2001-08-05 | 3 | -6/+15 | |
| | | | | thanks to andreas moroder | |||||
* | Print an error message if database could not be opened. | Volker Lendecke | 2001-08-04 | 1 | -0/+7 | |
| | | | | Volker | |||||
* | Extra debug to see what errno is on write fail. | Jeremy Allison | 2001-08-04 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | The write zero bytes is an allocate, not set EOF. | Jeremy Allison | 2001-08-03 | 1 | -1/+2 | |
| | | | | Jeremy. |