1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

13348 Commits

Author SHA1 Message Date
Jelmer Vernooij
68a9ab6b01 r25540: Remove prototypes for already removed functions.
(This used to be commit 042dff55b4)
2007-10-10 15:07:50 -05:00
Günther Deschner
b591596c0e r25539: Also correct indent for winreg server.
Guenther
(This used to be commit 3f6cc36a1b)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
5799692be7 r25537: Use new path for events modules.
(This used to be commit f9270073a2)
2007-10-10 15:07:49 -05:00
Jelmer Vernooij
55a7440a07 r25536: Fix path for messaging - this code path doesn't appear to have a test, otherwise it would've caused a crash in the testsuite earlier...
(This used to be commit 89c8fd8c02)
2007-10-10 15:07:49 -05:00
Jelmer Vernooij
93224076fc r25535: Deal with events subsystem failures.
(This used to be commit fa6407984b)
2007-10-10 15:07:49 -05:00
Michael Adam
f0b3f20efb r25532: Fix some more indentations. Sorry Günther, could not resist, after
having gone through this just before you committed r25529. :-)

Michael
(This used to be commit 3670b3148d)
2007-10-10 15:07:48 -05:00
Günther Deschner
f5c546145e r25531: Merge GTYPE_SECURITY_UNIVERSAL_GROUP from samba3.
Guenther
(This used to be commit 5c9d755f52)
2007-10-10 15:07:48 -05:00
Jelmer Vernooij
a97e319924 r25530: Fix missing dependency
(This used to be commit d1837608f0)
2007-10-10 15:07:48 -05:00
Günther Deschner
35ea519ca8 r25529: Reformatting.
Guenther
(This used to be commit 4bb21a1b00)
2007-10-10 15:07:48 -05:00
Jelmer Vernooij
ae74eea43d r25527: Deal with no tests being registered.
(This used to be commit 2d36f6d3db)
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
8c2ef262a8 r25524: Fix directory names for local module builds.
(This used to be commit 93e5a568e3)
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
719a4ae0d3 r25522: Convert to standard bool types.
(This used to be commit 5e814287ba)
2007-10-10 15:07:47 -05:00
Jelmer Vernooij
42bdfc3f6c r25518: Convert to standard bool types.
(This used to be commit e5cabe14c7)
2007-10-10 15:07:46 -05:00
Michael Adam
20480a7953 r25516: Sorry, I reverted too much of r25448 in r25515.
These two fixes should have remained! Thanks to
Metze for pointing this out.

Michael
(This used to be commit 294b2bf593)
2007-10-10 15:07:46 -05:00
Michael Adam
3b07f6aeb1 r25515: Revert r25448:
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.

Michael
(This used to be commit 6d07e29de2)
2007-10-10 15:07:46 -05:00
Stefan Metzmacher
bf0ee695db r25514: don't blindly overwrite the result last_reason,
print the old one as warning...

metze
(This used to be commit 9dd66317bd)
2007-10-10 15:07:45 -05:00
Stefan Metzmacher
54bc4556b9 r25513: don't hide warnings in subunit mode
metze
(This used to be commit 9efa06537a)
2007-10-10 15:07:45 -05:00
Stefan Metzmacher
e047f72e34 r25512: reformat code...
metze
(This used to be commit cd5699b7bd)
2007-10-10 15:07:45 -05:00
Michael Adam
2cf665b8fd r25509: Extend the WINBIND-STRUCT-LOOKUP_NAME_SID test to also
verify failure of the lookup for an invalid SID and an
invalid name.

Michael
(This used to be commit 69043a7b1c)
2007-10-10 15:07:44 -05:00
Stefan Metzmacher
6fb6999185 r25504: run WINBIND tests for samba3
metze
(This used to be commit 39981e5fa2)
2007-10-10 15:07:44 -05:00
Michael Adam
f64d696395 r25477: Add user and group retrieval functions (used in LIST_USERS/GROUPS tests).
Add winbind separator and winbind domain name retrieval functions.

Add WINBIND-STRUCT-LOOKUP_NAME_SID test that walks through the list
of groups and names, converts each name with LOOKUPSID and the resulting
sid with LOOKUPNAME and compares the result with the original name.

Michael
(This used to be commit df12ed56c9)
2007-10-10 15:07:43 -05:00
Jelmer Vernooij
9b1fd7f52d r25471: Use macros for loadparm field names, should make migration to offsets rather than pointers easier later on.
(This used to be commit 3f98a97ac3)
2007-10-10 15:07:43 -05:00
Michael Adam
8d78021abd r25469: Finish WINBIND-STRUCT-SHOW_SEQUENCE test:
* Extract retrieval of list of sequence numbers into its own function.
* Unclutter comment output.
* Add tests for BUILTIN and local domain not being disconnected.
* Improve use of torture_assert macros.

