Andrew Bartlett
c615ebed6e
s3-lib Replace StrCaseCmp() with strcasecmp_m()
...
strcasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.
Andrew Bartlett
2011-05-18 16:12:08 +02:00
Günther Deschner
62862e27bb
s3-libnetjoin: fix uninitialized variable.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104
2011-05-13 01:22:18 +02:00
Günther Deschner
04c101e873
s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf changes.
...
Guenther
2011-05-13 00:18:49 +02:00
Andreas Schneider
e19c4f278b
libsmbconf: Convert smbconf_delete_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ddc28a683f
libsmbconf: Convert smbconf_set_parameter() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
29eea4b09a
libsmbconf: Convert smbconf_init() to sbcErr.
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Günther Deschner
27022587e3
s3-libsmb: move protos to libsmb/proto.h
...
Guenther
2011-05-06 16:37:18 +02:00
Günther Deschner
d8cfca3a9b
s3: only include tdb headers where needed.
...
Guenther
2011-05-06 10:48:10 +02:00
Jeremy Allison
02af307585
More simple const fixes.
2011-05-05 23:56:07 +02:00
Günther Deschner
a05a59e8e2
s3-libnet: run minimal_includes.pl.
...
Guenther
2011-05-05 02:05:27 +02:00
Jeremy Allison
8380835fc6
Fix warning messages caused by addition of null check in fstrcpy macro.
2011-05-04 12:12:15 -07:00
Stefan Metzmacher
f7bc84409a
s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
...
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
2011-04-24 10:44:53 +02:00
Günther Deschner
9824e2e5ee
s3-rpc_client: add and use rpc_client/rpc_client.h.
...
Guenther
2011-04-13 22:23:59 +02:00
Volker Lendecke
4edc98eb9e
s3: For net ads join, create a krb5.conf
...
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
2011-04-12 14:10:05 +02:00
Volker Lendecke
da5e5a6a83
s3: Initialize output in libnet_Join
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-12 13:24:24 +02:00
Günther Deschner
b2af281e50
s3-messages: only include messages.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2f36ef7225
s3-passdb: add passdb.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
9bd06f6bc7
s3-build: only include transfer_file.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
93db9489fd
s3-libds: use already existing ../libds/common/flag_mapping.h header.
...
Guenther
2011-03-02 22:17:17 +01:00
Andreas Schneider
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
Volker Lendecke
32731db56f
s3: Fix some nonempty blank lines
2011-02-27 19:27:44 +01:00
Volker Lendecke
943aac2e36
s3: Add "len" to pdb_set_hours
2011-02-19 11:32:49 +01:00
Günther Deschner
c7d0850ee8
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
...
Guenther
2011-02-11 12:22:41 +01:00
Stefan Metzmacher
c1c3cb0a23
s3:libnet_dssync_passdb: remove useless DEBUG statements
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 3 04:20:54 CET 2011 on sn-devel-104
2011-02-03 04:20:54 +01:00
Günther Deschner
95cf60a2e5
s3-libnet: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:16 +01:00
Stefan Metzmacher
8ddfe78a5f
s3-dssync-passdb: implement accounts, aliases and groups
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Feb 2 16:30:26 CET 2011 on sn-devel-104
2011-02-02 16:30:26 +01:00
Günther Deschner
6e0498d0e2
s3-dssync-passdb: fill in passdb_process_objects
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
41ba1d3a1c
s3-dssync-passdb: fill in passdb_finish.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
1f884cfbcb
s3-dssync-passdb: fill in passdb_startup.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
91e6dad749
s3-dssync-passdb: add basic routines and net function.
...
Guenther
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
bf7a27c397
s3:libnet: add 'process_links' to dssync_ops
...
This allows the backend to handle linked attributes.
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
a152f20dd1
s3:libnet/libnet_samsync_display: fix netr_DELTA_* display
...
metze
2011-02-01 18:35:22 +01:00
Günther Deschner
a0c1c21916
s3-libnet: prefer dcerpc_samr_X functions.
...
Guenther
2011-02-01 16:00:22 +01:00
Günther Deschner
f3eb5c234e
s3-libnet: prefer dcerpc_netr_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 12:22:28 +01:00
Günther Deschner
1cd7f6c0e1
s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.
...
Guenther
2011-01-12 13:41:16 +01:00
Günther Deschner
4f057230ca
s3-drsuapi: prefer dcerpc_drsuapi_X functions.
...
Guenther
2011-01-11 22:18:02 +01:00
Volker Lendecke
d096de56b1
s3: Remove unused "retry" from cli_full_connection
2010-12-20 17:10:58 +01:00
Kamen Mazdrashki
717b1158a6
idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values
...
Those values are actually ATTID values and such, they are used
for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31 23:54:04 +00:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
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
2010-10-12 05:54:10 +00:00
Günther Deschner
ffdfcfb514
s3-dsgetdcname: always pass in messaging context.
...
Volker, please check.
Guenther
2010-09-23 10:26:25 -07:00
Günther Deschner
102a70e809
s3-util: use shared dom_sid_dup.
...
Guenther
2010-09-20 14:05:07 -07:00
Günther Deschner
4dbd743e46
s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
...
Guenther
2010-09-20 14:04:37 -07:00
Günther Deschner
62544c5d2b
s3-build: only include smbldap.h where needed.
...
Guenther
2010-09-20 13:54:56 -07:00
Jeremy Allison
718fd39f10
Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder <andreas.moroder@gmx.net>".
...
Jeremy.
2010-09-09 15:29:03 -07:00
Günther Deschner
ca765d2f50
s3-build: only include krb5 environment variables where required.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
e978a3d3f4
s3-lsa: separate out init_lsa headers.
...
Guenther
2010-08-25 22:50:39 +02:00
Günther Deschner
06a2c23641
s3-libnet: also remove libnet/libnet_samsync_keytab.c.orig.
...
Guys, what are you doing here ? ;-)
Guenther
2010-08-13 15:24:00 +02:00
Günther Deschner
f0475ac36c
s3-libnet: remove source3/libnet/libnet_join.c.orig, added by a previous commit.
...
Guenther
2010-08-13 15:22:06 +02:00
Andrew Bartlett
71d80e6be0
s3-krb5 Only build ADS support if arcfour-hmac-md5 is available
...
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>
2010-08-13 09:08:27 -04:00