summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter11-1576/+1889
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25564: Pass sharename to delete_share_security()Volker Lendecke1-1/+1
(This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)
2007-10-10r25534: Apply some constVolker Lendecke6-13/+13
Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
2007-10-10r25484: Fix srvsrc_NetFileEnum listing only for one userVolker Lendecke1-37/+57
(This used to be commit 9e1f513916d8836914580806580c4f8c38e5f2be)
2007-10-10r25482: Slightly simplify logicVolker Lendecke1-48/+48
Instead of one big if-branch for if (process_exists(..)) return if (!process_exists(..)) (This used to be commit 3acc00132c97b36e026162ae11a23953269dfbed)
2007-10-10r25480: Fix a segfaultVolker Lendecke1-1/+1
(This used to be commit 7e72a3046d5c318247d1e69b51bcb74e897e3eae)
2007-10-10r25389: Fix crash bug using DFS info struct uninitialized.Jeremy Allison1-4/+28
Jeremy. (This used to be commit 993bd0995eadc134378e691ccd796074dc475741)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2-32/+32
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-10r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison1-2/+4
to unix_convert(). Jeremy. (This used to be commit 39c211a702e91c34c1a5a689e1b0c4530ea8a1ac)
2007-10-10r25119: Fix a couple of warnings.Jeremy Allison2-2/+3
Jeremy. (This used to be commit 0e655ac94653128566a8764ea804f37c4c7b300f)
2007-10-10r25118: More pstring elimination.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 7632f8fb4003657591778d2b55f546d1737859d1)
2007-10-10r25102: Rewrite msdfs code to use talloced filenames. Passes make testJeremy Allison1-83/+125
and make valgrindtest. Final step will be to change srvstr_get_path() to return talloced memory in the major codepaths. Jeremy. (This used to be commit cf6b6f9c3a38b68d2671c753f412772344506742)
2007-10-10r25023: Coverity #455. Not actually a bug, but this clarifiesJeremy Allison1-0/+1
the code a lot. Jeremy. (This used to be commit 5ba12eefbed209a8a6b474da479efd190f91638e)
2007-10-10r25009: Large patch discussed with Volker. Move unix_convert to a talloc-basedJeremy Allison1-18/+24
interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy. (This used to be commit dee8beba7a92b8a3f68bbcc59fd0a827f68c7736)
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke3-8/+7
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-10r24561: merge from SAMBA_4_0:Stefan Metzmacher3-8/+8
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10r24316: Fix an uninitialized readVolker Lendecke1-0/+1
Jerry, please check this! Thanks, Volker (This used to be commit db1b89072c3f214c3cb4be844cd7b417e5361615)
2007-10-10r24165: Fix Coverity ID 369.Volker Lendecke1-5/+5
This was not really a bug I think, but this change cleans up the code a bit. (This used to be commit 59b4914df3ecc97a1c629e8c7a066aed8e8d9226)
2007-10-10r24106: Pass fnum instead of buf/offset into get_rpc_pipe_pVolker Lendecke1-3/+1
(This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)
2007-10-10r23991: Some constVolker Lendecke1-1/+1
(This used to be commit 804be77e4695eb923048948dbc6e223967fdef94)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell29-58/+29
(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 Allison30-30/+30
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23758: Fix Coverity id 385Volker Lendecke1-2/+7
(This used to be commit 4d9f627cc8081307da3f84f784602533bd20c1e6)
2007-10-10r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_requestVolker Lendecke1-4/+4
that contains some of the fields from the SMB header, removing the need to access inbuf directly. This right now is used only in the open file code & friends, and creating that header is only done when needed. This needs more work, but it is a start. Jeremy, I'm only checking this into 3_0, please review before I merge it to _26. Volker (This used to be commit ca988f4e79e977160d82e86486972afd15d4acf5)
2007-10-10r23709: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 2d5e3322d6ecd00c0e936ee64483e63a3ad87c0b)
2007-10-10r23661: Another static pstringVolker Lendecke1-10/+15
(This used to be commit d4256ae5588fddc62bf90082d24140e327a54c8c)
2007-10-10r23633: Fix a couple of crash bugs pointed out by Volker caused by an oldGerald Carter1-1/+6
change from a pstring to a char* and still trying use pstrcpy(). (This used to be commit 21dc46a2bad6fee720f0f591e1051aa7675c77c8)
2007-10-10r23623: Fix rpcclient and rpc_server with new DFS idl.Günther Deschner1-12/+13
Guenther (This used to be commit bffe33dd261fdcf9ef8f9f232c15559661843c7c)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison1-3/+2
return to correctly return NT_STATUS_INVALID_OWNER if it should be disallowed. Matches better what W2K3R3 does. NFSv4 ACL module owners, please examine these changes. Jeremy. (This used to be commit fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
2007-10-10r23616: Fix bugzilla #4719: must change password is not set from usrmgr.exe.Jim McDonough2-0/+52
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-10r23591: Fix bug #4725. Don't crash when no eventlogs specified. NeedsJeremy Allison1-0/+4
merging for 3.0.25b. Jeremy. (This used to be commit ae239fec6faa79018c818506b391b829ccd685f8)
2007-10-10r23510: Tidy calls to smb_panic by removing trailing newlines. Print theJames Peach1-1/+1
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
2007-10-10r23434: Coorect a comment.Michael Adam1-1/+1
(This used to be commit c9f38fa30e9b784a56f08d0ab4765e9c7a42aa7d)
2007-10-10r23433: remove superfluous semicolon.Michael Adam1-1/+1
(This used to be commit b8269f454338c8b20b90451f3866fc193871e9af)
2007-10-10r23432: Remove superfluous comment.Michael Adam1-2/+0
(A relict from regkey_open_internal days.) Michael (This used to be commit 4025cbc2024acf36e96d7236225b439dbd3e4df0)
2007-10-10r23402: Got bitten by a talloc hierarchy. Make sure we allocJeremy Allison1-3/+3
off the pipe ctx now ->names is part of the containing struct. Jeremy. (This used to be commit 02fd43490212e9ff8f784ce4d33d64566d58fd82)
2007-10-10r23400: Fix lsa crash bug #4683. The "names" enum structJeremy Allison1-25/+10
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-10r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵Gerald Carter3-30/+165
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 Carter2-23/+287
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
2007-10-10r23248: Merge echo pipe implementation chanegs from SAMBA_3_0_26Gerald Carter1-9/+28
just to stay in sink. This was more or less just for me to play with. (This used to be commit 6c4b85cce0f947771fd9aa93451c53adb1795e3f)
2007-10-10r23183: Check in a change made by Tridge:Volker Lendecke1-2/+1
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)
2007-10-10r23171: Convert connections.tdb to dbwrapVolker Lendecke1-9/+9
(This used to be commit 80a1f43825063bbbda896175d99700ede5a4757a)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke3-6/+6
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r23015: Make message_(de)register static to messages.cVolker Lendecke1-10/+14
(This used to be commit a8082a3c7c3d1e68c27fc3bf42f3d44402cc6f9f)
2007-10-10r22975: BUG 4616: Don't return a dns or forest name when replying to theGerald Carter1-7/+7
DsDGetPrimaryRoleInfo() and configured for security = domain. (This used to be commit 55ba4a04d0efe2ae7b0d945648b2db801ff9e9f1)
2007-10-10r22954: More messaging_registerVolker Lendecke1-8/+16
(This used to be commit 9b8df24107ffe3016031e5257c5680689f061886)
2007-10-10r22911: Pass a messaging_context to message_send_allVolker Lendecke3-6/+12
(This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
2007-10-10r22895: Convert some more calls from message_send_buf to messaging_send_bufVolker Lendecke2-5/+12
(This used to be commit c8b98273406242a89a7e5d1fb5d79120ebe5822a)
2007-10-10r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke1-2/+2
replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)