summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2012-04-16s4:libcli/smb2: fix anonymous session setups against windows serversStefan Metzmacher2-1/+16
Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 14:44:46 CEST 2012 on sn-devel-104
2012-04-16s4:libcli/smb2: remove unused dependency to LIBPACKETStefan Metzmacher2-2/+1
metze
2012-04-02Fix some of the issues that Jelmer identified in my first patch. This might beRichard Sharpe1-16/+12
changed again, especially when I figure out how to return the file as an object. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 2 01:43:44 CEST 2012 on sn-devel-104
2012-04-01Add an open and close method to samba.smb.SMB so we can open and close files.Richard Sharpe1-10/+86
Also, fix up some documentation. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sun Apr 1 16:29:52 CEST 2012 on sn-devel-104
2012-03-26Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵Richard Sharpe1-8/+23
both get_acl and set_acl to allow the caller to specify what info is wanted. Defaults to 0 which means all info. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Mar 26 04:05:25 CEST 2012 on sn-devel-104
2012-03-25LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij1-1/+1
The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
2012-03-15libsmbclient-raw: Install smb_composite.h.Jelmer Vernooij2-2/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
2012-03-07s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauthGregor Beck1-0/+12
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-07s4-libcli: pysmb: Fix typo in secinfo_flagsAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 10:56:09 CET 2012 on sn-devel-104
2012-03-03s4:libcli:smb2: set SMB2_CAP_ALL in the negprotMichael Adam1-1/+5
2012-03-03s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam2-0/+2
2012-03-03smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2-2/+4
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-03s4:libcli:smb2: allow max protocol 0x0224Michael Adam1-1/+1
2012-03-03s4:libcli:smb2: add support for parsing the durable handle v2 response in ↵Michael Adam1-0/+19
smb2_create_recv()
2012-03-03s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_sendMichael Adam1-0/+27
2012-03-03s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_sendMichael Adam1-0/+28
2012-03-03s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structureMichael Adam1-0/+13
2012-02-28s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a ↵Michael Adam1-12/+36
previous_session argument
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_connect_send()Michael Adam1-1/+5
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam2-9/+16
So that we can do a session reconnect.
2012-02-28s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam1-2/+2
We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
2012-02-27s4:libcli/smb2: remove unused 'session_key' from struct smb2_sessionStefan Metzmacher2-4/+5
metze
2012-02-27libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher1-3/+3
signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze
2012-02-23s4:smbcli:smb2: add a random GUID to the transport connection in ↵Michael Adam1-1/+5
smb2_transport_init() This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202. According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the SMB2 negotiate request must be filled with a (non-zero) GUID if there are other dialects than 0x0202 in the dialects field. http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx Apart from corresponding to the docs, this change makes some of our durable-open tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8 preview (which might be still buggy). Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104
2012-02-03s4:libcli:smb2: don't allocate the smb2_tree struct earlier than necessary ↵Michael Adam1-5/+5
in smb2_connect() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam2-6/+6
instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2011-12-23s4:libcli/finddcs_nbt.c - free "req" consistently with "finddcs_cldap.c"Matthias Dieter Wallnöfer1-2/+4
It is more obvious to free where the context for the first time appears. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-16s4:libcli/rap: the caller should get talloc children from ↵Stefan Metzmacher2-1/+6
call->ndr_pull_{param,data} This should fix the flakey 'rap.printing.rap_printq_getinfo' test, see https://git.samba.org/autobuild.flakey/2011-12-16-0022/samba4.stdout metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 13:11:42 CET 2011 on sn-devel-104
2011-12-16s4:libcli/rap: call->ndr_push_{param,data} can be talloc childs of 'call'Stefan Metzmacher1-2/+2
metze
2011-12-16s4:libcli/rap: use talloc_zero() and initialize everythingStefan Metzmacher1-8/+3
metze
2011-12-16s4:libcli/rap: remove unused members from struct rap_callStefan Metzmacher1-3/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 16 10:53:42 CET 2011 on sn-devel-104
2011-12-16s4:libcli/rap: initialize call->rcv_datalenStefan Metzmacher1-0/+1
metze
2011-12-14s4-resolv: fix dns_ex so as to fail correctly when a name does not existAndrew Bartlett1-0/+9
Without this, netbios name lookups do not work, as we never fall back to them. This caused segfaults from e38d97e0424f7e5b21c8b7ac0b1f1bac33f19d69 to 251209bd6f6e66ca9bcf28cd652d85d1cd729fdc and then name lookup failure or timeouts until this patch. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 14 01:16:37 CET 2011 on sn-devel-104
2011-12-09s4:libcli/smb2: mark a request as error if we can't ship itStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104
2011-12-09s4:libcli/raw: mark a request as error if we can't ship itStefan Metzmacher1-0/+2
metze
2011-12-05s4-resolver: do not use all the A and AAAA records, those after a NS are not ↵Matthieu Patou1-0/+16
the one we want to use
2011-11-30s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher15-1787/+968
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
2011-11-30s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher4-147/+108
metze
2011-11-30s4:libcli/raw: remove unused functionsStefan Metzmacher2-76/+0
metze
2011-11-30s4:libcli: use smbcli_sock_connect() in smbcli_socket_connect()Stefan Metzmacher1-5/+11
metze
2011-11-30s4:libcli: move smbcli_transport_establish() logic into smbcli_socket_connect()Stefan Metzmacher2-22/+14
metze
2011-11-30s4:libcli: convert smbcli_transport_connect_* to tevent_reqStefan Metzmacher3-92/+240
metze
2011-11-29s4:libcli/raw: copy smbcli_transport_connect_* to clisocket.cStefan Metzmacher2-124/+123
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 17:34:52 CET 2011 on sn-devel-104
2011-11-29s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctxStefan Metzmacher8-6/+9
We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze
2011-11-29s4:libcli/smb2: make sure only one idle event runs at a timeStefan Metzmacher2-9/+17
metze
2011-11-26s4:libcli/finddcs_cldap.c - let "finddcs_cldap" work either with the IP ↵Matthias Dieter Wallnöfer1-14/+27
address or the domain name This will be useful for a new "samba-tool domain info" command. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-24s4:libcli/smb2: use talloc_zero() in smb2_request_init()Stefan Metzmacher1-16/+3
metze
2011-11-24s4:libcli/smb2: fix compiler warning in smb2_push_o16s16_string()Stefan Metzmacher1-1/+3
metze
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher12-867/+426
metze
2011-11-10s4:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher1-1/+2
metze