Michael
(This used to be commit d804214954)
2007-10-10 15:07:43 -05:00
Stefan Metzmacher
e0ad93f845 r25468: export WINBINDD_PRIV_PIPE_DIR
metze
(This used to be commit 80d05c2789)
2007-10-10 15:07:43 -05:00
Stefan Metzmacher
9f5b6c82d0 r25467: use uppercase netbios name for samba3.
metze
(This used to be commit fcd81f8c02)
2007-10-10 15:07:42 -05:00
Stefan Metzmacher
37d63aab72 r25466: fix calculation of $expected_ret, when there're
some expected and some unexpected failures within
one testsuite.

metze
(This used to be commit ca2a07c71f)
2007-10-10 15:07:42 -05:00
Stefan Metzmacher
00d2a19554 r25465: improve plain output...
metze
(This used to be commit 8deb2f068c)
2007-10-10 15:07:41 -05:00
Stefan Metzmacher
f069623ace r25464: improve build-farm output...
metze
(This used to be commit 7b5d5777cb)
2007-10-10 15:07:41 -05:00
Jelmer Vernooij
650abae845 r25463: revert accidently committed type changes for now, broke the build.
(This used to be commit ce4fbb4f44)
2007-10-10 15:07:41 -05:00
Jelmer Vernooij
8ffc4c1f97 r25462: Remove refernece to categories from js as well.
(This used to be commit 12d7cccd7c)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
f5f6d6d2ab r25461: Remove section headers in loadparm - trying to keep data and metadata separate and this should help when refactoring loadparm later on.
(This used to be commit e15fd412f9)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
30047a9543 r25460: use common structure in param/generic.c
(This used to be commit 01ce5448f4)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
569903dd0c r25459: Avoid bashism. Reported by Björn Jacke.
(This used to be commit a03e09b878)
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
1da3555488 r25458: Fix warning
(This used to be commit f723efad9f)
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
fd6288c584 r25457: use different location for out-of-tree builds
(This used to be commit aa089378a0)
2007-10-10 15:07:39 -05:00
Jelmer Vernooij
5ecd526d1c r25456: Avoid externs for charsets for now - it breaks openchange.
(This used to be commit 836431af83)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
efa384375f r25454: Use standard bool types in a couple more places.
(This used to be commit 9243b551f3)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
621fcfcd1c r25453: Fix include for NTSTATUS.
(This used to be commit 3c2d06d8fc)
2007-10-10 15:07:38 -05:00
Andrew Bartlett
999d47e41e r25452: Move the creation of the server entry to the self join, as this makes
no sense on a member server.

Andrew Bartlett
(This used to be commit 70467fa4c5)
2007-10-10 15:07:37 -05:00
Andrew Bartlett
43890c4c58 r25451: Rework the display of provision options to use printf syntax, and
avoid %s in the substituted strings from becoming a problem.

Andrew Bartlett
(This used to be commit 3c4f107239)
2007-10-10 15:07:37 -05:00
Andrew Bartlett
b6678a276c r25450: Make it easier to test with a particular version of OpenLDAP, by
setting OPENLDAP_PATH, move to using hdb as the backend (allows
subtree renames), and re-enable the --quiet option.

Andrew Bartlett
(This used to be commit a186a0fa68)
2007-10-10 15:07:37 -05:00
Jelmer Vernooij
ce7bccef5f r25449: Add convenience function for opening the default smb.conf for openchange.
(This used to be commit 5f023ef7a4)
2007-10-10 15:07:36 -05:00
Jelmer Vernooij
a8f264eb2f r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
(This used to be commit d54a47ecdc)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
14da63dbd3 r25447: Fix installation of headers. Patch by Brad Hards.
(This used to be commit b1aae72420)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77)
2007-10-10 15:07:34 -05:00
Michael Adam
4d7273715f r25444: Add an initial version of a WINBIND-STRUCT-GETPWENT test.
To be extended...

Michael
(This used to be commit 315ffc0191)
2007-10-10 15:07:34 -05:00
Michael Adam
3f466b1aab r25443: Enhance the WINBINDD-STRUCT-SHOW_SEQUENCE test:
Compare the lists of sequence numbers obtained by
(a) calling SHOW_SEQUENCE without domain argument and
(b) walking the list of trusted domains.
output the sequence numbers of the individual domains upon success.

Michael
(This used to be commit 21db6eb43c)
2007-10-10 15:07:34 -05:00
Michael Adam
ca61e8668c r25440: Add simple WINBINDD_SETPWENT and WINBINDD_ENDPWENT tests.
WINBINDD_GETPWENT is to follow.

