summaryrefslogtreecommitdiffstats
path: root/source3/libnet
Commit message (Collapse)AuthorAgeFilesLines
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-2/+2
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-libnetjoin: fix uninitialized variable.Günther Deschner2011-05-131-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-131-1/+1
| | | | | | changes. Guenther
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-101-2/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-16/+38
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-4/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* More simple const fixes.Jeremy Allison2011-05-051-1/+1
|
* s3-libnet: run minimal_includes.pl.Günther Deschner2011-05-052-2/+0
| | | | Guenther
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-042-11/+11
|
* 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-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-131-0/+1
| | | | Guenther
* s3: For net ads join, create a krb5.confVolker Lendecke2011-04-121-0/+5
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 14:10:05 CEST 2011 on sn-devel-104
* s3: Initialize output in libnet_JoinVolker Lendecke2011-04-121-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* s3-build: only include transfer_file.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* 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
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-271-2/+2
|
* s3: Add "len" to pdb_set_hoursVolker Lendecke2011-02-192-2/+4
|
* s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.Günther Deschner2011-02-111-10/+10
| | | | Guenther
* s3:libnet_dssync_passdb: remove useless DEBUG statementsStefan Metzmacher2011-02-031-4/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 04:20:54 CET 2011 on sn-devel-104
* s3-libnet: prefer dcerpc_lsa_X functions.Günther Deschner2011-02-021-8/+17
| | | | Guenther
* s3-dssync-passdb: implement accounts, aliases and groupsStefan Metzmacher2011-02-021-30/+1696
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 2 16:30:26 CET 2011 on sn-devel-104
* s3-dssync-passdb: fill in passdb_process_objectsGünther Deschner2011-02-021-1/+136
| | | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-dssync-passdb: fill in passdb_finish.Günther Deschner2011-02-021-1/+6
| | | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-dssync-passdb: fill in passdb_startup.Günther Deschner2011-02-021-1/+16
| | | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-dssync-passdb: add basic routines and net function.Günther Deschner2011-02-022-0/+60
| | | | Guenther
* s3:libnet: add 'process_links' to dssync_opsStefan Metzmacher2011-02-022-0/+27
| | | | | | This allows the backend to handle linked attributes. metze
* s3:libnet/libnet_samsync_display: fix netr_DELTA_* displayStefan Metzmacher2011-02-011-9/+12
| | | | metze
* s3-libnet: prefer dcerpc_samr_X functions.Günther Deschner2011-02-011-45/+141
| | | | Guenther
* s3-libnet: prefer dcerpc_netr_X functions.Günther Deschner2011-01-132-11/+19
| | | | | | Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.Günther Deschner2011-01-121-2/+5
| | | | Guenther
* s3-drsuapi: prefer dcerpc_drsuapi_X functions.Günther Deschner2011-01-111-5/+15
| | | | Guenther
* s3: Remove unused "retry" from cli_full_connectionVolker Lendecke2010-12-201-3/+3
|
* idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki2010-10-311-8/+8
| | | | | Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-123-3/+3
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-233-10/+17
| | | | | | Volker, please check. Guenther
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-202-4/+6
| | | | Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-1/+2
| | | | Guenther
* s3-build: only include smbldap.h where needed.Günther Deschner2010-09-201-0/+1
| | | | Guenther
* Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder ↵Jeremy Allison2010-09-091-0/+3
| | | | | | <andreas.moroder@gmx.net>". Jeremy.
* s3-build: only include krb5 environment variables where required.Günther Deschner2010-08-262-0/+2
| | | | Guenther
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-251-0/+1
| | | | Guenther
* s3-libnet: also remove libnet/libnet_samsync_keytab.c.orig.Günther Deschner2010-08-131-305/+0
| | | | | | Guys, what are you doing here ? ;-) Guenther
* s3-libnet: remove source3/libnet/libnet_join.c.orig, added by a previous commit.Günther Deschner2010-08-131-2187/+0
| | | | Guenther
* s3-krb5 Only build ADS support if arcfour-hmac-md5 is availableAndrew Bartlett2010-08-135-10/+2496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern Kerberos implementations have either defines or enums for these key types, which makes doing #ifdef difficult. This shows up in files such as libnet_samsync_keytab.c, the bulk of which is not compiled on current Fedora 12, for example. The downside is that this makes Samba unconditionally depend on the arcfour-hmac-md5 encryption type at build time. We will no longer support libraries that only support the DES based encryption types. However, the single-DES types that are supported in common with AD are already painfully weak - so much so that they are disabled by default in modern Kerberos libraries. If not found, ADS support will not be compiled in. This means that our 'net ads join' will no longer set the ACB_USE_DES_KEY_ONLY flag, and we will always try to use arcfour-hmac-md5. A future improvement would be to remove the use of the DES encryption types totally, but this would require that any ACB_USE_DES_KEY_ONLY flag be removed from existing joins. Andrew Bartlett Signed-off-by: Simo Sorce <idra@samba.org>