summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed the sanity check on the WINS SERVER parameter because it simplyChristopher R. Hertel2000-07-181-17/+0
| | | | | | 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_prs.c: Removed extraneous ()'s.Jeremy Allison2000-07-183-43/+45
| | | | | | | | 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.
* remove util_list from LIB_OBJS since it broke smbd buildGerald Carter2000-07-181-1/+1
| | | | | | | | | | | | (undefined references in link). This is a quick fix. I'll resolve things later. Sorry everyone. jerry
* Added lib/util_list.[c|o] to Makefile.inGerald Carter2000-07-181-1/+1
| | | | --jerry
* Fixed some more client SPOOLSS functions. The followingGerald Carter2000-07-188-361/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fixed a bug (my own) in create_ntc_from_cli_state()Gerald Carter2000-07-181-2/+2
| | | | --jerry
* I really didn't like the way generic arrays (lists) wereGerald Carter2000-07-181-0/+321
| | | | | | | | | | | | | 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
* 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
|