Michael
(This used to be commit a989a7e40b)
2007-10-10 15:07:33 -05:00
Michael Adam
07f20e3f57 r25439: Extend the SHOW_SEQUENCE test somewhat to walk the list of trusted domains.
Michael
(This used to be commit d24eecb80e)
2007-10-10 15:07:33 -05:00
Stefan Metzmacher
289f09e14b r25438: start samba3's winbindd in the selftest "dc" env
metze
(This used to be commit 161c55be37)
2007-10-10 15:07:33 -05:00
Stefan Metzmacher
f2e99e352f r25437: let the default env for 'make testenv' depend on the target
as only samba4 supports the "member target yet.

metze
(This used to be commit 81bf9a063e)
2007-10-10 15:07:32 -05:00
Stefan Metzmacher
0988b807f6 r25435: actually pass the statistics to the buildfarm output module
to calculate the SELFTEST RUNTIME correct

metze
(This used to be commit 12e4851709)
2007-10-10 15:07:32 -05:00
Stefan Metzmacher
9e59dc7031 r25433: - dcerpc_AuthType is a 8bit enum not 32bit
- also add dcerpc_AuthLevel enum

metze
(This used to be commit efb2416939)
2007-10-10 15:07:32 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Stefan Metzmacher
98038f71a7 r25428: forward declarations of enums are not portable,
so pass struct cli_credentials *cred instead of
enum credentials_use_kerberos use_kerberos.

metze
(This used to be commit b945aaa9da)
2007-10-10 15:07:31 -05:00
Stefan Metzmacher
59f43d2b58 r25427: fix SELFTEST RUNTIME calculation for the build-farm
metze
(This used to be commit 554d56aa16)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
91a0879b1f r25425: move LDB_MODULESDIR define into config.h
this hopefully fixes the build on some hosts

metze
(This used to be commit d03ec5655d)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
7f0904cb1a r25421: SHLIBEXT comes in via samba's config.h already
metze
(This used to be commit dcead25b29)
2007-10-10 15:07:30 -05:00
Stefan Metzmacher
34da75652d r25419: fix generation of git revision calculation
metze
(This used to be commit 7f70d5e7b9)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
cabc0955d9 r25411: Fix IPv6 socket backend.
(This used to be commit 02b4621181)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
95157091e3 r25410: Use C99 struct initialization.
(This used to be commit ad1513bc1b)
2007-10-10 15:07:29 -05:00
Michael Adam
6371962e89 r25409: Add SHOW_SEQUENCE winbind test (struct based).
Michael
(This used to be commit 080b602e4f)
2007-10-10 15:07:27 -05:00
Stefan Metzmacher
2b771cc5a6 r25404: fix the build
metze
(This used to be commit 7d58d0c0c1)
2007-10-10 15:07:27 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
e09226cb35 r25395: Fix help for --socket-wrapper-pcap.
(This used to be commit 15e41e4278)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
b29e12f331 r25394: Print out version info in test output for use by Samba 3.
(This used to be commit c61881c72b)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
3048e9ad65 r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28)
2007-10-10 15:07:24 -05:00
Stefan Metzmacher
3ff257b36b r25386: add 'make testsuite' target that tries to at least compile
smbtorture, smbclient and cifsdd which are used by samba3's
'make test' in future.

metze
(This used to be commit 712074d950)
2007-10-10 15:07:23 -05:00
Jelmer Vernooij
08aba81a36 r25385: Don't clutter the buildfarm output with SKIP: lines.
(This used to be commit 70810484ea)
2007-10-10 15:07:23 -05:00
Jelmer Vernooij
55568328ad r25384: Support DGRAM IPv6 sockets.
(This used to be commit e227c74971)
2007-10-10 15:07:23 -05:00
Andrew Bartlett
db6c6cfdec r25383: Patch from Amin Azez <azez@ufomechanic.net> to give better message
when a template file is missing.

