summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2000-06-29Tidy up current spool code - added some JRATEST ifdefs to allowJeremy Allison1-16/+17
experimentation with what is making spoolss.exe crash - may be removed later. Jeremy. (This used to be commit f3fe384dc39ce49c639a7adf35179a50cb86abf0)
2000-06-26Changing drivers using the properties page works - but only if getting/settingJeremy Allison1-30/+40
security descriptors is disabled (as it is in this code). If get/set sd's is enabled spooler.exe crashes on NT. I'll investigate and fix that issue next. Jeremy. (This used to be commit 8c9ed874363e6a710bc0fe521bb8c4f7ee219587)
2000-06-26Fixed display of "Everyone" in SD's.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 3c7fdaa576c09dab2e4de78ed353b1fa1d65a40d)
2000-06-24lib/util_sid.c: Uninitialized memory read.Jeremy Allison2-7/+14
rpc_parse/parse_spoolss.c: Added note about prs_align when marshalling a SEC_DESC... rpc_server/srv_lsa.c: Tim - your changes broke the display of the 'everyone' group when doing file access with no winbindd running. This is a partial fix - more when I have analysed this more. rpc_server/srv_spoolss_nt.c: Fix for the 'change driver' problem ! Hurrah ! Jeremy. (This used to be commit 151b131ee01ef916c072bcdaa9943a2e984a0f45)
2000-06-23Got a bit carried away deleting things.Tim Potter1-1/+1
(This used to be commit 211391d88e10d94edcc81b83fefcadb4a905ea56)
2000-06-23Removed unused variables.Tim Potter1-2/+0
(This used to be commit a75e738211e744adb966bcbc24371554c9642220)
2000-06-23Removed save directory argument to become_root() calls. Probably most ofTim Potter6-42/+42
this stuff doesn't need to be done as root anyway. (This used to be commit c3cad0ff6482784f95fd54ba51ee5be2354bb95d)
2000-06-22Changed enumports to show printernames as ports. In line with 'the grand ↵Jeremy Allison1-11/+51
plan' :-) Gerald & I discussed with HP. More changes to follow. Jeremy. (This used to be commit 193a248beda99103c73a0b0ea5e2fbcbb516ce8e)
2000-06-22lib/util_unistr.c: Removed ascii_to_unistr() as it does no codepage.Jeremy Allison1-54/+32
Removed unistr_to_ascii() as it was never used. printing/nt_printing.c: Removed "DUMMY.XX" files. rpc_server/srv_spoolss_nt.c: Use dos_PutUniCode() instead of ascii_to_unistr(). Attempted to fix the "return value" size code based on J.F's comments. This needs looking at. Jeremy. (This used to be commit de99011bf3b2a23bd1854a047382a107aaeb9c68)
2000-06-20Fixes for Win2k "add printer driver" INFO_LEVEL_6 was wrong, also someJeremy Allison2-2/+3
memory fixes. Jeremy. (This used to be commit 2a9e645cbddef1cddc5c978310b7efed492758d2)
2000-06-16Forgot pipes_struct conversion for api_samr_enum_dom_aliases()Tim Potter1-1/+3
(This used to be commit 66372765e7c3f85240d54894547a150351426d5f)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-14/+17
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Pass the vuid from the pipes_struct down to the lower level spoolss functions to perform security checks. ZERO_STRUCTP the info_2 structure before filling it. Free the device mode field before freeing the info_2 to avoid a memory leak. Fixed uninitialised pointer bug in fill_job_info_2(). (This used to be commit a9547b7e3a068941cda5619f05a64e798584535a)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-40/+108
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Pass the vuid from the pipes_struct down to the lower level spoolss functions to perform security checks. (This used to be commit f6436aacd631abeda60b87d671993f9e426cc684)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter1-18/+29
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. Removed dependency on extern current_user and fetch the vuid from the pipes_struct. (This used to be commit 1b06451fff11f54be7def4a427a1528bbb52f3d7)
2000-06-16Simplified server pipe implementation by changing arguments passed downTim Potter7-170/+259
through to the individual pipe api calls. Instead of passing two prs_struct pointers, we now pass the pipes_struct pointer which contains the former information as well as other useful stuff like the vuid. (This used to be commit 96addba216bad2189120d78f5531d5caa6f37880)
2000-06-15Removed some debugs.Tim Potter1-12/+0
(This used to be commit 6faa963b232b4c4d883c1b346c73b2f2b6da6370)
2000-06-14Changed server side lsa_lookup_sids function to look up SIDs that we areTim Potter1-28/+74
not authoritative for using winbindd. (This used to be commit a39cdffb141a8e4188b00dfb6eb3317f134cddda)
2000-06-09do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx().Jean-François Micouleau1-4/+16
and if you have unix realname=yes, you get the gecos name when locking the station. J.F. (This used to be commit b5ad24ae0b15643df5832e2369fb4e43c98a1359)
2000-06-07Fixing get/set of security descriptors.Jeremy Allison1-0/+2
Removed ugly hack for NT printing. Fixed up tdb parse stuff memory leaks. Jeremy. (This used to be commit 8ef41f31c53e14ad057d883810a1cd2301fede2a)
2000-06-06Memory leak fixes.Jeremy Allison2-2/+3
Jeremy. (This used to be commit 34b63896ab1543936d6b9b382ef6727a161b6bf2)
2000-06-06Create elements in default, not in read.Jeremy Allison1-3/+1
Jeremy. (This used to be commit 0d681ea252e0cf7fdf57d316d2bfe7caa9b4fbf5)
2000-06-05Some tidyup fixes (memory leaks etc.). Still no progress with theJeremy Allison2-10/+21
"no driver" issue. I'm banging my head against comparitive packet dumps right now... Jeremy. (This used to be commit 03cd4aa1443acd958593f37c61ff9c90a43c660b)
2000-06-04added a MANGLE_DRIVER_PATH define to chooose whether we stuff with theAndrew Tridgell1-10/+9
driver path do a rename etc. I turned it off by default as it is causing me no end of problems. The client will *cache* this path, and that screws things up badly as the temp directory is no longer there when it is needed. (This used to be commit 46f5f41c88b6ffa117d30f7702628b43dd456902)
2000-06-03rpc_client/cli_lsarpc.c: Removed unused variable.Jeremy Allison1-0/+5
rpc_server/srv_spoolss_nt.c: Fixed more memory leaks. smbd/nttrans.c: Fixed shadow variable problem. Jeremy. (This used to be commit f0a7540831181d3a47e7f8ce8be55a36a2f2aba1)
2000-06-02More memory leak and PANIC action fixes.Jeremy Allison1-3/+8
This is *horrible* code :-(. Jeremy. (This used to be commit ac383bb765ea606fc1105aa91470fcdf453d9335)
2000-06-02More memory leak fixes.Jeremy Allison1-15/+37
Jeremy. (This used to be commit 4e7b6b20eabe02f1ab74254607178ba35e61c9ce)
2000-06-02More memory corruption (leaks etc.) fixes.Jeremy Allison1-11/+12
Jeremy. (This used to be commit 71a0621f552083880e89923055e8bd14d0b1b82f)
2000-06-02Fixed null pointer indirect in addprinterex. Still working on problemJeremy Allison1-8/+21
with extra directory layer in NT drivers. Jeremy. (This used to be commit 48a80318269c832e702678237e86ba55c10444f1)
2000-06-01More insure found memory leak and corruption fixes.Jeremy Allison2-4/+5
Jeremy. (This used to be commit 3cdcfa6325b9cd2d7f7c90c4b2d1c6ec73fc2f6d)
2000-06-01param/loadparm.c: Looks like someone ran indent on this !Jeremy Allison1-2/+4
passdb/smbpass.c: Insure uninitialized memory reference fix. printing/nt_printing.c: rpc_server/srv_spoolss_nt.c: Insure memory leak fixes. smbd/unix_acls.c: Shadow ref fix. Jeremy. (This used to be commit d175d3ebefc053e9badd91ca5f2d8bd03eb6705d)
2000-06-01Back to building. Now to test with insure.Jeremy Allison1-1/+5
Added some frees needed to stop memory leaks. Jeremy. (This used to be commit eba31e4e802120c9eb8c4688f521b4de9cb91f5c)
2000-06-01Getting back to a compilable state (not there yet but close).Jeremy Allison1-2/+4
Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy. (This used to be commit c2099cfb033c2cdb6035f4f7f50ce21b98e1584d)
2000-06-01Changes I really don't want to lose whilst CVS is playing up.Jeremy Allison1-222/+257
Dynamic changes to spoolss code. Jeremy. (This used to be commit 0a5e7a8f31c26fe80db5398a441a1969a8882845)
2000-05-29Fixed LsaQueryInformationPolicy level 3 to return primary domain info.Matthew Chapman1-19/+23
Domain SID is saved in secrets.tdb upon joining domain. Added "Authenticated Users" and "SYSTEM" well-known SIDs (under NT Authority). (This used to be commit 7710b4f48d3e8532df5e37f99a779758f750efdb)
2000-05-29fixed some more crashesAndrew Tridgell1-86/+44
this introduces some memory leaks that I need to fix later (This used to be commit 2170d72d508ab8fb63a1da3024395f8fd6011cfa)
2000-05-28lp_server_role() + use in srv_reg.Luke Leighton1-1/+20
(This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)
2000-05-28don't free a driver structure from the stack!Andrew Tridgell1-5/+7
(This used to be commit d241f1dcaf612881a428dd578b97383d02a4d3c3)
2000-05-28fixed return error code that had 0xC with not enough zerosAndrew Tridgell1-5/+5
(This used to be commit d859de2870d6524f4ff58a059469fe65c1b37940)
2000-05-28#ifdef not #ifLuke Leighton1-3/+3
(This used to be commit f0229102fe337213cd53fcb0a3d7e2ba786470b9)
2000-05-28moved notif_y_table struct to spoolss_nt.c only used there.Luke Leighton1-1/+24
#ifdef'd driver-code out with define RELIES_ON_SMBD_SPECIFIC_CODE because spoolssd doesn't link with smbd/*.c (find_service("print$") is not possible). (This used to be commit 726c359d1d9f1fc8227ca920c888d2f040170e0b)
2000-05-27getting and setting security descriptors on printers now worksAndrew Tridgell2-11/+23
this needed some fixes in tdb_unpack(). Tim, you'll need to update (This used to be commit 9422719ab4c35e4ce3199b62dd632433bf391283)
2000-05-27uninitialised variable "list"Luke Leighton1-1/+1
(This used to be commit bf33b10a43a42c3ec5dbfdc713869c4aeb452aef)
2000-05-27unistr_to_dos not unistr_to_asciiLuke Leighton1-2/+2
(This used to be commit f46c4fe876a0cabe7044ca30c17e6c217d618635)
2000-05-27security descs in spoolss. needs parse_sec.c nttrans.c broken.Luke Leighton1-5/+75
(This used to be commit f9f2a04fdb7b2af1cfe5bf26ec6f0d955ea948b9)
2000-05-26Fixed memory leak in RPC parsing code.Shirish Kalele1-1/+6
Problem in prs_set_buffer_size() was Realloc returns a NULL when newsize is zero (equivalent to a free()). We were returning a failure here without resetting the buffer_size or the data_p pointer in the prs_struct. And we weren't checking for a failure from prs_set_buffer_size(). So realloc's to zero size were not reflected in the prs_struct: memory leak. (This used to be commit 590d9ece8449b1feecfe1aa13e61bcd8fea4e5bf)
2000-05-26Compile time warning fixes and a time_t -> uint32 conversion fix.Jeremy Allison1-2/+6
Jeremy. (This used to be commit 80a0079b2f993159ef35b02ba5c70ce9d8096879)
2000-05-26Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele3-4/+4
Fixed trans2 calls on IPC$ to let dfs referral calls through. (This used to be commit e0965a80bdca5239886b11ef55dc29fed261bfc0)
2000-05-24a fairly big change in spoolss.Andrew Tridgell1-16/+14
got rid of the forms, drivers and printers files in the nt drivers directory and instead use a single tdb note that this is _not_ all finished. (This used to be commit 537cd6dff057df481fb208121ce4396fc76c2a06)
2000-05-22Modify NT driver heirarchy to fix HP bug with duplicate printer driverJeremy Allison1-10/+58
filenames :-). Jeremy. (This used to be commit adb6ad812a4d897ee0c0712cc06d1ff8553fa093)
2000-05-18Added the NETDFS pipe to allow remote administration of the msdfs symlinksShirish Kalele2-0/+459
on the samba server. (This used to be commit 15e7d8f6c5cddf6ce409ee2505744250d181ec34)