summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* Another attempt at getting changeid correct. Jerry / JF please check !Jeremy Allison2002-01-081-7/+14
| | | | | This fixes a driver init bug. Jeremy.
* Caught one problem where a BOOL fn was returning 3 different values :-).Jeremy Allison2002-01-081-11/+12
| | | | | Roll on defined types :-). Jeremy.
* Added get_called_name() function, which replaces global_myname in printingJeremy Allison2002-01-081-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 Allison2002-01-071-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 WERRORTim Potter2002-01-071-1/+1
| | | | but a plain old uint32.
* Fixed nasty cast of tdb_delete in traversals.Jeremy Allison2002-01-032-2/+2
| | | | Jeremy.
* Removed extra lp_adduser() call.Jeremy Allison2001-12-291-0/+4
| | | | | Fixed up error returns in get_correct_cversion(). Jeremy.
* Factor out a broadcast_printer_notify() routine.Martin Pool2001-12-211-7/+17
|
* Fixed uninitialised variable warning.Tim Potter2001-12-181-1/+1
|
* ChangeID fixe from APPLIANCE_HEADGerald Carter2001-12-141-9/+37
|
* Use print_queue_length() by preference if we don't need a queueJeremy Allison2001-12-051-0/+1
| | | | | as it doesn't do a traversal. Jeremy.
* Improved efficiency of enumerating print queue's under a particularJeremy Allison2001-12-051-9/+18
| | | | | extreme condition... Jeremy.
* Writing decimal constants as "02" has been shown to cause cancer inMartin Pool2001-12-031-1/+1
| | | | rats.
* Renamed sid field in SEC_ACE to trustee to be more in line with MS'sTim Potter2001-11-301-1/+1
| | | | definitions.
* Merge from appliance-head: when creating a default security descriptorTim Potter2001-11-261-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" commandAndrew Tridgell2001-11-241-2/+1
| | | | this completes the first stage of the smbd ADS support
* merge oops fix from 2.2Gerald Carter2001-11-221-4/+4
|
* merge from 2.2Gerald Carter2001-11-221-12/+30
|
* Tidyups when I was doing the big merge...Jeremy Allison2001-11-172-1/+2
| | | | Jeremy.
* This is a farily large patch (3300 lines) and reworks most of the AuthRewriteAndrew Bartlett2001-10-311-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 Allison2001-10-181-7/+6
| | | | | Ensure make_conection() can only be called as root. Jeremy.
* Optimisation to send only to correct processid.Jeremy Allison2001-10-161-6/+16
| | | | Jeremy
* very simple asynchronous "lpq" thread patchJean-François Micouleau2001-10-161-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 Potter2001-10-028-16/+0
|
* Added Elrond patch to make se_access_check use NT datastructures, not Samba.Jeremy Allison2001-09-261-2/+3
| | | | Jeremy.
* move to SAFE_FREE()Simo Sorce2001-09-172-52/+43
|
* Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2001-09-151-41/+9
| | | | argument.
* convert more code to use XFILEAndrew Tridgell2001-09-101-13/+13
|
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-062-4/+4
|
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-042-119/+124
| | | | the client code still needs some work
* more NTSTATUS/WERROR conversionAndrew Tridgell2001-09-032-16/+16
|
* the next step in our error code handling changeAndrew Tridgell2001-09-031-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 SweetAndrew Tridgell2001-09-021-1/+1
|
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-6/+6
|
* converted smbd to use NTSTATUS by defaultAndrew Tridgell2001-08-271-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 warningsHerb Lewis2001-08-241-1/+1
|
* Fixed detection of CUPS. We need to check for the presence of the cupsTim Potter2001-08-233-8/+8
| | | | header files as well as libcups.
* this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce2001-08-121-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 Allison2001-08-102-400/+643
| | | | Jeremy.
* Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2001-08-102-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 Allison2001-08-101-1/+1
| | | | Jeremy.
* Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison2001-08-091-0/+13
| | | | Jeremy.
* Merged John's fix.Jeremy Allison2001-08-091-1/+1
| | | | Jeremy.
* Change all realloc() statements to Realloc() (ecxept for tdb.c)Simo Sorce2001-08-081-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 Allison2001-07-301-22/+40
| | | | Jeremy.
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-3/+3
| | | | Jeremy.
* Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter2001-07-251-4/+4
| | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-:
* Same fix for resume as for pause.Jeremy Allison2001-07-231-1/+2
| | | | Jeremy.i
* Fix for CUPS pause/restart code.Jeremy Allison2001-07-231-2/+2
| | | | Jeremy.
* Fix for cups compile.Jeremy Allison2001-07-231-16/+17
| | | | Jeremy.