summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r22786: Some cleanup by Karolin Seeger: Remove unused pdb_find_alias, and changeVolker Lendecke1-18/+15
return values of some alias-releated pdb functions from BOOL to NTSTATUS Thanks :-) (This used to be commit 590d2164b3a33250410338771e160f6ebd1aa89d)
2007-10-10r22767: Argl. Typed in 'svn ci' in the wrong branch. Revert.Volker Lendecke1-15/+18
(This used to be commit 2c5b951eba509e826a29775db992aca474476484)
2007-10-10r22766: Merge from 3_0:Volker Lendecke1-18/+15
r22412 | obnox | 2007-04-20 14:23:36 +0200 (Fr, 20 Apr 2007) | 5 lines Add a "deletelocalgroup" subcommand to net sam. Thanks to Karolin Seeger <ks@sernet.de>. (This used to be commit fb6ac8a5b247a961963a9b6a95cd6608c5b53d09)
2007-10-10r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke3-30/+11
connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker (This used to be commit e43e94cda1ad8876b3cb5d1129080b57fa6ec214)
2007-10-10r22751: Next step for the cluster merge: sessionid.tdb should contain a 'structVolker Lendecke1-4/+4
server_id' instead of a 'uint32 pid' (This used to be commit be7bac55c37676a8137c59a22dfb2e4c4821ac21)
2007-10-10r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke1-3/+3
patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10r22675: Simo's patch for 0 size allocation. Still needJeremy Allison1-7/+9
to examine parse_misc.c fix. Jeremy. (This used to be commit 80d981265cd3bc9d73c5da3c514ec736e2dfa73a)
2007-10-10r22593: Finish doing the same for raw TALLOC.Jeremy Allison1-109/+172
Jeremy. (This used to be commit aef3c262b724d1283187e732833519c4e6fb088c)
2007-10-10r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison1-4/+8
Jeremy. (This used to be commit 8ad13718af0ba1fcb10a6f1631b1ed3cb8d11175)
2007-10-10r22587: Ensure TALLOC_ZERO_ARRAY is consistent.Jeremy Allison3-30/+72
Jeremy. (This used to be commit c3df5d08dd6a983f9d53dc6628a50e571d322e8d)
2007-10-10r22586: Add a modified version of Simo's patch.Jeremy Allison1-13/+28
Jeremy. (This used to be commit 18f47f999d28af56e205cd20d10c72ff6f0a3846)
2007-10-10r22574: Fix reply when we have no dfs shares.Jeremy Allison1-12/+27
Jeremy. (This used to be commit f95bf093f9303131618b1de8f9b783ba19644bb3)
2007-10-10r22573: Fix old bug mixing free() and talloc_free()Jeremy Allison1-1/+1
when the add_sid_to_array_XX code was moved from malloc to talloc. Found running valgrind and rpcclient. Needs merging for 3.0.25 final. Jeremy. (This used to be commit 8af56dbd00045049ea3c5022822bbaeeecbd9661)
2007-10-10r22561: Fix a memleak in lanman.c: Nobody would free the session_list.Volker Lendecke1-10/+3
Volker (This used to be commit 5d428400f77399b7fc30fb2a0fb10f0c74b96458)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison4-21/+21
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22505: Fix buildAlexander Bokovoy1-1/+1
(This used to be commit cc38ffb9a45b008ab7bbc3299610bd0dfec13aa9)
2007-10-10r22504: Fix bug Jerry found during his tutorial. Sorry :-(Jim McDonough1-1/+6
Allows authorized users (e.g. BUILTIN\Administrators members) to set attributes on an account, particularly "user cannot change password". add become_root() around updating attributes, after checking that access has been granted. (This used to be commit b1ab360519a1f67f50446ca8599e5b7aa58e7db3)
2007-10-10r22126: Fix a bogus uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 3be234effacd370dbdae11f6fcfddfe37d0623b3)
2007-10-10r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.Gerald Carter2-32/+30
Enable the DsRoleGetPrimaryDomainInfo() server code. Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64) (This used to be commit eab9ca7e7d8d7dc3e705720f8bc5dff5c8ec5f5f)
2007-10-10r22064: Fix the DFS code to work better with Vista clients. AllowJeremy Allison1-3/+3
"host msdfs = true" to be set in the [global] section and allow Vista to see shares with "msdfs root = yes" and "msdfs root = no" off the same server. Down to an error message really :-). Jeremy. (This used to be commit 1a0f69bb21fd03a18514dfc93c84568708144e28)
2007-10-10r22062: Fix the parsing of info level 3. Flags is not a flagsJeremy Allison1-2/+0
field, but an offset. Fixed 64-bit display of ACLs on printers. Jeremy. (This used to be commit 0c8949ff5d742dbe59f2af0f57a289f238e3592c)
2007-10-10r22055: Port the endpoint mapper (and functions it requires) to Samba 3.Jelmer Vernooij2-1/+75
(This used to be commit ad981261877e6a2dce0c4f4e71fd9127aa31538a)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher3-10/+10
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher5-12/+12
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison1-4/+8
works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy. (This used to be commit 7a7862c01d07796ef206b255c676ad7dc2cc42fc)
2007-10-10r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke1-47/+32
winbind who did not run the idle events to drop ldap connections. Volker (This used to be commit af3308ce5a21220ff4c510de356dbaa6cf9ff997)
2007-10-10r21635: Don't free talloc()'d memory. I wish people would check the callersGerald Carter1-1/+1
when changing how memory is allocated. (This used to be commit 78bf4042dd22bf063846c58729d5b64be3fce8a8)
2007-10-10r21569: Fix bug reported by Martin Zielinski <mz@seh.de>Jeremy Allison1-1/+1
where return value was incorrectly initialized. Jeremy. (This used to be commit 8d45f1f3b524031a34cfba21b677be8a09fc192c)
2007-10-10r21563: Fix a memleak: We only need dispinfo structs for "our" and for the ↵Volker Lendecke1-40/+41
builtin domain. Without this patch we leaked a DISPINFO for the (NULL) domain per samr_connect*() call. Volker (This used to be commit 4423880ff47a94074c625a4f4f81c3b516faa644)
2007-10-10r21551: Ok, this is more subtle. More tomorrow :-)Volker Lendecke1-65/+37
(This used to be commit f63189907efe857ef51ff91470ddb8d21b9a41fa)
2007-10-10r21550: make disp_info_list static to get_samr_dispinfo_by_sid(), add a ↵Volker Lendecke1-2/+18
comment :-) (This used to be commit fad2ee8aa3e99c31a0632a80b4a64dedb6e01495)
2007-10-10r21549: Only create DISP_INFO structs for domain handles, the others don't needVolker Lendecke1-35/+47
them. It just does not make sense to do a querydispinfo on an alias handle... This fixes a memleak: Every samr_connect*() call leaked a DISP_INFO for the (NULL) sid. More cleanup pending: Essentially, we only need the DISP_INFO cache for the get_global_sam_sid() domain. BUILTIN is fixed and small enough, and there are no other domains around where enumerations could happen. This also removes the explicit builtin_domain flags. I don't think this is worth it. If this makes a significant difference, then we have a *VERY* tuned RPC layer... Jeremy, please check this. If it's ok, we might want to merge it across. Volker (This used to be commit 0aceda68a825788895759e79de55b080ad3f971d)
2007-10-10r21507: Fix some "cannot access LDAP when no root" bugs.Gerald Carter1-10/+13
The two culprits were * pdb_get_account_policy() * pdb_get_group_sid() (This used to be commit 6a69caf6907fad01b13aa4358ce5c62506f98495)
2007-10-10r21462: Fix EnumValue (?)Jelmer Vernooij1-2/+2
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
2007-10-10r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.Jelmer Vernooij1-6/+6
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
2007-10-10r21265: Fix some valgrind errors -- not in 3_0Volker Lendecke1-6/+28
(This used to be commit b419a3407532efcd50f54c77927b3b3bb566845f)
2007-10-10r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison1-0/+2
Move more error code returns to NTSTATUS. Client test code to follow... See if this passes the build-farm before I add it into 3.0.25. Jeremy. (This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10r21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEXJeremy Allison1-9/+9
on Vista. Jeremy. (This used to be commit b16707a8615e1d00839d31e7a3061fb111336691)
2007-10-10r21129: Fix from Martin Zielinski <mz@seh.de> - ensureJeremy Allison1-0/+10
the hand marshalled container size is a multiple of 4 bytes for RPC alignment. Jeremy. (This used to be commit 0e9ad2b29f1c05dc3f5d5e9659fe0557fa077d2e)
2007-10-10r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke1-1/+1
crashed. So it needs the specific error message. Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if sending to a non-existent process. Volker (This used to be commit 3f620d181da0c356c8ffbdb5b380ccab3645a972)
2007-10-10r21100: Add the RPC hack fix to adddriver as well as adddriverex.Jeremy Allison1-0/+9
Thanks to Martin Zielinski <mz@seh.de>. Jeremy. (This used to be commit d18a3f8b72f0f4cf0aa5b599f36ce3f4125adac3)
2007-10-10r21099: Protect ourselves from null pointer deref. This isn'tJeremy Allison1-0/+6
the correct fix for the Vista bug, but it needed as protection against invalid RPC. Thanks to Martin Zielinski <mz@seh.de> for pointing this out. Jeremy. (This used to be commit fbab8e4ba93325f68353ee345a257a5445d78e67)
2007-10-10r21064: The core of this patch isVolker Lendecke1-4/+7
void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>Jeremy Allison1-0/+9
to allow Vista to upload printer drivers (it wants level 8 which we don't support yet). Downgrade in the same way that Windows servers do. Jeremy. (This used to be commit 01c659692c3e054904f1af815cf243b8a1dde109)
2007-10-10r20876: Fix bug 4346 -- Thanks to YAMASAKI HiroyukiVolker Lendecke1-1/+1
(This used to be commit a7a66eb4eb2e518007b791457694c39dfff90705)