summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2000-05-17Fixed bug I introduced last night (sorry). Now truncate incoming prs_structJeremy Allison1-0/+7
buffer size to exact size of incoming data to prevent read overruns into slop space. Jeremy. (This used to be commit aa1a4f46da9584240cd6cee6fb652aa73e77015c)
2000-05-17Fixed bug where mallocd size of prs_struct could be larger thanJeremy Allison1-1/+1
incoming packet. Ensure new alloced memory is zeroed before use. Jeremy. (This used to be commit 1c3193aa1c1137734dc34ef2e6d62abb0609c30e)
2000-05-16Synced up srv_samr with HP changes. Added error checking to original codeJeremy Allison1-173/+361
- what a concept :-). All this code will be replaced with TNG stuff anyway, so not a big deal.... Jeremy. (This used to be commit b090cff4b5fcdef01fc553e6359627bb2285d68e)
2000-05-16The new msdfs implementation that uses symlinks to point to otherShirish Kalele1-1/+1
servers. Very intuitive. Removed the dfs map parsing code and tdb maintenance code (files msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading calls (param/loadparm.c smbd/server.c). Added code to display msdfs format symlinks as directories in a transact2_findfirst/findnext. (smbd/trans2.c) Modified msdfs/msdfs.c to use the msdfs symlinks to create dfs referrals. Changed msdfs/README to reflect new operability. (This used to be commit 6803d2574fab9e5931786d5c9aa5dc5867bb5f05)
2000-05-15Check error returns.Jeremy Allison1-4/+9
Jeremy. (This used to be commit 919d49b58ad8213c0e89948f560d816b20312bb2)
2000-05-15Added Shirish's reg changes to HEAD. Sync up with 2.2.0 backport.Jeremy Allison1-10/+14
Also added prs_xx error return checks to new code in rpc_parse/parse_reg.c Jeremy. (This used to be commit a148cb996297ed34342660f82ef0e66773d40500)
2000-05-15Added fix for Win2k ACL query code from Shirish. I need this back portedJeremy Allison1-3/+54
to 2.2.0. Jeremy. (This used to be commit 74851a481efedd15f59d5da15db7078dc4ce5d20)
2000-05-15passdb/secrets.c: Fix typo in comment.Jeremy Allison1-4/+4
rpc_server/srv_pipe.c: Use accessor functions rather than diddling with structure internals directly. smbd/process.c: smbd/reply.c: Remove READ_PREDICTION #ifdefs. Jeremy. (This used to be commit eba825ff030a175bd271caa6f543379dfdbbd646)
2000-05-15call prs_dump() on every input and output packet so we have plenty ofAndrew Tridgell1-2/+13
data to work with (This used to be commit 839ab0e33255be37d72c113c2e09baaa34d50ce4)
2000-05-15add prs_dump() at the top level rpc switchAndrew Tridgell1-0/+2
this gets us examples of all rpc messages sent to us (This used to be commit ce3dd8db6d3cf6bfdbd695f6e32f60488c9073ae)
2000-05-12added spool_io_printer_driver_info_level_6()Andrew Tridgell1-4/+26
thsi function and the associated header structure were autogenerated using a little awk based code geerator I wroe ths evening. I'll commit that next ... (This used to be commit 974813f0d4afb6c14ed27c48ab24b19932557f9f)
2000-05-12fixed two uninitialised variablesAndrew Tridgell1-2/+1
(This used to be commit eefb36f130f79f2f2c6cfb58c1646aa6ce4303be)
2000-05-10lib/util_unistr.c:Jeremy Allison1-2/+2
libsmb/clilist.c: rpc_server/srv_spoolss_nt.c: smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion. msdfs/msdfs.c: Removed stub unistr_to_dos. libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and don't add any security. Jeremy. (This used to be commit 1ed146467e764e6a81d8f78cd58fb5765ebf5d21)
2000-05-10more merging voodooAndrew Tridgell9-1/+27
this adds "#define OLD_NTDOMAIN 1" in lots of places. Don't panic - this isn't permanent, it should go after another few merge steps have been done (This used to be commit 92109d7b3c06f240452d39f669ecb8c9c86ab610)
2000-05-09the beginnings of a new scheme I've working on to allow an easierAndrew Tridgell2-0/+8
head/tng merge. It goes something like this: - headers from tng get copied over one at a time - the old headers get renamed to *_old.h - server side code that used the old headers gets a #define OLD_NTDOMAIN 1 #undef OLD_NTDOMAIN at the start and end of the code - mkproto.awk recognises these special defines and does magic stuff so that each .c file sees the right headers - we start moving the rpc client libraries from tng to head. if this goes OK then, in theory, we should be able to move the client side rpc code from tng to head without disturbing the existing head server side code. Then when that works we can consider merging the server side. it remains to be seen if this scheme will work. So far I've moved rpc_samr.h and don't seem to have broken anything. Note this this is still a very delicate operation, as at every step of the way I want to keep head fully functional. Please don't take part unless you discuss it with me first. (This used to be commit f76c037255a6a79d11bec65e863e009a41a4f0fd)
2000-05-04rpc_server/srv_lsa.c: Bring into sync with 2.0.x.Jeremy Allison2-15/+25
rpc_server/srv_pipe_hnd.c: Bring into sync with 2.0.x. smbd/blocking.c: Improve blocking debug reporting. utils/torture.c: Added check for NT locking bug. Jeremy. (This used to be commit e8ff6d3fb5537c39611a5784bf7216ae812acd27)
2000-05-04 - use full_name instead of real_nameAndrew Tridgell3-2/+4
- got rid of guest map code in lpq parser (This used to be commit 8e53f781d3cf6a7007764916a0d8e8f1abea1f66)
2000-05-02added support for deleting printers into the spoolss systemAndrew Tridgell2-0/+63
(This used to be commit e72a5718537b84409fc20ff21951b1d1ab24d97f)
2000-05-02split the username in the vuser structure into a separateAndrew Tridgell2-3/+3
userdom_struct. As the name implies this also contains a domain (unused at the moment). This will be important shortly, as operation in appliance mode needs the domain to be always carried with the username. (This used to be commit ee8546342d5be90e730372b985710d764564b124)
2000-05-02fixed a memory leakAndrew Tridgell1-0/+2
(This used to be commit d4743ec0be419565c805fbc5ba2680c6ad5fe36d)
2000-05-02Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison3-4/+4
of doing a system call every time we want to just get our pid. Jeremy. (This used to be commit 148628b616b5c29ba6340d65fc3ddbcabba6e67a)
2000-04-30fix handing of ascii_to_unistrAndrew Tridgell1-19/+19
(This used to be commit 385b1844b60beeb9db5f412a452816444e25cb83)
2000-04-28Added info level 1005 to netsharegetinfo (is the share a DFS root)Shirish Kalele1-0/+17
Added dfs_server announcement in set_default_server_announce_type() (This used to be commit 99d07e13520b04d99999938d259d56fa65c8a8ea)