Andrew Bartlett
(This used to be commit 5093ea1cef)
2007-10-10 15:07:22 -05:00
Jelmer Vernooij
5e2f9cd8e2 r25379: Use loadparm context parameter in a lot more places.
(This used to be commit 091961b13b)
2007-10-10 15:07:22 -05:00
Rafal Szczesniak
3bf358c4d1 r25377: Simplify code a little by employing commonly used functions.
rafal
(This used to be commit f0be9939cd)
2007-10-10 15:07:22 -05:00
Rafal Szczesniak
528d2cdd46 r25376: Add the new file to the build.
rafal
(This used to be commit a5407a3288)
2007-10-10 15:07:21 -05:00
Rafal Szczesniak
1f3f79c21f r25375: Put commonly used functions in one place.
rafal
(This used to be commit 6e9708eba8)
2007-10-10 15:07:21 -05:00
Ronnie Sahlberg
19e417aefd r25374: create an enum for the authentication types instead of defining them as
constants
(This used to be commit 0c3d38b0d9)
2007-10-10 15:07:21 -05:00
Ronnie Sahlberg
ca8f2fbe2e r25373: add three more authentication types
(This used to be commit 9c38c61c33)
2007-10-10 15:07:20 -05:00
Rafal Szczesniak
d8b9666c33 r25368: Add the test of group add routine.
rafal
(This used to be commit f893244a31)
2007-10-10 15:07:19 -05:00
Rafal Szczesniak
353c00dc1f r25367: Add initial implementation of internal group add function.
rafal
(This used to be commit 05624840c7)
2007-10-10 15:07:19 -05:00
Jelmer Vernooij
b2c6dd7c89 r25365: Clearer test names
(This used to be commit 85a8c105a4)
2007-10-10 15:07:19 -05:00
Jelmer Vernooij
79e59dfdf2 r25364: List skipped testsuites in summary only.
(This used to be commit cc22be4530)
2007-10-10 15:07:18 -05:00
Jelmer Vernooij
966f35a6c8 r25363: Move service code to separate module.
(This used to be commit 77570e2fb5)
2007-10-10 15:07:18 -05:00
Jelmer Vernooij
7ac97bbbdb r25361: Specify share correctly for RPC-SAMBA3-SHARESEC, allow overriding share from command-line in smbtorture.
(This used to be commit b3f2eafa04)
2007-10-10 15:07:18 -05:00
Jelmer Vernooij
99f8d8c45d r25360: Allow --skip to be specified more than once.
(This used to be commit f6dd844dc4)
2007-10-10 15:07:17 -05:00
Jelmer Vernooij
4820691fd9 r25359: Set up Samba3 as dc.
(This used to be commit acaa484a5c)
2007-10-10 15:07:17 -05:00
Rafal Szczesniak
cc6881b8ea r25356: Conversion from the old-style composite functions take 2.
Let's find out if NET-USERMOD test passes this time on
the build farm...

rafal
(This used to be commit 6ab46e91ac)
2007-10-10 15:07:17 -05:00
Andrew Bartlett
2606996653 r25354: Thanks to Amin Azez <azez@ufomechanic.net> for finally getting me to
fix a provision without an smb.conf already setup.

Andrew Bartlett
(This used to be commit a00044d229)
2007-10-10 15:07:16 -05:00
Rafal Szczesniak
7db71eac7a r25353: Disable one more swig link to for 'make install' to work.
rafal
(This used to be commit bcf4e60577)
2007-10-10 15:07:16 -05:00
Michael Adam
555302bbdf r25352: Add a basic WINBINDD_LIST_GROUPS test.
Michael
(This used to be commit 1d051c550c)
2007-10-10 15:07:15 -05:00
Andrew Tridgell
ca49e5aabf r25351: disable swig for now to get the build working
(This used to be commit 846184f15c)
2007-10-10 15:07:15 -05:00
Michael Adam
ff81112efb r25350: Add an initial winbindd list-users test.
Michael
(This used to be commit 01bd81362f)
2007-10-10 15:07:15 -05:00
Stefan Metzmacher
3bcf42774f r25349: add WINBIND-STRUCT-DSGETDCNAME test
metze
(This used to be commit 8746ee4c20)
2007-10-10 15:07:14 -05:00
Tim Potter
708729be9f r25348: Start working on another Python wrapper.
(This used to be commit 441a040434)
2007-10-10 15:07:14 -05:00
Tim Potter
8dc845d425 r25329: A solution to SWIG not being able to handle a structure and a function
having the same name.  Hey we can now query nbt names from Python.
(This used to be commit 30c34d7a4b)
2007-10-10 15:07:14 -05:00
Jelmer Vernooij
7c30312c17 r25316: Remove last few instances of old BOOL type in librpc/.
(This used to be commit 80d1dd41d4)
2007-10-10 15:07:13 -05:00
Rafal Szczesniak
7f894169d9 r25315: Revert my last change until I find out what's causing the
problem spotted by the builfarm.

rafal
(This used to be commit 39359391af)
2007-10-10 15:07:13 -05:00
Rafal Szczesniak
a23b4958c0 r25312: Replace the old-style composite calls.
rafal
(This used to be commit 0a8531404f)
2007-10-10 15:07:13 -05:00
Volker Lendecke
5f280af012 r25310: Make sure we do not regress on r25309
(This used to be commit 4eb0ec51aa)
2007-10-10 15:07:12 -05:00
Jelmer Vernooij
dce6620a9e r25308: Remove use of pstring.
(This used to be commit 586246137c)
2007-10-10 15:07:12 -05:00
Jelmer Vernooij
6b1c7d36f8 r25307: add string_sub_talloc.
(This used to be commit 96c1a24874)
2007-10-10 15:07:12 -05:00
Jelmer Vernooij
f2d64e1c45 r25306: Add tests for string_sub().
(This used to be commit 2d37ddcbd1)
2007-10-10 15:07:11 -05:00
Jelmer Vernooij
385622396d r25305: Fix installation of missing headers.
(This used to be commit 83f1721453)
2007-10-10 15:07:11 -05:00
Andrew Bartlett
bd4dc88e7b r25304: Thankyou to Amin Azez <azez@ufomechanic.net> for pointing out that I
used subobj.ROLE and not subobj.SERVERROLE as the rest of the code
does.

