Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When re-writing tdb version numbers as little endian int32, we must | Jeremy Allison | 2002-01-09 | 3 | -27/+33 |
| | | | | | change the version number also. Jeremy. | ||||
* | Fix macro name controlling inclusion of DMALLOC. | Martin Pool | 2002-01-09 | 1 | -1/+1 |
| | |||||
* | Add harmless parentheses so that dmalloc doesn't get confused by a | Martin Pool | 2002-01-09 | 1 | -1/+1 |
| | | | | variable called 'free'. | ||||
* | Merge from appliance-head: | Tim Potter | 2002-01-09 | 1 | -4/+72 |
| | | | | | | | - put in some level 10 debugs so we can see what internal_resolve_name() is doing - remove duplicates from returned ip list of internal_resolve_name() | ||||
* | For hysterical raisins you must use string_set() to set the value of a | Tim Potter | 2002-01-09 | 1 | -1/+1 |
| | | | | | string in the loadparam Globals struct. Using pstrcpy was causing every NULL string was being set to the name of the winbindd log file. (-: | ||||
* | Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endian | Jeremy Allison | 2002-01-09 | 6 | -52/+90 |
| | | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. | ||||
* | HPUX nss fix. | Jeremy Allison | 2002-01-09 | 1 | -2/+18 |
| | | | | Jeremy. | ||||
* | Fixed up atomic update code. | Jeremy Allison | 2002-01-09 | 3 | -5/+5 |
| | | | | Jeremy. | ||||
* | Added int32 version of "atomic" update. | Jeremy Allison | 2002-01-09 | 1 | -0/+35 |
| | | | | Jeremy. | ||||
* | Added int32 versions of the endian-dependent code. | Jeremy Allison | 2002-01-09 | 1 | -2/+66 |
| | | | | Jeremy. | ||||
* | My previous fix had a bug.... | Jeremy Allison | 2002-01-08 | 1 | -6/+11 |
| | | | | | | | | This is SO NASTY as some drivers need this to change, others need it static. This value will change every second, and I must hope that this is enough..... DON'T CHANGE THIS CODE WITHOUT A TEST MATRIX THE SIZE OF UTAH ! Jeremy. | ||||
* | I think I've finally gotten this straighten out in my tree. | Gerald Carter | 2002-01-08 | 2 | -6/+5 |
| | | | | All should be curent now. | ||||
* | i **really** hate stuck tags in CVS :-( Figured out why | Gerald Carter | 2002-01-08 | 4 | -0/+149 |
| | | | | | | | | | | | my files were not being checked in sometimes..... cvs update -A cleared all the sticky tages and now I have to recheck some things in. j- | ||||
* | Getting ready to add winbindd support for HPUX 11. | Jeremy Allison | 2002-01-08 | 2 | -0/+154 |
| | | | | Jeremy. | ||||
* | entering placeholders for forthcoming documentation | Gerald Carter | 2002-01-08 | 5 | -2/+325 |
| | |||||
* | Another attempt at getting changeid correct. Jerry / JF please check ! | Jeremy Allison | 2002-01-08 | 1 | -7/+14 |
| | | | | | This fixes a driver init bug. Jeremy. | ||||
* | - fixed my breakage of CPPFLAGS | Andrew Tridgell | 2002-01-08 | 3 | -683/+687 |
| | | | | - allow winbindd and wbinfo to build without shared libraries | ||||
* | Caught one problem where a BOOL fn was returning 3 different values :-). | Jeremy Allison | 2002-01-08 | 1 | -11/+12 |
| | | | | | Roll on defined types :-). Jeremy. | ||||
* | Debugs that print out a share mode table in debug level 10. This code | Jeremy Allison | 2002-01-08 | 1 | -4/+46 |
| | | | | | enabled me to track down a *nasty* bug. Jeremy. | ||||
* | Added get_called_name() function, which replaces global_myname in printing | Jeremy Allison | 2002-01-08 | 3 | -29/+31 |
| | | | | | | code (one less global, hurrah !) - to allow NetBIOS aliasing to be used with point and print. Jeremy. | ||||
* | Return called NetBIOS name if present in preference to global_myname. | Jeremy Allison | 2002-01-07 | 1 | -5/+9 |
| | | | | | | Should allow print servers to work with NetBIOS aliases. Needs testing. Jeremy. | ||||
* | merge changes from 2.2 branch to prevent smb.conf from changing debug level | Herb Lewis | 2002-01-07 | 8 | -0/+28 |
| | | | | of commands when specified on command line. | ||||
* | sync getopt() args with 2.2 | Gerald Carter | 2002-01-07 | 1 | -1/+1 |
| | |||||
* | - use CFLAGS when linking shared libs (for things like -64 on irix) | Andrew Tridgell | 2002-01-07 | 3 | -7/+6 |
| | | | | - don't attempt to build winbindd if we can't do shared libs | ||||
* | Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERROR | Tim Potter | 2002-01-07 | 4 | -4/+4 |
| | | | | but a plain old uint32. | ||||
* | Converted getprinterdriver to WERROR - it always returns dos error 6 | Tim Potter | 2002-01-07 | 2 | -65/+81 |
| | | | | (invalid handle) though. )-: | ||||
* | Spelling fix. | Tim Potter | 2002-01-07 | 2 | -665/+662 |
| | |||||
* | Don't log the password in pam_sm_authenticate() unless DEBUG_PASSWORD is | Tim Potter | 2002-01-07 | 1 | -2/+10 |
| | | | | defined. This is done with --enable-developer mode. | ||||
* | sync up comments with 2.2 | Gerald Carter | 2002-01-06 | 1 | -1/+1 |
| | |||||
* | Converted enumprinters and enumports cmd functions to use WERROR | Tim Potter | 2002-01-06 | 1 | -32/+39 |
| | | | | | | | | values returned from cli functions. They are converted to NTSTATUS codes using the error map functions. Do buffer size loop checks by setting offered = 0 and using the return value of needed in the next call. | ||||
* | Converted enumprinters and enumports cli functions to return WERRORs. | Tim Potter | 2002-01-06 | 1 | -106/+129 |
| | | | | Make the offered and needed buffer size into parameters. | ||||
* | Check for winbind separator in user name for cli_session_setup() | Tim Potter | 2002-01-06 | 1 | -1/+2 |
| | | | | Patch from Alexander Bokovoy <a.bokovoy@sam-solutions.net> | ||||
* | spoolss rpc client cleanup: | Tim Potter | 2002-01-06 | 2 | -91/+122 |
| | | | | | - converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS - doc | ||||
* | Define a rpc_client doc group. | Tim Potter | 2002-01-06 | 1 | -0/+3 |
| | |||||
* | Minor doc cleanups. | Tim Potter | 2002-01-06 | 1 | -2/+2 |
| | |||||
* | Added a get_dos_error_msg() function to mirror the get_nt_error_msg() | Tim Potter | 2002-01-06 | 1 | -0/+11 |
| | | | | | One day I'll get around to refactoring the DOS error handling so it mirrors the NT error handling code. | ||||
* | Display nicer message when server name could not be resolved. | Tim Potter | 2002-01-06 | 1 | -3/+3 |
| | |||||
* | DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalent | Tim Potter | 2002-01-06 | 2 | -1/+2 |
| | | | | to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. | ||||
* | Get this code back to where it belongs... | Andrew Bartlett | 2002-01-06 | 1 | -7/+7 |
| | | | | | | | | Apparently (and I will doublecheck) its legal to do an annoymous session setup when we negoitiated SPNEGO, but we can't do an authenticated one becouse we didn't give a challange. Andrew Bartlett | ||||
* | Some more SPNEGO fixes. | Andrew Bartlett | 2002-01-06 | 1 | -1/+1 |
| | |||||
* | fixed another DATA_BLOB constructor | Andrew Tridgell | 2002-01-05 | 1 | -6/+1 |
| | |||||
* | simple fix for creating blank data blobs | Andrew Tridgell | 2002-01-05 | 2 | -5/+8 |
| | |||||
* | merge from 2.2 | Gerald Carter | 2002-01-05 | 4 | -1750/+2756 |
| | |||||
* | Fix up the SPNEGO segfault. | Andrew Bartlett | 2002-01-05 | 1 | -2/+2 |
| | |||||
* | yeah! I think I figured it out now | Gerald Carter | 2002-01-05 | 1 | -0/+463 |
| | |||||
* | I've decided to move the auth code around a bit more... | Andrew Bartlett | 2002-01-05 | 19 | -653/+690 |
| | | | | | | | | | | | | | | | | | | | | | | | | The auth_authsupplied_info typedef is now just a plain struct - auth_context, but it has been modified to contain the function pointers to the rest of the auth subsystem's components. (Who needs non-static functions anyway?) In working all this mess out, I fixed a number of memory leaks and moved the entire auth subsystem over to talloc(). Note that the TALLOC_CTX attached to the auth_context can be rather long-lived, it is provided for things that are intended to live as long. (The global_negprot_auth_context lasts the whole life of the smbd). I've also adjusted a few things in auth_domain.c, mainly passing the domain as a paramater to a few functions instead of looking up lp_workgroup(). I'm hopign to make this entire thing a bit more trusted domains (as PDC) freindly in the near future. Other than that, I moved a bit of the code around, hence the rather messy diff. Andrew Bartlett | ||||
* | Add a talloc varient of the data_blob functions. | Andrew Bartlett | 2002-01-05 | 2 | -4/+50 |
| | | | | | | | | | Also change the structure so it has its own (optional) 'free' pointer - so we don't free() a talloc'ed version. also split out the data_blob_clear() functionaility. Andrew Bartlett | ||||
* | Add a comment on how this error map was derrived. | Andrew Bartlett | 2002-01-05 | 1 | -0/+22 |
| | | | | | This applies only to the NT->Dos map, I'm still trying to come up with a way to do the reverse. | ||||
* | forgot a few files | Gerald Carter | 2002-01-05 | 3 | -0/+1275 |
| | |||||
* | merge from 2.2 and regenerate docs | Gerald Carter | 2002-01-05 | 35 | -119/+182 |
| |