summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2012-08-06s4:libcli/smb2/write correct error checkingChristian Ambach1-1/+1
Server might return STATUS_BUFFER_OVERFLOW, which is not caught by NT_STATUS_IS_ERR Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Aug 6 20:01:01 CEST 2012 on sn-devel-104
2012-08-06s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()Stefan Metzmacher1-0/+6
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 6 18:06:50 CEST 2012 on sn-devel-104
2012-08-06s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/Stefan Metzmacher1-1/+1
metze
2012-08-04s4:libcli: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher3-0/+18
metze
2012-08-02s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher3-4/+4
metze
2012-08-01libcli/smb: move some TCON related defines to smb_constants.hStefan Metzmacher1-4/+0
metze
2012-08-01s4:libcli/raw: remove unused smbcli_session->user_session_keyStefan Metzmacher3-17/+0
metze
2012-08-01s4:libcli/smb_composite: make use of smb1cli_session_set_session_key()Stefan Metzmacher1-1/+17
metze
2012-08-01s4:libcli/smb_composite: always use set_user_session_key() helperStefan Metzmacher1-2/+6
metze
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher1-0/+1
metze
2012-07-25s4:libcli/smb2: remove unused smb2_session->pidStefan Metzmacher3-4/+0
metze
2012-07-25s4:libcli/smb2: remove unused variableStefan Metzmacher1-2/+0
metze
2012-07-25libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher1-4/+0
It's a reserved field... metze
2012-07-25libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher1-4/+8
metze
2012-07-25s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher3-6/+0
metze
2012-07-24s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher3-0/+16
metze
2012-07-24libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher2-11/+22
smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104
2012-07-24s4:libcli/raw: setup a smbXcli_tcon for each smbcli_treeStefan Metzmacher3-0/+9
metze
2012-07-24s4:libcli/raw: parse extended SMBtconX responsesStefan Metzmacher2-0/+6
metze
2012-07-24s4:libcli/raw: fix SMBtconX response parsingStefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2-11/+22
smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 00:08:58 CEST 2012 on sn-devel-104
2012-07-23s4:libcli/raw: setup a smbXcli_session for each smbcli_sessionStefan Metzmacher3-1/+16
metze
2012-07-03s4-pysmb: Add deltree() method to remove directory and its contentsAmitay Isaacs1-0/+25
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
2012-06-22s4-ldap: handle VERIFY_NAME control encoding/decodingMatthieu Patou1-0/+96
2012-06-21s4-pysmb: Parse security info as an unsigned integerAmitay Isaacs1-1/+1
2012-06-20Revert "s4-libcli: Remove unused finddcs_nbt"Andrew Bartlett1-0/+311
This reverts commit 06c90cb6f55701effa4cbafaf189a4de8471949b. There is genuine interest in using this currently unused code, so put it back into the tree to avoid folks having to rewrite it. It should be carefully hooked back into libnet at some point, and possibly told how to talk to the s3 nmbd socket if nbt_server isn't running. The wscript patches are skipped, due to the way the extra dep interacted with the build system. When used, this will be resolved. Andrew Bartlett
2012-06-07s4-libcli: Remove unused finddcs_nbtAndrew Bartlett2-314/+3
This would only do the NBT getdc lookup for a single DC (but would find multiple DCs at first stage), but more particular it of course uses Netbios rather than DNS names. In any case it was also unused, as we use CLDAP for reliable DC location these days. Found by callcatcher Andrew Bartlett
2012-05-23dns: fix comments and make s4/libcli/resolve dns resolver workingAlexander Bokovoy1-1/+1
After migrating to use libaddns, reply_to_addrs() needed to change the way answers are iterated through. Originally libroken implementation gave all answers as separate records with last one being explicitly NULL. libaddns unmarshalling code gives all non-NULL answers and should be iterated with explicit reply->num_answers in use.
2012-05-23s4-resolve: Remove dependency on librokenSimo Sorce2-198/+153
Use available native samba resolver functions
2012-05-08s4:libcli:raw: fix a comment typo in smb_setfileinfo()Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
2012-05-06s4:libcli/smb2: use PROTOCOL_LATESTStefan Metzmacher1-1/+1
metze
2012-04-27libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher1-3/+0
metze
2012-04-25s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2-6/+13
This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
2012-04-18Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison3-0/+94
SMB_SET_CIFS_UNIX_INFO.
2012-04-18s4:samdb:rootdse: implement the schemaUpgradeInProgress operation in ldap modifyMichael Adam1-0/+1
This is preliminary in that it is implemented as a no-op for a start just to be able to successfully answer the request, which seems to be sufficient in order to e.g. survive the exchange schema extensions. Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 02:48:28 CEST 2012 on sn-devel-104
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