| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
checked to see that only one server was listed. As I am working on an
enhancement that allows multiple servers to be listed...this was a bit
contrary. ;)
|
|
|
|
|
|
|
|
| |
rpc_parse/parse_spoolss.c: Fixed the security descriptor marshalling in a INFO_2 struct.
for some reason SD's should be done inline after the info2, not
as the last buffer marshall.
rpc_server/srv_spoolss_nt.c: Removed extraneous ()'s.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(undefined references in link). This is a quick fix.
I'll resolve things later.
Sorry everyone.
jerry
|
|
|
|
| |
--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 ongoing rpcclient work.
Also included a new generic list ADT. Cleaner and simplier
than the stuff in util_array.c i think (but then that's why I wrote it).
--jerry
|
|
|
|
| |
--jerry
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implemented in util_array.c so I wrote a smaller (and simplier
package).
I would like to replace the use of util_array.c functions
in the rest of the source tree if no one objects.
This will be an interface change, but not really a difference
in the functionality provided.
--jerry
|
|
|
|
|
|
|
|
| |
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.
|
| |
|