1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

10423 Commits

Author SHA1 Message Date
Jelmer Vernooij
0eb9794e9f r18471: Remove other Samba3 parser generator support as well - it's no
longer necessary as we can use libndr now.
(This used to be commit 22142a9f3d)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
e26ed8b3e2 r18470: Remove obsolete client generator code for Samba3 (we're now using the
new code that uses libndr)
(This used to be commit ea0ef1542f)
2007-10-10 14:18:34 -05:00
Jelmer Vernooij
fb211b52fe r18468: Add IDL for dfs_EnumEx. Still lacks test(s)
(This used to be commit 79b6001f91)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
84a56aca15 r18465: much better fix for a roken specifiv problem
metze
(This used to be commit 1ae1e68fe9)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
f6de92d47c r18463: add some more warning flags, tested with gcc 2.95.3 on SuSE 7.3
metze
(This used to be commit 553a90cbe2)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
63d284c912 r18462: make the output a bit nicer
metze
(This used to be commit 0b61ea3ed7)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
dca9292c15 r18461: - extend make showflags
- let make test trigger showflags

metze
(This used to be commit 43c1d775b9)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
4c0b19277a r18460: split out timegm test and only add timegm.o when needed
metze
(This used to be commit f9bff4dbda)
2007-10-10 14:18:33 -05:00
Andrew Bartlett
f425072ed9 r18459: Set access to test LDAP server as system to anonymous, but also note
the correct authz-regexp for future use.

Fail to test if slapd fails and TEST_LDAP=yes
(This used to be commit 1daf4e7bd4)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
c706319c8f r18458: move wins32 stuff to the top dir
metze
(This used to be commit 521e94f269)
2007-10-10 14:18:33 -05:00
Stefan Metzmacher
2c3dc50953 r18456: Tru64 doesn't have getdents() so we don't need this ifdef's...
metze
(This used to be commit 5af86eb3f0)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
bf071a91aa r18455: check if getdents() and getdirentries() are available.
(only for the nicer configure output)

metze
(This used to be commit d53eb6bd10)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
b270dd3fd6 r18454: this was just for debugging...
metze
(This used to be commit f9f14a9429)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
dfef2dc22f r18452: add configure test for a getdirentries() based replacement for broken readdir()
Tru64 need this, linux also has getdirentries() but the native readdir() works
but it means we can write the code on linux and when it works it may work on Tru64
too.

tridge: can you try to implement this?

metze
(This used to be commit dd791d255c)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
c564344766 r18451: move repdir/ into the top dir
metze
(This used to be commit a564194817)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
0584c108db r18450: - autogenerate the OBJ_FILES for LIBREPLACE
- remove samba specific stuff from libreplace
- and include the readdir replacement stuff in the standalone builds

metze
(This used to be commit 3cac61152e)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
c447b8a199 r18448: this gives nicer output...
metze
(This used to be commit 6bdb329da5)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
a57133c56e 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
(This used to be commit d8e8838674)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
e18547d489 r18445: splitout the dlfcn related tests
metze
(This used to be commit 8662e14815)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
cac47350c2 r18444: return the correct value on error
metze
(This used to be commit d65e94fea9)
2007-10-10 14:18:30 -05:00
Stefan Metzmacher
9768393b3b r18443: add object files only when needed
metze
(This used to be commit 5fddb66def)
2007-10-10 14:18:30 -05:00
Stefan Metzmacher
764f74c565 r18442: run the os2_delete test in the testsuite too
that shows that Tru64 is broken...

It doesn't have getdirent() and the the replacement
code doesn't work there.

tridge: do you have any idea how to fix this?

metze
(This used to be commit a5ebfd0ab7)
2007-10-10 14:18:30 -05:00
Andrew Bartlett
918db36213 r18441: Allow searching for the high bit in these bitfields, when the client
asks for them as large integers, rather than a negative integer.

Due to an OpenLDAP bug, this only works reliably against OpenLDAP CVS
as of today.  (but mostly works in older versions, depending on a
thread-specific value fo errno in the server).

Andrew Bartlett
(This used to be commit 3b5354aede)
2007-10-10 14:18:30 -05:00
Simo Sorce
6c48dc8612 r18440: "builtinDomain" is not a child of "domain"
(This used to be commit b34646f202)
2007-10-10 14:18:30 -05:00
Andrew Tridgell
05cdd9ccaf 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.
(This used to be commit 254cbf09de)
2007-10-10 14:18:29 -05:00
Andrew Tridgell
24fe49a3d1 r18438: I should have examined these uses of talloc_move() more
carefully. Most of them are OK, but a couple were not.
(This used to be commit b0de283882)
2007-10-10 14:18:29 -05:00
Andrew Tridgell
12e7682e7b r18437: added a 'make valgrindtest' target for ldb
(This used to be commit 4c33c6bb97)
2007-10-10 14:18:29 -05:00
Andrew Tridgell
7f63cebd33 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
(This used to be commit c0d9e7d473)
2007-10-10 14:18:29 -05:00
Andrew Tridgell
1a59784451 r18435: added a function talloc_move() which is like talloc_steal(), but is
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.

talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
(This used to be commit 200756017e)
2007-10-10 14:18:29 -05:00
Andrew Bartlett
d21cb7e2d2 r18434: Fix typo...
(This used to be commit 4f235b88aa)
2007-10-10 14:18:28 -05:00
Andrew Bartlett
7d2a820157 r18433: Make sure to search below the partitions baseDN for the netbios name.
I think we should have a helper function for this search, we do it too
often...

Andrew Bartlett
(This used to be commit 09327baa0d)
2007-10-10 14:18:28 -05:00
Andrew Tridgell
daff791c27 r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. The
two conflict on irix.
(This used to be commit 4dd949c80d)
2007-10-10 14:18:28 -05:00
Andrew Tridgell
d5ef649e20 r18431: use this to suppress things on fort in the build farm
(This used to be commit 13ed504a1b)
2007-10-10 14:18:28 -05:00
Stefan Metzmacher
fdc7677fec r18428: add my copyright
metze
(This used to be commit d222fab2b5)
2007-10-10 14:18:28 -05:00
Stefan Metzmacher
6924a30bb5 r18427: set sin_port correctly on autobound socket
metze
(This used to be commit d373890fb2)
2007-10-10 14:18:27 -05:00
Stefan Metzmacher
3c096b3a9a r18426: use 'family' consistantly instead of mixing 'domain' and 'family'
metze
(This used to be commit 224f26602a)
2007-10-10 14:18:27 -05:00
Stefan Metzmacher
894a64521a r18424: there's no need to allocate a wrapped socket for unix sockets,
also this makes sure the socket file isn't unlinked if using socket
wrapper.

metze
(This used to be commit 7670e9ae6e)
2007-10-10 14:18:27 -05:00
Stefan Metzmacher
ee67387d32 r18423: record accept, connect and close events in socket wrapper
metze
(This used to be commit 7f29471f0b)
2007-10-10 14:18:27 -05:00
Stefan Metzmacher
5addf852d2 r18421: support --target=samba3, I thought that was already supported
metze
(This used to be commit 47ccea11f3)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
26e9619c17 r18420: fix the build...
metze
(This used to be commit a7ce2c6c53)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
68201cc76b r18419: fix include paths of the configure tests
metze
(This used to be commit 8774eeb0dc)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
566466319e r18418: Tru64 has a different prototype for seekdir() returning int
when _OSF_SOURCE is defined

metze
(This used to be commit 5279656a15)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
b5ea572f45 r18417: overload send() and recv() by socket wrapper
and add a dummy swrap_dump_packet() function
which can later dump the packet content,
so that a script can then generate a capture file
for wireshark

metze
(This used to be commit d05cab5c62)
2007-10-10 14:18:26 -05:00
Andrew Bartlett
4de4af0942 r18416: We need to look for both builtinDomain and domain, in the OpenDomain call.
Andrew Bartlett
(This used to be commit 5525baf521)
2007-10-10 14:18:25 -05:00
Brad Henry
695cf5413a r18415: Make the samba-windows test scripts executable so they run a little easier in the build farm.
(This used to be commit b2d3f8f7aa)
2007-10-10 14:18:25 -05:00
Brad Henry
6b2aaed94a r18414: This README file should help to explain what is needed to setup a Windows VM for testing using this framework.
Let me know if there's anything that looks strange or could use clarification.

vm_setup.tar.gz is currently located at the root of my SVN branch, svn://svnanon.samba.org/samba/branches/SOC/bnh.
(This used to be commit 849fe757bb)
2007-10-10 14:18:25 -05:00
Simo Sorce
7736d2f65c r18412: Implement NetiNameValidate but just for share name right now (type 9)
Simo.
(This used to be commit 906429834a)
2007-10-10 14:18:25 -05:00
Andrew Bartlett
33c4fea4cd 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
(This used to be commit c89e416d28)
2007-10-10 14:18:25 -05:00
Andrew Bartlett
1be5dc9837 r18409: Make sure to print a DEBUG message if this LDB search fails.
Andrew Bartlett
(This used to be commit 6419ef09b1)
2007-10-10 14:18:24 -05:00
Andrew Bartlett
3a577a2a9d r18408: Only output a message if the async request fails.
Andrew Bartlett
(This used to be commit 1ea6b600f4)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
a8c17f8ed3 r18407: test for epoll.h and select.h
(This used to be commit 3ddb77c1e3)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
10b54fdb52 r18406: disable local iconv test as well when iconv:native=false
(This used to be commit 77e6a09e6b)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
ac3e41af37 r18401: some of our code also relies on fprintf() handling C99
semantics. Easiest to just replace it if it doesn't.
(This used to be commit 5fc756a770)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
513568b7e2 r18400: move MAP_FAILED define to lib/replace/system/shmem.h
(This used to be commit 025b142ff2)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
fcc7bdf874 r18392: add sidtouid and sidtogid tests to RPC-UNIXINFO
metze
(This used to be commit f1708fd943)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
fc84f0d3ca r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid

metze
(This used to be commit fb92643a8b)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
e6e21ed3ad r18389: test RPC-UNIXINFO in samba4
metze
(This used to be commit 928beac95d)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
497ca8527f r18388: remove _XOPEN_SOURCE it causes trouble on BSD and IRIX
I need to find a way to define it only on Tru64 maybe.