Andrew Bartlett
(This used to be commit dd1cb33591)
2007-10-10 15:07:10 -05:00
Andrew Bartlett
e12730322c r25303: Print out the options the provision script generated. This should
help users produce predictable setups.

Andrew Bartlett
(This used to be commit 9789bd3c0a)
2007-10-10 15:07:10 -05:00
Stefan Metzmacher
c366b5b0d7 r25302: try to fix the build
metze
(This used to be commit d7c93167e8)
2007-10-10 15:07:10 -05:00
Jelmer Vernooij
9b009c9009 r25301: Merge my includes.h cleanups.
(This used to be commit 37425495f3)
2007-10-10 15:07:09 -05:00
Andrew Bartlett
ee257e902a r25299: Modify the provision script to take an additional argument: --server-role
This must be set to either 'domain controller', 'domain member' or 'standalone'.

The default for the provision now changes to 'standalone'.

This is not because Samba4 is particularlly useful in that mode, but
because we still want a positive sign from the administrator that we
should advertise as a DC.

We now do more to ensure the 'standalone' and 'member server'
provision output is reasonable, and try not to set odd things into the
database that only belong for the DC.

Andrew Bartlett
(This used to be commit 4cc4ed7719)
2007-10-10 15:07:09 -05:00
Stefan Metzmacher
733591c079 r25298: regenerate lex.c files with config.h as first include
this should help on aix 5.3.

metze
(This used to be commit bfd8c275bb)
2007-10-10 15:07:08 -05:00
Stefan Metzmacher
b15e7316a4 r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

metze
(This used to be commit 7939f847bf)
2007-10-10 15:07:08 -05:00
Volker Lendecke
70b33dc533 r25296: Apply patch by Elrond <elrond+sambaclassic@samba-tng.org>: Put
__location__ into a few printfs.

Thanks,

Volker
(This used to be commit b0e323a09e)
2007-10-10 15:07:08 -05:00
Stefan Metzmacher
1429bd9b0c r25293: add WINBIND-STRUCT-CHECK_MACHACC test
metze
(This used to be commit 8684167fd8)
2007-10-10 15:07:07 -05:00
Stefan Metzmacher
ac8271a57c r25292: minor cleanup
metze
(This used to be commit a98205f26d)
2007-10-10 15:07:07 -05:00
Stefan Metzmacher
a95b108959 r25291: add WINBIND-STRUCT-PRIV_PIPE_DIR test
this may needs
--option="torture:winbindd private pipe dir=/var/lib/samba/winbindd_privileged"

metze
(This used to be commit f83062d109)
2007-10-10 15:07:07 -05:00
Stefan Metzmacher
069cc571cd r25290: remove wrong comment
metze
(This used to be commit 9916d40769)
2007-10-10 15:07:06 -05:00
Stefan Metzmacher
e62dc0f1ef r25289: add WINBIND-STRUCT-INFO test
this may needs --option="torture:winbindd separator=+"

metze
(This used to be commit 8bf28eecf2)
2007-10-10 15:07:06 -05:00
Stefan Metzmacher
204ca09d8e r25288: add WINBIND-STRUCT-DOMAIN_INFO test
metze
(This used to be commit f42965b6ed)
2007-10-10 15:07:06 -05:00
Stefan Metzmacher
7d5f3e290c r25284: add WINBIND-STRUCT-DOMAIN_NAME test
this may needs --option="torture:winbindd netbios domain=BAR"

metze
(This used to be commit 3aba871fc3)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
7ae4b79e94 r25283: add WINBIND-STRUCT-NETBIOS_NAME test.
this may needs --option="torture:winbindd netbios name=FOO"

metze
(This used to be commit e67df9b8de)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
3e9d7c4db3 r25282: add WINBIND-STRUCT-INTERFACE_VERSION test
metze
(This used to be commit d610281cc1)
2007-10-10 15:07:05 -05:00
Stefan Metzmacher
fc9262d57c r25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS
metze
(This used to be commit c06e7aebc5)
2007-10-10 15:07:04 -05:00
Stefan Metzmacher
18d4608e43 r25279: - test in the generic get_trusted_domains() function that we got
at least 2 domains.
- change the ordering of the tests

metze
(This used to be commit 22eb3095d6)
2007-10-10 15:07:04 -05:00
Stefan Metzmacher
a84bdcd1cb r25278: add a more extented macro for doing struct based winbind requests
metze
(This used to be commit ad3ec17408)
2007-10-10 15:07:04 -05:00
Stefan Metzmacher
ba7f46418e r25269: this doesn't fix the problems with BSD make completely...
metze
(This used to be commit 869c30abb6)
2007-10-10 15:07:03 -05:00
Andrew Bartlett
4870c0dd00 r25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
compleatly dead code.

