summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-07-30Added missing return. Not strictly neccessary, the following if ↵Jeremy Allison1-0/+1
(!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but it looks strange to do it that way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104
2011-07-29s3: Add a fallback for missing open&x support in OS/X LionVolker Lendecke1-19/+68
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104
2011-07-28s3:libsmb: use lp_load_client() and lp_load_client_no_reinit() in libsmb_contextMichael Adam1-5/+3
2011-07-28s3:libsmb: fix a call to lp_load to reinit the globals in any caseMichael Adam1-1/+1
The potential previous lp_load of $HOME/.smb/smb.conf might have failed halfway through and might have left globals initialized in an unwanted state. So we should make sure to clean up before loading the dyn_CONFIGFILE()
2011-07-27Fix bug #8324 - smbclient cannot list directories from a big-endian machine.Jeremy Allison1-2/+2
Two uses of the setup array are not being correctly byte-swapped to little endian. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jul 27 03:14:48 CEST 2011 on sn-devel-104
2011-07-27s3: Fix async smb handlingVolker Lendecke1-9/+21
In cli_echo with more than one response we ended up with more than one read_smb request. One from the call to cli_smb_req_set_pending called from cli_smb_received. The other one from cli_smb_received itself. I don't really see another way to deal with this than to hold the read_smb request in the cli_state. Metze, please check! Volker
2011-07-24s3: Fix Coverity ID 2596, REVERSE_INULLVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 24 16:37:19 CEST 2011 on sn-devel-104
2011-07-23s3:libsmb: cli_set_secdesc() only needs a const struct security_descriptorStefan Metzmacher2-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 23 11:08:19 CEST 2011 on sn-devel-104
2011-07-23s3:libsmb: remove unused cli_query_secdesc_old()Stefan Metzmacher2-50/+0
metze
2011-07-23s3:libsmb_xattr: make use of the new cli_query_secdesc()Stefan Metzmacher1-13/+13
metze
2011-07-23s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUSBjörn Baumbach2-0/+52
Replacement for cli_query_secdesc_old() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach3-4/+4
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: finally remove cli_read_old()Björn Baumbach2-16/+0
Replaced by new cli_read() which returns NTSTATUS instead of ssize_t. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb/libsmb_file.c: replace cli_read_old() with cli_read()Björn Baumbach1-5/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3:libsmb: move cli_state->desthost to cli_state->conn.remote_nameStefan Metzmacher2-5/+5
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb_server: make use of cli_state_remote_name()Stefan Metzmacher1-3/+6
metze
2011-07-22s3:libsmb/libsmb_dir: make use of cli_state_remote_name()Stefan Metzmacher1-2/+2
metze
2011-07-22s3:libsmb/clirap2: make use of cli_state_remote_name()Stefan Metzmacher1-4/+5
metze
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