Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | 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. | |||||
* | Added get_called_name() function, which replaces global_myname in printing | Jeremy Allison | 2002-01-08 | 1 | -10/+4 | |
| | | | | | | 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. | |||||
* | Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERROR | Tim Potter | 2002-01-07 | 1 | -1/+1 | |
| | | | | but a plain old uint32. | |||||
* | Fixed nasty cast of tdb_delete in traversals. | Jeremy Allison | 2002-01-03 | 2 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Removed extra lp_adduser() call. | Jeremy Allison | 2001-12-29 | 1 | -0/+4 | |
| | | | | | Fixed up error returns in get_correct_cversion(). Jeremy. | |||||
* | Factor out a broadcast_printer_notify() routine. | Martin Pool | 2001-12-21 | 1 | -7/+17 | |
| | ||||||
* | Fixed uninitialised variable warning. | Tim Potter | 2001-12-18 | 1 | -1/+1 | |
| | ||||||
* | ChangeID fixe from APPLIANCE_HEAD | Gerald Carter | 2001-12-14 | 1 | -9/+37 | |
| | ||||||
* | Use print_queue_length() by preference if we don't need a queue | Jeremy Allison | 2001-12-05 | 1 | -0/+1 | |
| | | | | | as it doesn't do a traversal. Jeremy. | |||||
* | Improved efficiency of enumerating print queue's under a particular | Jeremy Allison | 2001-12-05 | 1 | -9/+18 | |
| | | | | | extreme condition... Jeremy. | |||||
* | Writing decimal constants as "02" has been shown to cause cancer in | Martin Pool | 2001-12-03 | 1 | -1/+1 | |
| | | | | rats. | |||||
* | Renamed sid field in SEC_ACE to trustee to be more in line with MS's | Tim Potter | 2001-11-30 | 1 | -1/+1 | |
| | | | | definitions. | |||||
* | Merge from appliance-head: when creating a default security descriptor | Tim Potter | 2001-11-26 | 1 | -1/+11 | |
| | | | | | | | | for a printer, save it in ntprinters.tdb instead of recreating it every time it is required. This can save at least one winbind lookup per secdesc creation. Opening a port monitor and viewing the security tab in the properties dialog required the security descriptor to be returned 25 times! | |||||
* | added "net join" command | Andrew Tridgell | 2001-11-24 | 1 | -2/+1 | |
| | | | | this completes the first stage of the smbd ADS support | |||||
* | merge oops fix from 2.2 | Gerald Carter | 2001-11-22 | 1 | -4/+4 | |
| | ||||||
* | merge from 2.2 | Gerald Carter | 2001-11-22 | 1 | -12/+30 | |
| | ||||||
* | Tidyups when I was doing the big merge... | Jeremy Allison | 2001-11-17 | 2 | -1/+2 | |
| | | | | Jeremy. | |||||
* | This is a farily large patch (3300 lines) and reworks most of the AuthRewrite | Andrew Bartlett | 2001-10-31 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. In particular this assists tpot in some of his work, becouse it provides the connection between the authenticaion and the vuid generation. Major Changes: - Fully malloc'ed structures. - Massive rework of the code so that all structures are made and destroyed using malloc and free, rather than hanging around on the stack. - SAM_ACCOUNT unix uids and gids are now pointers to the same, to allow them to be declared 'invalid' without the chance that people might get ROOT by default. - kill off some of the "DOMAIN\user" lookups. These can be readded at a more appropriate place (probably domain_client_validate.c) in the future. They don't belong in session setups. - Massive introduction of DATA_BLOB structures, particularly for passwords. - Use NTLMSSP flags to tell the backend what its getting, rather than magic lenghths. - Fix winbind back up again, but tpot is redoing this soon anyway. - Abstract much of the work in srv_netlog_nt back into auth helper functions. This is a LARGE change, and any assistance is testing it is appriciated. Domain logons are still broken (as far as I can tell) but other functionality seems intact. Needs testing with a wide variety of MS clients. Andrew Bartlett | |||||
* | Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD. | Jeremy Allison | 2001-10-18 | 1 | -7/+6 | |
| | | | | | Ensure make_conection() can only be called as root. Jeremy. | |||||
* | Optimisation to send only to correct processid. | Jeremy Allison | 2001-10-16 | 1 | -6/+16 | |
| | | | | Jeremy | |||||
* | very simple asynchronous "lpq" thread patch | Jean-François Micouleau | 2001-10-16 | 1 | -2/+50 | |
| | | | | | | | | | | | | To speed up operations with the lpq command, it's now run in a separate asynchronous process. Opening the Printers folder on NT is now fast ;-) I think even faster than with a ** server Jeremy, you should look at that patch to include it in 2.2.3 J.F. | |||||
* | Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. | Tim Potter | 2001-10-02 | 8 | -16/+0 | |
| | ||||||
* | Added Elrond patch to make se_access_check use NT datastructures, not Samba. | Jeremy Allison | 2001-09-26 | 1 | -2/+3 | |
| | | | | Jeremy. | |||||
* | move to SAFE_FREE() | Simo Sorce | 2001-09-17 | 2 | -52/+43 | |
| | ||||||
* | Looks like it missed these. make_connection now no longer takes a 'username' | Andrew Bartlett | 2001-09-15 | 1 | -41/+9 | |
| | | | | argument. | |||||
* | convert more code to use XFILE | Andrew Tridgell | 2001-09-10 | 1 | -13/+13 | |
| | ||||||
* | got rid of USE_TDB_MMAP_FLAG as its not needed any more | Andrew Tridgell | 2001-09-06 | 2 | -4/+4 | |
| | ||||||
* | the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵ | Andrew Tridgell | 2001-09-04 | 2 | -119/+124 | |
| | | | | the client code still needs some work | |||||
* | more NTSTATUS/WERROR conversion | Andrew Tridgell | 2001-09-03 | 2 | -16/+16 | |
| | ||||||
* | the next step in our error code handling change | Andrew Tridgell | 2001-09-03 | 1 | -12/+11 | |
| | | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there | |||||
* | updated copyright for Michael Sweet | Andrew Tridgell | 2001-09-02 | 1 | -1/+1 | |
| | ||||||
* | converted another bunch of stuff to NTSTATUS | Andrew Tridgell | 2001-08-27 | 1 | -6/+6 | |
| | ||||||
* | converted smbd to use NTSTATUS by default | Andrew Tridgell | 2001-08-27 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night | |||||
* | get rid of compiler warnings | Herb Lewis | 2001-08-24 | 1 | -1/+1 | |
| | ||||||
* | Fixed detection of CUPS. We need to check for the presence of the cups | Tim Potter | 2001-08-23 | 3 | -8/+8 | |
| | | | | header files as well as libcups. | |||||
* | this is a big global fix for the ptr = Realloc(ptr, size) bug. | Simo Sorce | 2001-08-12 | 1 | -9/+51 | |
| | | | | | | many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. | |||||
* | Merge in the NT drivers changes from 2.2. | Jeremy Allison | 2001-08-10 | 2 | -400/+643 | |
| | | | | Jeremy. | |||||
* | Replaced the duplicate DOS constants with appropriate ones from doserr.h to | Tim Potter | 2001-08-10 | 2 | -26/+26 | |
| | | | | | emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. | |||||
* | Fixed typo in patch. | Jeremy Allison | 2001-08-10 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Added fix from Dan Thibadeau @ HP for parsing problem. | Jeremy Allison | 2001-08-09 | 1 | -0/+13 | |
| | | | | Jeremy. | |||||
* | Merged John's fix. | Jeremy Allison | 2001-08-09 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Change all realloc() statements to Realloc() (ecxept for tdb.c) | Simo Sorce | 2001-08-08 | 1 | -6/+6 | |
| | | | | | | | 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) | |||||
* | Fixup error returns in updating driver db version. | Jeremy Allison | 2001-07-30 | 1 | -22/+40 | |
| | | | | Jeremy. | |||||
* | Added "use mmap" for HPUX. | Jeremy Allison | 2001-07-30 | 1 | -3/+3 | |
| | | | | Jeremy. | |||||
* | Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO. | Tim Potter | 2001-07-25 | 1 | -4/+4 | |
| | | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: | |||||
* | Same fix for resume as for pause. | Jeremy Allison | 2001-07-23 | 1 | -1/+2 | |
| | | | | Jeremy.i | |||||
* | Fix for CUPS pause/restart code. | Jeremy Allison | 2001-07-23 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Fix for cups compile. | Jeremy Allison | 2001-07-23 | 1 | -16/+17 | |
| | | | | Jeremy. |