Andrew Bartlett
(This used to be commit 5838aca79b)
2007-10-10 15:07:03 -05:00
Jelmer Vernooij
f415ba5bcf r25267: Move PRINTF_ATTRIBUTE to lib/util as well.
(This used to be commit 72b9d6c036)
2007-10-10 15:07:03 -05:00
Jelmer Vernooij
9f43d96e3f r25266: Fix case.
(This used to be commit 935ac3189d)
2007-10-10 15:07:02 -05:00
Jelmer Vernooij
6a167124cd r25265: Move attribute definitions to lib/util.
(This used to be commit 5bb9f041f4)
2007-10-10 15:07:02 -05:00
Ronnie Sahlberg
b83ce5061e r25264: add a test to verify that the ACLs are checked when a normal user connects to SAMR
(This used to be commit 2be2ab575b)
2007-10-10 15:07:02 -05:00
Ronnie Sahlberg
52857d83c1 r25263: add a test to check the accessmasks and ACLs on policy handles returned on the
SAMR pipe.

also test which bits in the accessmasks grant which right to perform operations on the returned policy handle
(This used to be commit cb5bc80136)
2007-10-10 15:07:01 -05:00
Stefan Metzmacher
fb75ce48e5 r25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test
metze
(This used to be commit 52dfec08e7)
2007-10-10 15:07:01 -05:00
Stefan Metzmacher
a3c1115e20 r25259: try to work arround the build failures on OpenBSD 3.7
metze
(This used to be commit 5679e7d824)
2007-10-10 15:07:01 -05:00
Rafal Szczesniak
21dd06471b r25256: Fix missing field set in libnet_ModifyUser routine.
Submitted by Matthias Dieter Wallnoefer <mwallnoefer@yahoo.de>

rafal
(This used to be commit 4fe47e4f97)
2007-10-10 15:07:00 -05:00
Stefan Metzmacher
d4f0d738f1 r25251: move macro defines to the end of replace.h
and move the include location sys/param.h
before we redefine missing macros

metze
(This used to be commit 87559febdf)
2007-10-10 15:06:59 -05:00
Andrew Bartlett
afb0849afe r25249: Thanks to Andrew Kroeger for pointing out this silly typo (calling
end_transaction in delete_tranaction would be very much the wrong
thing to do) in the update_keytab module.

Andrew Bartlett
(This used to be commit aad9545ca1)
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
e0ea2c9b9f r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will
most times return old sequence number values.

metze
(This used to be commit af259f35f2)
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
727386327c r25235: add simple WINBIND-STRUCT-GETDCNAME test
metze
(This used to be commit 2abd86f520)
2007-10-10 15:06:58 -05:00
Stefan Metzmacher
a75ba7c53d r25234: make WINBIND-STRUCT-PING a benchmark test
which runs WINBIND_PING for 5 seconds

metze
(This used to be commit 86809a965e)
2007-10-10 15:06:58 -05:00
Stefan Metzmacher
90bd9f3770 r25231: revert hunk that was commited together with the change to gplv3
was revision 23801

metze
(This used to be commit 6ea0d61ab3)
2007-10-10 15:06:58 -05:00
Tim Potter
3eb2b3085d r25221: Experiment with Jelmer's new generic loadparm code.
(This used to be commit 9fbbd1b5c9)
2007-10-10 15:06:57 -05:00
Tim Potter
b9989b4640 r25220: Comment out obsolete functions.
(This used to be commit 448cf5b61f)
2007-10-10 15:06:57 -05:00
Jelmer Vernooij
d73955ca77 r25219: remove unused check for precompiled headers.
(This used to be commit 17c92c091d)
2007-10-10 15:06:57 -05:00
Andrew Bartlett
c64116e158 r25218: After discussion with Simo, remove the subclass support from LDB.
Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in.  However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).

Andrew Bartlett
(This used to be commit f5ce04b904)
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
425cb6733c r25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro
I'm not updating any code here, as in a few places the
existing code seems totaly broken to me...

metze
(This used to be commit 97e535338b)
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
bc94aa19f3 r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.

metze
(This used to be commit 2b2e841465)
2007-10-10 15:06:56 -05:00
Stefan Metzmacher
c364bbbfa3 r25215: replace talloc_append_string() with talloc_strdup_append_buffer()
metze
(This used to be commit 8f2db3c130)
2007-10-10 15:06:55 -05:00
Stefan Metzmacher
df7fbf8cfd r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.

