| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
in include/util_list.h)
-- jerry
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions work now:
- spoolenum
- spoolopen
- spoolgetprinter
- spoolgetprinterdriver
Items todo:
- track down memory bug with spoolenumdata
- fix spoolgetprinterdriverdir
- fix spoolgetdata
- fix display_job_info_ctr in spooljobs
All part of the rpcclient work.
Jeremy, this check includes emthods for associating
POLICY_HNDs and client states. See the RpcHndList_...()
function calls (implemented in lib/util_list.c)
--jerry
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions work now:
- spoolenum
- spoolopen
- spoolgetprinter
- spoolgetprinterdriver
Items todo:
- track down memory bug with spoolenumdata
- fix spoolgetprinterdriverdir
- fix spoolgetdata
- fix display_job_info_ctr in spooljobs
--jerry
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Added get and free security old descriptor in nt_printing_setsec() after
access checking was moved up to rpc level.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Use sid + rid instead of lp_workgroup()/Administrator for printer owner sid
as per JF's advice.
Default printer owner is either the administrator of the pdc workgroup or
Everyone depending on whether winbindd is running. Still the subject of
some debate...
Renamed se_access_check() parameters.
|
| |
|
|
|
|
| |
Initialise response structure correctly.
|
|
|
|
|
| |
Changed interface to se_access_check to take a user struct instead of each
bit as a separate parameter.
|
|
|
|
|
|
|
|
|
|
| |
no complaints. ;)
Basically, instead of ignoring single-line C-style comments in IDL source
files this change allows token.awk to ignore both single- and multi-line
C-style comments.
Chris -)-----
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more changes to remove the ncarpc_l_* stuff.
Fixed some cut and paste errors from TNG
There are very subtle bugs in this code. I'll work on simplifying
them in round two or three.
--jerry
|
|
|
|
|
|
|
| |
Removed msrpc_local struct
--jerry
|
|
|
|
| |
--jerry
|
|
|
|
|
|
|
|
|
| |
currently as I have to do something about the policy handle caching
issues.
--jerry
|
|
|
|
|
|
|
|
| |
prs_free_data() => prs_mem_free
prs_realloc_data => prs_grow
--jerry
|
|
|
|
|
|
|
|
| |
added a few more kfunctions from TNG for rpcclient
--jerry
|
|
|
|
|
|
|
|
| |
as these were unneeded and replaced by the real functions
already in HEAD.
Added a few more functions to parse_spoolss.c to help with the
rpcclient merge from TNG.
|
|
|
|
|
|
|
|
|
|
|
|
| |
the command line, the password would still be cached in memory
in plain text for the lifetime of the rpcclient command line session.
removed loopback connection functions from msrpc-client.c since
we don't support that in the server code now anyways. simplify,
simplify, ...
--jerry
|
|
|
|
|
|
|
| |
and a few changes to ntdomain for rpcclient printing functions
--jerry
|
|
|
|
|
|
|
| |
currently. More to come later.
--jerry
|
|
|
|
|
|
| |
and samr_enum_dom_aliases commands. Unfortunately the algorithm for
determining winbind groups from normal groups is simply to check for the
presence of the lp_winbind_separator() character. )-:
|
| |
|
|
|
|
|
|
| |
required.
J.F.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add_a_printer() now.
- correctly unpack the private part of a devmode and remove a memleak
- correctly retrieve the pair(value,data) for getprinterdata
- handle null devicemode in printer_info_2
I still have some bugs but I'm not crashing anymore NT4SP6 d/c build :-)
J.F.
|
|
|
|
|
|
|
|
| |
only did a short-cut on an rcode of 3, which is 'name not found'. This
does a short-cut on any non-zero rcode. It also puts out a DEBUG message
(if DEBUGLEVEL is >= 3) detailing the error.
Chris -)-----
|
|
|
|
| |
that matter. crh
|
|
|
|
|
|
|
|
|
|
|
| |
use old prs_unistr()
#else
use new prs_unistr() which handles UNMARSHALL
#endif /* RPCCLIENT_TEST */
jerry
|
|
|
|
|
|
| |
as SD owner. Allows smbd to work without winbindd running.
Check for security implications !
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
| |
now works. :-)
jerry
|
|
|
|
| |
jerry
|
|
|
|
|
|
|
|
|
|
|
|
| |
by RPCCLIENT_TEST) in order to not break anything in the smbd
code (and to give time to review it). Originally written by JF.
In effect, this checkin makes no changes to parse_prs.c at all.
jerry
|
| |
|
| |
|
|
|
|
|
|
| |
nsswitch/wb_client.c
Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A user can now pause, resume or delete their own job even if they don't
have the Manage Documents privilege.
Added call to se_access_check() for changing printer properties. The Full
Access privilege is required for the user to perform this.
Several uninitialised variables and memory leaks plugged.
Modified default ACL created on new printers to be Everyone / Print instead
of Everyone / Full Access. This required some random stuffing around with
the value of the revision field to correspond with the ACL that NT produces
when setting the same permission on the printer.
Fixed dodgy function call in printing/printfsp.c
|
| |
|
|
|
|
| |
domain_client_validate()
|
|
|
|
| |
Fixes for se_access_check() when you are the owner of the object.
|
|
|
|
|
| |
Negative Name Query Response. We should't wait through the timeouts and
retry twice if we've been told "No Such Entry".
|
|
|
|
|
|
|
|
| |
from TNG to HEAD.
--jerry
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes some readline bugs from the merge
* first attempt at commands (spoolenum almost works)
* no changes to existing functions in HEAD; only additions
of new functions. I'll weed out what I can as I go.
--jerry
|