summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
* Removed version number from file header.Tim Potter2002-01-307-14/+7
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* merge from APPLIANCE_HEADGerald Carter2002-01-261-35/+1
|
* These changes commited on a 'no less broken' basis.Andrew Bartlett2002-01-261-7/+5
| | | | | | | | | | | | | | | | | The previous code attempted to call winbind to find out the domain sid. This couldn't work for a number of reasons - not the least of which was that both the client and server ends would reject any name (in this case domain name) without a \ in it (or lp_winbind_seperator()). I think this is what was intended to occour. If there is still some need to contact winbind for this information, I suggest a new call be created for this - as it the server-side code doesn't allow for this information to be extracted easily in any case. Finally, it gets in the way of the default domain code a bit - hence why I was actually looking at it... Andrew Bartlett
* Change this code so that we don't do a lookup_name() on root.Andrew Bartlett2002-01-251-11/+3
| | | | | | | | | | | This matches the lookup failure case in 2.2, and seems to make more sense than giving the printer to 'world'. (Avoiding this lookup makes some of my other changes - including winbind default domains - a little easier). In any case, tpot has promised to look at this and test it when he gets back to work. :-) Andrew Bartlett
* Fixed display of "remote downlevel document" in old print job submissionJeremy Allison2002-01-251-2/+12
| | | | | case. Jeremy.
* merge from 2.2Gerald Carter2002-01-231-3/+3
|
* merge from 2.2. ofGerald Carter2002-01-221-20/+19
| | | | | * PRINTER_ATTRIBUTE's * "default devmode" parameter
* Removed MAXSTATUS which was set incorrectly - thus causing tdb traversalJeremy Allison2002-01-141-5/+3
| | | | | | of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy.
* Round and round we go....Jeremy Allison2002-01-111-1/+1
| | | | Jeremy.
* Latest attempt at changeid.Jeremy Allison2002-01-111-4/+5
| | | | Jeremy.
* When re-writing tdb version numbers as little endian int32, we mustJeremy Allison2002-01-091-15/+18
| | | | | change the version number also. Jeremy.
* Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison2002-01-092-20/+33
| | | | | in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy.
* My previous fix had a bug....Jeremy Allison2002-01-081-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.
* 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.