summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-07-22s3:libsmb/clifsinfo: make use of cli_state_remote_name()Stefan Metzmacher1-1/+1
metze
2011-07-22s3:libsmb/clidfs: make use of cli_state_remote_name()Stefan Metzmacher1-7/+14
metze
2011-07-22s3:libsmb/cliconnect: make use of cli_state_remote_name()Stefan Metzmacher1-7/+8
metze
2011-07-22s3:libsmb: add cli_state_remote_name()Stefan Metzmacher2-0/+6
metze
2011-07-22s3:libsmb: remove const from cli_cm_display()Stefan Metzmacher2-2/+2
metze
2011-07-22s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵Stefan Metzmacher1-6/+6
cli_state->conn.{local_ss,remote_ss} 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: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: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: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 Metzmacher4-16/+15
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:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher3-5/+5
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 Metzmacher3-48/+51
metze
2011-07-22s3:libsmb: fix compiler warnings in cli_state_create()Stefan Metzmacher1-5/+5
metze
2011-07-21s3:libsmb: replace cli_initialise[_ex]() by cli_state_create()Stefan Metzmacher3-34/+35
This makes sure cli_state->src_ss and cli_state->dest_ss are always initialized. 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 Metzmacher3-10/+24
cli_state_[g|s]et_uid() metze
2011-07-21s3:libsmb: add cli_state_encryption_on()Stefan Metzmacher3-1/+8
metze
2011-07-20s3-libsmb: introduce new NTSTATUS cli_read()Björn Baumbach2-0/+23
Replacement for cli_read_old() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach3-3/+3
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher6-13/+32
cli_state_[g|s]et_tid() metze
2011-07-20s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher3-10/+16
metze
2011-07-20s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()Stefan Metzmacher3-3/+10
This makes it clearer, why we send the pid value in the session setup. metze
2011-07-20s3:libsmb: move cli->mid to cli->smb1.midStefan Metzmacher2-3/+4
metze
2011-07-20s3:libsmb: smb_bytes_talloc_string() doesn't need a cli_stateStefan Metzmacher1-3/+3
metze
2011-07-19s3-libsmb: remove unused cli_lock()Björn Baumbach2-18/+0
Replaced with cli_lock32() Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 19 00:43:03 CEST 2011 on sn-devel-104
2011-07-14s3:clikrb5: fix the build with newer heimdal versionsStefan Metzmacher1-0/+4
krb5_get_default_in_tkt_etypes() requires a 3rd argument if KRB5_PDU_NONE is available. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 14 21:21:13 CEST 2011 on sn-devel-104
2011-07-13Fix bug 8305 - nmbd segfaults - when using "smbtree ..."Günter Kukkukk1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jul 13 16:35:16 CEST 2011 on sn-devel-104
2011-07-13s3:libsmb: remove unused cli_smb_inbuf()Stefan Metzmacher1-7/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
2011-07-12s3:libsmb: remove unused cli_oplock_handler()Stefan Metzmacher3-51/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12s3:libsmb: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher1-1/+1
metze
2011-07-12s3:libsmb: remove unused cli->privilegesStefan Metzmacher1-1/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
2011-07-11s3:libsmbclient: use cli_state_is_connected() in SMBC_check_server()Stefan Metzmacher1-4/+4
metze
2011-07-11s3:libsmbclient: don't log the lowlevel fd in smbc_free_context()Stefan Metzmacher1-2/+2
metze
2011-07-11s3:libsmb: add cli_state_disconnect()Stefan Metzmacher2-0/+8
metze
2011-07-11s3:libsmb: make use of cli_state_is_connected()Stefan Metzmacher1-13/+9
metze
2011-07-11s3:libsmb: remove unused cli_set_port()Stefan Metzmacher3-12/+0
metze
2011-07-11s3:libsmb: also remember the local socket address after connectStefan Metzmacher1-0/+8
metze
2011-07-11s3:smb2cli_base: add my copyrightStefan Metzmacher1-0/+1
metze
2011-07-11s3-libsmb: let cli_lock64 return NTSTATUS instead of boolBjörn Baumbach2-7/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104
2011-07-11s3-libsmb: introduce cli_lock32()Björn Baumbach2-0/+18
Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-10s3:smb2cli_tcon: use tevent_req_oom()Stefan Metzmacher1-1/+1
metze
2011-07-10s3: Fix Coverity ID 2587,2588: CHECKED_RETURNVolker Lendecke2-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 10 10:36:11 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: ask for the next response if there're still pending requestsStefan Metzmacher1-1/+21
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 13:55:04 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: make use of tevent_req_defer_callback()Stefan Metzmacher1-28/+64
In order to notify requests of transport layer errors, we need to defer the triggering of the callbacks, otherwise we may crash, if one of the callbacks destroys the cli_state. metze
2011-07-09s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv()Stefan Metzmacher4-27/+44
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze