summaryrefslogtreecommitdiff
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb - always fail if a search filter could not be parsedMatthias Dieter Wallnöfer2012-08-221-1/+5
| | | | | | A NULL string/expression returns the generic "(objectClass=*)" filter Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libcli/smb2: reset trsnport->compound.related when a compound chain is ↵Stefan Metzmacher2012-08-171-0/+1
| | | | | | finished metze
* build: rename security → samba-securityBjörn Jacke2012-08-101-3/+3
| | | | | | | | | there is a libsecurity on OSF1 which clasheѕ with our security lib. see bug #9023. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Aug 10 14:22:21 CEST 2012 on sn-devel-104
* s4:libcli/smb2/write correct error checkingChristian Ambach2012-08-061-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
* s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()Stefan Metzmacher2012-08-061-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
* s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/Stefan Metzmacher2012-08-061-1/+1
| | | | metze
* s4:libcli: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher2012-08-043-0/+18
| | | | metze
* s4:libcli: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher2012-08-023-4/+4
| | | | metze
* libcli/smb: move some TCON related defines to smb_constants.hStefan Metzmacher2012-08-011-4/+0
| | | | metze
* s4:libcli/raw: remove unused smbcli_session->user_session_keyStefan Metzmacher2012-08-013-17/+0
| | | | metze
* s4:libcli/smb_composite: make use of smb1cli_session_set_session_key()Stefan Metzmacher2012-08-011-1/+17
| | | | metze
* s4:libcli/smb_composite: always use set_user_session_key() helperStefan Metzmacher2012-08-011-2/+6
| | | | metze
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-0/+1
| | | | metze
* s4:libcli/smb2: remove unused smb2_session->pidStefan Metzmacher2012-07-253-4/+0
| | | | metze
* s4:libcli/smb2: remove unused variableStefan Metzmacher2012-07-251-2/+0
| | | | metze
* libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher2012-07-251-4/+0
| | | | | | It's a reserved field... metze
* libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher2012-07-251-4/+8
| | | | metze
* s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher2012-07-253-6/+0
| | | | metze
* s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher2012-07-243-0/+16
| | | | metze
* libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-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
* s4:libcli/raw: setup a smbXcli_tcon for each smbcli_treeStefan Metzmacher2012-07-243-0/+9
| | | | metze
* s4:libcli/raw: parse extended SMBtconX responsesStefan Metzmacher2012-07-242-0/+6
| | | | metze
* s4:libcli/raw: fix SMBtconX response parsingStefan Metzmacher2012-07-241-2/+2
| | | | metze
* libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-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
* s4:libcli/raw: setup a smbXcli_session for each smbcli_sessionStefan Metzmacher2012-07-233-1/+16
| | | | metze
* s4-pysmb: Add deltree() method to remove directory and its contentsAmitay Isaacs2012-07-031-0/+25
| | | | Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
* s4-ldap: handle VERIFY_NAME control encoding/decodingMatthieu Patou2012-06-221-0/+96
|
* s4-pysmb: Parse security info as an unsigned integerAmitay Isaacs2012-06-211-1/+1
|
* Revert "s4-libcli: Remove unused finddcs_nbt"Andrew Bartlett2012-06-201-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
* s4-libcli: Remove unused finddcs_nbtAndrew Bartlett2012-06-072-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
* dns: fix comments and make s4/libcli/resolve dns resolver workingAlexander Bokovoy2012-05-231-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.
* s4-resolve: Remove dependency on librokenSimo Sorce2012-05-232-198/+153
| | | | Use available native samba resolver functions
* s4:libcli:raw: fix a comment typo in smb_setfileinfo()Michael Adam2012-05-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 8 20:45:16 CEST 2012 on sn-devel-104
* s4:libcli/smb2: use PROTOCOL_LATESTStefan Metzmacher2012-05-061-1/+1
| | | | metze
* libcli/smb: move SMB2_IOCTL_FLAG_IS_FSCTL to smb2_constants.hStefan Metzmacher2012-04-271-3/+0
| | | | metze
* s4-torture: enable raw.composite test again, and convert to new style testAndrew Bartlett2012-04-252-6/+13
| | | | | | This test has been skipped for some time, but is an important test for parallel operation. Andrew Bartlett
* Add smb_raw_setfsinfo() - currently only available level is ↵Jeremy Allison2012-04-183-0/+94
| | | | SMB_SET_CIFS_UNIX_INFO.
* s4:samdb:rootdse: implement the schemaUpgradeInProgress operation in ldap modifyMichael Adam2012-04-181-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
* s4:libcli/smb2: fix anonymous session setups against windows serversStefan Metzmacher2012-04-162-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
* s4:libcli/smb2: remove unused dependency to LIBPACKETStefan Metzmacher2012-04-162-2/+1
| | | | metze
* Fix some of the issues that Jelmer identified in my first patch. This might beRichard Sharpe2012-04-021-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
* Add an open and close method to samba.smb.SMB so we can open and close files.Richard Sharpe2012-04-011-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
* Fix the PyDoc comments in samba.smb.SMB and add a security_info argument to ↵Richard Sharpe2012-03-261-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
* LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb.Jelmer Vernooij2012-03-251-1/+1
| | | | | The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
* libsmbclient-raw: Install smb_composite.h.Jelmer Vernooij2012-03-152-2/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
* s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauthGregor Beck2012-03-071-0/+12
| | | | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-libcli: pysmb: Fix typo in secinfo_flagsAmitay Isaacs2012-03-071-1/+1
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 10:56:09 CET 2012 on sn-devel-104
* s4:libcli:smb2: set SMB2_CAP_ALL in the negprotMichael Adam2012-03-031-1/+5
|
* s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam2012-03-032-0/+2
|
* smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2012-03-032-2/+4
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>