summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
AgeCommit message (Collapse)AuthorFilesLines
2008-02-01Remove unused marshalling for SAMR_DELETE_DOM_ALIAS.Günther Deschner1-128/+0
Guenther (This used to be commit 445887d805c26beea33b6e5b08717e2841abe7b2)
2008-02-01Remove unused marshalling for SAMR_DELETE_DOM_GROUP.Günther Deschner1-59/+0
Guenther (This used to be commit 20503717be5287c003ca63d74419f785d59f83e0)
2008-01-31Remove old, unused marshalling code for SAMR_GET_DOM_PWINFO.Günther Deschner1-71/+0
Guenther (This used to be commit d74ab657df051b7bad616dbe7fe7732a653ffe6d)
2008-01-31Remove unused samr_close marshalling.Günther Deschner1-55/+0
Guenther (This used to be commit 93d2ad944772513520de22aecffda15f38907b4e)
2008-01-29Remove unused rpc_ds marshalling code that is unused now.Günther Deschner1-188/+0
Guenther (This used to be commit 153253e14f82fc7078e9cc6f12409e6eda7ee7cb)
2008-01-25Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].Günther Deschner1-209/+0
Guenther (This used to be commit 3ded8b9b7eee18a3f903e264adfb7fea6a3c0c5f)
2008-01-25Remove more unused LSA marshalling functions.Günther Deschner1-406/+0
Guenther (This used to be commit 95e0fb452bda4c81b26e3dec4953bbba37940467)
2008-01-25Use generated DSSETUP client & server rpc functions and remove the ↵Günther Deschner1-111/+0
hand-written ones. Guenther (This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison1-3/+3
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner1-16/+16
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-14Remove old lsa set info policy call.Günther Deschner1-58/+0
Guenther (This used to be commit b37b2b77edec72fc3f53b3461aa1c210e4366c1b)
2008-01-14Remove more redundant lsa parsing functions.Günther Deschner1-257/+0
Guenther (This used to be commit 99dd28da84c270f46535bd2ffa6bfef96d2e2eed)
2008-01-14Start removing hand-written lsa marshalling code (namelyGünther Deschner1-158/+0
rpccli_lsa_open_trusted_domain_by_name, rpccli_lsa_query_trusted_domain_info_by_sid and rpccli_lsa_query_trusted_domain_info_by_name). Guenther (This used to be commit f2fb3473455f20e7314a9d33f5a1c923d3057d97)
2007-12-29Remove tiny code duplicationVolker Lendecke4-6/+7
ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
2007-12-29Remove tiny code duplicationVolker Lendecke1-2/+2
sid_size did the same as ndr_size_dom_sid (This used to be commit 8aec5d09ba023413bd8ecbdfbc7d23904df94389)
2007-12-28Remove static zerosVolker Lendecke1-4/+10
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-12-17Use the %*s feature of snprintf to remove anothe static fstring.Jeremy Allison2-22/+22
Jeremy. (This used to be commit 4ae4b2358688bf289305a2db0ed01b653ac073b2)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-10/+4
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison1-4/+10
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-03Make strhex_to_str clear on string limits. Remove pstring from web/*.cJeremy Allison1-2/+4
Jeremy. (This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
2007-11-27Make init_unistr2_from_unistr take an explicit talloc context.Jeremy Allison2-40/+33
Make init_unistr() re-use rpcstr_push_talloc(). Jeremy. (This used to be commit 04aecde5cfdb00d5aa32f9675c797266aba83c0f)
2007-11-20More pstring elimination.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-20More trivial pstring removal.Jeremy Allison2-4/+9
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison14-830/+830
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter6-144/+3558
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25561: Make use of [un]marshall_sec_descVolker Lendecke1-12/+0
Minor cleanup only (This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)
2007-10-10r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison1-2/+2
Jeremy. (This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-27/+27
the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r24993: Apply some constVolker Lendecke1-3/+3
(This used to be commit 613b9fcd18bcc29bf5313e2287b53b8de430d17e)
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke5-85/+23
This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker (This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
2007-10-10r24771: Use infolevel 25 to set the machine account's password (just like ↵Rafal Szczesniak1-0/+19
winxp). This correctly updates pwdLastSet field on win2k3 server. rafal (This used to be commit dd6d44c1665121cff9ccc2c09580169ca4d330b9)
2007-10-10r24759: Comment out the _nonnull calls for 3.2.x, as agreed with tridge.Jeremy Allison1-1/+1
Leaving the commented out code for now, in case I need to re-test some stuff. Jeremy (This used to be commit 343be0464342aac14a9592fd73a71b7589ba34d5)
2007-10-10r24410: - I got tricked by function naming. Contrary to what seemed obvious ↵Derrell Lipman1-0/+4
to me, prs_mem_free() is not the function to be called to free memory allocated by prs_alloc_mem(). I've added a comment so others may not get bitten too. - Remove incorrect memory free calls added yesterday to replace SAFE_FREE. The memory is actually now on a talloc context, so gets freed by the caller when that context is freed. We don't need to free it iternally. Derrell (This used to be commit 2fde343150c17959fc970b18e1eb4efde800b4db)
2007-10-10r24291: Fix Coverity ID 364Volker Lendecke1-13/+4
We've checked num_rids != 0 above. (This used to be commit dab5449f385248ab1fdd60b240ef6ad4a27ba7f2)
2007-10-10r24067: Fix a type mismatch found by the IBM checkerVolker Lendecke1-1/+1
(This used to be commit 411a1a2037886f934c6522ddef7a04d5c4a1fa69)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell12-24/+12
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison13-13/+13
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23665: Remove two unneeded global variablesVolker Lendecke1-1/+1
(This used to be commit 51a3933b3d367e3693daa6842f5a286328f4fd39)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-2/+3
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r23616: Fix bugzilla #4719: must change password is not set from usrmgr.exe.Jim McDonough1-3/+18
This was only affecting the newer versions of usrmgr.exe, because they use a user_info_25 struct. The password is getting set separately inside that code, so the password last set time was getting set from the password change logic. We also were not parsing a number of fields (like logon hours) from the user_info_25. That should also be fixed. (This used to be commit afabd68b6ae874aceba708dc36808ed007ad496c)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach1-13/+13
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r23400: Fix lsa crash bug #4683. The "names" enum structJeremy Allison1-3/+3
in a lookup_sidX reply isn't optional - like the lookup_sidX query it needs to be defined in the struct. All this will go away with PIDL (thank goodness....). Jerry - I think this is a showstopper to be merged for 3.0.25b. I'll be watching the build farm to see if anything broke. Jeremy. (This used to be commit 9300b92f7a51eb80fdc039d8dad23ea9ce82aa8f)
2007-10-10r23380: netr_getdcname returns WERROR not NTSTATUS.Günther Deschner1-1/+1
Guenther (This used to be commit 5e75ea7f2b568d76c8ced5f43171741532cc97c2)
2007-10-10r23342: Stop Coverity from getting confused.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 34144c63ad0d776c0b01f6bd3ce378921f2d31cd)
2007-10-10r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵Gerald Carter1-39/+0
call renames for svcctl in the previous commit (This used to be commit ebcae48ec10fefa74efcc3563cff50e3b9c2388c)
2007-10-10r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter1-47/+0
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but ↵Günther Deschner1-31/+31
were using netr_GetDcAnyName all the time (which is the correct thing to do). Fix the naming and opcode mixup in all branches. Guenther (This used to be commit def6464c872a5939f0028837254f2c019d2d71c8)
2007-10-10r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx,Günther Deschner1-0/+209
netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some more WERROR codes. Guenther (This used to be commit 37ae7f419702c563bcd0d9c27c02bde7efd34dd7)
2007-10-10r23122: Fix bug #4655. We marshall the enumdataex correctly,Jeremy Allison1-17/+48
but W2K3 doesn't follow our rules when sending data to us. Ensure we look for the data at the correct offsets when reading the data. Too late for 3.0.25a - don't merge. Jeremy. (This used to be commit a871191395eef6ed76f9e7666fd1c0fde3105984)