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

10215 Commits

Author SHA1 Message Date
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
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