summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2001-07-02Missing prs_align() was causing Win9x nexus tools to fail. security_info_sentJeremy Allison1-0/+3
was being miss-parsed. Jeremy. (This used to be commit 1685e41da04f1fbbab036e194ce1b1e7ba9fef86)
2001-07-02Fixed auto-alloc of dispinfo code when unmarshalling.Jeremy Allison1-4/+64
Jeremy. (This used to be commit d4872c94c2e6b63be0fb12e5dd2d0459fda54959)
2001-06-29Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison1-0/+70
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29From JF....Jeremy Allison1-27/+93
hi jeremy, can you commit the following patch against HEAD. I can't do it right now Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if he didn't break the server code. And he did. So on my way I cleaned info_1, 2, .. 5 it may break winbind. I leave to tim the pleasure to fix it ;-) jf. I added some talloc changes and checks for alloc fails. Jeremy. (This used to be commit 001e9b7b540f04c80ba65c879aaa41acddc86f3e)
2001-06-29Removed another silly static array.Tim Potter1-5/+16
(This used to be commit 008628fb8ac9f92d984218f37fffdfa3cb9e3d62)
2001-06-26SGI compiler fixes.Herb Lewis1-2/+2
Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
2001-06-26Ensure we always have a valid pointer on unmarshalling an SD with zeroJeremy Allison1-3/+7
ace entries. Jeremy. (This used to be commit 274c0f5028d41175222dfaaf446e3ed8f5687a5f)
2001-06-26Fixed bug introduced by changeover of security descriptor code fromTim Potter1-1/+8
malloc() to talloc(). Previously, creating an ACL containing zero ACEs would return a non-NULL pointer to zero bytes of memory. The talloc() code would return a NULL pointer making the ACL a NULL ACL instead of an empty one. The difference is a NULL ACL allows all access and an empty ACL denies all access. We solve this by calling talloc(ctx, sizeof(SEC_ACE) * num_aces + 1). Heh. (This used to be commit 89eaaafe7d266788609fab6951fd912c441b3a26)
2001-06-25Cosmetic fixups found while playing with the server manager. Added supportTim Potter1-1/+72
for NET_SRV_SET_INFO rpc call which is made when double-clicking on a computer in the server manager and changing the description. We always return NT_STATUS_NOPROBLEMO as NT doesn't seem to decode any error messages passed back. Maybe the changed comment string could be stored in a tdb and regurgitated instead of the "server string" smb.conf parameter? (This used to be commit d936ffedd90fe442f990c9ac2e172877f28d7230)
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)