Günther Deschner
183835d055
source3/libads/ldap_schema.h: fix licence/copyright
...
Guenther
2011-06-10 15:12:22 +02:00
Günther Deschner
59e878ff62
source3/libads/cldap.h: fix licence/copyright
...
Guenther
2011-06-10 15:12:20 +02:00
Günther Deschner
d5c5aa1c5f
source3/libads/ads_status.h: fix licence/copyright
...
Guenther
2011-06-10 15:12:19 +02:00
Günther Deschner
f2d4252dfa
source3/libads/ads_ldap_protos.h: fix licence/copyright
...
Guenther
2011-06-10 15:12:17 +02:00
Andrew Bartlett
74eed8f3ed
s3-param Remove special case for global_myname(), rename to lp_netbios_name()
...
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
2011-06-09 12:40:09 +02:00
Andrew Bartlett
8d4a8389bb
s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_MEMDUP isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
5e26e94092
s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
ad0a07c531
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
d5e6a47f06
s3-talloc Change TALLOC_P() to talloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
3d15137653
s3-talloc Change TALLOC_ARRAY() to talloc_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
73b377432c
s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_REALLOC_ARRAY isn't standard talloc.
Andrew Bartlett
2011-06-09 12:40:08 +02:00
Jeremy Allison
e98fb2f2b9
Remove another PATH_MAX.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jun 2 02:51:06 CEST 2011 on sn-devel-104
2011-06-02 02:51:06 +02:00
Andrew Bartlett
7630e73dac
s3-param prepare for some lp_ functions to return const
2011-06-01 04:19:05 +02:00
Michael Adam
72f2bd6a86
s3:libads/ndr: include ../librpc/ndr/libndr.h instead of librpc/ndr/util.h
2011-05-31 12:54:22 +02:00
Michael Adam
4c542015a1
s3:libads/kerberos_proto.h: add _LIBADS_KERBEROS_PROTO_H_ guard
2011-05-31 01:44:27 +02:00
Michael Adam
6bf3228f28
s3:libads/kerberos_proto.h: add GPL/Copyright header
2011-05-31 01:44:27 +02:00
Michael Adam
eb5db22771
s3:libads/ads_proto.h: add _LIBADS_ADS_PROTO_H_ guard
2011-05-31 01:44:27 +02:00
Michael Adam
6e9c055ce2
s3:libads/ads_proto.h: add GPL/Copyright header
2011-05-31 01:44:27 +02:00
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
1e208a7057
s3-includes: no need to globally include libads/ads_status.h.
...
Guenther
2011-05-06 16:37:22 +02:00
Jeremy Allison
f85e095dd2
More simple const fixups.
2011-05-05 23:56:08 +02:00
Jeremy Allison
e131c94ac1
More const fixes for compiler warnings from the waf build.
2011-05-05 23:56:07 +02:00
Günther Deschner
653b84d2d6
s3-libads: run minimal_includes.pl.
...
Guenther
2011-05-05 02:05:26 +02:00
Andrew Bartlett
5cc7a3a222
s3-libads Move variables into if (socket_wrapper_dir()) where they are used.
2011-04-29 16:38:12 +10:00
Andrew Bartlett
a427652010
s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapper
...
This means that we control the connection setup, don't rely on signals
for timeouts and the connection uses socket_wrapper where that is
required in our test environment.
According to bug reports, this method is also used by curl and other
tools, so we are not the first to (ab)use the OpenLDAP libs in this
way.
It is ONLY enabled for socket_wrapper at this time, as this is the
best way to get 'make test' working for S3 winbind tests in an S4
domain.
Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
818ec32d0c
s3-libads Pass a struct sockaddr_storage to cldap routines
...
This avoids these routines doing a DNS lookup that has already been
done, and ensures that the emulated DNS lookup isn't thrown away.
Andrew Bartlett
2011-04-28 05:30:20 +02:00
Andrew Bartlett
e130dec97b
s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.
...
This allows make test to operate without making real DNS calls.
Andrew Bartlett
2011-04-27 11:40:18 +10:00
Andrew Bartlett
806eef63ba
s3-libads Don't start a DEBUG with 'time'
...
This strange requirement comes from our subunit test harness.
Andrew Bartlett
2011-04-27 11:25:53 +10:00
Andrew Bartlett
ccb62947e9
s3-libads Remove KRB5_DNS_HACK
...
We have winbindd write a custom krb5.conf or use a kdc locator plugin
to do this properly now.
Andrew Bartlett
2011-04-26 17:16:34 +10:00
Andrew Bartlett
c18954775e
libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srv
...
By reworking the 'fake DNS' file to use struct dns_rr_srv it should be
possible to emulate that resolver layer as well as the Samba4
sockaddr_storage* based layer. This will then give us a common DNS
emulation for 'make test'.
Andrew Bartlett
2011-04-26 17:16:34 +10:00
Volker Lendecke
f9e3af71d3
s3: Fix Coverity ID 2336, NULL_RETURNS
2011-04-22 10:06:36 +02:00
Andrew Bartlett
f28f5db15a
libcli/auth Move PAC parsing and verification in common.
...
This uses the source3 PAC code (originally from Samba4) with some
small changes to restore functionality needed by the torture tests,
and to have a common API.
Andrew Bartlett
2011-04-20 04:31:07 +02:00
Günther Deschner
6768b65123
s3-waf: try to fix the non-ldap-but-krb5 build.
...
Guenther
2011-04-15 12:37:55 +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
Günther Deschner
a730dff783
s3-libndr: add ../librpc/ndr/libndr.h include in some places.
...
Guenther
2011-03-31 00:14:01 +02:00
Günther Deschner
49ccae1c20
s3-includes: no point in including all security headers globally.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
2639f0b3ab
s3-prototypes: remove protos of some dead functions.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 24 00:52:01 CET 2011 on sn-devel-104
2011-03-24 00:52:01 +01:00
Volker Lendecke
8dc93bed09
s3: Fix Coverity ID 770, REVERSE_INULL
...
We dereference "res" in various places, no point in checking. All current
callers send "res!=NULL".
2011-03-21 15:40:10 +01:00
Günther Deschner
3aa9d3005a
s3-build: only include asn1 headers where actually needed.
...
Guenther
2011-03-16 23:46:18 +01:00
Günther Deschner
fad0112373
s3-build: stop including ldap and lber headers everywhere in the code.
...
Instead use new header smb_ldap.h where all LDAP API related things are handled,
while smbldap.h only deals with our smbldap_X() API.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16 10:54:50 +01:00
Volker Lendecke
16b007c223
Quite some callers of sid_split_rid do not care about the rid
2011-03-10 18:48:34 +01:00
Volker Lendecke
32731db56f
s3: Fix some nonempty blank lines
2011-02-27 19:27:44 +01:00
Günther Deschner
bc1312303d
s3-libads: make ndr_print_ads_auth_flags() static.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104
2011-02-25 01:55:26 +01:00
Andrew Bartlett
0bad0e3ff2
s3-libads Remove MIT-specific krb5_princ_realm macro calls.
...
When compiled against heimdal, we need to use a more elegant API.
Andrew Bartlett
2011-02-18 17:00:34 +11:00
Günther Deschner
f076c76260
s3-libads: make ads_guess_service_principal static.
...
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
fdd4d56405
s3: give ../librpc/ndr/util.c its own header.
...
Guenther
2011-02-10 12:58:06 +01:00
Stefan Metzmacher
a34aa148ca
s3:libads: use dcerpc_spoolss_X() functions
...
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-21 12:30:22 +01:00
Volker Lendecke
8c6b0b61e5
s3: Fix some nonempty blank lines
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
2011-01-12 19:04:24 +01:00
Günther Deschner
3294ccbb6d
netlogon: move netlogon helpers to ../libcli/netlogon.
...
Guenther
2011-01-07 15:02:24 +01:00