summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett3-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
2011-10-10libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
2011-10-10libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher1-1/+2
metze
2011-10-04s4-ldap: added DSDB_CONTROL_NO_GLOBAL_CATALOG to ldap encoding listAndrew Tridgell1-18/+7
also remove all the duplicated comments Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-29s4: add SMB2_FSCTL opcodesDavid Disseldorp1-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
2011-09-28s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher1-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
2011-09-28s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher1-0/+1
session metze
2011-09-28s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher1-1/+2
NT_STATUS_USER_SESSION_DELETED metze
2011-09-28libcli: Install libcli.h.Jelmer Vernooij2-4/+289
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104
2011-09-28s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher1-2/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
2011-09-25libcliraw: Make smb_raw_write_recv public and include it in a public header.Jelmer Vernooij2-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 25 17:12:05 CEST 2011 on sn-devel-104
2011-09-19s4:auth - remove unused variablesMatthias Dieter Wallnöfer1-1/+0
Reviewed-by: Jelmer
2011-09-14s4:libcli/wrepl: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-3/+3
We should return the same in all places. metze
2011-09-08build: make LIBWBCLIENT_OLD and auth_unix_token librariesAndrew Bartlett1-4/+5
This assists with avoiding duplicate symbols. Andrew Bartlett
2011-09-05s4:libcli/raw: make use of PROTOCOL_SMB2_02Stefan Metzmacher1-1/+1
metze
2011-08-27RAW_SFILEINFO_RENAME_INFORMATION_SMB2 sends 4 bytes of uninitialized data ↵Jeremy Allison1-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
2011-08-18credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-18cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij4-5/+17
2011-08-18libcliraw: Install more header files.Jelmer Vernooij4-4/+4
2011-08-18smb_common: Install some more headers.Jelmer Vernooij1-1/+1
2011-08-18libcliraw: Install request.h and signing.h.Jelmer Vernooij1-1/+2
2011-08-18smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij1-1/+0
2011-08-18smb_composite: Integrate prototypes in header file.Jelmer Vernooij3-4/+69
2011-08-13s4:libcli: use tevent_ fn names instead of legacy event_ onesSimo Sorce8-28/+28
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-14/+14
2011-08-08build: provide tevent-util as a public libraryAndrew Bartlett2-4/+4
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
2011-08-03gensec: clarify memory ownership for gensec_session_info() and ↵Andrew Bartlett2-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
2011-08-03gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett1-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>
2011-08-03s4-libcli: Fix the fd leak. Close open file descriptor before return.Amitay Isaacs1-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
2011-08-03s4-libcli: get_acl and set_acl require raw_open to set security descriptorAmitay Isaacs1-15/+75
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-03s4-libcli: Check if short_name is not null, before converting to python stringAmitay Isaacs1-1/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-03s4-libcli: Replace smb_composite_connect() with smb_full_connection()Amitay Isaacs1-24/+20
Python smb connection now uses smb_full_connection method. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-03s4-libcli: Added python SMB methods for mkdir(), rmdir(), chkpath()Amitay Isaacs1-11/+97
Updated docstrings for all methods. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-28s4-libcli: Initialize stack structure variables to zero.Amitay Isaacs1-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>
2011-07-28s4-libcli: Added python interface for file I/O using SMBAmitay Isaacs2-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>
2011-07-26cli_composite: Lowercase name.Jelmer Vernooij2-3/+3
2011-07-26cli_smb_common: Lowercase name.Jelmer Vernooij1-2/+2
2011-07-26cli_cldap: Lowercase name.Jelmer Vernooij1-1/+1
2011-07-23cli_raw: Make name lowercase.Jelmer Vernooij3-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
2011-07-23charset: Make name lowercase everywhere.Jelmer Vernooij1-1/+1
2011-07-12s4:libcli/raw: s/SMBchkpth/SMBcheckpathStefan Metzmacher2-2/+2
metze
2011-07-12s4:libcli/raw: remove SMBkeepaliveStefan Metzmacher1-1/+0
metze
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett1-8/+0
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett1-0/+1
2011-06-20Use tevent_req_oomVolker Lendecke1-2/+2
This fixes a few Coverity errors
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett5-10/+10
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-06-20libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett2-166/+0
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett
2011-06-20s3-libcli Remove unused error mapping tablesAndrew Bartlett1-549/+0
The functions which uesed these tables have since moved in common. Andrew Bartlett
2011-06-17s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett1-0/+11
We need to syncronise these mappings, as the duplication of this symobol in the build means that either may be called based only on library link orders. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 17 10:22:07 CEST 2011 on sn-devel-104
2011-06-17errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett1-3/+3