summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* grab functions that return RPC_HND_NODE (declaredGerald Carter2000-07-181-1/+1
| | | | | | | | in include/util_list.h) -- jerry
* Fixed some more client SPOOLSS functions. The followingGerald Carter2000-07-183-76/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed some more SPOOLSS functions. The followingGerald Carter2000-07-181-5/+4
| | | | | | | | | | | | | | | | | | | 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
* Missing var.Tim Potter2000-07-171-1/+1
|
* Reverted changes from rpcclient merge - contains memory leak!Tim Potter2000-07-171-2/+9
|
* Free security descriptor after access check in update_printer_sec()Tim Potter2000-07-171-3/+7
|
* Initialise current time to time(NULL) in add_a_printer_2()Tim Potter2000-07-171-1/+4
| | | | | Added get and free security old descriptor in nt_printing_setsec() after access checking was moved up to rpc level.
* make protoTim Potter2000-07-171-84/+0
|
* make protoTim Potter2000-07-171-339/+338
|
* Allow job owner to delete own print job.Tim Potter2000-07-171-13/+28
|
* Moved access check for nt_printing_setsec() up into rpc function.Tim Potter2000-07-171-36/+59
| | | | | | | | | | | 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.
* Renamed arguments to se_access_check()Tim Potter2000-07-171-4/+28
|
* Renamed a parameter in init_request() function.Tim Potter2000-07-171-10/+19
| | | | Initialise response structure correctly.
* Added some debugs.Tim Potter2000-07-171-13/+27
| | | | | Changed interface to se_access_check to take a user struct instead of each bit as a separate parameter.
* I committed this change to the cliffs archive a while back and have heardChristopher R. Hertel2000-07-151-5/+20
| | | | | | | | | | 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 -)-----
* Lots of changes but no real progress in functionality.Gerald Carter2000-07-153-146/+92
| | | | | | | | | | | | | 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
* reverted a some previous additions.Gerald Carter2000-07-151-15/+4
| | | | | | | Removed msrpc_local struct --jerry
* a few changes to Makefile.in to clean up dependencies for rpcclientGerald Carter2000-07-141-7/+5
| | | | --jerry
* More functions merged from TNG for rpcclient. They don't all workGerald Carter2000-07-144-310/+410
| | | | | | | | | currently as I have to do something about the policy handle caching issues. --jerry
* cleaned up access to prs_struct variables. Replaced all callsGerald Carter2000-07-141-10/+553
| | | | | | | | prs_free_data() => prs_mem_free prs_realloc_data => prs_grow --jerry
* removed references to loopback RPC connections.Gerald Carter2000-07-141-45/+80
| | | | | | | | added a few more kfunctions from TNG for rpcclient --jerry
* removed prs_data(), prs_free_data(), and prs_realloc_data()Gerald Carter2000-07-142-105/+60
| | | | | | | | 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.
* Fixed a bug in cmd_interp.c where if user%pass was entered onGerald Carter2000-07-142-206/+3
| | | | | | | | | | | | 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
* make protoGerald Carter2000-07-143-352/+454
| | | | | | | and a few changes to ntdomain for rpcclient printing functions --jerry
* adding more spoolss command into rpcclient. They don't all workGerald Carter2000-07-142-2/+368
| | | | | | | currently. More to come later. --jerry
* Don't return winbind groups or users when responding to samr_enum_dom_usersTim Potter2000-07-131-0/+21
| | | | | | 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. )-:
* Uninitialised variables.Tim Potter2000-07-131-0/+2
|
* we are now sure the printer_info_2 timestamp is updated everytimeJean-François Micouleau2000-07-122-5/+5
| | | | | | required. J.F.
* - The printers are indexed by the sharename in both get_a_printer() andJean-François Micouleau2000-07-123-21/+41
| | | | | | | | | | | | | | | 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.
* An improved version of the Negative Query Response fix. The earlier fixChristopher R. Hertel2000-07-121-10/+37
| | | | | | | | 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 -)-----
* Typo. It said "DEGUG" in the comments. I dunno how to degug, or gug forChristopher R. Hertel2000-07-121-1/+1
| | | | that matter. crh
* #ifndef RPCCLIENT_TESTGerald Carter2000-07-111-35/+16
| | | | | | | | | | | use old prs_unistr() #else use new prs_unistr() which handles UNMARSHALL #endif /* RPCCLIENT_TEST */ jerry
* Allow name lookup to fail and fall back to using the "Everyone" SIDJeremy Allison2000-07-111-3/+5
| | | | | | as SD owner. Allows smbd to work without winbindd running. Check for security implications ! Jeremy.
* Add local fallback for name lookup if no winbindd running...Jeremy Allison2000-07-111-9/+20
| | | | Jeremy.
* Ensure correct driver paths are returned in INFO_2 struct.Jeremy Allison2000-07-101-6/+6
| | | | Jeremy.
* make protoGerald Carter2000-07-101-0/+1
|
* spoolenum commend (when compiled with the new prs_unistr())Gerald Carter2000-07-101-7/+9
| | | | | | | | | now works. :-) jerry
* Fixed a bug in parsing the command line.Gerald Carter2000-07-101-1/+1
| | | | jerry
* included a a new prs_unistr(). Is currently #if'd out (denotedGerald Carter2000-07-101-0/+92
| | | | | | | | | | | | 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
* Added wbinfo and .libsTim Potter2000-07-101-0/+2
|
* Fixes for various compile warnings on Solaris 8.Tim Potter2000-07-106-19/+23
|
* Moved winbind client functions from various odd locations toTim Potter2000-07-108-168/+240
| | | | | | nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG.
* make protoTim Potter2000-07-102-335/+336
|
* Re-instated lanman printing security checks (oops).Tim Potter2000-07-105-53/+177
| | | | | | | | | | | | | | | | | 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
* Spelling fixes.Tim Potter2000-07-101-3/+3
|
* Fix for passing NULL pointer as an array parameter inTim Potter2000-07-102-4/+4
| | | | domain_client_validate()
* Added some useful debugging stuff.Tim Potter2000-07-101-10/+66
| | | | Fixes for se_access_check() when you are the owner of the object.
* Quick change to short-circuit WINS queries if the WINS server returns aChristopher R. Hertel2000-07-091-6/+20
| | | | | Negative Name Query Response. We should't wait through the timeouts and retry twice if we've been told "No Such Entry".
* Just a few changes due to bringing some partial files backGerald Carter2000-07-071-3/+10
| | | | | | | | from TNG to HEAD. --jerry
* More rpcclient merge issues:Gerald Carter2000-07-0716-14/+1471
| | | | | | | | | | | | * 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