summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2011-03-08s3-rpc_server: Fixed the accept() for tcpip_listener.Andreas Schneider1-9/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed the accept() for named_pipe_listener.Andreas Schneider1-7/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register NCALRPC pipes.Andreas Schneider1-163/+500
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Create the ncalrpc endpoints.Andreas Schneider1-63/+220
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider2-1/+39
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Improved the dcerpc_ncacn_accept switch.Andreas Schneider1-29/+38
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Remove unneeded ncacn wrappers.Andreas Schneider1-85/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed ncalrpc connection accept.Andreas Schneider1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Only allow epm insert and delete on NCALRPC.Andreas Schneider1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider2-1/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Start the Endpoint Mapper Dameon if enabled.Andreas Schneider1-6/+9
Endpoint Mapper is still disabled by default! Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Created an Endpoint Mapper Daemon.Andreas Schneider1-0/+279
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added prototype to setup a ncalrpc socket.Andreas Schneider2-1/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-epmap: add ncalrpc listener codeSimo Sorce1-0/+126
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08sr-epmap: Minor cleanups and fixesSimo Sorce1-33/+30
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-epmap: Return the correct ip address.Andreas Schneider1-0/+10
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added server address to pipes struct.Andreas Schneider1-7/+34
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Set client and server connection info.Andreas Schneider1-1/+49
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added tcpip listener for each rpc service.Andreas Schneider1-9/+101
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Added tcpip support for dcerpc_binding_vector_create.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-04s3: add two missing vfs disconnect callsDavid Disseldorp1-0/+2
The fix for bug 7976 added a vfs connect call to create_conn_struct. This change adds two further disconnect calls that were missed by the original change. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Mar 4 16:33:53 CET 2011 on sn-devel-104
2011-03-03s3: Use dom_sid_string in _lsa_lookup_sids_internalVolker Lendecke1-4/+1
2011-03-02s3-sessionid: avoid global include of sessionid.hGünther Deschner2-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
2011-03-02s3-server_id: only include server_id where needed.Günther Deschner1-0/+1
Guenther
2011-03-02s3-printing: vfs_connect prior to driver/dfs IODavid Disseldorp1-0/+2
samba3.posix_s3.rpc.spoolss.driver fails with the xattr_tdb vfs module loaded as a part of make test. The (now checked) create_directory() call in move_driver_to_download_area() fails, uncovering another bug in the printer driver upload code path. move_driver_to_download_area() creates a new conn_struct for manipulating files in [print$]. The VFS layer is plumbed through with the call to create_conn_struct(), however SMB_VFS_CONNECT() is never called. Many vfs modules expect state stored at connect time with SMB_VFS_HANDLE_SET_DATA() to be available on any IO operation and fail if this is not the case. This fix adds a call to SMB_VFS_CONNECT() in create_conn_struct() prior to IO. https://bugzilla.samba.org/show_bug.cgi?id=7976 Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 2 01:16:30 CET 2011 on sn-devel-104
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp1-2/+2
WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
2011-03-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett1-1/+1
2011-03-01s3-rpc_server Handle session key as a constant bufferAndrew Bartlett1-28/+4
This way, we don't have to check for memory allocation failures. Andrew Bartlett
2011-02-28Fix some typesJelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2-0/+2
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-1/+1
All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-22s3-includes: move some chgpasswd related defines to the locations where they ↵Günther Deschner1-0/+6
are used. Guenther
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-0/+1
Guenther
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher1-2/+2
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett25-486/+486
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-22s3-rpc_server: Let enpoint mapper listen on port 135.Andreas Schneider1-1/+88
*** This is my commit #500 *** Endpoint Mapper is disabled by default. The next steps are to setup a tcpip and ncalrpc listener for each service and register it at epm. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Feb 22 00:07:45 CET 2011 on sn-devel-104
2011-02-21s3-rpc_server: Added event and msg ctx to _rpc_ep_register.Andreas Schneider1-17/+82
2011-02-21s3-rpc_server: Added port option to _rpc_ep_register.Andreas Schneider1-15/+42
2011-02-21s3-rpc_server: Added function to setup tcpip listener!Andreas Schneider2-0/+578
2011-02-21s3-rpc_server: Rename srv_rpc_register.c.Andreas Schneider3-2/+2
2011-02-21s3-rpc_server: Rename srv_rpc_register.Andreas Schneider2-4/+4
2011-02-21s3-rpc_server: Pass tevent_context to dcerpc endpoints.Andreas Schneider2-25/+43
2011-02-21s3-rpc_server: Create a common ncacn listen state.Andreas Schneider1-9/+12
2011-02-21s3-rpc_server: Rename named_pipe_read_packet().Andreas Schneider1-16/+16
This is not named pipe specific.
2011-02-21s3-lsa: fix some uninitialized variables in our lsa server.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 21 18:47:30 CET 2011 on sn-devel-104
2011-02-19s3: Add "len" to pdb_set_hoursVolker Lendecke1-1/+3
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell1-22/+22
this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17s3-lsa: support trust objects in _lsa_QuerySecurity().Günther Deschner1-0/+1
Guenther
2011-02-17s3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.Günther Deschner1-6/+4
Guenther
2011-02-17s3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted ↵Günther Deschner1-0/+9
domain support. Guenther