summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi
Commit message (Collapse)AuthorAgeFilesLines
* libndr: Rename policy_handle_equal to ndr_policy_handle_equal.Jelmer Vernooij2012-03-201-3/+3
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-092-106/+106
| | | | | | | | As far as I am aware, we do not actually build on any platforms that require this. The last Stratos VOS release on ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5 Andrew Bartlett
* s3-lib: Fix util_cmdline which doesn't use popt.Andreas Schneider2012-02-011-1/+1
| | | | | | This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
* s3:lib/netapi: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s3-netapi: remove pointless use_memory_krb5_ccache.Günther Deschner2011-10-262-20/+0
| | | | | | | | | This breaks the ABI. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 26 13:23:58 CEST 2011 on sn-devel-104
* s3-waf: only compile common.c in netapi examples code once.Günther Deschner2011-10-211-2/+8
| | | | Guenther
* s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner2011-10-211-2/+30
| | | | Guenther
* s3-netapi: fix missing include in examples code.Günther Deschner2011-10-211-0/+2
| | | | Guenther
* build: compile (but do not install) netapi examplesAndrew Bartlett2011-10-211-0/+64
| | | | | | | | | The only example not yet built is the GTK domain join gui. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 21 01:31:55 CEST 2011 on sn-devel-104
* s3-netapi Compile (but do not install) netapi testsAndrew Bartlett2011-10-201-0/+6
|
* s3:lib/netapi: avoid '//' commentsStefan Metzmacher2011-10-082-3/+3
| | | | | | The compiler on openindiana doesn't like them. metze
* s3-netapi: allow to use default krb5 credential cache for libnetapi users.Günther Deschner2011-09-212-8/+23
| | | | Guenther
* s3:libnetapi: use lp_load_global()Michael Adam2011-07-281-1/+1
|
* s3:lib/netapi: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-2/+7
| | | | metze
* s3: Make cli_cm_open return NTSTATUSVolker Lendecke2011-07-031-7/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104
* s3-param Remove 'announce version' parameterAndrew Bartlett2011-06-231-2/+2
| | | | | | | | The only users I can find of this on the internet involve confused users, and our own documentation recommends never setting this. Don't confuse our users any longer. Andrew Bartlett
* source3/lib/netapi/libnetapi.h: fix licence/copyrightGünther Deschner2011-06-101-0/+19
| | | | Guenther
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-1/+1
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-094-9/+9
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-093-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-091-2/+2
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2011-05-301-2/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2573: UNUSED_VALUEVolker Lendecke2011-05-201-2/+3
| | | | Andrew B., please check!
* s3-netapi Initialise global variables in libnetapiAndrew Bartlett2011-05-131-1/+1
| | | | | | | It is important to initalise the global variables when loading this configuration for the potentially first time. Andrew Bartlett
* s3-libnetapi Don't create a talloc_stackframe() in a global variableAndrew Bartlett2011-05-132-16/+37
| | | | | | | | | | This also ensures that libnetapi_free() invalidates the global stat_ctx variable, and changes the API so that the behaviour of the error string routines is to consistently return a allocated string. Pair-Programmed-With: Günther Deschner <gd@samba.org> Andrew Bartlett
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-131-1/+1
| | | | | | changes. Guenther
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-1/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-2/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-052-2/+2
|
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-291-0/+2
| | | | Guenther
* s3-netapi: Fix Coverity CID #2302: FORWARD_NULLGünther Deschner2011-04-271-1/+1
| | | | Guenther
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-241-1/+1
| | | | | | | | | | | | | Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
* s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke2011-04-171-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-133-0/+3
| | | | Guenther
* s3-netapi: remove two shadowed variables.Günther Deschner2011-04-131-2/+0
| | | | Guenther
* s3-lib Move isvalid83_w to mangle_hash.cAndrew Bartlett2011-04-131-1/+0
| | | | | | | | | | | | This means that there is no need for the 'valid.dat' table to be loaded by anything other than smbd, so the unloader is also removed. The concept of a 'valid dos character' has been replaced by the hash2 mangle method. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-netapi: use dcerpc_try_samr_connects().Günther Deschner2011-04-121-4/+18
| | | | Guenther
* s3-netapi: use libnetapi_get_binding_handle().Günther Deschner2011-04-126-108/+54
| | | | Guenther
* s3-netapi: add libnetapi_get_binding_handle().Günther Deschner2011-04-122-0/+27
| | | | Guenther
* s3-netapi: fix memoryleak while not using talloc_tos() in ↵Günther Deschner2011-03-252-6/+6
| | | | | | | | | | | cli_get_session_key() usage. Thanks Volker! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 25 18:21:18 CET 2011 on sn-devel-104
* s3-netapi: use cli_get_session_key() in netapi.Günther Deschner2011-03-242-6/+53
| | | | Guenther
* s3-build: use HAVE_ADS define in some more places.Günther Deschner2011-03-191-1/+1
| | | | Guenther
* s3: Fix Coverity ID 2231, REVERSE_INULLVolker Lendecke2011-03-161-2/+3
| | | | | | | No point in checking for !ctx after dereferencing it Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 22:51:52 CET 2011 on sn-devel-104
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-282-0/+2
|
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-181-1/+1
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* libndr: share some uuid helpers.Günther Deschner2011-02-081-3/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
* s3-libnetapi: prefer dcerpc_lsa_X functions.Günther Deschner2011-02-021-4/+7
| | | | Guenther