summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22s3:net_rpc_join: pass const sockaddr_storage to net_rpc_join_ok()Stefan Metzmacher2-4/+6
metze
2011-07-22s3:net_util: pass const sockaddr_storage to net_make_ipc_connection_ex()Stefan Metzmacher2-2/+2
metze
2011-07-22s3:net_util: add some const to sockaddr_storageStefan Metzmacher2-16/+16
metze
2011-07-22s3:auth_domain: add some const to sockaddr_storageStefan Metzmacher1-2/+2
metze
2011-07-22s3:libsmb: only pass const sockaddr_storage to cli_full_connection()Stefan Metzmacher2-6/+2
No direct or indirect caller needs this to be set. metze
2011-07-22s3:smbcquotas: pass down NULL instead of a zero sockaddr_storageStefan Metzmacher1-4/+1
metze
2011-07-22s3:smbcacls: pass down NULL instead of a zero sockaddr_storageStefan Metzmacher1-4/+1
metze
2011-07-22s3:libsmb_server: pass NULL instead of a zero sockaddr_storageStefan Metzmacher1-3/+1
metze
2011-07-22s3:libsmb: only pass a const sockaddr_storage to cli_start_connection()Stefan Metzmacher2-6/+6
Let the caller use cli_state_remote_sockaddr() if needed. metze
2011-07-22s3:net_time: expect const sockaddr_storage in cli_servertime()Stefan Metzmacher1-2/+4
We don't want to modify the value. metze
2011-07-22s3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ssStefan Metzmacher2-8/+8
Only one caller expects this value to be set, which now calls cli_state_remote_sockaddr() to get the value. metze
2011-07-22s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()Stefan Metzmacher1-1/+1
metze
2011-07-22s3:libnet: use cli_state_remote_sockaddr() in libnet_DomainJoin()Stefan Metzmacher1-1/+1
metze
2011-07-22s3:winbindd_cm: use cli_state_[local|remote]_sockaddr()Stefan Metzmacher1-14/+4
metze
2011-07-22s3:libsmb: add cli_state_[local|remote]_sockaddr()Stefan Metzmacher2-0/+12
metze
2011-07-22s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher5-17/+16
metze
2011-07-22s3:libsmb: make use of cli_state_disconnect()Stefan Metzmacher2-14/+4
metze
2011-07-22s3:libsmb: make use of cli_state_is_connected()Stefan Metzmacher1-1/+1
metze
2011-07-22s3:torture: use cli_state_disconnect() to close the socket on SIGALRMStefan Metzmacher1-3/+3
metze
2011-07-22s3:smbtree: try to fix completely broken logic in get_workgroups()Stefan Metzmacher1-15/+23
metze
2011-07-22s3:loadparm: fix the reload of the configuration: also reload activated ↵Michael Adam1-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
2011-07-22s3:loadparm: add reload_registry_shares() - reload only those shares already ↵Michael Adam1-0/+29
loaded
2011-07-22s3:smbclient: print nt status code when smb echo failsMichael Adam1-2/+2
2011-07-22s3:smbclient: add a "tdis" command to view and change the tree id (tid).Michael Adam1-0/+25
This low level command can be used to switch between tree connects in one session.
2011-07-22s3:smbclient: add a "tdis" command to do a tree disconnect (close a ↵Michael Adam1-0/+19
connection to a share)
2011-07-22s3:smbclient: add a "tcon" command to do a tree connect (connect to a share)Michael Adam1-0/+34
2011-07-22s3:smbclient: add "logoff" command to close the sessionMichael Adam1-0/+19
2011-07-22s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher4-7/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb: move cli_state->pending to cli_state->conn.pendingStefan Metzmacher4-49/+55
metze
2011-07-22s3:libsmb: fix compiler warnings in cli_state_create()Stefan Metzmacher1-5/+5
metze
2011-07-22s4-messaging: fixed the removal of messaging sockets in child tasksAndrew Tridgell8-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
2011-07-22Fix const warning.Jeremy Allison1-2/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 22 01:58:39 CEST 2011 on sn-devel-104
2011-07-22s3-rpc_server: Do not set msg_ctx twiceSimo Sorce1-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
2011-07-21s3:winbindd_cm: remove unused checks for address familyStefan Metzmacher1-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
2011-07-21s3:libsmb: replace cli_initialise[_ex]() by cli_state_create()Stefan Metzmacher4-41/+37
This makes sure cli_state->src_ss and cli_state->dest_ss are always initialized. metze
2011-07-21s3:include: remove unused cli_state->called and cli_state->callingStefan Metzmacher1-2/+0
metze
2011-07-21s3:libsmb: don't pass cli->called.name to NTLMv2_generate_names_blob()Stefan Metzmacher1-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
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher6-32/+46
cli_state_[g|s]et_uid() metze
2011-07-21s3:libsmb: add cli_state_encryption_on()Stefan Metzmacher3-1/+8
metze
2011-07-21s3-rpc_server: Pass msg_ctx to make_base_pipes_struct().Andreas Schneider1-1/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 21 21:08:32 CEST 2011 on sn-devel-104
2011-07-21s3-rpc_server: Create common function to allocate pipes_structSimo Sorce4-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
2011-07-21s3-rpc_server: Move pipe/handles functionsSimo Sorce7-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>
2011-07-21s3-rpc_server: Fixed header define.Andreas Schneider1-3/+3
2011-07-21s3-rpc_server: Remove unused endpoint information.Andreas Schneider1-18/+1
2011-07-21s3-rpc_server: We need to copy the session_info for external pipes.Andreas Schneider1-1/+6
Andrew please check!
2011-07-21s3-rpc_server: Duplicate the pipe name.Andreas Schneider1-1/+8
2011-07-21s3-rpc_server: Free the np dir.Andreas Schneider1-0/+1
2011-07-21s3-rpc_server: Fix messaging context in the pipes struct.Andreas Schneider1-1/+4
2011-07-21s3-rpc_server: Add my copyright.Andreas Schneider1-0/+1
2011-07-21s3:loadparm: fix an implicit cast warning in string intialization in ↵Michael Adam1-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