1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-01 16:23:49 +03:00
Commit Graph

691 Commits

Author SHA1 Message Date
Andrew Bartlett
b15df834ae 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
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
18a2bcfa9e r25555: Remove support for BOOL, True and False. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
37425495f3 r25301: Merge my includes.h cleanups. 2007-10-10 15:07:09 -05:00
Jelmer Vernooij
72b9d6c036 r25267: Move PRINTF_ATTRIBUTE to lib/util as well. 2007-10-10 15:07:03 -05:00
Jelmer Vernooij
5bb9f041f4 r25265: Move attribute definitions to lib/util. 2007-10-10 15:07:02 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
6890a01dbf 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.
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
9647f860bd r24814: Fix headers, trim core.h even more. 2007-10-10 15:03:14 -05:00
Jelmer Vernooij
ff6684adfd r24812: Fix headers for external users. 2007-10-10 15:03:13 -05:00
Jelmer Vernooij
31993cf67b r24780: More work allowing libutil to be used by external users. 2007-10-10 15:03:10 -05:00
Jelmer Vernooij
c8118f1561 r24715: Mark fstring and pstring as deprecated. 2007-10-10 15:02:54 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Andrew Tridgell
fcf38a38ac 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.
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
44248f662f r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_. 2007-10-10 14:53:08 -05:00
Jelmer Vernooij
07652f65ce 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.
2007-10-10 14:48:04 -05:00
Andrew Tridgell
b3e2d49087 r20650: revert a bunch of code I didn't mean to commit yet 2007-10-10 14:37:26 -05:00
Andrew Tridgell
5870830b99 r20647: add cluster code 2007-10-10 14:37:24 -05:00
Jelmer Vernooij
ab3d573946 r20298: Fix pidl tests (missing symlink..). 2007-10-10 14:29:34 -05:00
Andrew Bartlett
67d8365e83 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
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
909d736a4b r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
6bdb329da5 r18448: this gives nicer output...
metze
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
d8e8838674 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
2007-10-10 14:18:31 -05:00
Andrew Tridgell
77c442cd46 r18278: move more header checks and _GNU_SOURCE into libreplace 2007-10-10 14:18:00 -05:00
Jelmer Vernooij
51faeff2fa r18169: Remove accidentally committed bits 2007-10-10 14:17:45 -05:00
Jelmer Vernooij
8b622c5ded r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available. 2007-10-10 14:17:45 -05:00
Andrew Tridgell
77d1a468e0 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)
2007-10-10 14:17:36 -05:00
Jelmer Vernooij
1adf65b4d7 r18121: Simplify m4 code, hopefully fix Samba4 build problems. 2007-10-10 14:17:35 -05:00
Andrew Tridgell
fa47301c0e r18118: its the job of libreplace to handle things like this 2007-10-10 14:17:34 -05:00
Andrew Tridgell
c079cedb08 r18117: first steps in making samba4 use libreplace 2007-10-10 14:17:34 -05:00
Jelmer Vernooij
03e402181a r17931: Really remove the files this time. Looks like there's something wrong with
the rename code in bzr-svn...
2007-10-10 14:16:55 -05:00
Stefan Metzmacher
eca7085850 r17882: merge change from samba3
metze
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
78eaa905d5 r17537: if we replace inet_ntoa() we need a prototype of
rep_inet_ntoa...

metze
2007-10-10 14:15:35 -05:00
Jelmer Vernooij
7937932615 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.
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
aa6d66fda6 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
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
ea7b28572b 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
2007-10-10 14:05:57 -05:00
Andrew Bartlett
3d43e458a8 r15511: Using this name causes less warnings on the IBM checker, due to using
the original, rather than equivilant, enum type.

Andrew Bartlett
2007-10-10 14:05:44 -05:00
Jelmer Vernooij
c83e4b1665 r15321: Reduce the size of rewrite.m4 a bit more 2007-10-10 14:05:15 -05:00
Jelmer Vernooij
6598efc6b3 r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
2007-10-10 14:04:20 -05:00
James Peach
dcebc59a98 r15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typo
that made the BASE-DIR2 test fail.
2007-10-10 14:04:15 -05:00
James Peach
7e4ad7e8e5 r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
2007-10-10 14:04:14 -05:00
Andrew Tridgell
7d7853476e r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server.
2007-10-10 14:04:02 -05:00
Jelmer Vernooij
a5c87360a7 r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
2007-10-10 14:04:00 -05:00
Andrew Tridgell
fc11201ad1 r14936: remove a duplicate line 2007-10-10 14:00:19 -05:00
Jelmer Vernooij
53fa1bdb6e r14851: Make BOOL, False and True simple aliases to the POSIX-defined
bool, false and true (guaranteed to be defined by lib/replace)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
bccfddcafa r14844: Support a stdbool.h replacement in lib/replace/ 2007-10-10 13:59:41 -05:00
Jelmer Vernooij
7146c1600f r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
430c6516d3 r14484: Install more headers 2007-10-10 13:57:31 -05:00
Stefan Metzmacher
f1bdca2383 r14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:
http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s4.3.7

tridge: there's also the buffering documented...

metze
2007-10-10 13:57:26 -05:00
Andrew Tridgell
3cde18beae r14411: mark smb_panic() as a noreturn function using gcc attributes, which
tells static analysers that it behaves like abort()
2007-10-10 13:57:20 -05:00