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

9752 Commits

Author SHA1 Message Date
Stefan Metzmacher
eda302ffa5 r17753: fix compiler warnings and make the code simpler
metze
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
a4e19d6cc4 r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
2007-10-10 14:16:37 -05:00
Andrew Tridgell
ac178b5293 r17750: these have moved to ldb/replace/ now 2007-10-10 14:16:36 -05:00
Andrew Tridgell
444e92890f r17749: more HPUX madness 2007-10-10 14:16:36 -05:00
Stefan Metzmacher
5992f3b918 r17748: make the casts much easier to understand
metze
2007-10-10 14:16:36 -05:00
Stefan Metzmacher
ccf9ad0d2f r17747: ldb's make test should not try to install something
metze
2007-10-10 14:16:36 -05:00
Andrew Tridgell
15ec8c3741 r17746: the automatic archive creation in make breaks on 3 platforms. Lets try
manual archives and see if they work a bit better ....
2007-10-10 14:16:36 -05:00
Andrew Tridgell
21377a6076 r17745: got rid of the final asprintf() in ldb 2007-10-10 14:16:35 -05:00
Stefan Metzmacher
c3be1e18bc r17744: we explicit want to get warnings about declarations after statements:-)
metze
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
694a56b0ae r17743: fix compiler warnings
metze
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
b2cc485058 r17742: make the casts explicit and remove compiler warnings
metze
2007-10-10 14:16:35 -05:00
Andrew Tridgell
5eb59e5be0 r17741: tru64 uses inttypes.h not stdint.h.
ain't standards wonderful?
2007-10-10 14:16:35 -05:00
Andrew Tridgell
0e350ea0c1 r17740: get rid of dependence on asprintf(), using talloc_asprintf() instead 2007-10-10 14:16:34 -05:00
Andrew Tridgell
ceb09f50b7 r17739: forgot to add replace/* 2007-10-10 14:16:34 -05:00
Andrew Tridgell
c2f6c217fb r17738: solving the seemingly trivial problem of timegm() being missing on
some systems requires quite a large change in ldb. The core problem is
that ldb doesn't have its own equivalent of lib/replace/, so we have
no sane place to put things like timegm.c

This patch moves part of lib/replace/ from Samba4 into ldb, and the
next patch will remove those parts from Samba4. We will probably need
to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/,
so that at each level the libraries have replacements for the
functions they need, but higher level libraries don't need to
re-include replacements if a lower level library already replaces the
function
2007-10-10 14:16:34 -05:00
Andrew Tridgell
aca417c6b1 r17737: fixed a 'declaration in code' error 2007-10-10 14:16:34 -05:00
Andrew Tridgell
b85b1f5926 r17735: a (probably useless) attempt to workaround stupidity in HPs version of
make
2007-10-10 14:16:34 -05:00
Andrew Tridgell
b735ad8cfa r17734: tru64 needs these for standalone build 2007-10-10 14:16:33 -05:00
Andrew Tridgell
e9ab8d9f48 r17733: doxygen is way too noisy to build every time, and it doesn't do
dependencies. If someone can fix it to only rebuild when something
changes, then feel free to re-enable it by default. Otherwise use
"make doxygen" if you are in need of a doxygen fix ....
2007-10-10 14:16:33 -05:00
Andrew Tridgell
7f3c699d0f r17732: after some help from Jelmer, changed builddocs.sh not to rely on
either an internet connection, or a list of xsl paths
2007-10-10 14:16:33 -05:00
Andrew Tridgell
1ad1d5f37e r17731: try to cope with freebsd handling of .a dependencies 2007-10-10 14:16:33 -05:00
Andrew Tridgell
217cff9f00 r17730: cast dlsym result to try to avoid a compiler crash on hpux 2007-10-10 14:16:33 -05:00
Andrew Tridgell
16be09e0d6 r17729: remove the dependence on an internet connection for building
standalone ldb by only running xsltproc if we can find a local copy of
the required stylesheets
2007-10-10 14:16:32 -05:00
Andrew Tridgell
33ccb93647 r17726: not having slapd installed isn't a ldb test failure 2007-10-10 14:16:32 -05:00
Andrew Tridgell
6a7182b599 r17725: VPATH and builds out of the source directory causes problems with the
AIX 5.1 version of make. Putting a direct dependency on $(OBJS) works
around this, and should be harmless on other systems
2007-10-10 14:16:32 -05:00
Andrew Tridgell
0a6968b71b r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
will realise that buffer overflows are bad ....
2007-10-10 14:16:32 -05:00
Andrew Tridgell
a05101d83b r17722: better to use talloc_vasprintf() than vasprintf() directly, as it
depends on less libc functions
2007-10-10 14:16:32 -05:00
Andrew Tridgell
a40e8c210a r17721: fixed the dlopen and MODULESDIR handling in the standalone build 2007-10-10 14:16:31 -05:00
Andrew Tridgell
99915268e6 r17720: in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t
2007-10-10 14:16:31 -05:00
Andrew Tridgell
db4d99f35b r17719: ldb_cmdline needs to be static for cc on solaris 2007-10-10 14:16:31 -05:00
Andrew Tridgell
72cdf93b5a r17718: don't consider a slapadd failure in the ldap backend tests as a ldb
failure
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
45061b1b7e r17717: this cried for bugs...and they happened...
we were passing a struct timeval reference as string,
and gcc gives a warning...use C99 style initialisation.

is there a special reason why the ACB_NORMAL is passed
when the force_password_change is selected?

metze
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
43f030e71e r17716: make casts explicit and remove compiler warnings
metze
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
dab51c1f7f r17715: make the cast explicit and remove compiler warnings
metze
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
cea06e105a r17714: fix compiler warnings
metze
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
21142ad7a2 r17713: fix compiler warnings
metze
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
669d1e5f92 r17712: fix compiler warning
metze
2007-10-10 14:16:29 -05:00
Stefan Metzmacher
f3dc51fef5 r17711: fix compiler warnings
metze
2007-10-10 14:16:29 -05:00
Andrew Tridgell
bf88bc5de6 r17708: make the automated testing of the ldb ldap backend more portable 2007-10-10 14:16:29 -05:00
Andrew Bartlett
8f624fd175 r17707: Match the output (aside from dividers) the output of
ol-schema-migrate.pl in the schema output.

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Tridgell
07fa357f3f r17706: remove the dependence on gnu make in the standalone build 2007-10-10 14:16:28 -05:00
Andrew Bartlett
3bb0a0d91e r17705: Use the paged_searches module by default against the LDAP backend, if
selected.

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Bartlett
d5814b689e r17704: Add comments suggesting how to get the LDAP backend working.
Shutdown and reload the LDB, so the entryUUID module knows to read the
schema (will be changed once we have a central schema store and
notifications).

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Bartlett
420d1920a6 r17703: Fixes to enable the entryUUID module to work for it's objectClass ->
OID mappings.

The key point is to 'enable' the partitions in the partitions module
before the init is complete.  That way, the modules can perform
searches that use partitions.

Andrew Bartlett
2007-10-10 14:16:28 -05:00
Andrew Tridgell
6495620d18 r17702: test for gcc, and only enable gcc flags if true 2007-10-10 14:16:27 -05:00
Andrew Tridgell
bd1bd1c5ce r17701: doxygen (if installed!) needs to be run in the src directory 2007-10-10 14:16:27 -05:00
Andrew Bartlett
daa1a61891 r17700: Despite our best hopes, the way module initialisation tends to happen,
we make searches before things are initialised.  Cope with this.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Bartlett
3c497405fe r17699: Remove more printf calls.
Try to cope with partital initialisation.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Bartlett
5bcfa12cef r17698: The original code assumed that &data->context was a valid talloc
pointer.

This only works when this is the only structure member, but when I
added a new context pointer, it failed.

Andrew Bartlett
2007-10-10 14:16:27 -05:00
Andrew Tridgell
55748bb382 r17697: - enable test for slapd
- include popt.m4
2007-10-10 14:16:26 -05:00