Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ss | Stefan Metzmacher | 2011-07-22 | 2 | -8/+8 |
| | | | | | | | Only one caller expects this value to be set, which now calls cli_state_remote_sockaddr() to get the value. metze | ||||
* | s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send() | Stefan Metzmacher | 2011-07-22 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin() | Stefan Metzmacher | 2011-07-22 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:winbindd_cm: use cli_state_[local|remote]_sockaddr() | Stefan Metzmacher | 2011-07-22 | 1 | -14/+4 |
| | | | | metze | ||||
* | s3:libsmb: add cli_state_[local|remote]_sockaddr() | Stefan Metzmacher | 2011-07-22 | 2 | -0/+12 |
| | | | | metze | ||||
* | s3:libsmb: move cli_state->fd to cli_state->conn.fd | Stefan Metzmacher | 2011-07-22 | 5 | -17/+16 |
| | | | | metze | ||||
* | s3:libsmb: make use of cli_state_disconnect() | Stefan Metzmacher | 2011-07-22 | 2 | -14/+4 |
| | | | | metze | ||||
* | s3:libsmb: make use of cli_state_is_connected() | Stefan Metzmacher | 2011-07-22 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:torture: use cli_state_disconnect() to close the socket on SIGALRM | Stefan Metzmacher | 2011-07-22 | 1 | -3/+3 |
| | | | | metze | ||||
* | s3:smbtree: try to fix completely broken logic in get_workgroups() | Stefan Metzmacher | 2011-07-22 | 1 | -15/+23 |
| | | | | metze | ||||
* | s3:loadparm: fix the reload of the configuration: also reload activated ↵ | Michael Adam | 2011-07-22 | 1 | -2/+6 |
| | | | | | | | registry shares Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 22 16:53:49 CEST 2011 on sn-devel-104 | ||||
* | s3:loadparm: add reload_registry_shares() - reload only those shares already ↵ | Michael Adam | 2011-07-22 | 1 | -0/+29 |
| | | | | loaded | ||||
* | s3:smbclient: print nt status code when smb echo fails | Michael Adam | 2011-07-22 | 1 | -2/+2 |
| | |||||
* | s3:smbclient: add a "tdis" command to view and change the tree id (tid). | Michael Adam | 2011-07-22 | 1 | -0/+25 |
| | | | | | This low level command can be used to switch between tree connects in one session. | ||||
* | s3:smbclient: add a "tdis" command to do a tree disconnect (close a ↵ | Michael Adam | 2011-07-22 | 1 | -0/+19 |
| | | | | connection to a share) | ||||
* | s3:smbclient: add a "tcon" command to do a tree connect (connect to a share) | Michael Adam | 2011-07-22 | 1 | -0/+34 |
| | |||||
* | s3:smbclient: add "logoff" command to close the session | Michael Adam | 2011-07-22 | 1 | -0/+19 |
| | |||||
* | s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoing | Stefan Metzmacher | 2011-07-22 | 4 | -7/+6 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104 | ||||
* | s3:libsmb: move cli_state->pending to cli_state->conn.pending | Stefan Metzmacher | 2011-07-22 | 4 | -49/+55 |
| | | | | metze | ||||
* | s3:libsmb: fix compiler warnings in cli_state_create() | Stefan Metzmacher | 2011-07-22 | 1 | -5/+5 |
| | | | | metze | ||||
* | s4-messaging: fixed the removal of messaging sockets in child tasks | Andrew Tridgell | 2011-07-22 | 8 | -29/+41 |
| | | | | | | | | | | | | | | when a child task exits we were firing a destructor on any inherited messaging contexts, which could trigger a removal of the parents message socket and messaging database entry. This adds a new auto_remove flag to imessaging_init(), and exposes the cleanup code for use by the stream service. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 22 08:09:06 CEST 2011 on sn-devel-104 | ||||
* | Fix const warning. | Jeremy Allison | 2011-07-22 | 1 | -2/+5 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 22 01:58:39 CEST 2011 on sn-devel-104 | ||||
* | s3-rpc_server: Do not set msg_ctx twice | Simo Sorce | 2011-07-22 | 1 | -1/+0 |
| | | | | | | | | msg_ctx was already passed to make_base_pipes_struct, no need to set it again. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Fri Jul 22 00:47:28 CEST 2011 on sn-devel-104 | ||||
* | s3:winbindd_cm: remove unused checks for address family | Stefan Metzmacher | 2011-07-21 | 1 | -37/+0 |
| | | | | | | | | | | If we got a connection, we don't need to check what address family it uses. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 21 23:33:48 CEST 2011 on sn-devel-104 | ||||
* | s3:libsmb: replace cli_initialise[_ex]() by cli_state_create() | Stefan Metzmacher | 2011-07-21 | 4 | -41/+37 |
| | | | | | | | This makes sure cli_state->src_ss and cli_state->dest_ss are always initialized. metze | ||||
* | s3:include: remove unused cli_state->called and cli_state->calling | Stefan Metzmacher | 2011-07-21 | 1 | -2/+0 |
| | | | | metze | ||||
* | s3:libsmb: don't pass cli->called.name to NTLMv2_generate_names_blob() | Stefan Metzmacher | 2011-07-21 | 1 | -3/+3 |
| | | | | | | | | | cli->called.name is never initialized, so this change doesn't change the behavior. And this behavior seems to be correct, see commit 29c0c37691da10bf061ba90a5b31482bda2fa486 s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego. metze | ||||
* | s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵ | Stefan Metzmacher | 2011-07-21 | 6 | -32/+46 |
| | | | | | | cli_state_[g|s]et_uid() metze | ||||
* | s3:libsmb: add cli_state_encryption_on() | Stefan Metzmacher | 2011-07-21 | 3 | -1/+8 |
| | | | | metze | ||||
* | s3-rpc_server: Pass msg_ctx to make_base_pipes_struct(). | Andreas Schneider | 2011-07-21 | 1 | -1/+1 |
| | | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 21 21:08:32 CEST 2011 on sn-devel-104 | ||||
* | s3-rpc_server: Create common function to allocate pipes_struct | Simo Sorce | 2011-07-21 | 4 | -68/+76 |
| | | | | | | | | | | Avoid code duplication and fix bug where a new pipe was not added to InternalPipes upon creation in make_server_pipes_struct() Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 21 19:50:02 CEST 2011 on sn-devel-104 | ||||
* | s3-rpc_server: Move pipe/handles functions | Simo Sorce | 2011-07-21 | 7 | -281/+282 |
| | | | | | | | | | | | | Put InternalPipes related functions in rpc_handles.c and out of rpc_ncacn_np.c rpc_handles.c is the only file that really uses them after all and ncacn_np.c is the wrong place for that stuff. While ther remove unnecessary wrapper functions now that the InternalPipes static variable is directly accessible. Also move all pipes_struct related header stuff in its own rpc_pipes.h header. Signed-off-by: Andreas Schneider <asn@samba.org> | ||||
* | s3-rpc_server: Fixed header define. | Andreas Schneider | 2011-07-21 | 1 | -3/+3 |
| | |||||
* | s3-rpc_server: Remove unused endpoint information. | Andreas Schneider | 2011-07-21 | 1 | -18/+1 |
| | |||||
* | s3-rpc_server: We need to copy the session_info for external pipes. | Andreas Schneider | 2011-07-21 | 1 | -1/+6 |
| | | | | Andrew please check! | ||||
* | s3-rpc_server: Duplicate the pipe name. | Andreas Schneider | 2011-07-21 | 1 | -1/+8 |
| | |||||
* | s3-rpc_server: Free the np dir. | Andreas Schneider | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3-rpc_server: Fix messaging context in the pipes struct. | Andreas Schneider | 2011-07-21 | 1 | -1/+4 |
| | |||||
* | s3-rpc_server: Add my copyright. | Andreas Schneider | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: fix an implicit cast warning in string intialization in ↵ | Michael Adam | 2011-07-21 | 1 | -1/+1 |
| | | | | | | | init_globals() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jul 21 18:39:15 CEST 2011 on sn-devel-104 | ||||
* | s3:loadparm: add support for P_BYTES to lp_do_parameter() - fix a build warning | Michael Adam | 2011-07-21 | 1 | -0/+15 |
| | | | | (taken from s4 loadparm) | ||||
* | s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_CMDLIST to lp_save_defaults() - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_BYTES to lp_save_defaults - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_CMDLIST to is_default() - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_BYTES to is_default() - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_CMDLIST to print_parameter - fix build warning. | Michael Adam | 2011-07-21 | 1 | -4/+14 |
| | |||||
* | s3:loadparm: add support for P_BYTES to print_parameter() - fix build warning. | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add support for P_CMDLIST to equal_parameter() - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warning | Michael Adam | 2011-07-21 | 1 | -0/+1 |
| |