metze
(This used to be commit aca8a3f8c0)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
89fbfd7460 r18386: start the unixinfo pipe by default
metze
(This used to be commit ea44cdfc6f)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
c4660ea569 r18385: fix crashes in the RPC-UNIXINFO test
jelmer: I think there're a few ref pointer related bugs in pidl
        we need to discuss them the next days

metze
(This used to be commit 8c4241ecbb)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
13a062a41e r18384: this is a ref pointer like in samba3 and for the Gid version
metze
(This used to be commit 5d2100a6da)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
27964734a6 r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64
to get MAP_FAILED

metze
(This used to be commit 0f48c8ad7c)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
d40dcaebda r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED in
sys/mman.h on Tru64

metze
(This used to be commit 8109eb9d28)
2007-10-10 14:18:22 -05:00
Stefan Metzmacher
70028b82a9 r18381: make sure autoconf doesn't add '-O2' to CFLAGS
metze
(This used to be commit ec6365b5f1)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
3f51341528 r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -
thanks to volker for the suggestion
(This used to be commit 03ed41515b)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
c87a08425c r18377: disable native iconv with valgrind
(This used to be commit d1ceb79d9d)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
e96b2df638 r18376: added iconv:native=false option to turn off native iconv. Needed under
valgrind as native iconv is so full of overflows
(This used to be commit d1de0202ef)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
208bc04362 r18375: Volker noticed that this is in fact an 8bit number - well spotted!
(This used to be commit 3f80b6b87b)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
a57b42ff4e r18374: don't go past the end of this array
should fix the intermittend failure of the HMACSHA1 test
(This used to be commit 09014e1102)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
6cb5128dd6 r18372: don't use the system inotify until in the build farm until we work out
how to work around a problem with it giving unpredictable orderings in
renames (sometimes target is first event, sometimes source)
(This used to be commit 066e3b51b1)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
bca38ba866 r18371: made the directory depth notify test independent of timing
(This used to be commit 39458e62f5)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
c4aaa094e7 r18370: allow system inotify to be disabled
(This used to be commit 31bbf865a0)
2007-10-10 14:18:20 -05:00
Andrew Bartlett
35d30de095 r18368: Don't list GENSEC mechs that only have client implementations in our
supportedSASLMechanism list.

Andrew Bartlett
(This used to be commit 3e69637b5f)
2007-10-10 14:18:20 -05:00
Andrew Bartlett
a41b696346 r18367: When converting to entryUUID, ensure we don't double-convert a
string-format GUID.

Andrew Bartlett
(This used to be commit 11cc6408c9)
2007-10-10 14:18:19 -05:00
Stefan Metzmacher
dd4fac5a55 r18366: check if we can link using the selected flags
metze
(This used to be commit d905bb499d)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
87c998b1e7 r18365: When adding a new structure member, always remember to fragment it.
Andrew Bartlett
(This used to be commit 27259f3632)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
2687eeab57 r18364: Get us closer to schema compliance. The corrent names for "secret"
and "priorSecret" are "currentValue" and "priorValue".

With this, we pass RPC-LSA against OpenLDAP.

Andrew Bartlett
(This used to be commit 4380bcaaee)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
72c5be634c r18363: Found a rather nasty bug in our fragment handling.
We were adding packet fragments onto the *reply* queue, not the
recieve queue.  This worked, as long as we got a whole packet before
we did any reply work, but failed once the backend called a remote
LDAP server (and I presume something invoked the event loop).

Andrew Bartlett
(This used to be commit a0162e0ace)
2007-10-10 14:18:19 -05:00
Andrew Bartlett
79a1d08324 r18362: Make LookupSids map onto LookupSids2, as they both take a policy
handle.  Avoids a lookup for the basic domain information for every
request.

Andrew Bartlett
(This used to be commit 35b69bc5f4)
2007-10-10 14:18:18 -05:00
Andrew Bartlett
459a2301a5 r18361: Invert the way we handle LookupSids2/LookupSids3 and LookupNames3/LookupNames4
The latter calls don't supply a policy handle

The latter calls now acquire a policy handle, then call the earlier
calls.  This means we still share the codepaths, but don't need to
fetch policy state when it is already provided.

Andrew Bartlett
(This used to be commit 5fa9e96bd0)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
f793748f43 r18360: better handling of child process killing in standard mode
(This used to be commit 6a2144caab)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
cb487062c8 r18359: better handling of child process killing in standard mode
(This used to be commit 3752cc2b57)
2007-10-10 14:18:18 -05:00
Andrew Tridgell
2d60d3b492 r18358: handle errors in the RPC-LSA async test
(This used to be commit d46c3be9f9)
2007-10-10 14:18:18 -05:00
Andrew Bartlett
2059aa0949 r18357: Convert more crypto tests from using function results as initialisers.
(Fails on older Unix C compilers)

