Jeremy Allison
0f1b402848
Try and fix the S4 build - include thread includes.
...
Jeremy.
2009-04-14 13:02:29 -07:00
Jelmer Vernooij
75783473d1
Remove unused CONST_DISCARD macro.
2009-03-15 03:05:46 +01:00
Jeremy Allison
7d73130125
Fix the build. When you do "make distclean; ./autogen; ./configure; make" and it still doesn't build you know it's messed up.
...
Jeremy.
2009-02-13 10:36:11 -08:00
Stefan Metzmacher
bab6294269
s4:includes: copy #error DONT_USE_CPLUSPLUS_RESERVED_NAMES from source3
...
We should not use c++ reserved names in source4 too.
metze
2009-02-02 13:09:21 +01:00
Stefan Metzmacher
23bec6c670
s4:includes.h: stdlib.h and stdbool.h are already included by replace.h
...
metze
2009-02-02 13:08:39 +01:00
Jelmer Vernooij
9de80e7abc
Samba3: Include util.h header file rather than having custom prototypes.
2008-11-01 03:14:43 +01:00
Jelmer Vernooij
0218669d62
Remove include/local.h and move defines to more appropriate places.
2008-10-24 17:53:38 +02:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
09065795d6
Remove unused constants from local.h.
2008-10-23 18:13:25 +02:00
Jelmer Vernooij
c0e14d5021
Repel pstring to nsswitch/.
2008-10-22 05:14:14 +02:00
Jelmer Vernooij
6d9b24de78
Remove pstring usages.
2008-10-22 04:25:00 +02:00
Jelmer Vernooij
2911b792ca
Fix include, clean up .o files in ../lib and ../libcli
...
Conflicts:
source4/Makefile
2008-10-11 21:33:55 +02:00
Jelmer Vernooij
caa4e42860
Move lib/util from source4 to top-level libutil.
...
Conflicts:
source4/Makefile
2008-10-11 21:05:38 +02:00
Jelmer Vernooij
0888ffa2b7
Make Samba 3 and Samba 4 both use the same single copy of libreplace.
2008-09-16 16:30:14 +02:00
Andrew Tridgell
310875e637
Change our module code to not use the special symbol name init_module()
...
Current glibc libraries include a function called init_module(). If we
use the same name, then a dlsym() can find the glibc function if the
module doesn't have an initialisation function.
In ldb, none of our modules have an init_module(), so we end up calling the libc
functions with bogus arguments.
(This used to be commit 1b06210689
)
2008-06-17 13:11:29 +10:00
Andrew Bartlett
a72869d77b
r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gcc
...
compilers.
Instead, as jelmer suggests, remove the depricated marker on fstring,
for as long as it is used in the samba3 winbind protocol.
Andrew Bartlett
(This used to be commit b15df834ae
)
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
da6d24c459
r25555: Remove support for BOOL, True and False.
...
(This used to be commit 18a2bcfa9e
)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
9b009c9009
r25301: Merge my includes.h cleanups.
...
(This used to be commit 37425495f3
)
2007-10-10 15:07:09 -05:00
Jelmer Vernooij
f415ba5bcf
r25267: Move PRINTF_ATTRIBUTE to lib/util as well.
...
(This used to be commit 72b9d6c036
)
2007-10-10 15:07:03 -05:00
Jelmer Vernooij
6a167124cd
r25265: Move attribute definitions to lib/util.
...
(This used to be commit 5bb9f041f4
)
2007-10-10 15:07:02 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
8d182d881d
r24816: Move the rest of the contents of core.h to more appropriate places.
...
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbf
)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
82037a75ea
r24814: Fix headers, trim core.h even more.
...
(This used to be commit 9647f860bd
)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
09c188e735
r24812: Fix headers for external users.
...
(This used to be commit ff6684adfd
)
2007-10-10 15:03:13 -05:00
Jelmer Vernooij
0b91f39164
r24780: More work allowing libutil to be used by external users.
...
(This used to be commit 31993cf67b
)
2007-10-10 15:03:10 -05:00
Jelmer Vernooij
f93a18eeb7
r24715: Mark fstring and pstring as deprecated.
...
(This used to be commit c8118f1561
)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d9
)
2007-10-10 15:02:54 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
c2781df0d5
r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
...
(This used to be commit 44248f662f
)
2007-10-10 14:53:08 -05:00
Jelmer Vernooij
97416e6b01
r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk
...
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
(This used to be commit 07652f65ce
)
2007-10-10 14:48:04 -05:00
Andrew Tridgell
1c211a2e43
r20650: revert a bunch of code I didn't mean to commit yet
...
(This used to be commit b3e2d49087
)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba
r20647: add cluster code
...
(This used to be commit 5870830b99
)
2007-10-10 14:37:24 -05:00
Jelmer Vernooij
253c1bec46
r20298: Fix pidl tests (missing symlink..).
...
(This used to be commit ab3d573946
)
2007-10-10 14:29:34 -05:00
Andrew Bartlett
d471e52d23
r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
...
way to setup a Samba4 DC is to set 'server role = domain controller'.
We use the fSMORoleOwner attribute in the base DN to determine the PDC.
This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.
Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.
We also now use the ldb database to determine if we should run the
global catalog service.
In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.
Andrew Bartlett
(This used to be commit 67d8365e83
)
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
b6582987fe
r19242: merge from samba3:
...
handle NO_CONFIG_H in libreplace
metze
(This used to be commit 909d736a4b
)
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
c447b8a199
r18448: this gives nicer output...
...
metze
(This used to be commit 6bdb329da5
)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
a57133c56e
r18447: make sure we bail out if the config.h is not generated
...
by samba's configure.
this could happen when you have done a standalone build in
lib/replace/, lib/talloc, ...
metze
(This used to be commit d8e8838674
)
2007-10-10 14:18:31 -05:00
Andrew Tridgell
f64b2474be
r18278: move more header checks and _GNU_SOURCE into libreplace
...
(This used to be commit 77c442cd46
)
2007-10-10 14:18:00 -05:00
Jelmer Vernooij
e0fae5b22a
r18169: Remove accidentally committed bits
...
(This used to be commit 51faeff2fa
)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
873749f218
r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
...
(This used to be commit 8b622c5ded
)
2007-10-10 14:17:45 -05:00
Andrew Tridgell
a983b06d37
r18129: moved the system includes into libreplace - this gives much more
...
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
(This used to be commit 77d1a468e0
)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
a59706f721
r18121: Simplify m4 code, hopefully fix Samba4 build problems.
...
(This used to be commit 1adf65b4d7
)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
3953c21202
r18118: its the job of libreplace to handle things like this
...
(This used to be commit fa47301c0e
)
2007-10-10 14:17:34 -05:00
Andrew Tridgell
b7477fb388
r18117: first steps in making samba4 use libreplace
...
(This used to be commit c079cedb08
)
2007-10-10 14:17:34 -05:00
Jelmer Vernooij
4bcd9ffb22
r17931: Really remove the files this time. Looks like there's something wrong with
...
the rename code in bzr-svn...
(This used to be commit 03e402181a
)
2007-10-10 14:16:55 -05:00
Stefan Metzmacher
a93ad7490c
r17882: merge change from samba3
...
metze
(This used to be commit eca7085850
)
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
ac88647c13
r17537: if we replace inet_ntoa() we need a prototype of
...
rep_inet_ntoa...
metze
(This used to be commit 78eaa905d5
)
2007-10-10 14:15:35 -05:00
Jelmer Vernooij
ca61b4f3b5
r15870: Improve detection of iconv - should prevent HAVE_ICONV_H being
...
defined when the installed iconv library doesn't match our criteria as
well as some other minor fixes.
(This used to be commit 7937932615
)
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
172a83d724
r15573: Fix build of systems that have iconv headers in non-standard locations
...
Split of system/locale.h header from system/iconv.h
Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda6
)
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
089cbd4a8e
r15568: Simplify detection of iconv libraries a fair bit and fix it to
...
work on FreeBSD.
Based very loosely on a patch by Timur Bakevey
Fixes #3688
(This used to be commit ea7b28572b
)
2007-10-10 14:05:57 -05:00