1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

10459 Commits

Author SHA1 Message Date
Andrew Bartlett
71a9ca56d0 r18253: Turn Cyrus-SASL DIGEST-MD5 off by default for now.
Andrew Bartlett
(This used to be commit 2da948cb6ecc75e2b4b97c770c8ba13b7f831d6e)
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 8cddcdb7c71963ed5fc30080c6bd4c48d114e321)
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 6c7dd852c05cf131d7def8a8dcff7e98df9ea521)
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 0afb4d1992b3c93557dec1e1cdca467efc299853)
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 7dba525f5598199e89badbf15e0f5f09023c6cfa)
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 77b810f548fffc1298978cc92c842f5e4fc13786)
2007-10-10 14:17:55 -05:00
Andrew Tridgell
caa4bfce7c r18247: more shell portability fixes
(This used to be commit d9ddfdf9e86295224dd42c0ab1aa954111ede588)
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 73d87cce7c5e33f73d6a63379af3586f543eb372)
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 b4f234e507fa94e9600c362fb6edb704d299cfce)
2007-10-10 14:17:54 -05:00
Andrew Tridgell
89a39c7acb r18244: more portable shell scripting
(This used to be commit 320003127690ab98fc2185f0eb528a778cae2740)
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 dbf935d38b6b1fea5ed00e94c9b1a518cb14768b)
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 32d8a23d5499ef3d913240b5693b54eb2e78cd7d)
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 1b02c604b2c55e1c9e15ac1f266e7df74d619dbd)
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 ced2f9599446520229566e25a783101b19c64177)
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 77043ebe25dcca2a6b1a37d3b6095e9c434652d9)
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 d0f0d4600acad71ea4993f4e356735433d9bc5f0)
2007-10-10 14:17:53 -05:00
Jelmer Vernooij
4dff1f05f0 r18227: Recognize Samba3 in-tree builds.
(This used to be commit 5055430ddfca02a962827bbedf7fbd9987992953)
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 49b555b876493e4d05bd69328f9a4e0585aa8076)
2007-10-10 14:17:52 -05:00
Stefan Metzmacher
21aa8c49c7 r18222: filter out double entries from CFLAGS
metze
(This used to be commit 42e70d5a7b9c12527bb49f9c60330706d350cf49)
2007-10-10 14:17:52 -05:00
Andrew Tridgell
afe2fde6fd r18221: moved more configure checks into lib/replace/
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
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 d8b5d0c9a75731c8627e8fabb364ec0ad0e9decd)
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 50318dc55ed5eb70adb02a5680498fad3c3e590d)
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 03c9f9dc3668d43983e0e6d7b87d9d3bbf8869f0)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
0a05a6fea0 r18217: use shorter perl
metze
(This used to be commit 4ce7b4e45c016215a84a70b677d55cc6e79a2473)
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 46f72d7e3f285d08a043b4e8551f22c4dffe65e5)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
b427944198 r18215: use a shorter version
metze
(This used to be commit 239a2607ab1a725dcbbfc03103006d2a3bf6b41e)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
e0f8a49014 r18214: don't add empty elements
metze
(This used to be commit 9695a4bd530d0f49e6a87c6bb56502c6d2d3bdbd)
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 135d096776b53ae09ffc2b4f767dfbd18139570f)
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 d03aaecdcd62ecf2910f0d0570184a0c42874574)
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 fe209e360e3857f39355335e4fa6a43b2db23038)
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 5ecf98cc189039023ff0a97f43eba7fb2c2cdc46)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
df35c7612f r18209: fix the ifdef for HAVE_HISTORY_LIST
(This used to be commit bda5c3c0e39de0ae2d4686a8746cc7ee1cc9d18f)
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 ba901e6820c02bc696c0bd3e9e0788801fd0795b)
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 b0efbdfa98cfda87a78874c2a71a52cc091e4021)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
8717b5e3e6 r18206: need rep_ macro for setlinebuf
(This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)
2007-10-10 14:17:49 -05:00
Andrew Tridgell
26a3023cc8 r18205: need rep_ macros for seteuid and setegid
(This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)
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 92742b899941687c861a85683ad2c2c6a3083fb6)
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 84335903ceaf2242e43a0c5464e33408daec44b4)
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 dc2580f0fd67687cbe4b590a7fed9fde0db4a4a0)
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 8e12f92bbe3aa878292169f4699502e241ef6c0b)
2007-10-10 14:17:48 -05:00
Jelmer Vernooij
c92781b333 r18194: Allow empty bitmap {} declarations.
(This used to be commit 084b5002b9a8c9790ce81480fe26d57e52789dbb)
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 8657bd437a13513632650a192509fc98c686c69d)
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 a2eee3c6dbe14fc8fc6ee2f5581f2d9a33e25def)
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 159f74570233a8707dc1deb70fb1917a854213f8)
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 5e59153735102df6fae2eaaac6a7c3db86c95f8f)
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 de0c8d1b1729daef984d5b44e0224481cf9e2164)
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 7a9d41dd5b71f79ec10c2d3774d01dba696728fd)
2007-10-10 14:17:46 -05:00
Andrew Tridgell
78eaffd5a0 r18176: reg_util.c needs LIBREPLACE for strndup
(This used to be commit dc1369b2ad1f55e1acfcc2ddd99ec6ac8b115da9)
2007-10-10 14:17:46 -05:00
Stefan Metzmacher
0a4aafbe30 r18173: PICSUFFIX isn't used anymore
metze
(This used to be commit 647f3b140c77a2a01ff0c9fadf45e080659844d1)
2007-10-10 14:17:46 -05:00
Jelmer Vernooij
2ad95ed398 r18171: Generate prototypes for functions returning bool.
(This used to be commit 587a681c19a2747faaf83157e94dba998b6caf42)
2007-10-10 14:17:45 -05:00