Andrew Bartlett
(This used to be commit a4cc13a93f)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
bfe8de6949 r18356: doing 1000 of these requests can take over an hour under
valgrind. Reduce to 50, which is plenty for testing the code
(This used to be commit 911c8e1c73)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
8942893c39 r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
(This used to be commit 81fd19ba3f)
2007-10-10 14:18:17 -05:00
Andrew Bartlett
cbed4ba5af r18354: It seems safe to enable the DIGEST-MD5 module now.
Andrew Bartlett
(This used to be commit 8357f8be45)
2007-10-10 14:18:17 -05:00
Andrew Tridgell
691ba583af r18353: try to fix the assumption of NULL being handled in printf()
permanently by replacing printf() on systems that don't have a C99
printf lib
(This used to be commit eacb5357c3)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
f466901945 r18352: printf("%s") is not safe for NULL strings on all platforms, but
d_printf() is. This fixes a crash on solaris
(This used to be commit 52d1566711)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
db96ce03e9 r18351: functions as initialisers in structures doesn't work on some compilers
(This used to be commit db694a7c82)
2007-10-10 14:18:16 -05:00
Andrew Tridgell
620a1488b3 r18350: we have to check for lstat() to keep roken happen on hpux
(This used to be commit e251c211f7)
2007-10-10 14:18:15 -05:00
Andrew Tridgell
c4f16ffcf9 r18349: don't do validation when using valgrind. It's way too slow (can be
hours for a single test)
(This used to be commit febaf6af4c)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
2c6a880321 r18348: fixed a valgrind error in RPC-SRVSVC
(This used to be commit cc89ef3e1f)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
81e4403e79 r18347: run slapd in the foreground so timelimit can kill it
(This used to be commit 8cc456e6dc)
2007-10-10 14:18:14 -05:00
Andrew Tridgell
d939ff7bee r18346: make sure we kill off the slapd process
(This used to be commit 0e1d4be23a)
2007-10-10 14:18:13 -05:00
Simo Sorce
dc221581f0 r18345: test also flags
(This used to be commit 06469a6ba0)
2007-10-10 14:18:13 -05:00
Simo Sorce
8f107700a5 r18344: add a test to show hoe NetNameValidate behaves.
fix the misleading idl names
(This used to be commit 8367b3bcee)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
a8421e8107 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
(This used to be commit 095b805774)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
3dc237eb28 r18342: a bit more explanation of these strange values
(This used to be commit e191f84f24)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
06bc06cf08 r18341: ooh this gets subtle - this needed for xfs on linux
(This used to be commit 9d688eb9cb)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
a9aa66ab32 r18340: some HPUX boxes don't have ptrdiff_t
(This used to be commit f3b24ea48a)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
5c104c1d2f r18339: need these checks for roken.h on hpux
(This used to be commit e98e0a28a0)
2007-10-10 14:18:12 -05:00
Stefan Metzmacher
d159cffe2f r18338: this isn't needed anymore
metze
(This used to be commit 91800fd80c)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
d82ed849cc r18337: more -Ae tests in check_cc.m4
honor the MMAP_BLACKLIST
(This used to be commit c2f2dbb5d1)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
2e24543b21 r18336: autoconf tries to force on C89 mode on HP-UX, using the -Ae
flag. Unfortunately that flag conflicts with the -AC99 flag, and we
get lots of breakage.

This is a trick to force off the -Ae option
(This used to be commit eb93fb8e54)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
3f8383cd61 r18335: more portable bool tests
(This used to be commit 45a3a6a566)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
ee66b69a8b r18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
it does have 'usr'
(This used to be commit 96db975024)
2007-10-10 14:18:11 -05:00
Stefan Metzmacher
2cebef3a9e r18333: $< is broken in older BSD version:
when $@ is foo/bar.o, $< could be torture/foo/bar.c
if it also exists. So better use $* which is foo/bar
to get foo/bar.c

metze
(This used to be commit 7aad9f81d9)
2007-10-10 14:18:11 -05:00
Andrew Tridgell
fc8960ee9a r18332: added back in our shared mmap test code
(This used to be commit 6ff100b266)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
0ee52751f3 r18331: fixed a warning
(This used to be commit 997ed10bf5)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
f6d98fe853 r18330: don't mix pointer types in RPC replies
(This used to be commit cc86719f53)
2007-10-10 14:18:10 -05:00
Stefan Metzmacher
bcabebf502 r18329: print out special make variables when failing, to track down the
build failures on older BSD systems with broken make

metze
(This used to be commit 7edb40569a)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
2696cc3120 r18328: when we bail out early, set *offset to 0
(This used to be commit 8123046460)
2007-10-10 14:18:10 -05:00
Andrew Tridgell
f658414c5f r18327: 'struct token' is defined on some hosts
(This used to be commit b2bba4e726)
2007-10-10 14:18:09 -05:00
Stefan Metzmacher
354bf04db9 r18326: these are not used anymore, I found the bug on *BSD
it's the broken BSD make again where we endup with this:

... -c torture/libnet/libnet_rpc.c -o libnet/libnet_rpc.o

