summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libcli/raw: remove unused smb_len(), _smb_setlen() and _smb2_setlen() macrosStefan Metzmacher2011-10-191-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 17:15:23 CEST 2011 on sn-devel-104
* s4:libcli/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher2011-10-191-2/+2
| | | | metze
* s4:libcli/raw: make use of _smb_setlen_nbt()Stefan Metzmacher2011-10-192-2/+2
| | | | metze
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-191-11/+0
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-192-60/+1
| | | | | | | Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett2011-10-183-4/+7
| | | | | | | | | | | | This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-113-6/+2
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-101-3/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-101-1/+2
| | | | metze
* s4-ldap: added DSDB_CONTROL_NO_GLOBAL_CATALOG to ldap encoding listAndrew Tridgell2011-10-041-18/+7
| | | | | | also remove all the duplicated comments Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: add SMB2_FSCTL opcodesDavid Disseldorp2011-09-291-0/+14
| | | | | | | | Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
* s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher2011-09-281-0/+10
| | | | | | | | | | | | If there're a problem with signing or the session doesn't exists any more the server responses with a failure, instead of not sending a response. For now we ignore the reponse, as there's not much we could do with it and it's not likely that we generate bad requests, which trigger that behavior, except for testing. metze
* s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher2011-09-281-0/+1
| | | | | | session metze
* s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher2011-09-281-1/+2
| | | | | | NT_STATUS_USER_SESSION_DELETED metze
* libcli: Install libcli.h.Jelmer Vernooij2011-09-282-4/+289
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104
* s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher2011-09-281-2/+12
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
* libcliraw: Make smb_raw_write_recv public and include it in a public header.Jelmer Vernooij2011-09-252-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 25 17:12:05 CEST 2011 on sn-devel-104
* s4:auth - remove unused variablesMatthias Dieter Wallnöfer2011-09-191-1/+0
| | | | Reviewed-by: Jelmer
* s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-09-141-3/+3
| | | | | | We should return the same in all places. metze
* build: make LIBWBCLIENT_OLD and auth_unix_token librariesAndrew Bartlett2011-09-081-4/+5
| | | | | | This assists with avoiding duplicate symbols. Andrew Bartlett
* s4:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison2011-08-271-0/+1
| | | | | | | out on the network. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 27 07:48:30 CEST 2011 on sn-devel-104
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-181-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-184-5/+17
|
* libcliraw: Install more header files.Jelmer Vernooij2011-08-184-4/+4
|
* smb_common: Install some more headers.Jelmer Vernooij2011-08-181-1/+1
|
* libcliraw: Install request.h and signing.h.Jelmer Vernooij2011-08-181-1/+2
|
* smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij2011-08-181-1/+0
|
* smb_composite: Integrate prototypes in header file.Jelmer Vernooij2011-08-183-4/+69
|
* s4:libcli: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-138-28/+28
|
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-101-14/+14
|
* build: provide tevent-util as a public libraryAndrew Bartlett2011-08-082-4/+4
| | | | | | | This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
* gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2011-08-032-9/+3
| | | | | | | | | | | | | | | gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett
* gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett2011-08-031-0/+1
| | | | | | | | | The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-libcli: Fix the fd leak. Close open file descriptor before return.Amitay Isaacs2011-08-031-2/+4
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Aug 3 07:49:12 CEST 2011 on sn-devel-104
* s4-libcli: get_acl and set_acl require raw_open to set security descriptorAmitay Isaacs2011-08-031-15/+75
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: Check if short_name is not null, before converting to python stringAmitay Isaacs2011-08-031-1/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: Replace smb_composite_connect() with smb_full_connection()Amitay Isaacs2011-08-031-24/+20
| | | | | | Python smb connection now uses smb_full_connection method. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: Added python SMB methods for mkdir(), rmdir(), chkpath()Amitay Isaacs2011-08-031-11/+97
| | | | | | Updated docstrings for all methods. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-libcli: Initialize stack structure variables to zero.Amitay Isaacs2011-07-281-14/+45
| | | | | | | Update do_smb_connect function to return NTSTATUS rather than raise python exception on error. Error checking done in py_smb_new(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-libcli: Added python interface for file I/O using SMBAmitay Isaacs2011-07-282-0/+393
| | | | | | | | | This module will support file system access using SMB. based on smb_composite - loadfile(), savefile() based on raw - getacl(), setacl() Signed-off-by: Andrew Tridgell <tridge@samba.org>
* cli_composite: Lowercase name.Jelmer Vernooij2011-07-262-3/+3
|
* cli_smb_common: Lowercase name.Jelmer Vernooij2011-07-261-2/+2
|
* cli_cldap: Lowercase name.Jelmer Vernooij2011-07-261-1/+1
|
* cli_raw: Make name lowercase.Jelmer Vernooij2011-07-233-4/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
* charset: Make name lowercase everywhere.Jelmer Vernooij2011-07-231-1/+1
|
* s4:libcli/raw: s/SMBchkpth/SMBcheckpathStefan Metzmacher2011-07-122-2/+2
| | | | metze
* s4:libcli/raw: remove SMBkeepaliveStefan Metzmacher2011-07-121-1/+0
| | | | metze
* libcli/smb move FILE_TYPE constants in commonAndrew Bartlett2011-07-061-8/+0
| | | | | | This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
* libcli/smb move enum protocol_types to a common headerAndrew Bartlett2011-07-061-0/+1
|