summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
* s3-epmapper: Fixed endpoint registration.Andreas Schneider2011-05-201-4/+4
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri May 20 12:03:18 CEST 2011 on sn-devel-104
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-185-52/+52
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* build: Add depenencies needed by Samba3 subsystemsAndrew Bartlett2011-05-181-2/+3
|
* s3:rpc_server: create lp_ncalrpc_dir() with 0755 before lp_ncalrpc_dir()/np ↵Stefan Metzmacher2011-05-171-0/+11
| | | | | | | | | with 0700 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 13:01:14 CEST 2011 on sn-devel-104
* Revert "s3-rpc_server: Force ncalrpc dir to be mode 755."Stefan Metzmacher2011-05-171-1/+13
| | | | This reverts commit a032c9c8fe8aff455407485169b9445860f89606.
* s3-rpc_server: Force ncalrpc dir to be mode 755.Andreas Schneider2011-05-161-13/+1
| | | | | | | | | | | | This completes aae9353ecf56323b63da66aa84d8a0a4f219d94d. directory_create_or_exist() is not needed cause create_pipe_sock() takes care of setting up the directory correctly. Andrew please check! Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon May 16 17:54:20 CEST 2011 on sn-devel-104
* s3-spoolss: Get the printer location from cups.Andreas Schneider2011-05-161-2/+33
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* rpc_server: Always use rpc_pipe_open_interface()Simo Sorce2011-05-132-28/+31
| | | | | | | | | | This way we can configure which rpc service we actually want to connect to. By default it uses an "embedded" interface and calls rpc_pipe_open_internal() Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104
* ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett2011-05-081-2/+2
| | | | | | | This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-spoolss: remove unused struct in construct_notify_printer_info().Günther Deschner2011-05-061-2/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 12:07:17 CEST 2011 on sn-devel-104
* s3: only include tdb headers where needed.Günther Deschner2011-05-062-0/+2
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-064-10/+10
|
* s3-rpc_server: run minimal_includes.pl.Günther Deschner2011-05-057-8/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-041-1/+1
|
* s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner2011-05-024-0/+36
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104
* s3-spoolss: remove another unused header.Günther Deschner2011-05-021-1/+0
| | | | Guenther
* s3: include ntdomain.h before including generated srv_ headers.Günther Deschner2011-05-0218-15/+18
| | | | Guenther
* s3-rpc_server: add pipes_struct forward declaration.Günther Deschner2011-05-022-0/+3
| | | | Guenther
* s3-smbd: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-021-1/+1
| | | | Guenther
* s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-021-2/+2
| | | | Guenther
* s3-proto: move remaining srvsvc protos to own header file.Günther Deschner2011-05-023-0/+35
| | | | Guenther
* s3-proto: move remaining spoolss protos to own header file.Günther Deschner2011-05-023-0/+42
| | | | Guenther
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-024-1/+54
| | | | Guenther
* s3-rpc_server: remove proto of nonexisting functionGünther Deschner2011-05-021-1/+1
| | | | | | (rpc_pipe_register_commands). Guenther
* s3-util: move valid_share_pathname() to lib/util.cGünther Deschner2011-05-021-34/+0
| | | | Guenther
* s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner2011-05-026-0/+45
| | | | Guenther
* s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner2011-04-293-0/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-291-1/+2
| | | | Guenther
* s3-rpc_server: remove some unneeded headers.Günther Deschner2011-04-291-4/+0
| | | | Guenther
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-292-0/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.Günther Deschner2011-04-292-0/+2
| | | | Guenther
* build: Fix kerberos build issues in top level buildAndrew Bartlett2011-04-291-1/+2
|
* s3-rpc_server Fix compile without kerberosAndrew Bartlett2011-04-271-2/+7
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 23:08:48 CEST 2011 on sn-devel-104
* auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett2011-04-271-54/+8
| | | | | | | | | | | This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
* s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner2011-04-201-2/+2
| | | | Guenther
* s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett2011-04-201-1/+1
| | | | | | | | | | | | This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
* s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner2011-04-141-0/+9
| | | | Guenther
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-131-0/+1
| | | | Guenther
* s3: Wrap creating the svcctl keys in a transactionVolker Lendecke2011-04-111-0/+28
| | | | | | | | This makes the startup of smbd in make test much quicker and thus more reliable (cherry picked from commit f1aa38b414e97d8687d0bebf65baa384f75301b4) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 11 22:09:58 CEST 2011 on sn-devel-104
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-052-19/+32
| | | | | | | | | | This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
* s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett2011-04-056-16/+16
|
* s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett2011-04-052-8/+7
| | | | | | | | | | | | | | | | | | Before a auth_serversupplied_info struct can be used for authorization, the local groups and privileges must be calculated. create_local_token() now copies the server_info, and then sets the calulated token and unix groups. Soon, it will also transform the result into an expanded struct auth_session_info. Until then, the variable name (server_info vs session_info provides a clue to the developer about what information has been entered in the structure). By moving the calls to create_local_token within the codebase, we remove duplication, and ensure that the session key (where modified) is consistently copied into the new structure. Andrew Bartlett
* s3-rpc_server Remove comment, yes the key is correct.Andrew Bartlett2011-04-041-2/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 4 13:31:52 CEST 2011 on sn-devel-104
* s3-auth consolidate create_local_token() into make_server_info_krb5()Andrew Bartlett2011-04-042-11/+1
| | | | | | | This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett
* s3: Fix a typoVolker Lendecke2011-03-311-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 31 12:50:53 CEST 2011 on sn-devel-104
* s3-samr: make getgrgid() failure a little more visible in ↵Günther Deschner2011-03-311-1/+1
| | | | | | | | | _samr_CreateDomAlias(). Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 31 01:00:42 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2041, "UNUSED_VALUE"Günther Deschner2011-03-301-4/+10
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 13:49:35 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2332: MISSING_BREAKVolker Lendecke2011-03-301-0/+1
|
* s3-rpc_server: move access check functions out of samr server.Günther Deschner2011-03-305-114/+163
| | | | Guenther