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

852 Commits

Author SHA1 Message Date
Simo Sorce
34ce1f8e1b r18591: Better defaults for share creation
Fix logic error in paged_results
2007-10-10 14:18:53 -05:00
Andrew Tridgell
5a8becb1be r18539: 'make distclean' should delete config.cache 2007-10-10 14:18:43 -05:00
Andrew Tridgell
588c91f06b r18538: we need a pipe here, not a logical OR
also fix cn name for this record, and ensure tests/tmp is created
2007-10-10 14:18:43 -05:00
Andrew Tridgell
fbe13ed83e r18536: fixed the loading of external binary files from ldif into ldb 2007-10-10 14:18:43 -05:00
Andrew Tridgell
823cd3ab35 r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.

Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
2007-10-10 14:18:42 -05:00
Jelmer Vernooij
fc3f41a4ab r18515: Remove calls to "time" for now as some sh implementations don't have it,
causing this test to fail.
2007-10-10 14:18:40 -05:00
Andrew Bartlett
81d9a692c1 r18504: Handle mappings for RENAME and KEEP attributes better. We don't need
to mess with the values in these cases.

Where we do convert the values, try and convert substrings.  This
isn't going to be perfect, but we should try rather than segfault.

This also avoids using the wrong arm of the union for the attribute
name

The change in the entryUUID module is to correct the case of
sAMAccountName, due to the case sensitive ldap.js test.

Andrew Bartlett
2007-10-10 14:18:40 -05:00
Andrew Bartlett
bc58792b71 r18495: More work on the LDAP backend (which now passes a lot of our tests!)
This adds a list of attributes that are in our wildcard seaches, but
the remote server requires to be explicitly listed.  This also cleans
up the handling of wildcards in ldb_map to be more consistant.

Also fix the partitions module to rebase the search, if on the GC
port, we do a subtree search.  (Otherwise backends can rightly
complain that the search is not in their scope).

Andrew Bartlett
2007-10-10 14:18:38 -05:00
Stefan Metzmacher
95d33e4d71 r18485: include libreplace.m4 in the aclocal.m4 files
and use the macros in configure.ac

metze
2007-10-10 14:18:36 -05:00
Andrew Tridgell
254cbf09de r18439: 2nd try at a talloc_move() api. This type with the ** ptr interface
exposed.

Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
b0de283882 r18438: I should have examined these uses of talloc_move() more
carefully. Most of them are OK, but a couple were not.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
4c33c6bb97 r18437: added a 'make valgrindtest' target for ldb 2007-10-10 14:18:29 -05:00
Andrew Tridgell
c0d9e7d473 r18436: converted ldb to use talloc_move() instead of talloc_steal() when
appropriate.

Note that I also removed the error checks that were being done on the
result of talloc_steal(). They are pointless as talloc_steal() doesn't
have any failure modes that wouldn't cause a segv anyway, and they
tend to clutter the code
2007-10-10 14:18:29 -05:00
Andrew Bartlett
c89e416d28 r18410: Reduce noise in the ldb_ildap backend. We regularly search for things
that don't exist, and this is not a cause for panic.

Andrew Bartlett
2007-10-10 14:18:25 -05:00
Andrew Tridgell
8cc456e6dc r18347: run slapd in the foreground so timelimit can kill it 2007-10-10 14:18:14 -05:00
Andrew Tridgell
0e1d4be23a r18346: make sure we kill off the slapd process 2007-10-10 14:18:13 -05:00
Andrew Tridgell
b2bba4e726 r18327: 'struct token' is defined on some hosts 2007-10-10 14:18:09 -05:00
Andrew Tridgell
449fab2c26 r18321: fixed some warnings on AIX 2007-10-10 14:18:08 -05:00
Simo Sorce
41cb3a9258 r18317: Make sure we actually have a valid reply or fail 2007-10-10 14:18:07 -05:00
Andrew Tridgell
c440e0eed9 r18309: FreeBSD 6.1 has a symbol ldap_new_connection() in the system ldap
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.