metze
(This used to be commit 32bb276920)
2007-10-10 15:06:55 -05:00
Stefan Metzmacher
68256289a4 r25213: use talloc_strdup_append_buffer() instead of talloc_append_string()
metze
(This used to be commit d0306ed16b)
2007-10-10 15:06:55 -05:00
Stefan Metzmacher
f353737094 r25212: merge some stuff from samba3
metze
(This used to be commit 502251451a)
2007-10-10 15:06:54 -05:00
Stefan Metzmacher
3864520c9a r25211: fix compiler warning
metze
(This used to be commit c0d095c8c9)
2007-10-10 15:06:54 -05:00
Stefan Metzmacher
d232d1851c r25210: fix typo
metze
(This used to be commit 489758afb2)
2007-10-10 15:06:54 -05:00
Stefan Metzmacher
4a40dd2669 r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
metze
(This used to be commit 780c1c776e)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
46d369b0f0 r25208: add talloc_str[n]dup_append[_buffer]() functions
metze
(This used to be commit 8532076720)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
22b827ccbd r25207: remove one nesting level and use unlikely()
metze
(This used to be commit c2931540bc)
2007-10-10 15:06:53 -05:00
Stefan Metzmacher
3e58b6fd46 r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.

metze
(This used to be commit 92106e6b7e)
2007-10-10 15:06:52 -05:00
Stefan Metzmacher
063daf6ab5 r25205: $(srcdir) isn't expanded here...
metze
(This used to be commit 4bce808917)
2007-10-10 15:06:52 -05:00
Andrew Bartlett
6a9a1bd913 r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -
rename of ldb entries for a case change (only).

I've modified the testsuite to verify this.

Andrew Bartlett
(This used to be commit 9cccd00dac)
2007-10-10 15:06:52 -05:00
Andrew Bartlett
09a5ef1384 r25203: Don't use subclasses in Samba4, as we always fill out the full
objectClass list.

Andrew Bartlett
(This used to be commit e882dcb7aa)
2007-10-10 15:06:51 -05:00
Andrew Bartlett
905b403adb r25196: Thanks to id10ts on IRC for finding some typos in my well-known names
patch.

Andrew Bartlett
(This used to be commit 99e013207e)
2007-10-10 15:06:51 -05:00
Andrew Bartlett
08c97435d3 r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, with
a new torture suite to match.

This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de>

Previously we had no knowlege of BUILTIN or well-known names.

This code needs expansion to check with winbind for trusted domains.

Andrew Bartlett
(This used to be commit e6fc0e1f54)
2007-10-10 15:06:51 -05:00
Jelmer Vernooij
ffbb7e4060 r25193: Update headers to easy use by external apps.
(This used to be commit 20b70fbb7a)
2007-10-10 15:06:50 -05:00
Stefan Metzmacher
864c9dd88b r25192: try to fix the build on sun/solaris hosts
we should try to get rid of all c++ sympols
in samba4...

metze
(This used to be commit 96d2f8b360)
2007-10-10 15:06:49 -05:00
Jelmer Vernooij
65c276dfb6 r25191: Fix include for BSD systems.
(This used to be commit 24a0df2967)
2007-10-10 15:06:49 -05:00
Jelmer Vernooij
122888052f r25190: Update talloc version to 1.1.0 after API-incompatible changes.
(This used to be commit 66000a1fa2)
2007-10-10 15:06:49 -05:00
Stefan Metzmacher
7c8e4c7cbb r25189: add first winbind test for the struct based protocol (WINBINDD_PING)
metze
(This used to be commit 84b5babae7)
2007-10-10 15:06:48 -05:00
Stefan Metzmacher
81539d4966 r25188: add infrastructure for WINBIND-* tests in smbtorture
metze
(This used to be commit 3807699c00)
2007-10-10 15:06:48 -05:00
Stefan Metzmacher
d6c66ea774 r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build
of ldb with bsd make.

metze
(This used to be commit 9d6d296105)
2007-10-10 15:06:48 -05:00
Volker Lendecke
ab36db2f9d r25186: Fix a memory corruption in base-mangle
(This used to be commit 4822b3f0db)
2007-10-10 15:06:47 -05:00
Jelmer Vernooij
2e3768843a r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data.
(This used to be commit 9e804e0c21)
2007-10-10 15:06:47 -05:00
Stefan Metzmacher
ae9c015c57 r25183: return LOCKDIR too
metze
(This used to be commit 9d73932972)
2007-10-10 15:06:47 -05:00
Stefan Metzmacher
020683680c r25182: don't hide the envlog in plain mode
metze
(This used to be commit 77050171ae)
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
540caf7ea6 r25181: sync winbind client code with samba3
NOTE: wbinfo.c isn't fully merged here

