| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"One of these locks is not like the others... One of these locks is not
quite the same" :-). When is a zero timeout lock not zero ? When it's
being processed by Windows 2000 of course.. This code change, ugly though
it is - completely fixes the foxpro/access multi-user file system database
problems that people have been having. I used a *wonderful* test program
donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me
to completely reproduce this problem, and to finally determine the correct
fix. This also explains why Windows 2000 is *so slow* when responding to
the smbtorture lock tests. I *love* it when all these things come together
and finally make sense :-).
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cli_spoolss_reply_rrpcn(). Things like comment and location fields
are updated correctly in Explorer.
However, the notification seems to still be broken when the
SPOOLSS_FFPCN is called on a printer server handle (as opposed
to a printer handle).
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
prepended to the printer name in get_a_printer_2()
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | | |
client connecting to us was *SMBSERV[ER], the replace this with the
IP address of fir nic in our interfaces list. Not perfect for
mutli-homed hosts, but ....
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
but will be available.
Volker
|
| | | |
|
| | |
| | |
| | |
| | | |
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)
|
| | | | |
|
| | | | |
|