metze
(This used to be commit 97d73452c5)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
aab0622a75 r18325: more warnings and one compile error on aix fixed
(This used to be commit 6e7e151432)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
cac69cdd74 r18324: fixed a uninitialised variable
(This used to be commit 08562d6ebe)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
fbb301a72d r18323: this function returns a pointer, not a bool
(This used to be commit 86ef345cbf)
2007-10-10 14:18:09 -05:00
Andrew Tridgell
d2e72c46c1 r18322: fixed a compilation problem on AIX caused by lex not putting config.h
first. That leads to a conflicting define for lseek() due to
_LARGE_FILES being defined after standards headers are included
(This used to be commit 9034238e27)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
9adf2883ef r18321: fixed some warnings on AIX
(This used to be commit 449fab2c26)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
3cc41b70da r18320: the raw write size limit test hurts too many hosts. Limit it to 2^33
bytes if --dangerous is not set.
(This used to be commit 90e5136ea4)
2007-10-10 14:18:08 -05:00
Andrew Tridgell
89efea81d9 r18319: fixed the directory search resume code on IRIX
The problem was twofold:

  1) irix returns 64 bit numbers in telldir(). The protocol uses a 32
     bit resume key. We now cope with this properly using the code in
     pvfs_list_seek_ofs().

  2) irix returns 0xFFFFFFFF from telldir() for the last entry in the
     directory. When added to DIR_OFFSET_BASE this became
     DIR_OFFSET_DOTDOT which meant an infinite loop!
(This used to be commit 8cce9740ed)
2007-10-10 14:18:08 -05:00
Simo Sorce
c74d5b9204 r18318: Implement DiskEnum
Fix spelling and consistencies issues in idl
(This used to be commit 1347c971ac)
2007-10-10 14:18:08 -05:00
Simo Sorce
fb15300c60 r18317: Make sure we actually have a valid reply or fail
(This used to be commit 41cb3a9258)
2007-10-10 14:18:07 -05:00
Simo Sorce
b2355bf077 r18316: Build the parent too
(This used to be commit 1fcf725bc0)
2007-10-10 14:18:07 -05:00
Simo Sorce
92689d1805 r18315: Implement netSrvGetInfo level 102
fix names to be consistent between level 101 and 102 and typo in idl
(This used to be commit 1962fb92d7)
2007-10-10 14:18:07 -05:00
Simo Sorce
b0f6a94d9a 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.
(This used to be commit 53463ca796)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
e91cee468e 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/
(This used to be commit c440e0eed9)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
66c16b5143 r18308: get this right ....
(This used to be commit 3697cd6597)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
957a3bbe81 r18307: fixed a warning
(This used to be commit cf24d46ea3)
2007-10-10 14:18:06 -05:00
Stefan Metzmacher
e00f1e13ef r18306: I hope that works better...
metze
(This used to be commit fa060ff7a6)
2007-10-10 14:18:06 -05:00
Stefan Metzmacher
bf4bb22847 r18305: get some more debug output to fix the build on sambajail
metze
(This used to be commit 13f54d8fa7)
2007-10-10 14:18:05 -05:00
Andrew Tridgell
4e99d06ee7 r18304: fixed misuse of size_t in dopr()
(This used to be commit d082a3c5f5)
2007-10-10 14:18:05 -05:00
Stefan Metzmacher
e8c5627417 r18303: we should just use -Ilib/popt as in all other places
metze
(This used to be commit 82bf701305)
2007-10-10 14:18:05 -05:00
Andrew Tridgell
c10debe53d r18302: fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris
(This used to be commit 3828c463ad)
2007-10-10 14:18:05 -05:00
Andrew Tridgell
30ee8beb93 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.
(This used to be commit eba6c84eff)
2007-10-10 14:18:04 -05:00
Andrew Tridgell
85e24e54d2 r18300: fixed a type bug in heimdal - lha, you happy with this upstream? It
showed up on ia_64 systems
(This used to be commit 1f38a7ea56)
2007-10-10 14:18:04 -05:00
Andrew Tridgell
62745dc5d5 r18299: POPT_CREDENTIALS should depend on LIBPOPT
(This used to be commit 95878272cd)
2007-10-10 14:18:04 -05:00
Andrew Tridgell
d6c4147a41 r18298: fixed mmap failure test
(This used to be commit dee6551dc3)
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
bf4a32b73a r18297: - remove leading ./
- add CFLAGS to the dynconfig-devel.o rule

metze
(This used to be commit d9401b1f41)
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
bb21503c43 r18296: this isn't needed anymore
metze
(This used to be commit 1ee1007597)
2007-10-10 14:18:03 -05:00
Andrew Tridgell
dfd4c8e84d r18295: pass write type for packet_size
this fixes a crash on IA_64 systems
(This used to be commit 22c3902762)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
1a7ad8e573 r18294: remove leading ././ from .mk files
metze
(This used to be commit f41e2f7f5a)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
e04ad03d66 r18293: use the correct name it's not always under $srcdir...
metze
(This used to be commit cf61435b43)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
6d8a03b5f5 r18292: import some autoconf 2.60 specific macros,
so that older autoconf versions still work

