1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

10229 Commits

Author SHA1 Message Date
Stefan Metzmacher
3de6b469cc r18479: start hiding libreplace configure tests behind macros
AC_LIBREPLACE_CC_CHECKS
AC_LIBREPLACE_BROKEN_CHECKS
and
AC_LIBREPLACE_ALL_CHECKS
which calls the 2 others

I'll add some more, so that samba3/samba4 can later call
them in the wanted order and all standalone builds
use AC_LIBREPLACE_ALL_CHECKS.

metze
(This used to be commit e7a30456c76f4bf9a79cdcff6b15c894bc20c954)
2007-10-10 14:18:36 -05:00
Jelmer Vernooij
ea50e4f30a r18478: Add missing declaration for status.
(This used to be commit 64909a0d69a938e96f7a04b4288ca851fb8fe18a)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
6a2b541497 r18477: Finish server code generator for Samba 3.
(This used to be commit 4e2f20042448721ba1df5bbbb77710e155f23953)
2007-10-10 14:18:35 -05:00
Jelmer Vernooij
2fb4ecebc1 r18475: Start working on server code generator that uses libndr.
(This used to be commit aa1c550d371c5874668baf06be7168c85dc5d48b)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
8e65d33d7d r18474: - we don't need to explicit check stdint.h and inttypes.h
alsready done by autoconf magic
- display the sizes of all standard C types
- check for int64_t and uint64_t

metze
(This used to be commit 371a33a871b67f12af177696bae6aa87d2c1d9f9)
2007-10-10 14:18:35 -05:00
Stefan Metzmacher
4e355095d1 r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf does
- AC_HEADERS_STDC is not explicit needed

metze
(This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
2007-10-10 14:18:35 -05:00
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 22142a9f3d5e759742c79a591413e5e8af04b22f)
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 ea0ef1542f78e3a58d86b5693ec17c145050526b)
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 79b6001f919d398e52ceec29f5ebe6f0018e5660)
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 1ae1e68fe9e1004f1a11847714b2e71715a1ce03)
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 553a90cbe200d2030e4caefe949b48d63abe382d)
2007-10-10 14:18:34 -05:00
Stefan Metzmacher
63d284c912 r18462: make the output a bit nicer
metze
(This used to be commit 0b61ea3ed7b833dbb5a7ca8ef2bb29c1b68f5cad)
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 43c1d775b900b305345afe394383b78e83e4e5cb)
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 f9bff4dbdad8c7acc649d13a5666b58967bf5d92)
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 1daf4e7bd47df4f127447ab9b5d583bbe7b2a10a)
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 521e94f2693eab9053d9e3f1bbc56cdf2e0adbcd)
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 5af86eb3f07e26aead67ab0dd46576e0aefe8eb4)
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 d53eb6bd10903d696c5ed9aad3bca3ddf35b2b51)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
b270dd3fd6 r18454: this was just for debugging...
metze
(This used to be commit f9f14a94297d72af13b043db99fa892e5e3dcb46)
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 dd791d255ca61159b38a59b89f954a61fc5e9cf6)
2007-10-10 14:18:32 -05:00
Stefan Metzmacher
c564344766 r18451: move repdir/ into the top dir
metze
(This used to be commit a564194817d9b78e353abb6bf0548b2dd9eb130b)
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 3cac61152ef9a32313d7f7e5d38651f03a31f251)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
c447b8a199 r18448: this gives nicer output...
metze
(This used to be commit 6bdb329da5771b4be792d8889d3ece8f93a495b0)
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 d8e88386748d3952c6a82726c9d36cad870992fd)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
e18547d489 r18445: splitout the dlfcn related tests
metze
(This used to be commit 8662e1481504c50a45416ae09ec19b834164e77c)
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
cac47350c2 r18444: return the correct value on error
metze
(This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
2007-10-10 14:18:30 -05:00
Stefan Metzmacher
9768393b3b r18443: add object files only when needed
metze
(This used to be commit 5fddb66def8dd29a9f8d13b4b679df26aca6cfab)
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 a5ebfd0ab71f4f4288697f6fd3183a440ce7506b)
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 3b5354aededc619ac6656611eacd43888e74260a)
2007-10-10 14:18:30 -05:00
Simo Sorce
6c48dc8612 r18440: "builtinDomain" is not a child of "domain"
(This used to be commit b34646f202d4e8016e627c4bb88842c21d6b2e10)
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 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
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 b0de2838829d9750817c31f28c11c6b2be6e7b64)
2007-10-10 14:18:29 -05:00
Andrew Tridgell
12e7682e7b r18437: added a 'make valgrindtest' target for ldb
(This used to be commit 4c33c6bb97f3b25b611c476be4c914031e55e4dc)
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 c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
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 200756017e1867faa207703eddc00a75ae4527df)
2007-10-10 14:18:29 -05:00
Andrew Bartlett
d21cb7e2d2 r18434: Fix typo...
(This used to be commit 4f235b88aa0ce6c684bf203ea3cbc81e91a3cd3e)
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 09327baa0ded3a98398b266c960f827b29021d91)
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 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
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 13ed504a1b42acdb5aec68734ec0dc14c9bd39cd)
2007-10-10 14:18:28 -05:00
Stefan Metzmacher
fdc7677fec r18428: add my copyright
metze
(This used to be commit d222fab2b5fcd44ad7825e605a9febbe9d211e7a)
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 d373890fb26f3a593bacdb374f10d4279822b97d)
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 224f26602ac78dbdabd4602bce42e31141102f6c)
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 7670e9ae6e8e64ddb3c7d99b3d44048519629225)
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 7f29471f0b6b9158da52522984a6ab3f8ace4f42)
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 47ccea11f31be878c5bdff4f6f4e5b7685a1c796)
2007-10-10 14:18:26 -05:00
Stefan Metzmacher
26e9619c17 r18420: fix the build...
metze
(This used to be commit a7ce2c6c53f1bbb2320fd8afe44ec12e504d95c9)
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 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
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 5279656a15e42e6dd96ddfa181597c71fc993ff3)
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 d05cab5c626b5960448f206e8c17b89edbf78733)
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 5525baf5217417308ffcebe2be3b4df445fddf75)
2007-10-10 14:18:25 -05:00