summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-07-14a few changes to Makefile.in to clean up dependencies for rpcclientGerald Carter1-7/+5
--jerry (This used to be commit 9206d593603af959700794d252da8d07082012ef)
2000-07-14More functions merged from TNG for rpcclient. They don't all workGerald Carter4-310/+410
currently as I have to do something about the policy handle caching issues. --jerry (This used to be commit 233b074f490b3b01f3a462284aa8117536df0082)
2000-07-14cleaned up access to prs_struct variables. Replaced all callsGerald Carter1-10/+553
prs_free_data() => prs_mem_free prs_realloc_data => prs_grow --jerry (This used to be commit 3d00e969df1800dadbb91fd8c410e9ce87188551)
2000-07-14removed references to loopback RPC connections.Gerald Carter1-45/+80
added a few more kfunctions from TNG for rpcclient --jerry (This used to be commit 549d1d262115aeb2cd4d3f0122a5771be17752bb)
2000-07-14removed prs_data(), prs_free_data(), and prs_realloc_data()Gerald Carter2-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. (This used to be commit 3bc9af4c1dbdb664970541f6091982ffccc87b31)
2000-07-14Fixed a bug in cmd_interp.c where if user%pass was entered onGerald Carter2-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 (This used to be commit 8599e1bc394b1caee2483ec72d439a34d3f30629)
2000-07-14make protoGerald Carter3-352/+454
and a few changes to ntdomain for rpcclient printing functions --jerry (This used to be commit eb3f545f54eabb8b2b9a735808ebf49808ea85eb)
2000-07-14adding more spoolss command into rpcclient. They don't all workGerald Carter2-2/+368
currently. More to come later. --jerry (This used to be commit 0faf21662db5b24b7fd57736ea53772e3baca5df)
2000-07-13Don't return winbind groups or users when responding to samr_enum_dom_usersTim Potter1-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. )-: (This used to be commit 363a9c45bf0a7d3266ccdf4eeb0b9f5e3d38389f)
2000-07-13Uninitialised variables.Tim Potter1-0/+2
(This used to be commit a895868912a24589de3a904ca537cf3367a645bf)
2000-07-12we are now sure the printer_info_2 timestamp is updated everytimeJean-François Micouleau2-5/+5
required. J.F. (This used to be commit 08b41bab177affac088c981d7c620728e8e6e9b0)
2000-07-12- The printers are indexed by the sharename in both get_a_printer() andJean-François Micouleau3-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. (This used to be commit 493f7d11acf753ba24c88e6cbb73d86a8595a66a)
2000-07-12An improved version of the Negative Query Response fix. The earlier fixChristopher R. Hertel1-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 -)----- (This used to be commit d8656304d51844335e72babe852673f2dececfdc)
2000-07-12Typo. It said "DEGUG" in the comments. I dunno how to degug, or gug forChristopher R. Hertel1-1/+1
that matter. crh (This used to be commit 6ee63ecfa5f9c984f51c15597a50e085ab722e87)
2000-07-11#ifndef RPCCLIENT_TESTGerald Carter1-35/+16
use old prs_unistr() #else use new prs_unistr() which handles UNMARSHALL #endif /* RPCCLIENT_TEST */ jerry (This used to be commit fb0e1fb9e31db135eeb8e949a7ad0826906ba1ff)
2000-07-11Allow name lookup to fail and fall back to using the "Everyone" SIDJeremy Allison1-3/+5
as SD owner. Allows smbd to work without winbindd running. Check for security implications ! Jeremy. (This used to be commit 9bd64da1e26a1b4a2df2b0537feb604a40762bb1)
2000-07-11Add local fallback for name lookup if no winbindd running...Jeremy Allison1-9/+20
Jeremy. (This used to be commit d85deb9e4e9c9784006292d3cb5a6b7b408ff972)
2000-07-10Ensure correct driver paths are returned in INFO_2 struct.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 7a95c289cd0b4615d2a5aa8a148c767b57460ffa)
2000-07-10make protoGerald Carter1-0/+1
(This used to be commit ae85cc43fec26be6184e863569a94cab0afc425a)
2000-07-10spoolenum commend (when compiled with the new prs_unistr())Gerald Carter1-7/+9
now works. :-) jerry (This used to be commit 588aadb29fbb7cc0e81ac19f95e97101a64dbd8e)
2000-07-10Fixed a bug in parsing the command line.Gerald Carter1-1/+1
jerry (This used to be commit ebcb7473c6b62266c30e276d02186d8e50a5629a)
2000-07-10included a a new prs_unistr(). Is currently #if'd out (denotedGerald Carter1-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 (This used to be commit 4f431ea1f5d1d3b868d0bb56a299070e608c2512)
2000-07-10Added wbinfo and .libsTim Potter1-0/+2
(This used to be commit da67a5099ebfb68172c1c419103665f571e82157)
2000-07-10Fixes for various compile warnings on Solaris 8.Tim Potter6-19/+23
(This used to be commit 898a483cdab1ed7d8ff902c0dc0e0620440ae4cd)
2000-07-10Moved winbind client functions from various odd locations toTim Potter8-168/+240
nsswitch/wb_client.c Merge of nsswitch/common.c rename to nsswitch/wb_common.c from TNG. (This used to be commit f866c18f6be65db67d9d2a6c0b42e1af3b421e6c)
2000-07-10make protoTim Potter2-335/+336
(This used to be commit 5f355a24430dcb260de52e8a0ca21e80cae53089)
2000-07-10Re-instated lanman printing security checks (oops).Tim Potter5-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 (This used to be commit 2abce4dcfa351051df6e5f789b34fa99c9b81c22)
2000-07-10Spelling fixes.Tim Potter1-3/+3
(This used to be commit c1d242f1dd5b6addbe5d2df22e4759f6682fd9ef)
2000-07-10Fix for passing NULL pointer as an array parameter inTim Potter2-4/+4
domain_client_validate() (This used to be commit 3ee111bff78826a5ee419554d4ef2b2b2d3ae7aa)
2000-07-10Added some useful debugging stuff.Tim Potter1-10/+66
Fixes for se_access_check() when you are the owner of the object. (This used to be commit 1478198b709b26d0007a8ff0586c34fc6f37a9d2)
2000-07-09Quick change to short-circuit WINS queries if the WINS server returns aChristopher R. Hertel1-6/+20
Negative Name Query Response. We should't wait through the timeouts and retry twice if we've been told "No Such Entry". (This used to be commit 2bbd16903db02aacb729d1ad140056b180e2a776)
2000-07-07Just a few changes due to bringing some partial files backGerald Carter1-3/+10
from TNG to HEAD. --jerry (This used to be commit ddef41c13484f488657ea36a510b52cefc7c8643)
2000-07-07More rpcclient merge issues:Gerald Carter16-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 (This used to be commit 61d2aad5dc2b212b11c981f1eca47efa627e9fc8)
2000-07-07More rpcclient merge issues:Gerald Carter5-1/+1222
* 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 (This used to be commit 12e2a21e1bc4c6fa02606d21cea4cb5a8b4d41a9)
2000-07-06printing/nt_printing.c: (From JF) use the driver name - already given to us.Jeremy Allison4-68/+87
printing/printing.c: priority needs to be 1 not zero (found by checked build). rpc_server/srv_spoolss_nt.c: Log invalid handle access, also print out if this is a different pid handle. This will help track down client access after a connection is closed. Jeremy. (This used to be commit 4ff949228c40b6abb2008df8db985562ac2895d2)
2000-07-06se_access_check() tests.Tim Potter11-0/+1060
(This used to be commit bba912cad8dfcef3dbc1db020304ab29fd71d5cb)
2000-07-06Don't check NT permissions when printing from lanman.Tim Potter2-6/+14
(This used to be commit e84607eedf3be454f8f709c70cafc5ded4ea951d)
2000-07-06Implemented NT printer descriptor checking. Yay!Tim Potter2-68/+115
User details are passed into the printing back end from the spoolss code. For each print operation these details are checked using the se_access_check() function using information from the winbind daemon. Fixed bug in nt_printing_setsec() where the user and group SIDs were trashed if the permissions were changed from NT. It is necessary to merge these sids from the previous value of the security descriptor before storing it in the tdb. (This used to be commit 8d42661d424d80e1048d08b5cad3281643231d62)
2000-07-06Moved authenticated pipe user details into a current_user struct.Tim Potter2-2/+2
(This used to be commit 3c4a5f624bfa69eb81d998530d9227e158edd109)
2000-07-06Moved printer ACE mask values from nt_printing.h to rpc_spoolss.hTim Potter2-9/+6
(This used to be commit 9245af1ea18babae09a92af634428a63ec55438e)
2000-07-06Include nss.h if present or define enough values to allow client access toTim Potter1-0/+15
winbind. (This used to be commit 669bd8dc1ab4690cf21310fe0310f1716e4a0197)
2000-07-06Rewrite of se_access_check() function. Added comments and fixed a bunch ofTim Potter1-189/+287
bugs. I think there is a problem though with the permissions granted when SEC_RIGHTS_MAXIMUM_ALLOWED is passed as the permissions requested. (This used to be commit 27d821913c87dddd44a0690f4b191c9d2445817e)
2000-07-06Pass either an authenticated pipe or SMB user in a current_user struct downTim Potter1-13/+38
to the printing back end functions. (This used to be commit a2751a269e05d5e46d4b22d6082a5898cdb4526f)
2000-07-06Pass pipes_struct rather than vuid down to startdocprinter, setprinter andTim Potter1-3/+3
setjob spoolss server commands. (This used to be commit f35745137451f769a0723cb0665ba0b9d4801ad8)
2000-07-06Added global_sid_NULL S-1-0-0 to list of global sids.Tim Potter2-0/+3
(This used to be commit f49905e74c6e3891b5816b136fd1d0d77c392e2f)
2000-07-06Make prototypes for functions returning an enum nss_status.Tim Potter1-1/+1
(This used to be commit dac9c934ac3932fb9870417e8f712a880dd25e45)
2000-07-06Changed checking for WINBINDD_OK return value instead of NSS_STATUS_SUCCESSTim Potter1-3/+3
when looking up sids from winbindd. (This used to be commit 79fb877bf13ba462ad0a878d8975f8b5183e3ea3)
2000-07-06Moved lib/util_seaccess.o from LIB_OBJ to SMBD1_OBJ as it is only used byTim Potter1-2/+2
smbd. (This used to be commit 539c32fa423bee9be34eeda96fad5398f7cf982b)
2000-07-06new protosAndrew Tridgell1-1/+0
(This used to be commit bd323fa503b1ad7ab9ca35b2f93774541b02e8e3)
2000-07-06the smbw sample progAndrew Tridgell1-0/+93
(This used to be commit 0afcc0d3368472ed4b49167dc4b7d907b0ccdc25)