metze
(This used to be commit 43970e6d08)
2007-10-10 14:18:03 -05:00
Stefan Metzmacher
8bb7833dc6 r18291: don't add ./ for files in the top dir '.'
metze
(This used to be commit f60be737ef)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
1caceff302 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
(This used to be commit 9fb91702fd)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
594781270e r18289: don't check for inline till we've worked out the main compiler flags
(This used to be commit 46ab2b9971)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
5c3c8e09f9 r18288: autoconf already has a C99 test builtin!
If this works well, we can remove our own test
(This used to be commit b4b028e65e)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
05f98cdbfc r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,
needed on AIX 5.2 for C99 structures
(This used to be commit 2dc9239a36)
2007-10-10 14:18:02 -05:00
Andrew Tridgell
27126bae7e r18286: ldb now needs install-sh too
(This used to be commit ce5b1b8c09)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
8d923ab30f r18285: tdb now needs install-sh
(This used to be commit 007da6115a)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
55a760ddf3 r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition
of sendfile()
(This used to be commit 3e0f262b38)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
e6b457d550 r18283: libreplace.m4 needs to be early in configure.ac in other packages too
(This used to be commit 03f9c67c06)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
35f1a2c30a r18282: dynconfig.o build rule needs cflags.pl too
(This used to be commit a805d8d103)
2007-10-10 14:18:01 -05:00
Andrew Tridgell
e7f2d247e4 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 :-)
(This used to be commit 826cd304a7)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
c2387587cb r18280: more portability tidyups, ensuring we use libreplace everywhere
(This used to be commit 4860d02565)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
d09ef0e846 r18279: libreplace.m4 needs to come first or autoconf complains, as libreplace
checks for global system flags
(This used to be commit 6eefd44a87)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
f64b2474be r18278: move more header checks and _GNU_SOURCE into libreplace
(This used to be commit 77c442cd46)
2007-10-10 14:18:00 -05:00
Andrew Tridgell
bcd1d154f3 r18277: on some of our slower hosts we need more than 2700 seconds for smbd to
complete all tests
(This used to be commit c44b17ad66)
2007-10-10 14:18:00 -05:00
Stefan Metzmacher
3010e2e1e9 r18273: AC_PROG_LD_GNU needs LD defined already
metze
(This used to be commit 6b3d27e93e)
2007-10-10 14:17:59 -05:00
Simo Sorce
a865dcf02f 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.
(This used to be commit 30a26a501f)
2007-10-10 14:17:59 -05:00
Jelmer Vernooij
7caf7839f5 r18270: Samba3 has _PUBLIC_ now.
(This used to be commit 9dd6520240)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
28bd2665c1 r18268: for samba3 define _PUBLIC_ empty
metze
(This used to be commit b2018249b7)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
7531db79df r18267: print out the failing command for .ho files too
metze
(This used to be commit 25dc4557ff)
2007-10-10 14:17:59 -05:00
Stefan Metzmacher
52102bc76c 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
(This used to be commit ce08bf1280)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
0627a4715d r18265: print out the failling command
metze
(This used to be commit 9d2ab28ba1)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
bf9379dfe5 r18264: print the full list of flags
metze
(This used to be commit ee5bd10694)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
21a9a3dc55 r18262: fix typos
metze
(This used to be commit acbd52009f)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
26c789eb6a r18261: print out the version of gcc
metze
(This used to be commit 655e400127)
2007-10-10 14:17:58 -05:00
Stefan Metzmacher
ebc1533a20 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
(This used to be commit e27a362868)
2007-10-10 14:17:57 -05:00
Andrew Tridgell
217998018f r18258: need to use .priority not .order here
(This used to be commit a47d65fe17)
2007-10-10 14:17:57 -05:00
Andrew Bartlett
c1ec0da99c r18257: Order the GENSEC modules, with unknown modules last.
Andrew Bartlett
(This used to be commit 8ae880b501)
2007-10-10 14:17:57 -05:00
Andrew Tridgell
d7534e0cc7 r18256: use the right status variable
(This used to be commit f4b4bd945f)
2007-10-10 14:17:57 -05:00
Andrew Bartlett
40cf47fa56 r18255: Remove the SMB_ASSERT(), as these are not talloc()'ed structures.
Andrew Bartlett
(This used to be commit 73fba185eb)
2007-10-10 14:17:56 -05:00
Andrew Tridgell
5622eb1dee 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?
(This used to be commit 76496c2f5e)
2007-10-10 14:17:56 -05:00
Andrew Bartlett
71a9ca56d0 r18253: Turn Cyrus-SASL DIGEST-MD5 off by default for now.
Andrew Bartlett
(This used to be commit 2da948cb6e)
2007-10-10 14:17:56 -05:00
Andrew Bartlett
f093527819 r18252: Make sure to NULL terminate these lists of attributes.
Andrew Bartlett
(This used to be commit 8cddcdb7c7)
2007-10-10 14:17:56 -05:00
Andrew Tridgell
77d27a4635 r18251: skip pidl tests unless the platform has Test::More
(This used to be commit 6c7dd852c0)
2007-10-10 14:17:56 -05:00
Andrew Bartlett
c062b12fba r18250: Add an ordering of GENSEC modules, so we do preferred modules first.
Andrew Bartlett
(This used to be commit 0afb4d1992)
2007-10-10 14:17:55 -05:00
Andrew Bartlett
2f6d723e1f r18249: Keep trying to start an GENSEC mech from the list until one actually
starts.

