summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2011-04-20s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner1-2/+2
Guenther
2011-04-20s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett1-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
2011-04-14s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner1-0/+9
Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-04-11s3: Wrap creating the svcctl keys in a transactionVolker Lendecke1-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
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett2-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
2011-04-05s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett6-16/+16
2011-04-05s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett2-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
2011-04-04s3-rpc_server Remove comment, yes the key is correct.Andrew Bartlett1-2/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 4 13:31:52 CEST 2011 on sn-devel-104
2011-04-04s3-auth consolidate create_local_token() into make_server_info_krb5()Andrew Bartlett2-11/+1
This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett
2011-03-31s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 31 12:50:53 CEST 2011 on sn-devel-104
2011-03-31s3-samr: make getgrgid() failure a little more visible in ↵Günther Deschner1-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
2011-03-30s3: Fix Coverity ID 2041, "UNUSED_VALUE"Günther Deschner1-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
2011-03-30s3: Fix Coverity ID 2332: MISSING_BREAKVolker Lendecke1-0/+1
2011-03-30s3-rpc_server: move access check functions out of samr server.Günther Deschner5-114/+163
Guenther
2011-03-30s3: only include lib/privileges.h where needed.Günther Deschner2-0/+2
This finally removes the global lsa.h inclusion. Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner20-0/+20
Guenther
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner4-4/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner4-0/+4
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner21-0/+21
Guenther
2011-03-30s3: rpc_server needs parts of smbd.Günther Deschner6-1/+6
Guenther
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+2
Guenther
2011-03-30s3-passdb: add passdb.h where needed.Günther Deschner5-0/+5
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner4-0/+4
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner3-0/+3
Guenther
2011-03-30s3-includes: only include system/passwd.h when needed.Günther Deschner3-0/+3
Guenther
2011-03-30s3-includes: only include system/terminal.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-winbind: remove global inclusion of libwbclient.Günther Deschner1-0/+1
Guenther
2011-03-30lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner1-0/+1
Guenther
2011-03-29s3-rpc_server: Fixed rpc_pipe_open_internal documentation.Andreas Schneider1-5/+11
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-rpc_server: Only allow embedded, daemon and external server type.Andreas Schneider1-2/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-spoolssd: Start the spoolss service correctly.Andreas Schneider1-6/+16
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-epmap: Make rpc_ep_setup_register an internal function.Andreas Schneider2-5/+29
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-27s3: Fix Coverity ID 2195: NO_EFFECTVolker Lendecke1-1/+1
level is unsigned
2011-03-27s3: Fix Coverity ID 2327: FORWARD_NULLVolker Lendecke1-0/+2
Make check_ft_info robust against an invalid type. Günther, please check!
2011-03-24s3-rpc_server: remove two uneeded include registry/reg_parse_prs.hGünther Deschner2-2/+0
Guenther
2011-03-24s3-epmapper: fix vars init and return errorsSimo Sorce1-11/+18
Properly initialize variables at each cycle. Convert to the right error when returning EPMAPPER ones. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 24 20:43:49 CET 2011 on sn-devel-104
2011-03-24s3-epmapper: Fix allocation of data on the wrong contextSimo Sorce1-1/+1
p->mem_ctx is the short-lived per request context, while this data is long lived, allocate on p instead.
2011-03-24s3-epmapper: Make sure we work on a description duplicate.Andreas Schneider1-1/+5
2011-03-24s3-epmapper: Refactor the cleanup of endpoints.Andreas Schneider1-11/+11
2011-03-24s3-epmapper: Use strcmp instead of strequal and check IPv6.Andreas Schneider1-1/+2
2011-03-24s3-epmapper: Increase debug levels.Andreas Schneider1-8/+8
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-2/+1
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-23s3-epmapper: Log error if we can't register the endpoint.Andreas Schneider1-2/+3
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104
2011-03-23s3-epmapper: Setup epm in smbd to forward np requests.Andreas Schneider1-0/+4
2011-03-23s3-epmapper: Remove unregister on shutdown.Andreas Schneider1-313/+13
This is done automatically now.
2011-03-23s3-epmd: Cleanup endpoints on service pipe disconnect.Andreas Schneider1-1/+1
2011-03-23s3-epmapper: Added function to delete endpoint entries.Andreas Schneider2-0/+54
2011-03-23s3-rpc_server: Added disconnect callback function.Andreas Schneider4-15/+43
2011-03-23s3-rpc_server: Rename req to subreq.Andreas Schneider1-14/+14