Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | 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. |