metze
(This used to be commit eee5327dc2)
2007-10-10 15:06:46 -05:00
Jeremy Allison
9a012df08e r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
(This used to be commit 0844dbf597)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
6f37a17d4a r25174: Export header from just one place.
(This used to be commit 82383a6c12)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
cc17260f5d r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel.
(This used to be commit 160c0013dc)
2007-10-10 15:06:45 -05:00
Jelmer Vernooij
d222c5e7ae r25166: Simplify can_contain_deferred and add tests for it.
(This used to be commit 1afc7dd4d3)
2007-10-10 15:06:45 -05:00
Jeremy Allison
151f422247 r25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy.
(This used to be commit 5bb8613b86)
2007-10-10 15:06:44 -05:00
Stefan Metzmacher
803e57da44 r25159: fix missing declarations warning
metze
(This used to be commit 3d321a5efc)
2007-10-10 15:06:44 -05:00
Stefan Metzmacher
7d554e4104 r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
metze
(This used to be commit 1fc3a37902)
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
44500d6d98 r25124: Include link to summary page, hide environment variables for 'none' environment.
(This used to be commit 9fac2bd884)
2007-10-10 15:06:43 -05:00
Stefan Metzmacher
e10faa4a66 r25123: we only need lib/ldb/sqlite3.m4 and lib/ldb/libldb.m4,
when we build our own ldb...

metze
(This used to be commit 775f723c80)
2007-10-10 15:06:43 -05:00
Stefan Metzmacher
f7ae1fc1ca r25122: fix interface detection code
jelmer: I wonder what broke it...

metze
(This used to be commit 4c8063b9c4)
2007-10-10 15:06:43 -05:00
Jeremy Allison
d8a5ed33b3 r25116: Fix talloc_asprintf_append to do the right thing with
truncated strings.
Jeremy.
(This used to be commit 948d32bb62)
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
95b8ab07f0 r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C

jelmer: I assume the "..". for the public header was a bug...

metze
(This used to be commit 5522ee1461)
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
e8712bebae r25114: handle structs and unions without typedefs better
in can_contain_deffered()

jelmer: we need to handle this more genericly, I assume
        we have a lot of other related bugs

metze
(This used to be commit 3e0f22c857)
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
49f4f8ea2c r25113: fix compiler warning
metze
(This used to be commit d0ada02532)
2007-10-10 15:06:41 -05:00
Stefan Metzmacher
ab309ada8b r25112: make torture_temp_dir() available via tortore/torture.h
and return more detailed errors

metze
(This used to be commit c2b645c876)
2007-10-10 15:06:41 -05:00
Jelmer Vernooij
2e6f0016d1 r25110: Show environment variables in HTML output.
(This used to be commit 62e770ace3)
2007-10-10 15:06:41 -05:00
Jelmer Vernooij
97f25fe522 r25106: ldb_map is provided by libldb.so in the system-provided ldb.
(This used to be commit 15476d75e7)
2007-10-10 15:06:39 -05:00
Jelmer Vernooij
e885a8f477 r25105: No need to register ldb_map as a module.
(This used to be commit 6c66e09c9e)
2007-10-10 15:06:38 -05:00
Jelmer Vernooij
7d1698d4bb r25101: Directly depend on drsblobs - can't rely on having it in via ldb.
(This used to be commit 6b4a21e1ab)
2007-10-10 15:06:37 -05:00
Jelmer Vernooij
0ca0c0e5a2 r25100: Include LDAP libs in .pc file so linking statically against libldb works again.
(This used to be commit bcf5c94474)
2007-10-10 15:06:37 -05:00
Jelmer Vernooij
669adc9f4a r25098: Fix typo
(This used to be commit 29415b661d)
2007-10-10 15:06:36 -05:00
Jelmer Vernooij
1ecae757c6 r25097: Don't clutter users' CFLAGS with ldb cflags.
(This used to be commit e31614b5ea)
2007-10-10 15:06:36 -05:00
Jelmer Vernooij
2bcf502f1a r25096: Missed an include - otherwise the embedded ldb is always used.
(This used to be commit 557b4b3d45)
2007-10-10 15:06:34 -05:00
Jelmer Vernooij
3d4fb8fc33 r25095: Display of which libraries the system-provided version is being used.
(This used to be commit 635ea8996a)
2007-10-10 15:06:34 -05:00
Jelmer Vernooij
02509b55de r25094: Force building shared module if subsystem is a shared library.
(This used to be commit 3146f0dead)
2007-10-10 15:06:34 -05:00
Jelmer Vernooij
2e5f023a69 r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system.
(This used to be commit 8aab673df5)
2007-10-10 15:06:27 -05:00
Jelmer Vernooij
08ff1a50f2 r25085: Define LDB_MODULESDIR for standalone build.
(This used to be commit 1ba883c62e)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
4a4cdc990c r25084: Move samba-specific code out of lib/ldb directory.
(This used to be commit 917bd737cb)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
bea4fc3af2 r25083: Keep actual symbol names the same.
(This used to be commit 106118f116)
2007-10-10 15:06:26 -05:00