Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-31 | s3-smbd provide struct smbd_server_connection * to conn_snum_used | Andrew Bartlett | 1 | -1/+1 | |
This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett | |||||
2011-05-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -3/+3 | |
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | |||||
2011-05-13 | rpc_server: Always use rpc_pipe_open_interface() | Simo Sorce | 1 | -8/+8 | |
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 | |||||
2011-05-05 | More simple const fixes. | Jeremy Allison | 1 | -4/+4 | |
2011-04-29 | s3-proto: remove duplicate prototypes. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-04-29 | s3-build: remove some unused headers. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2011-04-13 | s3-rpc_client: add and use rpc_client/rpc_client.h. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3: Fix Coverity ID 2236: REVERSE_INULL | Volker Lendecke | 1 | -3/+1 | |
We have already dereferenced "b", and the other calls in this loop can only have worked with a valid handle | |||||
2011-03-30 | s3-auth: smbd needs auth.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3: include smbd/smbd.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-passdb: use passdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-17 | s3: Expose num_opens via api_RNetSessionEnum | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104 | |||||
2011-03-16 | s3: Fix Coverity ID 2140, DEADCODE | Volker Lendecke | 1 | -1/+1 | |
This routine was never executed after f0dcc90f because "netname" was always NULL. Jeremy, please check! | |||||
2011-03-02 | s3-lanman: talk to srvsvc dcerpc server in api_RNetSessionEnum(). | Günther Deschner | 1 | -10/+63 | |
Guenther | |||||
2011-02-22 | s3-printing: only include printing where really needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-22 | s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info | Andrew Bartlett | 1 | -37/+37 | |
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-01 | s3-lanman: prefer dcerpc_samr_X functions. | Günther Deschner | 1 | -83/+237 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 1 16:45:10 CET 2011 on sn-devel-104 | |||||
2011-01-21 | s3-lanman: remove trailing whitespace. | Günther Deschner | 1 | -30/+30 | |
Guenther | |||||
2011-01-21 | s3:smbd: use dcerpc_spoolss_X() functions | Stefan Metzmacher | 1 | -28/+44 | |
metze Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-01-13 | s3-lanman: prefer dcerpc_srvsvc_X functions. | Günther Deschner | 1 | -3/+9 | |
Guenther Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-11-10 | Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when ↵ | Jeremy Allison | 1 | -3/+4 | |
adding new share via MMC Change the find_service() interface to not depend on fstring, and create a useable talloc-based interface. Jeremy. | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
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-09-15 | s3-rpc_server: Moved ncacn_np declarations in common header file. | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-15 | s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface. | Simo Sorce | 1 | -9/+54 | |
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process. | |||||
2010-08-25 | s3-lsa: separate out init_lsa headers. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-18 | s3: Add "client_id" to pipes_struct | Volker Lendecke | 1 | -3/+11 | |
2010-08-08 | s3: Lift the smbd_messaging_context from rpc_pipe_open_internal | Volker Lendecke | 1 | -3/+8 | |
2010-07-08 | s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR. | Günther Deschner | 1 | -8/+8 | |
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther | |||||
2010-06-28 | s3-lanman: Make sure count is not used uninitialized if we jump to out. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-28 | s3-lanman: Make sure that job_info is not undefined. | Andreas Schneider | 1 | -1/+1 | |
Found by clang-analyzer. | |||||
2010-06-16 | s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo(). | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2010-06-12 | s3: Explicitly pass sconn to the api_ functions | Volker Lendecke | 1 | -41/+77 | |
2010-05-28 | s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation. | Günther Deschner | 1 | -16/+16 | |
54 + 4 = 58 (and not 60). Found by torture test. Guenther | |||||
2010-05-28 | s3:auth use info3 in auth_serversupplied_info | Simo Sorce | 1 | -4/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-27 | s3: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
2010-05-27 | s3-lanman: use samr for api_RNetUserGetInfo. | Günther Deschner | 1 | -27/+130 | |
Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther | |||||
2010-05-26 | s3-lanman: remove defines now provided by IDL. | Günther Deschner | 1 | -10/+0 | |
Guenther | |||||
2010-05-26 | s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword(). | Günther Deschner | 1 | -3/+25 | |
Guenther | |||||
2010-05-26 | s3-lanman: use samr for api_SetUserPassword(). | Günther Deschner | 1 | -38/+123 | |
Guenther | |||||
2010-05-26 | s3-lanman: Migrated to rpc_connect_spoolss_pipe(). | Simo Sorce | 1 | -28/+9 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-20 | s3-lanman: Fix various RAP printing calls according to win98 testing and ↵ | Günther Deschner | 1 | -10/+10 | |
MS-RAP docs. Guenther | |||||
2010-05-18 | s3-rpc_client: move protos to init_spoolss.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-18 | s3-rpc_client: move protos to cli_spoolss.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-12 | s3-lanman: use samr for api_SamOEMChangePassword(). | Günther Deschner | 1 | -9/+49 | |
Guenther | |||||
2010-05-09 | s3-lanman: use srvsvc for api_RNetServerGetInfo(). | Günther Deschner | 1 | -45/+47 | |
Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther | |||||
2010-05-09 | s3-spoolss: Make spoolss_Time_to_time_t public. | Simo Sorce | 1 | -15/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-05 | s3-lanman: use srvsvc for api_RNetShareAdd(). | Günther Deschner | 1 | -34/+42 | |
Guenther | |||||
2010-05-03 | s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵ | Günther Deschner | 1 | -8/+8 | |
connection. Guenther | |||||
2010-05-03 | s3-lanman: fix api_DosPrintQEnum(). | Günther Deschner | 1 | -1/+7 | |
This was a subtile bug where the OpenPrinter call (called directly via dispatcher table) was modifiying r->in.printername in a way that all printers on a server had the printername stripped off the server unc. Once we switch to full NDR marshalling in inter RAP<->RPC server communication there is no danger anymore to have these kind of nasty effects. Guenther | |||||
2010-05-03 | s3-lanman: exit early for unsupported levels in api_PrintJobInfo(). | Günther Deschner | 1 | -17/+17 | |
Guenther |