| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
|
|
|
|
|
|
|
|
| |
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
|
|
|
|
| |
directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
|
| |
|
|
|
|
| |
pointers.
|
| |
|
| |
|
|
|
|
|
|
| |
will actually delete driver files ( not yet though I don't think).
Just wanted to get it in since Jeremy and I are both
working on nt_printing.c
|
|
|
|
|
| |
Verified by looking at NT4 and 2k servers. First time
for everything I guess.
|
| |
|
|
|
|
|
| |
SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing.
I know I'm off by 2 x uint32's in the former RPC.
|
|
|
|
|
|
| |
SPOOLSS_DELETEPRINTERKEY
* stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and
SPOOLSS_DELETEPRINTERDRIVEREX
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
Now let's keep this in sync !
Jeremy.
|
| |
|
|
|
|
|
|
| |
they're only used there.
Added a PRINTER_NOTIFY_VERSION constant.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the reverse).
* add in new printer change notify code from SAMBA_2_2
* add in se_map_standard() from 2.2 in _spoolss_open_printer_ex()
* sync up the _print_queue_struct in smb.h (why did someone change the
user/file names in fs_user/fs_file (or vice-versa) ? )
* sync up some cli_spoolss_XXX functions
|
|
|
|
|
| |
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure
as a discriminated union.
|
|
|
|
| |
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
wire... so.
Jeremy.
|
|
|
|
| |
but a plain old uint32.
|
|
|
|
|
|
| |
rpc. This was supposed to fix a printer driver download bug but it didn't
but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed
out in case someone needs it one day.
|
|
|
|
| |
rats.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
rpc_spoolss.h header file.
|
|
|
|
|
| |
GetPrinterDataEx() and SetPrinterDataEx(). Not sure what the command
number is for the latter is - I haven't seen it on the wire yet.
|
|
|
|
| |
the client code still needs some work
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
in separate commit after I get it working in 2.2.
|
| |
|
|
|
|
|
| |
authenticate against them. Big/little endian issues fixed.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We
need these to be different as we're storing LPQ_xx enums in the tdb
already.
rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now
returning status codes.
smbd/lanman.c: Change the RAP status codes to have "RAP" in the name.
printing/printing.c: Keep track of the status of a job. Allow a job to be
deleted from one smbd when being submitted by another.
Made logic in mutex clearer.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
source/include/proto.h
source/include/rpc_spoolss.h
source/rpc_parse/parse_spoolss.c
source/rpc_server/srv_spoolss.c
source/rpc_server/srv_spoolss_nt.c
- speedups in printer queue enumeration - still room for
improvement. The construct_dev_mode() still creates and destroys
a printer info_2 structure every time it is called.
- fixed job->devmode memory leak
- converted printer job notification routines to use tallocated
memory rather than a fixed 2K buffer. This reduces the memory
requirements of a 4500 job queue enumeration from 90MB to about
16MB.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
source/Makefile.in
- changes to ctags and etags rules that somehow got lost along the way.
source/include/proto.h
- make proto
source/smbd/sec_ctx.c
source/smbd/password.c
- merge debugs for debugging user groups and NT token stuff.
source/lib/util_str.c
- capitalise domain name returned from parse_domain_user()
source/nsswitch/wb_client.c
- fix broken conditional in debug statement.
source/include/rpc_secdes.h
source/include/rpc_spoolss.h
source/printing/nt_printing.c
source/lib/util_seaccess.c
- fix printer permission bugs related to ACE masks for printers.
This adds mapping of generic access rights to object specific
rights for NT printers. Still need to work out whether or not to
ignore ACEs with certain flags set, though. See comments in
util_seaccess.c:check_ace() for details.
source/printing/nt_printing.c
source/printing/printing.c
- use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER
until we sort out printer/printjob permission stuff.
|
|
|
|
|
|
|
| |
It only sends notifies to one client. The broadcasting notify code will
code soon.
J.F.
|
|
|
|
|
|
| |
padding before.
J.F.
|
|
|
|
| |
Jeremy.
|