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
Andrew Tridgell
71264bb785
r17978: make the ldap backend test for ldb work both with and without modules
...
(so it works on both redhat and debian, for example)
2007-10-10 14:16:59 -05:00
Stefan Metzmacher
18b4ae591a
r17960: try to use gmake if present on IRIX
...
metze
2007-10-10 14:16:57 -05:00
Simo Sorce
fab0e66281
r17868: remove duplicated attributes from list
2007-10-10 14:16:49 -05:00
Simo Sorce
5b4fc48c49
r17859: Fix some return values
2007-10-10 14:16:49 -05:00
Volker Lendecke
4189736e09
r17844: The AIX compiler thinks { } is a syntax error
2007-10-10 14:16:48 -05:00
Volker Lendecke
fd166ca0c0
r17842: After talking to Simo, apply the next attempt to resolve the strnlen
...
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.
Volker
2007-10-10 14:16:47 -05:00
Simo Sorce
0caf6a44e0
r17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
...
once at connection time, after modules have been loaded.
Introduce a function to retrieve the value where needed.
2007-10-10 14:16:46 -05:00
Andrew Tridgell
946901e5dd
r17828: set the auto_baseDN opaque even on failure to fetch rootDSE. That
...
ensures we never try twice
2007-10-10 14:16:46 -05:00
Andrew Tridgell
c670837cc0
r17822: the ildap ldb backend doesn't need the auto rootDSE logic any more
2007-10-10 14:16:45 -05:00
Andrew Tridgell
5d1b66b68f
r17821: changed ldb_search() and the ldbsearch command line utility to
...
automatically work out the basedn when basedn==NULL. The basedn is
fetched from the rootDSE defaultNamingContext value (if there is one)
This means we don't have to have the defaultNamingContext logic in
lots of places. It makes a lot of sense to me to have basedn==NULL
mean "use the default, as given by the database"
Note that explicitly specifing a basedn of '' is not the same thing,
and will not trigger this code
The baseDN is cached in a ldb opaque, so we only have to fetch it once
2007-10-10 14:16:44 -05:00
Andrew Tridgell
221272e393
r17820: simplify the code flow a little
2007-10-10 14:16:44 -05:00
Stefan Metzmacher
4f753f9ebc
r17778: fix compiler warnings
...
metze
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
c66cf31afd
r17775: use an enum to get rid of compiler warnings
...
metze
2007-10-10 14:16:40 -05:00
Andrew Tridgell
47e695ed88
r17771: add a comment explaing the odd cast
2007-10-10 14:16:39 -05:00
Andrew Tridgell
348aff8c83
r17770: don't force -L/usr/lib, it breaks us4
2007-10-10 14:16:39 -05:00
Andrew Tridgell
0b254f3bde
r17769: only look for dlopen in -ldl if not found in libc. Needed for us4
2007-10-10 14:16:39 -05:00
Andrew Tridgell
f41d3ed4b3
r17765: fix handling of old solaris /bin/sh in ldb build/test
2007-10-10 14:16:38 -05:00