Andrew Bartlett
(This used to be commit 7dba525f55)
2007-10-10 14:17:55 -05:00
Andrew Bartlett
932265660e r18248: Bail out with a error message if this search fails for some reason.
Andrew Bartlett
(This used to be commit 77b810f548)
2007-10-10 14:17:55 -05:00
Andrew Tridgell
caa4bfce7c r18247: more shell portability fixes
(This used to be commit d9ddfdf9e8)
2007-10-10 14:17:55 -05:00
Andrew Bartlett
8d21ad6c25 r18246: Let our openldap slapd.conf include the magic to have DIGEST-MD5 on
the server-side work.
(This used to be commit 73d87cce7c)
2007-10-10 14:17:54 -05:00
Andrew Bartlett
f140bd7e38 r18245: Ensure we don't keep the rootdse record around (steal it onto the
correct memory context).

Andrew Bartlett
(This used to be commit b4f234e507)
2007-10-10 14:17:54 -05:00
Andrew Tridgell
89a39c7acb r18244: more portable shell scripting
(This used to be commit 3200031276)
2007-10-10 14:17:54 -05:00
Andrew Tridgell
ed962c833b 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
(This used to be commit dbf935d38b)
2007-10-10 14:17:54 -05:00
Andrew Bartlett
a22780bd4c r18242: The cyrus-sasl encode/decode routines process the entire input.
Andrew Bartlett
(This used to be commit 32d8a23d54)
2007-10-10 14:17:54 -05:00
Andrew Bartlett
704327044d 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
(This used to be commit 1b02c604b2)
2007-10-10 14:17:53 -05:00
Gerald Carter
ef54074392 r18238: add SID_NAME_COMPUTER to the enum lsa_SidType type
(This used to be commit ced2f95994)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
25819cfabc r18231: Don't use _PUBLIC_ but use __attribute__ directly instead.
(This used to be commit 77043ebe25)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
433ec0ba66 r18228: Don't include Samba4-specific headers when building inside a Samba3 tree.
(This used to be commit d0f0d4600a)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
4dff1f05f0 r18227: Recognize Samba3 in-tree builds.
(This used to be commit 5055430ddf)
2007-10-10 14:17:53 -05:00
Stefan Metzmacher
bdbd9b8886 r18223: the perl array of dependecies is in reversed order
print out the CFLAGS in the correct order

metze
(This used to be commit 49b555b876)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
21aa8c49c7 r18222: filter out double entries from CFLAGS
metze
(This used to be commit 42e70d5a7b)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda7)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
817d153870 r18220: $#foo returns the index of the last element not the count of elements,
so we need >= 0.

as 0 means one element

metze
(This used to be commit d8b5d0c9a7)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
24f4b6eff2 r18219: move some more portability checks out of samba4 and info lib/replace
(This used to be commit 50318dc55e)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
2cd4e0264f r18218: setenv() is guaranteed by libreplace
also, putenv() cannot take a const char *
(This used to be commit 03c9f9dc36)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
0a05a6fea0 r18217: use shorter perl
metze
(This used to be commit 4ce7b4e45c)
2007-10-10 14:17:51 -05:00
Andrew Tridgell
b7f937bdbb 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
(This used to be commit 46f72d7e3f)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
b427944198 r18215: use a shorter version
metze
(This used to be commit 239a2607ab)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
e0f8a49014 r18214: don't add empty elements
metze
(This used to be commit 9695a4bd53)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776)
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
af7886614a r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
(This used to be commit d03aaecdcd)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
1b5c28a627 r18211: wct is not a size, so don't use size_t
this should fix a pile of printf format warnings
(This used to be commit fe209e360e)
2007-10-10 14:17:50 -05:00
Stefan Metzmacher
af1b64c92f 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
(This used to be commit 5ecf98cc18)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
df35c7612f r18209: fix the ifdef for HAVE_HISTORY_LIST
(This used to be commit bda5c3c0e3)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
b04fac4ed3 r18208: Mac OS X also doesn't have history_list()
must be a pretty old readline lib!
(This used to be commit ba901e6820)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
ead21647a2 r18207: not all readline libs have rl_event_hook
this should help with coreserverbuild (Mac OS X)
(This used to be commit b0efbdfa98)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
8717b5e3e6 r18206: need rep_ macro for setlinebuf
(This used to be commit 6a48f75eae)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
26a3023cc8 r18205: need rep_ macros for seteuid and setegid
(This used to be commit dd7af58b83)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
aca4eeac43 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!)
(This used to be commit 92742b8999)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
820492ba79 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
(This used to be commit 84335903ce)
2007-10-10 14:17:48 -05:00
Andrew Tridgell
4262be2e45 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
(This used to be commit dc2580f0fd)
2007-10-10 14:17:48 -05:00
Andrew Bartlett
9ca2814c3f 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
(This used to be commit 8e12f92bbe)
2007-10-10 14:17:48 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9)
2007-10-10 14:17:48 -05:00
Rafal Szczesniak
5360570115 r18190: Add more NET tests to be run on the build farm.
rafal
(This used to be commit 8657bd437a)
2007-10-10 14:17:48 -05:00
Stefan Metzmacher
d1ee67e1f3 r18184: make clear that autodepencies are disabled currently
metze
(This used to be commit a2eee3c6db)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
6b5e86f47b 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
(This used to be commit 159f745702)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
c8295a7d2f 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
(This used to be commit 5e59153735)
2007-10-10 14:17:47 -05:00
Stefan Metzmacher
21ef15d703 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
(This used to be commit de0c8d1b17)
2007-10-10 14:17:46 -05:00
Andrew Tridgell
8ebc545e57 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!
(This used to be commit 7a9d41dd5b)
2007-10-10 14:17:46 -05:00
Andrew Tridgell
78eaffd5a0 r18176: reg_util.c needs LIBREPLACE for strndup
(This used to be commit dc1369b2ad)
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
0a4aafbe30 r18173: PICSUFFIX isn't used anymore
metze
(This used to be commit 647f3b140c)
2007-10-10 14:17:46 -05:00
Jelmer Vernooij
2ad95ed398 r18171: Generate prototypes for functions returning bool.
(This used to be commit 587a681c19)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
e0fae5b22a r18169: Remove accidentally committed bits
(This used to be commit 51faeff2fa)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
873749f218 r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
(This used to be commit 8b622c5ded)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
f057742ef3 r18166: Fix build with external popt.
(This used to be commit b34310029a)
2007-10-10 14:17:45 -05:00
Stefan Metzmacher
33d6ffe16a r18164: enable the SASL library if found
metze
(This used to be commit 675541f24e)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
1869a8cc66 r18163: Remove defines for BOOL, False and True
(This used to be commit 6f5e7df6f2)
2007-10-10 14:17:44 -05:00
Jelmer Vernooij
7276648944 r18161: Fix LDB build after popt changes.
(This used to be commit 849fa93540)
2007-10-10 14:17:44 -05:00
Andrew Tridgell
3ca73facc5 r18160: - pread and pwrite replacements need to be non-static
- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
(This used to be commit 57cd0ca176)
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
d093b28b55 r18159: always recreate the the archive and use -s (which does the same as ranlib)
and see how portable it is

