summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2001-06-22sync this function with 2.2 (single check for NULL parameter)Gerald Carter1-0/+3
(This used to be commit 3ab50e648d682080308d2db6bdb71eef0e303988)
2001-06-22Removed unused (and potentially crash-causing) free function.Jeremy Allison1-14/+0
Jeremy. (This used to be commit 54ea00fa870f258b885b18e8684caa8488948607)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison1-6/+59
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison2-6/+136
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
2001-06-19INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison1-7/+2
depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
2001-06-16Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.Jeremy Allison1-0/+75
Jeremy. (This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-15Jim McDonough's parse patches for Win9x get SD calls.Jeremy Allison1-0/+87
Jeremy. (This used to be commit bc366f31537408380860906cc041de232b27b714)
2001-06-15Fixed typo spotted by "Jim McDonough" <jmcd@us.ibm.com>....Jeremy Allison1-1/+1
Jeremy. (This used to be commit a600c96e596375bf27c15026c032944a066e7290)
2001-06-15Add password length field to SAM_USER_INFO24 structure and fix initTim Potter1-1/+9
and parse function. (This used to be commit d2eafa7483a53958b6c930ca05da6e6a6c21b785)
2001-06-13Added some msdfs client routines.Tim Potter1-5/+27
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-06Converted init_samr_q_lookup_names() and samr_io_q_lookup_names()Tim Potter1-2/+12
to use tallocated memory instead of dodgy static arrays. (This used to be commit 35d27941141ecdc3bfe18651e5225a94d818e8c1)
2001-06-01Added *.po to .cvsignore files.Tim Potter1-0/+1
(This used to be commit 870e9e4e89dcf910c595cabb28f69ad070942072)
2001-05-24Added a init function for net_q_logon_ctrl2 so we can make this callTim Potter1-12/+133
from rpcclient. Added init and i/o functions for net_{q,r}_logon_ctrl functions so we can call from rpcclient and respond to this call from smbd. (This used to be commit 8ba30031a4fd900b9b87cf5d04c2f2bf6c436718)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-0/+77
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-05-10Reverted samr_io_userinfo_ctr() patch because it broke too much otherTim Potter1-11/+5
stuff. (-: (This used to be commit 5bbd946d592fde9ac6bf1c66268ef608d5988363)
2001-05-09So the samr_io_userinfo_ctr was requiring a SAM_USERINFO_CTR to be passedTim Potter1-5/+11
in as well as tallocating space for one itself. I've deleted code so the passed in container is used to store the SAM user info. This may have broken some server side SAM stuff which probably isn't used anyway. )-: (This used to be commit fc44cec0de68c92001c4313b4f0ee9f69ba6b9b5)
2001-05-08fixes to the group mapping code.Jean-François Micouleau1-9/+12
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
2001-05-08Fixed typo in comment.Tim Potter1-1/+1
(This used to be commit a8c49d1e608b178bcc53725d4a26cebb799fc6eb)
2001-05-08iinit_samr_q_lookup_rids() didn't actually copy the rids into theTim Potter1-0/+2
parse structure. (This used to be commit 139e767e78adafa4d4469d2d63415d46267f2fc9)
2001-05-04Renamed unknown field to access mask in open alias parsing functions.Tim Potter1-6/+3
(This used to be commit d384cae5707889f34ac19ccd80737ab6eb5fdb98)
2001-05-01Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famousJeremy Allison2-19/+236
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares for Win2k. Needs testing as I made a few mods to the original code. Jeremy. (This used to be commit 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)
2001-04-28few cleanups to bring in line with 2.2Gerald Carter1-1/+0
(This used to be commit 0feaac00a1847af41464d4ce35821ff851cded9c)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter1-17/+27
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-27Added Herb's comment fix.Jeremy Allison1-1/+0
Jeremy. (This used to be commit f4f4aae675f55d3319aca8489621afc92aaf8de1)
2001-04-23Fix "proc num out of range" error. Missing rpc call.Jeremy Allison1-0/+56
Jeremy. (This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-1/+1
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-09Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison1-11/+38
Jeremy. (This used to be commit 04976c32f319531e16d890797b45a76dab64f370)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-04-06Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison1-0/+47
internals to support server manager. Jeremy (This used to be commit 3512ba1f655d5588db87f1afa1d12f599ad7b74a)
2001-04-06Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison1-0/+58
function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage the shares section in smb.conf via NT server manager........ This should enhance the friendliness of Samba in NT-only shops by an order of magnitude. Jeremy. (This used to be commit a2cd5f2ba11164a17622b96374ab43070f9ed691)
2001-04-04I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison1-4/+243
I worked out and added the per-share get/set RPCs for security descriptors. Currently this code returns Everyone, full access on get and permission denied on set, but backending this with a tdb and checking it on tconX (to give full NT semantics for security on shares) is now an excersise for the reader... :-). Jeremy. (This used to be commit 3bfd155ba78798c50588904d4ea3389f50f8abb6)
2001-04-02include/ntdomain.h:Jeremy Allison1-63/+136
rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy. (This used to be commit 887ef3e12dc56b89b2284d42b16a81f03e15110b)
2001-03-31configure configure.in include/config.h.in lib/replace.c: Added test and ↵Jeremy Allison1-84/+218
replacement for setlinebuf which apparantly doesn't exist on HPUX 11. include/byteorder.h: rpc_parse/parse_prs.c: Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h. They were macros that included macros that had conditional macros included. No one understood them (they were the cause of most of the bigendian issue bugs). Finally, I went into parse_prs.c and inlined all of that stuff with regular function calls. They're understandable, they're easy to edit and they don't include macros ! JF - please look at the one comment I added (JF PLEASE CHECK). I have tested this partly with IRIX (a bigendian system) running with AS/U on a Solaris box in SGI's lab, and I've also confirmed these new changes work with W2K (vmware) but there may be the odd bug lurking. Herb, if you could re-checkout and test again with this code that would help. Extra. Fixed bug spotted by the sharp eyes of JF - big endian unicode packet would cause a early truncate of string parsing as we were checking for a char * 0, not a uint16 * 0. Jeremy. (This used to be commit 13765eca71e54aa5d048ce36cd8066b8406777c8)
2001-03-28rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter1-116/+116
(merge from 2.2) (This used to be commit ea963a648b889da9e47661c61c7fafe13b277e75)
2001-03-27merge from 2.2.Gerald Carter1-40/+40
(This used to be commit 817258f1174d27d74e8b21ffb5f1384db2238007)
2001-03-19reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter1-1/+1
(This used to be commit fd6bfe03f4454272bdce59c78ae7148a72caaf18)
2001-03-16Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison1-1/+1
Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
2001-03-15whoops...forgot oneGerald Carter1-19/+31
(This used to be commit f37ba49c28b617c5750344eff0b221512445908e)
2001-03-15renamed one of the enumprinterdrivers parsing functionsGerald Carter1-2/+2
for consistency sake. (This used to be commit cbce0c935099231af51a34460c6b331822fde213)
2001-03-13rpc_parse/parse_samr.c: Removed unneeded deubg.Jeremy Allison1-2/+0
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly to a w2k client. Jeremy. (This used to be commit 500c7bc0fed16713401643bdede67cc0c8044d52)
2001-03-13We were mismarshalling a netlogon reply for bad password to W2K.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 017a6a9868eb5237a715a0d7bf4784863f40a2f4)
2001-03-12We copy the RPC header directly from the incoming client - remember toJeremy Allison1-1/+6
set little-endian flag on marshalling. AS/U now correctly tries to join our domain ! Jeremy. (This used to be commit 0185f8159dbd30820d1ec9ce2aec8eb1cddcfc0b)
2001-03-11No longer used...Jeremy Allison1-1275/+0
Jeremy. (This used to be commit d23b9be1ba15bedac046319e8f15e60b481d057b)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison6-2220/+4183
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison4-13/+23
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison1-1/+12
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-03-02Merged JF's fixes into HEAD. These are for string parsing and SAMR fixes.Jeremy Allison1-4/+4
Jeremy. (This used to be commit c3a1904564175a7a5cf71e88540b96f7daa59730)
2001-03-01rpc_parse/parse_spoolss.c: Fixed memory leak introduced by restructuring.Jeremy Allison1-5/+17
rpc_server/srv_spoolss_nt.c: Fixed problem with printer snum being read uninitialised. Jeremy. (This used to be commit 1552db715da576b41060f0d31d2c4cdec790c1d4)
2001-03-01Remove unused code.Jeremy Allison1-117/+3
Jeremy. (This used to be commit 3495d5cc3ba0f380fc78389b9ba17235ccd97ae4)
2001-02-28Move to talloc control of SPOOL_XXX structs. Move to talloc control ofJeremy Allison2-431/+339
security descriptors and pointers. Syncup with 2.2 tree. Jeremy. (This used to be commit 14d5997dc841e78a619e865288486d50c245896d)