We really need to use a completely different namespace in libcli/ldap/
2007-10-10 14:18:06 -05:00
Andrew Tridgell
eba6c84eff r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
ce5b1b8c09 r18286: ldb now needs install-sh too 2007-10-10 14:18:01 -05:00
Andrew Tridgell
03f9c67c06 r18283: libreplace.m4 needs to be early in configure.ac in other packages too 2007-10-10 14:18:01 -05:00
Simo Sorce
30a26a501f r18272: Couldn't resist to change this.
What we want to do here is to just make sure res is freed.
Well let's just do so explicitly, the steal cofused me
initially while reading the code. This way it is clear
what we want to do.

Simo.
2007-10-10 14:17:59 -05:00
Andrew Bartlett
b4f234e507 r18245: Ensure we don't keep the rootdse record around (steal it onto the
correct memory context).

Andrew Bartlett
2007-10-10 14:17:54 -05:00
Andrew Tridgell
3200031276 r18244: more portable shell scripting 2007-10-10 14:17:54 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -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
Jelmer Vernooij
b34310029a r18166: Fix build with external popt. 2007-10-10 14:17:45 -05:00
Jelmer Vernooij
849fa93540 r18161: Fix LDB build after popt changes. 2007-10-10 14:17:44 -05:00
Stefan Metzmacher
39dc57a502 r18153: html/ isn't needed
metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
38f9e90a12 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
e354cd0fae r18150: fix make *clean
metze
2007-10-10 14:17:42 -05:00
Andrew Tridgell
a4d1f1d222 r18143: the 'showflags' convention from Samba is useful for the other packages 2007-10-10 14:17:40 -05:00
Andrew Tridgell
efe60c8a4b r18133: ad2oLschema needs ctype.h on some systems 2007-10-10 14:17:37 -05:00
Andrew Tridgell
18542f184f r18130: the move to system/ in libreplace broke some things ... should be
happier now
2007-10-10 14:17:37 -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
e84b6c70a1 r18123: Fix manual file build. 2007-10-10 14:17:35 -05:00
Jelmer Vernooij
1adf65b4d7 r18121: Simplify m4 code, hopefully fix Samba4 build problems. 2007-10-10 14:17:35 -05:00
Andrew Tridgell
c079cedb08 r18117: first steps in making samba4 use libreplace 2007-10-10 14:17:34 -05:00
Andrew Tridgell
e9ee8b1053 r18115: comparison_fn_t is defined in libreplace now 2007-10-10 14:17:34 -05:00
Andrew Tridgell
2057159c75 r18112: really make use of libreplace in ldb 2007-10-10 14:17:18 -05:00
Andrew Tridgell
28dcbb512f r18109: move ldb to use the same build methods 2007-10-10 14:17:18 -05:00
Stefan Metzmacher
816fa197a7 r18098: use m4_include() instead of sinclude()
this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken
anyway

metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
ce94fb008d r18091: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze
2007-10-10 14:17:15 -05:00
Jelmer Vernooij
9ad8075d70 r18036: Add missing file 2007-10-10 14:17:06 -05:00
Jelmer Vernooij
fe7ca4b145 r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Andrew Bartlett
6c11501ec3 r18022: Increment number of records converted, and print number of records skipped.
Andrew Bartlett
2007-10-10 14:17:03 -05:00
Volker Lendecke
2a7cdf52e4 r18018: Fix the build on OpenBSD. No license problem this time, I've written strnlen
from scratch.

Volker
2007-10-10 14:17:03 -05:00
Andrew Tridgell
5b9b9dd530 r17992: reverted r17842
This needs more consideration, as the patch removed the copyright
notice and license from the timegm.c code.

Volker, when you get a minute can you let me know what problem this
patch fixed so I can find a different approach?
2007-10-10 14:17:02 -05:00