metze
(This used to be commit 47b4509db9)
2007-10-10 14:17:44 -05:00
Jelmer Vernooij
d52b2fb7c4 r18157: Fix building with external popt.
(This used to be commit 72e71de3e5)
2007-10-10 14:17:44 -05:00
Andrew Tridgell
70b6211c98 r18156: fix platforms that need timegm replacement
(This used to be commit 859fefc3b9)
2007-10-10 14:17:43 -05:00
Andrew Bartlett
3549adc7ce r18155: Add my work in progress, a module to link with Cyrus-SASL, for a
DIGEST-MD5 implemenation in particular.

However, I can't make this work:  Cyrus-SASL isn't loading the mech...

Andrew Bartlett
(This used to be commit 0b193d28c8)
2007-10-10 14:17:43 -05:00
Andrew Tridgell
6c85bcc972 r18154: try to get the heimdal_build code to use libreplace in a better way
(chasing down build failures ...)

added showflags as part of 'all' target, which makes tracking down
problems easier in the build farm
(This used to be commit d52aaccdf8)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
6aa376ef15 r18153: html/ isn't needed
metze
(This used to be commit 39dc57a502)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
6150443532 r18152: move our AC macros into lib/replace/libreplace_macros.m4
and include them from there

metze
(This used to be commit 38f9e90a12)
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
53a78afe30 r18151: remove testfile
metze
(This used to be commit 6ffebfb9b7)
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
6513e415b8 r18150: fix make *clean
metze
(This used to be commit e354cd0fae)
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
8915c36b3f r18149: fix make *clean
metze
(This used to be commit 477c83c983)
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
db7de36b70 r18148: - use PHONY for test
- don't try to install with make test
- add make distclean and realdistclean

metze
(This used to be commit 67cb692a48)
2007-10-10 14:17:41 -05:00
Stefan Metzmacher
ce8ed3a961 r18147: add make realdistclean
metze
(This used to be commit 20543e0306)
2007-10-10 14:17:41 -05:00
Andrew Tridgell
fed41fd9b1 r18146: we need signal.h in some places
(This used to be commit f226645d73)
2007-10-10 14:17:41 -05:00
Stefan Metzmacher
e997a767aa r18145: rename cc_feature.m4 into libreplace_macros.m4
metze
(This used to be commit d0f40dd3e5)
2007-10-10 14:17:40 -05:00
Stefan Metzmacher
68d172c506 r18144: make the logic a bit more cut&paste friendly
metze
(This used to be commit da9be10dc6)
2007-10-10 14:17:40 -05:00
Andrew Tridgell
ed356c7989 r18143: the 'showflags' convention from Samba is useful for the other packages
(This used to be commit a4d1f1d222)
2007-10-10 14:17:40 -05:00
Stefan Metzmacher
eb1def379e r18142: add make distclean to talloc build
metze
(This used to be commit c8342c9ae5)
2007-10-10 14:17:39 -05:00