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
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 b2d3f8f7aae5b2bb9baf4e45fbc4632576e6fea8)
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 849fe757bb908842844ab482b8669694157550cd)
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 906429834a102349582017ef73a69e211ef5c500)
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 c89e416d288d16de43ae93102ecfec588900e6c0)
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 6419ef09b18b1105956211ae8774963f9cb30d2e)
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 1ea6b600f42d3ccfb75da98f2013928fda524450)
2007-10-10 14:18:24 -05:00
Andrew Tridgell
a8c17f8ed3
r18407: test for epoll.h and select.h
...
(This used to be commit 3ddb77c1e3dce5e05771b3fcaf86f8ae9ff21a52)
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 77e6a09e6b1a313db2bf289ac954fe4393b569fe)
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 5fc756a770b6f457bf103e2a8a240ca020fd1a02)
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 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
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 f1708fd9434ee2a9ae25e9d912f0c350d8e1a256)
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 fb92643a8b64428e8259bc21fe04f876b24bfd84)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
e6e21ed3ad
r18389: test RPC-UNIXINFO in samba4
...
metze
(This used to be commit 928beac95d534a7a9f5182b64ec905f0ad094192)
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 aca8a3f8c0bb3cce0ef8c5fd945011581d19586d)
2007-10-10 14:18:23 -05:00
Stefan Metzmacher
89fbfd7460
r18386: start the unixinfo pipe by default
...
metze
(This used to be commit ea44cdfc6f67583bd86d273b4c119e29ce690ca9)
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 8c4241ecbbd9686d990073cec53dc1fde0fdde9b)
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 5d2100a6daa645e54df30986e1c4e0e8c0d4158d)
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 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
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 8109eb9d28c9043c359d48319efe91aed2714431)
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 ec6365b5f18eea7035b6963c8005e75b9f4e3437)
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 03ed41515b2228d130f669a2c0cf916a21182f30)
2007-10-10 14:18:21 -05:00
Andrew Tridgell
c87a08425c
r18377: disable native iconv with valgrind
...
(This used to be commit d1ceb79d9d10a3fd7bdba935ef2d12db346051f4)
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 d1de0202efc6e6ca4bbc1997f3e493da18cd35f4)
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 3f80b6b87bf4a3ae3a2fce51764ed70bcf0ea497)
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 09014e1102ca5ada1e6f0f82506dc3cf81fc037d)
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 066e3b51b1ca038023e53a978e1d2e706cd3d8a6)
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 39458e62f576c551df016a7be4d35175dc21696e)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
c4aaa094e7
r18370: allow system inotify to be disabled
...
(This used to be commit 31bbf865a069f902dc979f469aec896d3d34422c)
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 3e69637b5f79e4132026ebaf9d57cf67ef3826c1)
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 11cc6408c93f46f4d9ae7ae0ee18dac836fe270d)
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 d905bb499d81ac4e2f00277ae77ce0a51bdc7474)
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 27259f3632a3fe21cfc5d1375aa630ec0f9f4734)
2007-10-10 14:18:19 -05:00