summaryrefslogtreecommitdiffstats
path: root/libcli
Commit message (Collapse)AuthorAgeFilesLines
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-101-4/+4
|
* build: provide tevent-util as a public libraryAndrew Bartlett2011-08-084-4/+4
| | | | | | | This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
* ntlmssp: Add ntlmssp_blob_matches_magic()Andrew Bartlett2011-08-032-0/+12
| | | | | | | | | This avoids having the same check in 3 different parts of the code Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Aug 3 12:45:04 CEST 2011 on sn-devel-104
* gensec: Remove mem_ctx from calls that do not return memoryAndrew Bartlett2011-08-032-2/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* cli_smb_common: Lowercase name.Jelmer Vernooij2011-07-261-2/+2
|
* cli_cldap: Lowercase name.Jelmer Vernooij2011-07-261-1/+1
|
* libcli/security: add some const to marshall_sec_desc[_buf]()Stefan Metzmacher2011-07-232-4/+4
| | | | metze
* libcli/smb: add NBSS message typesStefan Metzmacher2011-07-121-0/+10
| | | | metze
* libcli/smb: add PROTOCOL_SMB2_02 constantStefan Metzmacher2011-07-121-1/+2
| | | | metze
* libcli: remove duplicate of #define NT_STATUS_NO_SUCH_JOBBjörn Baumbach2011-07-071-1/+0
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 7 20:29:13 CEST 2011 on sn-devel-104
* libcli/smb move FILE_TYPE constants in commonAndrew Bartlett2011-07-062-3/+9
| | | | | | 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/+12
|
* build: Add missing depencency on NDR_NBTAndrew Bartlett2011-07-051-1/+1
|
* s3: Add STATUS_STOPPED_ON_SYMLINK error codeVolker Lendecke2011-07-032-0/+2
|
* Add NT_STATUS_IO_REPARSE_TAG_NOT_HANDLEDVolker Lendecke2011-06-242-0/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jun 24 22:36:50 CEST 2011 on sn-devel-104
* Add NT_STATUS_IO_REPARSE_DATA_INVALIDVolker Lendecke2011-06-242-0/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jun 24 17:58:00 CEST 2011 on sn-devel-104
* lib/util Remove samba-util-common!Andrew Bartlett2011-06-211-1/+1
| | | | | | | All of this code is now in common, so we don't need the second '-common' library any more! Andrew Bartlett
* Use tevent_req_oomVolker Lendecke2011-06-201-2/+2
| | | | This fixes a few Coverity errors
* tdb_compat: use tdb_errorstr_compat()Rusty Russell2011-06-201-1/+1
| | | | | | | | Since TDB2 functions return the error directly, tdb_errorstr() taken an error code, not the tdb as it does in TDB1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell2011-06-201-1/+1
| | | | | | | | We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-208-18/+18
| | | | | | | | | | | | 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
* libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett2011-06-203-5/+165
| | | | | | | | 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
* s3: Allow NULL sd_size in make_sec_descVolker Lendecke2011-06-181-2/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jun 18 22:26:15 CEST 2011 on sn-devel-104
* util: moved nt_errstr() into common codeAndrew Tridgell2011-06-172-8/+23
| | | | | | | | | this brings nt_errstr() into common code, using the new talloc_stackframe_exists() to ensure that we only allocate an error string using talloc_tos() if a talloc stackframe does currently exists. This makes it safe to use in external libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett2011-06-172-0/+52
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* libcli/smbreadline/smbreadline.h: fix licence/copyrightGünther Deschner2011-06-101-0/+20
| | | | Guenther
* libcli/security/secdesc.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* libcli/nbt/nbt_proto.h: fix licence/copyrightGünther Deschner2011-06-101-0/+21
| | | | Guenther
* libcli/ldap/ldap_ndr.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* libcli/auth/msrpc_parse.h: fix licence/copyrightGünther Deschner2011-06-101-0/+21
| | | | Guenther
* libcli/util Remove prototype for ntstatus_dos_equal()Andrew Bartlett2011-06-061-3/+0
| | | | This was removed recently.
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* libcli/cldap/cldap.c: don't hand huge values to tevent_timeval_add usecsRusty Russell2011-06-011-2/+4
| | | | | | | | state->request.delay is two million here, resulting in an invalid timeval. Since tevent doesn't have a convenient wrapper to add arbitrary usecs, do the arithmetic here (it's the sole caller of this function). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Tiny simplification to dom_sid_string_bufVolker Lendecke2011-05-311-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 31 23:16:31 CEST 2011 on sn-devel-104
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-311-9/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett2011-05-314-1/+823
| | | | | | | This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
* build: Make util_reg subsystem in libcli/registry a libraryAndrew Bartlett2011-05-181-2/+3
|
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-182-8/+9
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
* libcli/auth/krb5_wrap: correctly use discard_const().Günther Deschner2011-05-131-2/+2
| | | | | | Jeremy, please check. Guenther
* libcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if ↵Michael Adam2011-05-121-8/+4
| | | | | | | | | | | | | _SAMBA_BUILD_ == 3" and talloc_tos() talloc_stackframe() is used in other shared components already, and if the stack is a talloc_pool, then in most cases, it should also not be more expensive than directly using talloc_tos(). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 12 12:52:02 CEST 2011 on sn-devel-104
* libcli/auth: fix "no talloc stackframe around" message from the ↵Michael Adam2011-05-101-2/+4
| | | | | | | | samba4.blackbox.kinit test create_kerberos_key_from_string_direct() used talloc_tos() directly. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-081-3/+3
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* libcli/security: fix build warning, cr_descr_log_acl() is not used currently.Günther Deschner2011-05-061-0/+2
| | | | Guenther
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-064-0/+552
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-061-5/+0
|
* libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2011-05-063-1/+915
|
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-061-1/+1
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2011-05-062-1/+1241
| | | | | | | This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-061-3/+1
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-2/+2
|