summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2003-03-06add #define for the max device name length in a DEVICEMODEGerald Carter1-1/+1
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)
2003-03-03* CR1868: only send a change notify message if we have somethingGerald Carter1-1/+1
that changed that the client is monitoring. * couple of comments abnout how we need to validate driver names on SetPrinter() and AddPrinter() * up the debug level on some overly verbose dev mode parsing messages (This used to be commit e8939165b77c9e2ea8b3cef2e85885b9812c7184)
2003-02-25Merge: const fixes.Tim Potter2-12/+15
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
2003-02-25Progress on CR 601Gerald Carter1-1/+1
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2003-02-21couple of merges from APP_HEADGerald Carter1-1/+1
* performance optimization in enumprinterdataex() when keyname is empty * fix a few typos in comments * reload services after addprinter_command() dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ (This used to be commit 3fc90ea1d9b11186f26484516a4dd8502b6d7323)
2003-02-18Check return code of string_to_sid. (Merge from HEAD)Martin Pool1-22/+26
(This used to be commit 5d09aea6f78aa247dbd77617c93c2a1dd2e2702f)
2003-02-14Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison3-30/+72
Needed to move to disk based i/o later. Jeremy. (This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)
2003-02-02Merge from HEAD: Send the session key to the client, allowing it to perform SMBAndrew Bartlett1-2/+2
signing. Andrew Bartlett (This used to be commit 9bcdb869e53ee8048dd69053b804bdaf55db7b91)
2003-01-29Merge tpot's changes to request the correct sizes for user dispinfoJeremy Allison1-2/+2
from HEAD. I had to do this for him as he was *so* tired, the poor chap, plus he has this bad leg, plus the dog ate his homework etc. etc. Jeremy. (This used to be commit 1e752b48a12cdcf2cb6343705be83f304e5ee2b6)
2003-01-29Merge tridge's client priv code from HEAD.Jeremy Allison1-0/+61
Jeremy (This used to be commit 49739be1e2f047fa2cc2fd42eadb190a82114485)
2003-01-28Merging tridge's privillage client changes from HEAD.Jeremy Allison2-12/+103
Jeremy. (This used to be commit 30a33920b4d834edc877cc0080291fbda983083a)
2003-01-15merging some rpcclient and net functionality from HEADGerald Carter3-19/+109
(This used to be commit 7a4c87484237308cb3ad0d671687da7e0f6e733b)
2003-01-13Now that I am running config.developer, I decided to get rif of some warnings:Richard Sharpe1-2/+2
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD 4.3 from system includes. 2. Added a bit of const to places. 3. Made sure internal functions were declared where needed. (This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
2003-01-04Missed from previous commit - merge from HEAD the changes to the remoteAndrew Bartlett1-4/+8
shutdown struct - it's 2 byte-boolean flags, not 16 bits. (This used to be commit b5962833527787b0cb3f3904422f252e8d74f40d)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett13-661/+662
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-31Merge tridge's fix :Jeremy Allison1-2/+8
the 'padding' field in the query domain info reply is not a padding field at all. It seems to be an optional 12 byte structure of some kind. mkaplan found a situation where the structure was not present at all (depending on ptr_0) Jeremy. (This used to be commit 3b453a596323867d4954b688dc3d83201096a447)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-1/+1
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-20Merge of comment about apparent spoolss_io_user_info weirdness.Tim Potter1-0/+4
(This used to be commit 872c152d35d5b7d1dc8a1d259c668f9bf42fc979)
2002-12-03Support printer info 7, used for publishingJim McDonough1-0/+63
(This used to be commit 60502d9d4274ddb3756b79593125544683c45908)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison1-1/+2
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison5-40/+42
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-08Sync with HEAD to get enumprinterkey api.Jim McDonough1-0/+29
(This used to be commit f6e21ba4c724f77586ef428f82126d209b0a9607)
2002-11-07Being tpot's janitor again.... checking in things only checked into HEAD.Jeremy Allison1-3/+4
We are meant to be keeping 3.0 up to date... Jeremy. (This used to be commit a4c8c8f3b767f0cd4c1fa977efe8bfcd3de980d0)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d030df76439c72825d68410211e62090438cef54)
2002-11-02Merge passdb from HEAD -> 3.0Andrew Bartlett1-3/+13
The work here includes: - metze' set/changed patch, which avoids making changes to ldap on unmodified attributes. - volker's group mapping in passdb patch - volker's samsync stuff - volkers SAMR changes. - mezte's connection caching patch - my recent changes (fix magic root check, ldap ssl) Andrew Bartlett (This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-10-17Merge NULL relstr fix from HEAD.Tim Potter1-0/+3
(This used to be commit 0f2ddfcd95acec964a3a7652968c9469ac486814)
2002-10-05missing prs_align()'sGerald Carter1-0/+9
(This used to be commit 33f4a2fe1c3202a04acbeb8e78515082e6b88dfd)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter1-2/+2
(This used to be commit 028477e35208e76fedbc7c743426fd9be94b7cf0)
2002-10-04This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+113
used to be commit 7950dfc795568798e8ede784b4e8b927be0add49)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter2-2/+115
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter1-10/+25
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter1-10/+25
from APP_HEAD (This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-09-27HEAD and APP-HEAD spoolss parsing was out of sync. This MUST NOT HAPPEN !Jeremy Allison1-20/+17
Jeremy. (This used to be commit cb89bcc935a39d9ca1ceb07a4ca85f0bda7f65fe)
2002-09-27HEAD and APP-HEAD spoolss parsing was out of sync. This MUST NOT HAPPEN !Jeremy Allison1-20/+17
Jeremy. (This used to be commit e42b76337b9a01fee84bc95d6899a724b2fdab29)
2002-09-26syncing up with HEAD again....Gerald Carter1-1/+44
(This used to be commit e026b84815ad1a5fa981c24fff197fefa73b4928)
2002-09-26Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*Andrew Bartlett1-1/+44
better job of working with usrmgr. Previously we were blanking out entires, and all sort of mischif. The new patch (which I've now had a chance to test/modify) also takes care not to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store \\server\user back) and to correctly notice 'not set' compared to 'null string' etc. Andrew Bartlett (This used to be commit ab878b6cc4132594fc33f78aeebf0d8b7266c150)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter6-212/+314
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-22Change parsing of policy and privs delta to what Ethereal says.Volker Lendecke1-70/+66
Volker (This used to be commit 8c41b5cd1b8b0c2639def9552bd20b8aca39785c)
2002-09-13wrong alignment size calculationSimo Sorce1-1/+3
spot by Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> (This used to be commit eda0e7589f2591edc29e6c1eef44aa21628977be)
2002-09-06Display debug data we are marshalling/unmarshalling a UNISTR in aTim Potter1-1/+7
similar format to UNISTR2. (This used to be commit 2d227bdce26674affad87ad6d118e77604fb210a)
2002-09-05A netshareenum reply always contains an enum_hnd. win2k returns zeroTim Potter1-4/+2
total entries on an error whereas nt4 must send uninitialised data so we didn't catch this one before. (This used to be commit 88653130bc1e380b7d8dc6c62492f3bbc6f1c707)
2002-09-04Fix typo in comment.Tim Potter1-1/+1
(This used to be commit 47b8ec632e20aa86c34f6a0a82d886fcc76f3000)
2002-09-03Implemented client function for deleteprinterdataex.Tim Potter1-0/+15
(This used to be commit 6d792c683df3a4f97e1a04a57bf4890aab35aecd)
2002-09-02Implemented some more client side spoolss functions:Tim Potter1-7/+96
- getprinterdataex(), setprinterdataex(), enumprinterdataex() Pass data type down to setprinterdata() fn instead of hardcoding REG_SZ. Did some trickyness to get enumprinterdataex replies unmarshalled properly. The code seems to have been written to require the number of entries returned before unpacking said entries. Skip to the end of the response and read the number of entries then jump back and process the printer data. (This used to be commit 6a1953f2431cc848abf210bdecd7080738991296)
2002-08-31Avoid writing unitialised bytes to the wire (and consequent valgrind warnings)Andrew Bartlett1-1/+5
by zeroing them out if they don't have meaning. Andrew Bartlett (This used to be commit 52db44b5c01e16923393b0ec9a8d0f530be7bb2d)
2002-08-30fix up print portion of registry. Merge from APP_HEAD.Gerald Carter1-72/+2
(This used to be commit ec37633548ed329c05b93499f75883d987b78f1e)
2002-08-30merge of phant0m key fix from APP_HEADGerald Carter1-2/+6
(This used to be commit cb13d334a53f27713665570d85607d57eb407f9f)
2002-08-30removed a debug lineAndrew Tridgell1-2/+0
(This used to be commit 5185f495d055cee609872db9e59edbe3220dc5bd)
2002-08-29There's more work to be done on samsync. Intermediate commit, nowVolker Lendecke1-1/+1
I get all the groups at least. Volker (This used to be commit 23a4f6991e93797afad0043689737a1b20c67f60)
2002-08-27fix 2 byte alignment/offset bug that prevented Win2k/XP clientsGerald Carter1-9/+16
from receiving all the printer data in EnumPrinterDataEx(). (This used to be commit 901769acc3258b6f8f33d36b0d5e3468a30ba1b0)