Simo Sorce [Sun, 10 Sep 2006 03:11:03 +0000 (03:11 +0000)]
r18317: Make sure we actually have a valid reply or fail
Simo Sorce [Sun, 10 Sep 2006 02:46:17 +0000 (02:46 +0000)]
r18316: Build the parent too
Simo Sorce [Sun, 10 Sep 2006 00:41:15 +0000 (00:41 +0000)]
r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
Simo Sorce [Sat, 9 Sep 2006 23:50:44 +0000 (23:50 +0000)]
r18314: Handle the case where a dir has the sticky bit set and the OS gives back
EPERM when trying to access user xattrs. Just pretend no attributes are set.
Simo.
Andrew Tridgell [Sat, 9 Sep 2006 12:57:45 +0000 (12:57 +0000)]
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/
Andrew Tridgell [Sat, 9 Sep 2006 12:51:32 +0000 (12:51 +0000)]
r18308: get this right ....
Andrew Tridgell [Sat, 9 Sep 2006 11:46:38 +0000 (11:46 +0000)]
r18307: fixed a warning
Stefan Metzmacher [Sat, 9 Sep 2006 11:07:39 +0000 (11:07 +0000)]
r18306: I hope that works better...
metze
Stefan Metzmacher [Sat, 9 Sep 2006 11:03:12 +0000 (11:03 +0000)]
r18305: get some more debug output to fix the build on sambajail
metze
Andrew Tridgell [Sat, 9 Sep 2006 10:29:13 +0000 (10:29 +0000)]
r18304: fixed misuse of size_t in dopr()
Stefan Metzmacher [Sat, 9 Sep 2006 10:24:42 +0000 (10:24 +0000)]
r18303: we should just use -Ilib/popt as in all other places
metze
Andrew Tridgell [Sat, 9 Sep 2006 10:22:47 +0000 (10:22 +0000)]
r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris
Andrew Tridgell [Sat, 9 Sep 2006 10:05:58 +0000 (10:05 +0000)]
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.
Andrew Tridgell [Sat, 9 Sep 2006 10:01:17 +0000 (10:01 +0000)]
r18300: fixed a type bug in heimdal - lha, you happy with this upstream? It
showed up on ia_64 systems
Andrew Tridgell [Sat, 9 Sep 2006 10:00:35 +0000 (10:00 +0000)]
r18299: POPT_CREDENTIALS should depend on LIBPOPT
Andrew Tridgell [Sat, 9 Sep 2006 09:20:26 +0000 (09:20 +0000)]
r18298: fixed mmap failure test
Stefan Metzmacher [Sat, 9 Sep 2006 09:16:53 +0000 (09:16 +0000)]
r18297: - remove leading ./
- add CFLAGS to the dynconfig-devel.o rule
metze
Stefan Metzmacher [Sat, 9 Sep 2006 09:08:29 +0000 (09:08 +0000)]
r18296: this isn't needed anymore
metze
Andrew Tridgell [Sat, 9 Sep 2006 09:06:20 +0000 (09:06 +0000)]
r18295: pass write type for packet_size
this fixes a crash on IA_64 systems
Stefan Metzmacher [Sat, 9 Sep 2006 09:05:39 +0000 (09:05 +0000)]
r18294: remove leading ././ from .mk files
metze
Stefan Metzmacher [Sat, 9 Sep 2006 08:46:25 +0000 (08:46 +0000)]
r18293: use the correct name it's not always under $srcdir...
metze
Stefan Metzmacher [Sat, 9 Sep 2006 08:34:48 +0000 (08:34 +0000)]
r18292: import some autoconf 2.60 specific macros,
so that older autoconf versions still work
metze
Stefan Metzmacher [Sat, 9 Sep 2006 08:17:48 +0000 (08:17 +0000)]
r18291: don't add ./ for files in the top dir '.'
metze
Andrew Tridgell [Sat, 9 Sep 2006 07:51:30 +0000 (07:51 +0000)]
r18290: finally worked out why we were failing tests on solaris. It has
kerberos on port 750 in /etc/services! Work around this by using
127.0.0.1:88 in the krb5.conf
Andrew Tridgell [Sat, 9 Sep 2006 06:24:13 +0000 (06:24 +0000)]
r18289: don't check for inline till we've worked out the main compiler flags
Andrew Tridgell [Sat, 9 Sep 2006 06:22:57 +0000 (06:22 +0000)]
r18288: autoconf already has a C99 test builtin!
If this works well, we can remove our own test
Andrew Tridgell [Sat, 9 Sep 2006 03:45:04 +0000 (03:45 +0000)]
r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,
needed on AIX 5.2 for C99 structures
Andrew Tridgell [Sat, 9 Sep 2006 03:29:40 +0000 (03:29 +0000)]
r18286: ldb now needs install-sh too
Andrew Tridgell [Sat, 9 Sep 2006 03:28:49 +0000 (03:28 +0000)]
r18285: tdb now needs install-sh
Andrew Tridgell [Sat, 9 Sep 2006 03:16:05 +0000 (03:16 +0000)]
r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()
Andrew Tridgell [Sat, 9 Sep 2006 02:52:41 +0000 (02:52 +0000)]
r18283: libreplace.m4 needs to be early in configure.ac in other packages too
Andrew Tridgell [Sat, 9 Sep 2006 02:35:38 +0000 (02:35 +0000)]
r18282: dynconfig.o build rule needs cflags.pl too
Andrew Tridgell [Sat, 9 Sep 2006 02:32:12 +0000 (02:32 +0000)]
r18281: a workaround for an infinite dependency loop in the dependency
generation for smbreadline.d. The problem was caused by
extra_flags.txt having ./lib/smbreadline/smbreadline.o but the build
using lib/smbreadline/smbreadline.o, which means cflags.pl didn't
match the target.
Hopefully the workaround can be removed when metze or jelmer wake up
and give me a hint on how to make SMB_SUBSYSTEM() not add the ./
prefix :-)
Andrew Tridgell [Sat, 9 Sep 2006 02:12:09 +0000 (02:12 +0000)]
r18280: more portability tidyups, ensuring we use libreplace everywhere
Andrew Tridgell [Sat, 9 Sep 2006 02:06:01 +0000 (02:06 +0000)]
r18279: libreplace.m4 needs to come first or autoconf complains, as libreplace
checks for global system flags
Andrew Tridgell [Sat, 9 Sep 2006 01:49:38 +0000 (01:49 +0000)]
r18278: move more header checks and _GNU_SOURCE into libreplace
Andrew Tridgell [Sat, 9 Sep 2006 01:21:10 +0000 (01:21 +0000)]
r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
Stefan Metzmacher [Fri, 8 Sep 2006 14:48:40 +0000 (14:48 +0000)]
r18273: AC_PROG_LD_GNU needs LD defined already
metze
Simo Sorce [Fri, 8 Sep 2006 14:32:36 +0000 (14:32 +0000)]
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.
Jelmer Vernooij [Fri, 8 Sep 2006 14:25:52 +0000 (14:25 +0000)]
r18270: Samba3 has _PUBLIC_ now.
Stefan Metzmacher [Fri, 8 Sep 2006 14:06:39 +0000 (14:06 +0000)]
r18268: for samba3 define _PUBLIC_ empty
metze
Stefan Metzmacher [Fri, 8 Sep 2006 13:55:13 +0000 (13:55 +0000)]
r18267: print out the failing command for .ho files too
metze
Stefan Metzmacher [Fri, 8 Sep 2006 13:47:45 +0000 (13:47 +0000)]
r18266: we should bail out in configure if C99 structs are not support
tridge: I think we should create macros in libreplace_macros.m4
and call them in check_cc.m4 instead of running the tests
in libreplace.m4. Maybe the macros should remember if they're called
and then they're skipped in libreplace.m4 inside samba4
metze
Stefan Metzmacher [Fri, 8 Sep 2006 13:37:22 +0000 (13:37 +0000)]
r18265: print out the failling command
metze
Stefan Metzmacher [Fri, 8 Sep 2006 13:11:03 +0000 (13:11 +0000)]
r18264: print the full list of flags
metze
Stefan Metzmacher [Fri, 8 Sep 2006 12:48:51 +0000 (12:48 +0000)]
r18262: fix typos
metze
Stefan Metzmacher [Fri, 8 Sep 2006 12:28:11 +0000 (12:28 +0000)]
r18261: print out the version of gcc
metze
Stefan Metzmacher [Fri, 8 Sep 2006 11:42:47 +0000 (11:42 +0000)]
r18260: fix the build on systems with broken readdir
this is just a short term hack
we should move the stuff from lib/replace/config.mk
into a lib/replace/samba.m4 and dynamicly generate the OBJ_FILES
list for LIBREPLACE and get rid of REPLACE_REPDIR
metze
Andrew Tridgell [Fri, 8 Sep 2006 06:57:01 +0000 (06:57 +0000)]
r18258: need to use .priority not .order here
Andrew Bartlett [Fri, 8 Sep 2006 06:21:02 +0000 (06:21 +0000)]
r18257: Order the GENSEC modules, with unknown modules last.
Andrew Bartlett
Andrew Tridgell [Fri, 8 Sep 2006 06:04:10 +0000 (06:04 +0000)]
r18256: use the right status variable
Andrew Bartlett [Fri, 8 Sep 2006 05:45:23 +0000 (05:45 +0000)]
r18255: Remove the SMB_ASSERT(), as these are not talloc()'ed structures.
Andrew Bartlett
Andrew Tridgell [Fri, 8 Sep 2006 05:43:08 +0000 (05:43 +0000)]
r18254: reverted r18231
Jelmer, older versions of gcc don't support visibility("default"). See
for example the CentOS build here:
http://build.samba.org/?function=View+Build;host=lithium;tree=samba4;compiler=gcc;revision=18253
Is there some other way you can think of to do this?
Andrew Bartlett [Fri, 8 Sep 2006 05:24:44 +0000 (05:24 +0000)]
r18253: Turn Cyrus-SASL DIGEST-MD5 off by default for now.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Sep 2006 05:10:10 +0000 (05:10 +0000)]
r18252: Make sure to NULL terminate these lists of attributes.
Andrew Bartlett
Andrew Tridgell [Fri, 8 Sep 2006 04:54:30 +0000 (04:54 +0000)]
r18251: skip pidl tests unless the platform has Test::More
Andrew Bartlett [Fri, 8 Sep 2006 04:37:56 +0000 (04:37 +0000)]
r18250: Add an ordering of GENSEC modules, so we do preferred modules first.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Sep 2006 04:36:41 +0000 (04:36 +0000)]
r18249: Keep trying to start an GENSEC mech from the list until one actually
starts.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Sep 2006 04:36:00 +0000 (04:36 +0000)]
r18248: Bail out with a error message if this search fails for some reason.
Andrew Bartlett
Andrew Tridgell [Fri, 8 Sep 2006 04:35:41 +0000 (04:35 +0000)]
r18247: more shell portability fixes
Andrew Bartlett [Fri, 8 Sep 2006 04:35:00 +0000 (04:35 +0000)]
r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
Andrew Bartlett [Fri, 8 Sep 2006 04:04:30 +0000 (04:04 +0000)]
r18245: Ensure we don't keep the rootdse record around (steal it onto the
correct memory context).
Andrew Bartlett
Andrew Tridgell [Fri, 8 Sep 2006 03:28:39 +0000 (03:28 +0000)]
r18244: more portable shell scripting
Andrew Tridgell [Fri, 8 Sep 2006 03:06:47 +0000 (03:06 +0000)]
r18243: when setting up a composite continuation, if the context has already
finished when we need to trigger the continuation immediately.
Via a fairly complex path, this fixes the problem where all hosts in
the build farm that do not have ipv6 failed a lot of the RPC
tests. This happened because the dcerpc_connect() async code used a
composite_continue() on a context which was already in an error state,
due to the socket backend saying that ipv6 was unavailable
Andrew Bartlett [Fri, 8 Sep 2006 01:16:25 +0000 (01:16 +0000)]
r18242: The cyrus-sasl encode/decode routines process the entire input.
Andrew Bartlett
Andrew Bartlett [Fri, 8 Sep 2006 00:23:21 +0000 (00:23 +0000)]
r18240: Make it clearer when we store the plaintext password.
Store the plaintext password in userPassword in the LDAP backend so
that the OpenLDAP server can use DIGEST-MD5.
Andrew Bartlett
Gerald Carter [Thu, 7 Sep 2006 21:33:35 +0000 (21:33 +0000)]
r18238: add SID_NAME_COMPUTER to the enum lsa_SidType type
Jelmer Vernooij [Thu, 7 Sep 2006 20:24:59 +0000 (20:24 +0000)]
r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
Jelmer Vernooij [Thu, 7 Sep 2006 20:01:17 +0000 (20:01 +0000)]
r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
Jelmer Vernooij [Thu, 7 Sep 2006 19:46:23 +0000 (19:46 +0000)]
r18227: Recognize Samba3 in-tree builds.
Stefan Metzmacher [Thu, 7 Sep 2006 14:24:18 +0000 (14:24 +0000)]
r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order
metze
Stefan Metzmacher [Thu, 7 Sep 2006 14:00:40 +0000 (14:00 +0000)]
r18222: filter out double entries from CFLAGS
metze
Andrew Tridgell [Thu, 7 Sep 2006 13:11:47 +0000 (13:11 +0000)]
r18221: moved more configure checks into lib/replace/
Stefan Metzmacher [Thu, 7 Sep 2006 12:40:29 +0000 (12:40 +0000)]
r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.
as 0 means one element
metze
Andrew Tridgell [Thu, 7 Sep 2006 12:10:06 +0000 (12:10 +0000)]
r18219: move some more portability checks out of samba4 and info lib/replace
Andrew Tridgell [Thu, 7 Sep 2006 11:48:53 +0000 (11:48 +0000)]
r18218: setenv() is guaranteed by libreplace
also, putenv() cannot take a const char *
Stefan Metzmacher [Thu, 7 Sep 2006 11:17:56 +0000 (11:17 +0000)]
r18217: use shorter perl
metze
Andrew Tridgell [Thu, 7 Sep 2006 10:50:33 +0000 (10:50 +0000)]
r18216: a special override for the broken HP-UX C compiler. It does support
C99 initialisers without any flags, but if you don't give it -AC99
then it dies when those initialisers are very complex
Stefan Metzmacher [Thu, 7 Sep 2006 10:32:49 +0000 (10:32 +0000)]
r18215: use a shorter version
metze
Stefan Metzmacher [Thu, 7 Sep 2006 10:25:55 +0000 (10:25 +0000)]
r18214: don't add empty elements
metze
Stefan Metzmacher [Thu, 7 Sep 2006 10:02:32 +0000 (10:02 +0000)]
r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies
metze
Jelmer Vernooij [Thu, 7 Sep 2006 09:59:39 +0000 (09:59 +0000)]
r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
Andrew Tridgell [Thu, 7 Sep 2006 09:49:34 +0000 (09:49 +0000)]
r18211: wct is not a size, so don't use size_t
this should fix a pile of printf format warnings
Stefan Metzmacher [Thu, 7 Sep 2006 09:38:49 +0000 (09:38 +0000)]
r18210: - reenable autodependencies
- and add -MT $@ to the dependency generation
to notice changes in depdendecies of header files
you may need a 'make clean' or at least you need to remove
heimdal_build/replace.hd
metze
Andrew Tridgell [Thu, 7 Sep 2006 09:05:50 +0000 (09:05 +0000)]
r18209: fix the ifdef for HAVE_HISTORY_LIST
Andrew Tridgell [Thu, 7 Sep 2006 08:34:12 +0000 (08:34 +0000)]
r18208: Mac OS X also doesn't have history_list()
must be a pretty old readline lib!
Andrew Tridgell [Thu, 7 Sep 2006 07:56:41 +0000 (07:56 +0000)]
r18207: not all readline libs have rl_event_hook
this should help with coreserverbuild (Mac OS X)
Andrew Tridgell [Thu, 7 Sep 2006 07:26:02 +0000 (07:26 +0000)]
r18206: need rep_ macro for setlinebuf
Andrew Tridgell [Thu, 7 Sep 2006 07:23:58 +0000 (07:23 +0000)]
r18205: need rep_ macros for seteuid and setegid
Andrew Tridgell [Thu, 7 Sep 2006 07:13:35 +0000 (07:13 +0000)]
r18204: darn, compilers always look in the directory the source is in for
headers with "" even with a -I override. That means our heimdal_build/
roken override doesn't work.
Switching to <> style includes in roken fixes this. lha, would be be
acceptable upstream? I notice that half your includes of roken.h are
with <> now anyway, so should be harmless (and even more consistent!)
Andrew Tridgell [Thu, 7 Sep 2006 04:52:06 +0000 (04:52 +0000)]
r18203: rearranged the overrides in heimdal_build/*.h to avoid the use of
heimdal_build/config.h from interfering with libreplace
This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
Andrew Tridgell [Thu, 7 Sep 2006 04:24:54 +0000 (04:24 +0000)]
r18202: moved the overrides for HAVE_xxx from heimdal_build/config.h to
heimdal_build/roken.h
This is a workaround for the fact that with the current CFLAGS and
dependencies system, -Iheimdal_build is put at the front of the
includes list, which means it overrides the normal config.h
Andrew Bartlett [Thu, 7 Sep 2006 03:24:08 +0000 (03:24 +0000)]
r18198: Fix callbacks to use allocated or constant memory, not the stack.
These values are used by SASL at a later time, and must remain valid.
Make the password callback actually return the password.
Andrew Bartlett
Jelmer Vernooij [Wed, 6 Sep 2006 22:25:54 +0000 (22:25 +0000)]
r18194: Allow empty bitmap {} declarations.
Rafal Szczesniak [Wed, 6 Sep 2006 19:43:39 +0000 (19:43 +0000)]
r18190: Add more NET tests to be run on the build farm.
rafal
Stefan Metzmacher [Wed, 6 Sep 2006 16:33:07 +0000 (16:33 +0000)]
r18184: make clear that autodepencies are disabled currently
metze
Stefan Metzmacher [Wed, 6 Sep 2006 15:28:20 +0000 (15:28 +0000)]
r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCC
- also specify USE_HOSTCC = YES on binaries that use HOSTCC
I also disable autodependecies as this change let make run forever,
I hopefully fix that tomorrow
metze
Stefan Metzmacher [Wed, 6 Sep 2006 15:01:25 +0000 (15:01 +0000)]
r18181: use:
CC and CFLAGS
LD and LDFLAGS
STLD and STLD_FLAGS
SHLD and SHLD_FLAGS
all controled by configure
and import the values from samba3 which are more recent
metze
Stefan Metzmacher [Wed, 6 Sep 2006 14:29:57 +0000 (14:29 +0000)]
r18179: - move CC specific stuff to check_cc.m4
- add some AC_DEFINES to rewrite.m4
(I'll remove them from check_ld.m4 soon)
(I've also merged new values from samba3)
metze
Andrew Tridgell [Wed, 6 Sep 2006 13:29:25 +0000 (13:29 +0000)]
r18178: another place needs LIBREPLACE to get strndup
metze or jelmer, is there some way we can get LIBREPLACE in globally?
We're going to be chasing these forever!