summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-08-03s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_updateAndrew Bartlett2-3/+11
This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp NTLMSSP sealing implies signing, so set both flagsAndrew Bartlett1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp Add hooks to optionally call into GENSEC in auth_ntlmsspAndrew Bartlett1-1/+52
This allows the current behaviour of the NTLMSSP code to be unchanged while adding a way to hook in an alternate implementation via an auth module. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key()Andrew Bartlett1-2/+2
2011-08-03s3-ntlmssp Use auth_ntlmssp_*() functions in more placesAndrew Bartlett4-24/+26
This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp Remove unused auth_ntlmssp_get_domain()Andrew Bartlett1-6/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3-ntlmssp Remove unused auth_ntlmssp_get_clientAndrew Bartlett1-5/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03s3:libsmb/clifile: make use of cli_set_timeout()Stefan Metzmacher1-12/+22
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 3 10:16:18 CEST 2011 on sn-devel-104
2011-08-03s3:cli_np_tstream: make use of cli_set_timeout()Stefan Metzmacher1-1/+2
metze
2011-08-03s3:libsmb/clidfs: make use of cli_state_encryption_on()Stefan Metzmacher1-2/+2
metze
2011-08-02s3:libsmb/libsmb_server: make use of cli_set_timeout()Stefan Metzmacher1-1/+1
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher4-14/+14
metze
2011-08-02s3:libsmb: add cli_state_protocol()Stefan Metzmacher2-0/+6
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher6-18/+18
metze
2011-08-02s3:libsmb/libsmb_*: make use of cli_state_capabilities()Stefan Metzmacher3-3/+3
metze
2011-08-02s3:libsmb: add cli_state_capabilities()Stefan Metzmacher2-0/+6
metze
2011-08-02s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on errorStefan Metzmacher1-1/+1
metze
2011-08-02Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share ↵Alban Browaeys1-1/+2
via an uri Fix null deref. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 2 02:58:26 CEST 2011 on sn-devel-104
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