| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
code already in HEAD and app-head.
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
array whose internal pointers were talloced. We can just get away with
SAFE_FREE'ing the array pointer.
Jeremy.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* comment out the call to free_notify_data() as it corrupts the
heap right now. At least we won't seg fault.
* only call srv_spoolss_sendnotify() on a PRINTER_CHANGE_SET_PRINTER_DRIVER
This needs to be fixed to check for what events the client is monitoring.
* add debugs to free_notify_data()
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
domain.
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
using identical logic. Remove the zero_ip global.
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
DEVMODE as is the case with the
Okidata Okipage 20 PCLXL Advanced printer driver.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
though I'd done that for 2.2.3, oh well). Docs added soon. Removed another
"magic" define. Fixed the offline folder synchronisation bug.
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Red Hat system.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SPOOL_NOTIFY_INFO correctly on driver changes.
* modify srv_spoolss_sendnotify() to pass in the printer
name as well
* do not reset the devmode when we change the driver for a printer
(observed behavior on both NT and 2k)
* removed some old commented out code
we need to fix the cli_spoolss_notify code to use talloc for better
maintainability....
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
calling getopt for options.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
(and yes I know who you are..... :-).
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"constants aren't, safe_strcat isn't."
This patch tries to fix a bug in the lpq parsing code that causes a
crash in lprng and BSD parsers when there are long lines in the
output. A too-short length parameter was passed to safe_strcat, which
provoked a signedness bug.
It also makes the lpq parser consistently use fstring routines, rather
than its own hand-crafted strlen/sizeof guff. Some variables were
renamed to make this obvious.
Finally safe_strcat is changed so that it actually does handle the
situation where strlen(dest)>maxlen, rather than crying for help by
clobbering -1 bytes of memory.
(HP CR #430)
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|