summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2012-01-05s3-libads Factor out a new routine ↵Andrew Bartlett1-36/+10
kerberos_get_principal_from_service_hostname() This is now used in the GSE GSSAPI client, so that when we connect to a target server at the CIFS level, we use the same name to connect at the DCE/RPC level. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett2-8/+8
This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-20s3: Fix some False/NULL hickupsVolker Lendecke2-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
2011-12-15s3-libsmb: Don't duplicate kerberos service tickets.Andreas Schneider1-5/+0
This fixes bug #8628. Each time we do a client connection. Each time we call to function to get the service ticket from the cache we duplicate it. So with each connection we end up with one or three duplicated tickets. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104
2011-12-04Revert fac5c654e2fe17c2c11d150b16088e8a51f6be20Jeremy Allison1-68/+19
s3: Add a fallback for missing open&x support in OS/X Lion This is now done inside the synchronous cli_open() wrapper function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sun Dec 4 08:19:31 CET 2011 on sn-devel-104
2011-12-03Move the callers that need to use the new cli_open() back to callingJeremy Allison1-2/+2
it from cli_openx().
2011-12-03Add cli_open() back as a synchronous wrapper function the callsJeremy Allison2-0/+116
NtCreateX followed by openX() if NtCreateX is unsupported.
2011-12-03Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison3-25/+25
with a call that uses NTCreateX in preference to OpenAndX.
2011-12-02s3: Use autogenerated open_files.idlVolker Lendecke1-0/+30
2011-12-02Ensure we map our own Samba return of ERRSRV, ERRunknownsmbJeremy Allison1-0/+1
on an unknown SMB request to NT_STATUS_NOT_IMPLEMENTED.
2011-12-01After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison4-4/+20
This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
2011-11-25s3: Add some constVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
2011-11-24s3:smb2cli: zero tid in smb2cli_tdis*Stefan Metzmacher1-0/+6
metze
2011-11-24s3:smb2cli: free session in smb2cli_logoff*Stefan Metzmacher1-1/+7
metze
2011-11-24s3:libsmb: make use of cli_tree_connect()Stefan Metzmacher3-9/+11
metze
2011-11-24s3:libsmb: add cli_tree_connect() for a generic tree connectStefan Metzmacher2-0/+17
metze
2011-11-24s3:smb2cli: remove unused smb2cli_sesssetup_ntlmssp*Stefan Metzmacher2-213/+0
metze
2011-11-24s3:libsmb: add SMB2 support to cli_session_setup()Stefan Metzmacher1-20/+122
metze
2011-11-24s3:libsmb: implement cli_trans* on top of smb1cli_trans*Stefan Metzmacher1-687/+120
metze
2011-11-24s3:smb2cli: remove unused smb2cli_negprot()Stefan Metzmacher2-32/+0
metze
2011-11-24s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send()Stefan Metzmacher8-75/+15
metze
2011-11-24s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher10-1633/+243
smbXcli_conn/smbXcli_req metze
2011-11-24s3:smb2cli: add forward declaration for struct cli_stateStefan Metzmacher1-0/+1
metze
2011-11-24s3:smb2cli: make smb2cli_session_setup_send/recv non-staticStefan Metzmacher2-5/+23
metze
2011-11-24s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher9-65/+176
signing metze
2011-11-24s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()Stefan Metzmacher2-151/+15
metze
2011-11-24smbXcli: pass client_guid to smbXcli_conn_create()Stefan Metzmacher1-1/+2
metze
2011-11-24s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵Stefan Metzmacher2-780/+35
code metze
2011-11-21s3:libsmb: close fd on error in cli_connect_nb()Stefan Metzmacher1-0/+2
metze
2011-11-18s3:libsmb: verify num_setup for SMBnttrans in cli_pull_trans()Stefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 18 15:13:52 CET 2011 on sn-devel-104
2011-11-18s3:libsmb: fix compiler warning in cli_pull_trans()Stefan Metzmacher1-1/+3
metze
2011-11-18s3:libsmb: only align unicode pipe_name (bug #8586)Stefan Metzmacher1-7/+11
metze
2011-11-16s3-libsmb/passchange.c: remove some cli_nt_error() callsBjörn Baumbach1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 20:36:11 CET 2011 on sn-devel-104
2011-11-16s3-libsmb/clidfs.c: remove cli_nt_error()Björn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher1-13/+0
for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104
2011-11-16s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher1-0/+13
We should do that at creation time of cli_state. metze
2011-11-09s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326)Stefan Metzmacher1-1/+1
Otherwise we may get unexpected results. This is a fix that was missing in commit 95595dd93fd04999fcf56ecaab7c29b064d021f8 (s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
2011-11-08s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher1-4/+15
Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104
2011-11-08s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher1-4/+30
metze
2011-11-08s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher1-1/+1
metze
2011-11-07s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher1-0/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
2011-11-07s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher1-3/+7
metze
2011-11-07s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher1-0/+6
This is needed in order to verify the incoming signature correctly. metze
2011-11-07s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher1-2/+1
metze
2011-11-06s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher1-7/+7
This is not needed and in future we want to support SMBDirect, which add a different header. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 6 17:17:04 CET 2011 on sn-devel-104
2011-11-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-2/+23
W2K (at least sp4) and higher also send the server name. metze
2011-11-04s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher1-2/+5
(#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
2011-11-03nbt: trim down header dependencies of nbt.idl.Günther Deschner1-0/+1
Guenther
2011-11-03librpc: remove nbt dependency to samr.Günther Deschner1-0/+1
Guenther