summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-12-16spoolss: fill in PerMachineConnections add and delete IDL.Günther Deschner1-9/+9
Guenther
2010-12-15s3:rpc_client: let rpc_transport_tstream_init() create read and write queueStefan Metzmacher1-15/+1
metze
2010-12-15s3-waf: rework rpc_server handling a bit.Günther Deschner1-1/+18
Guenther
2010-12-07s3-waf: fix pam dependencies of the RPC_SAMR server.Günther Deschner1-0/+1
Guenther
2010-12-01s3-waf: avoid module name uppercasing.Günther Deschner1-28/+28
This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
2010-12-01s3-waf: convert RPC_LSARPC into a subsystem.Günther Deschner1-2/+7
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 00:13:58 CET 2010 on sn-devel-104
2010-11-30s3-waf: convert RPC_SAMR into a subsystem.Günther Deschner1-2/+7
Guenther
2010-11-19s3-spoolss: fix typo in debug message.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Nov 19 12:05:10 CET 2010 on sn-devel-104
2010-11-17s3-spoolss: make sure members of "BUILTIN\Print Operators" can open printersGünther Deschner1-1/+3
with admin privileges. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 17 15:05:02 UTC 2010 on sn-devel-104
2010-11-17s3-spoolss: add debug statement for access denied cases in OpenPrinterEx path.Günther Deschner1-0/+3
Guenther
2010-11-10s3-spoolss: fix spoolss GetPrinterData behaviourDavid Disseldorp1-1/+1
Windows sends spoolss GetPrinterData requests with an offered buffer size of zero, Model and TrayFormTable data is commonly requested in this way. Samba's GetPrinterData response for the above case includes the correct error code (WERR_MORE_DATA), however the type field is set to REG_NONE. This causes Windows (seen on XP and 2k3) to give up on the request. If the type field is retained (not set to REG_NONE) when responding with WERR_MORE_DATA, Windows reissues the GetPrinterData request with an increased offered buffer size. Signed-off-by: Günther Deschner <gd@samba.org>
2010-11-10Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵Jeremy Allison2-38/+74
adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy.
2010-11-10Remove fstring from map_username. Create a more sane interface than the ↵Jeremy Allison1-9/+24
called-parameter-is-modified. Jeremy.
2010-10-25s3-waf: fixed paths in s3 waf build for rpc_serverAndrew Tridgell1-14/+14
paths in waf rules are relative Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-22Revert "Wrap security_token_has_privilege() with a check for ↵Jeremy Allison5-23/+23
lp_enable_privileges(). Needed" Not needed - privileges code prevents "enable privileges = no" from adding privileges anyway. This reverts commit a8b95686a7bde3f96f141b6938e24e101567ef54. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 23:41:36 UTC 2010 on sn-devel-104
2010-10-22Wrap security_token_has_privilege() with a check for lp_enable_privileges(). ↵Jeremy Allison5-23/+23
Needed to maintain compatibility with smb.conf manpage. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 22 18:15:48 UTC 2010 on sn-devel-104
2010-10-19s3-waf: convert rpc into a subsystem.Günther Deschner1-0/+126
Guenther
2010-10-15s3-rpc_server: Normalize rpc_pipe_open_interface pipe name.Andreas Schneider1-1/+6
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Oct 15 12:15:45 UTC 2010 on sn-devel-104
2010-10-15s3-rpc_server: Make auth_serversupplied_info const.Andreas Schneider2-7/+7
2010-10-14s3-auth Use security_token_debug() from common codeAndrew Bartlett1-3/+3
This prints the security token including the privileges as strings instead of just a bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14s3 Replace is_sid_in_token() with security_token_has_sid() from common codeAndrew Bartlett1-3/+3
The two routines are identical, so there is no need to keep both. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett9-4/+9
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-11s3-spoolss: add more userlevel info validation to _spoolss_OpenPrinterEx.Günther Deschner1-0/+9
Guenther
2010-10-11s3-spoolss: let set_printer_hnd_name return WERROR.Günther Deschner1-17/+19
Guenther
2010-10-11s3-spoolss: convert open_printer_hnd to return WERROR.Günther Deschner1-11/+16
Guenther
2010-10-11s3-spoolss: fix set_printer_hnd_name() to match torture test.Günther Deschner1-9/+15
Guenther
2010-10-08s3: Implement echo_TestSleepVolker Lendecke1-1/+1
2010-10-07s3-spoolss: make it possible to have and announce a [prnproc$] share on the ↵Günther Deschner1-2/+12
printserver. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 16:09:14 UTC 2010 on sn-devel-104
2010-10-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-10-07s3-samr: fix _samr_QueryGroupMember().Günther Deschner1-2/+5
that array contains attributes, not sid types. Guenther
2010-10-05Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.Jeremy Allison1-1/+1
From pjb1008@cam.ac.uk - Service numbers start from 0. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104
2010-10-04spoolss: fill in spoolss_SetPort IDL.Günther Deschner1-3/+3
Guenther
2010-10-03s3: Remove talloc_autofree_context() from srv_samr_nt.cVolker Lendecke1-4/+2
The dispinfo structs need to survive within a process across pipe opens, but they don't have a special destructor
2010-10-02s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵Günther Deschner1-0/+13
seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther
2010-10-02s3-spoolss: Fixed print job access.Andreas Schneider1-4/+4
2010-10-02s3-spoolss: Fixed print_access_check server_info.Andreas Schneider1-2/+2
2010-10-01s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.Günther Deschner1-1/+1
Guenther
2010-10-01s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since theGünther Deschner1-3/+6
days we moved away from fstrings. Guenther
2010-10-01s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵Günther Deschner1-7/+13
seen from win7. Guenther
2010-10-01s3-spoolss: dont overwrite location change notify.Günther Deschner1-3/+3
Guenther
2010-09-30s3-spoolss: make sure to exit early and with the appropriate error code inGünther Deschner1-0/+4
_spoolss_GetPrinterDriver2. Guenther
2010-09-30s3-spoolss: Fix servername/printername handling which turns out to be very ↵Günther Deschner3-135/+183
important to get right. Guenther
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handlingGünther Deschner1-0/+5
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcessors error handlingGünther Deschner1-0/+4
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_fixed()Volker Lendecke1-1/+1
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_subsystem()Volker Lendecke1-1/+3
2010-09-23Fix bug 7694 - Crash bug with invalid SPNEGO token.Jeremy Allison1-1/+1
Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server as we indirect the first returned value OIDs[0], which is returned as NULL. Jeremy.
2010-09-23s3-dcerps: check auth_typeSimo Sorce1-0/+15
make sure the auth type used throught the auth operation is consistent. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce2-14/+3
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce2-55/+63
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>