| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
return an NTSTATUS now
* send the change notify to the client **before** sending response
to SetPrinter() (not entirely sure about this one but it is
very easy to fix)
* in srv_spoolss_receive_message(): ignore the message if we sent
it as the chnage notify has already been sent to our client
in update_printer()
* support sending RPC's 0x42 or 0x3b depending on whether or not
the SPOOLSS_FFPCN contained a SPOOL_NOTIFY_OPTIONS structure
All of this now means that we support multiple change notify
handles successfully and that explorer updates its view upon changing
the driver for a printer. The notification code only supports
PRINTER_CHANGE_SET_PRINTER_DRIVER currently, but I'm planning
on adding the remaining events later this week.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
rpc_server/srv_spoolss_nt.c. Clean up dependencies to
reflect this.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
smbd. They not match the basic standards used by libsmb/cli_spoolss.c
such as return NTSTATUS, accepting a TALLOC_CTX* as a parameter, etc...
* moved cli_spoolss_reply_rrpcn() and associated functions from
rpc_server/srv_spoolss_nt.c to this file
|
| | |
| | |
| | |
| | |
| | | |
cli_spoolss_routerreplyprinter() as that is going to
rpc_client/cli_spoolss_notify.c due to linking dependencies.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
map to object specific bits. Will merge into HEAD once I'm done
later this week (hopefully).
|
| | |
| | |
| | |
| | |
| | | |
one.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy
|
| | |
| | |
| | |
| | |
| | | |
file into the secrets.tdb.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Based on code donated by Olaf Frączyk <olaf@cbk.poznan.pl>. Further commit
will change to sending via vfs interface.
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
no code yet.
Jeremy.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- fix up the comment returned in a printer_info_1 (we still get this wrong
as the last field should be the printer location not the comment,
despite what MSDN says)
- don't return the printer name prefixed by the server name when doing a
enumprinters
|
| | |
| | |
| | |
| | | |
- when returning and creating printer info, uppercase the server name
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
parsing and the client routines. I have some hacked server code
that makes the Win2k Printers folder display the updated driver
name when changing settings via the properties page (ask me if this doesn't
make sense), but it's too ugly too live. That will come later.
Makefile.in simply include libsmb/cli_spoolss.o and related files
into smbd (will need this for printer change notification).
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | | |
that any cached lpq information gathered during that time doesn't
stay around for longer than 1 hour.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
smbd/nttrans.c:
smbd/open.c: Fixes for delete on close semantics.
Jeremy.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Should allow the buggy spoolss code on NT to work against us.
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
as a key in winbindd_cache.tdb. This meant that a lookupsid of that user's
sid would return the name specified by the user in the previous lookupname
which can result in weird capitalisation issues.
The fix is to do a lookupsid immediately after the lookupname and store the
name returned in the cache file. We also store the username in the
name/sid cache lowercased so as to avoid multiple entries for different
capitalisations of names.
Test case:
rpcclient jonquille -U% -c 'lookupnames npsd-test2\administraTOR'
npsd-test2\administraTOR S-1-5-21-1067277791-1719175008-3000797951-500 (1)
rpcclient jonquille -U% -c 'lookupsids S-1-5-21-1067277791-1719175008-3000797951-500'
S-1-5-21-1067277791-1719175008-3000797951-500 [NPSD-TEST2]\[Administrator] (1)
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
structure for srv_spoolss_sendnotify(). This will make it easier
to add information to specify changed values.
I'll merge this into HEAD a little later. Not quite done.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Added aDIR mask for setfileinfo.
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Found by Andrew at connectathon with some new tests
Jeremy.
|