summaryrefslogtreecommitdiffstats
path: root/source/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
* r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke2007-10-103-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
* r23015: Make message_(de)register static to messages.cVolker Lendecke2007-10-101-10/+14
|
* r22975: BUG 4616: Don't return a dns or forest name when replying to theGerald Carter2007-10-101-7/+7
| | | | DsDGetPrimaryRoleInfo() and configured for security = domain.
* r22954: More messaging_registerVolker Lendecke2007-10-101-8/+16
|
* r22911: Pass a messaging_context to message_send_allVolker Lendecke2007-10-103-6/+12
|
* r22895: Convert some more calls from message_send_buf to messaging_send_bufVolker Lendecke2007-10-102-5/+12
|
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-10-101-2/+2
| | | | replace all data_blob(NULL, 0) calls.
* r22786: Some cleanup by Karolin Seeger: Remove unused pdb_find_alias, and changeVolker Lendecke2007-10-101-18/+15
| | | | | | return values of some alias-releated pdb functions from BOOL to NTSTATUS Thanks :-)
* r22767: Argl. Typed in 'svn ci' in the wrong branch. Revert.Volker Lendecke2007-10-101-15/+18
|
* r22766: Merge from 3_0:Volker Lendecke2007-10-101-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>.
* r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke2007-10-103-30/+11
| | | | | | | | | connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker
* r22751: Next step for the cluster merge: sessionid.tdb should contain a 'structVolker Lendecke2007-10-101-4/+4
| | | | server_id' instead of a 'uint32 pid'
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-10-101-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
* r22675: Simo's patch for 0 size allocation. Still needJeremy Allison2007-10-101-7/+9
| | | | | to examine parse_misc.c fix. Jeremy.
* r22593: Finish doing the same for raw TALLOC.Jeremy Allison2007-10-101-109/+172
| | | | Jeremy.
* r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison2007-10-101-4/+8
| | | | Jeremy.
* r22587: Ensure TALLOC_ZERO_ARRAY is consistent.Jeremy Allison2007-10-103-30/+72
| | | | Jeremy.
* r22586: Add a modified version of Simo's patch.Jeremy Allison2007-10-101-13/+28
| | | | Jeremy.
* r22574: Fix reply when we have no dfs shares.Jeremy Allison2007-10-101-12/+27
| | | | Jeremy.
* r22573: Fix old bug mixing free() and talloc_free()Jeremy Allison2007-10-101-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.
* r22561: Fix a memleak in lanman.c: Nobody would free the session_list.Volker Lendecke2007-10-101-10/+3
| | | | Volker
* r22542: Move over to using the _strict varients of the tallocJeremy Allison2007-10-104-21/+21
| | | | | calls. No functional changes. Looks bigger than it is :-). Jeremy.
* r22505: Fix buildAlexander Bokovoy2007-10-101-1/+1
|
* r22504: Fix bug Jerry found during his tutorial. Sorry :-(Jim McDonough2007-10-101-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.
* r22126: Fix a bogus uninitialized variable warningVolker Lendecke2007-10-101-1/+1
|
* r22104: BUG 4439: Fix the object picket on x64 WIndopws XP/2003.Gerald Carter2007-10-102-32/+30
| | | | | Enable the DsRoleGetPrimaryDomainInfo() server code. Tested by Win2000/XP/2003/Vista (x86) and WinXP (x64)
* r22064: Fix the DFS code to work better with Vista clients. AllowJeremy Allison2007-10-101-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.
* r22062: Fix the parsing of info level 3. Flags is not a flagsJeremy Allison2007-10-101-2/+0
| | | | | | field, but an offset. Fixed 64-bit display of ACLs on printers. Jeremy.
* r22055: Port the endpoint mapper (and functions it requires) to Samba 3.Jelmer Vernooij2007-10-102-1/+75
|
* r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher2007-10-103-10/+10
| | | | | | and fix all compiler warnings in the users metze
* r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2007-10-105-12/+12
| | | | | | | | which matches what samba4 has. also fix all the callers to prevent compiler warnings metze
* r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-10-101-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.
* r21784: Replace smb_register_idle_event() with event_add_timed(). This fixes ↵Volker Lendecke2007-10-101-47/+32
| | | | | | | | winbind who did not run the idle events to drop ldap connections. Volker
* r21635: Don't free talloc()'d memory. I wish people would check the callersGerald Carter2007-10-101-1/+1
| | | | when changing how memory is allocated.
* r21569: Fix bug reported by Martin Zielinski <mz@seh.de>Jeremy Allison2007-10-101-1/+1
| | | | | where return value was incorrectly initialized. Jeremy.
* r21563: Fix a memleak: We only need dispinfo structs for "our" and for the ↵Volker Lendecke2007-10-101-40/+41
| | | | | | | | | builtin domain. Without this patch we leaked a DISPINFO for the (NULL) domain per samr_connect*() call. Volker
* r21551: Ok, this is more subtle. More tomorrow :-)Volker Lendecke2007-10-101-65/+37
|
* r21550: make disp_info_list static to get_samr_dispinfo_by_sid(), add a ↵Volker Lendecke2007-10-101-2/+18
| | | | comment :-)
* r21549: Only create DISP_INFO structs for domain handles, the others don't needVolker Lendecke2007-10-101-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
* r21507: Fix some "cannot access LDAP when no root" bugs.Gerald Carter2007-10-101-10/+13
| | | | | | | The two culprits were * pdb_get_account_policy() * pdb_get_group_sid()
* r21462: Fix EnumValue (?)Jelmer Vernooij2007-10-101-2/+2
|
* r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.Jelmer Vernooij2007-10-101-6/+6
|
* r21265: Fix some valgrind errors -- not in 3_0Volker Lendecke2007-10-101-6/+28
|
* r21191: Add in the POSIX open/mkdir/unlink calls.Jeremy Allison2007-10-101-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.
* r21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEXJeremy Allison2007-10-101-9/+9
| | | | | on Vista. Jeremy.
* r21129: Fix from Martin Zielinski <mz@seh.de> - ensureJeremy Allison2007-10-101-0/+10
| | | | | | the hand marshalled container size is a multiple of 4 bytes for RPC alignment. Jeremy.
* r21115: notify_internal.c needs to remove the table entry if a process has ↵Volker Lendecke2007-10-101-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
* r21100: Add the RPC hack fix to adddriver as well as adddriverex.Jeremy Allison2007-10-101-0/+9
| | | | | Thanks to Martin Zielinski <mz@seh.de>. Jeremy.
* r21099: Protect ourselves from null pointer deref. This isn'tJeremy Allison2007-10-101-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.
* r21064: The core of this patch isVolker Lendecke2007-10-101-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