summaryrefslogtreecommitdiff
path: root/source4/torture/winbind
AgeCommit message (Collapse)AuthorFilesLines
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2-21/+21
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-16/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-24s4: Rename WBCLIENT to wbclient.Jelmer Vernooij1-1/+1
2010-10-24waf: Rename LIBWINBIND-CLIENT to libwinbind-clientJelmer Vernooij1-1/+1
2010-10-12libwbclient: Remove half-finished async implementationKai Blin2-2/+2
The old approach on doing async libwbclient was never really finished. Go ahead and remove this implementation. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Oct 12 07:05:31 UTC 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-5/+5
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-1/+1
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+8
2010-03-05s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argumentMatthias Dieter Wallnöfer1-1/+2
Otherwise always a warning is generated.
2010-03-02s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.Günther Deschner1-5/+16
In samba3 it is not an error when no users are returned in getpwent() calls (e.g. on a DC w/o interdomain trusts). Kai, please check. Guenther
2010-02-13libwbclient: Separate out the async functionsKai Blin1-1/+1
2010-01-16s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME testKai Blin1-4/+5
2010-01-14s3 test: Fix WINBINDD-STRUCT testsKai Blin1-2/+2
The struct-based tests are working in make selftest, make them work in plain "make test" as well.
2010-01-14s3 selftest: Fix LOOKUP_SID test.Kai Blin1-4/+12
WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is from our domain.
2010-01-14s3 selftest: Fix WINBINDD_LIST_GROUPS testKai Blin1-9/+22
If there's no groups in the database, there are no entries in extra_data. This caused WINBINDD_LIST_GROUPS test to fail. Use the fact that WINBINDD_LIST_GROUPS now reports the number of groups in data.num_entries to identify the "no groups" case.
2010-01-14s3 selftest: Allow the enumeration of users and groupsKai Blin1-1/+1
This fixes the WINBINDD_GETPWENT test.
2010-01-14s3 selftest: Fix the WINBINDD_GETDCNAMEe test.Kai Blin1-0/+10
The WINBINDD_GETDCNAME test expected an NSS_STATUS_SUCCESS return from all calls. However, this does not apply for BUILTIN and the DC's own domain. Make the test work again by skipping those two.
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-10-16s4-smbtorture: add very basic libwbclient testsuite.Günther Deschner2-2/+3
Guenther
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-1/+2
2008-11-16s4:torture: fix the build with auto dependenciesStefan Metzmacher1-1/+1
metze
2008-10-22Repel pstring to nsswitch/.Jelmer Vernooij1-9/+8
2008-09-11Fix failures in the winbind struct-based test.Andrew Bartlett1-11/+0
Don't try to pass the 'privileged' socket directory around for expected value testing - it is just too hard... A better test (once we unify the winbind protocol with Samba3) would be a operation to see if you are on the priv pipe, and that will give acutal end-to-end testing. Andrew Bartlett (This used to be commit 2d4103518ab8a7286e65347b8b9b0ccb660e69f6)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij1-1/+1
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij1-2/+2
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-10Fix torture module initializion.Jelmer Vernooij1-1/+1
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-06Tiago Batista posted a patch to fix the build:Tiago Batista1-1/+1
Trying to compile the latest git tree, I got some errors "auth/pam_error.h not found" errors, it looks like it moved to auth/ntlm/pam_errors.h. Andrew Bartlett (This used to be commit 95831a015ae076b52256961f771f50dd9b278e33)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-16Adjust the expectations of the struct based winbind test.Andrew Bartlett1-7/+14
These expectations (such as what happens when we have no trusted domains) were incorrect, compared with Samba3 (which is the reference for this protocol). Andrew Bartlett (This used to be commit 29d5de9e8fb69346e29a95c6fcaefabd018c9447)
2008-04-16Fix struct_based winbind test for 'check machine account'.Andrew Bartlett1-1/+1
The problem here was that we did not fill in the error strings in the success case, and the testsuite checked against the incorrect 'freindly' error string. Andrew Bartlett (This used to be commit df05f118831245bdb19573711545bdb1b01a0c50)
2008-04-15Fix some of the winbind tests.Andrew Bartlett1-1/+2
Some of the test expectations were incorrect. Andrew Bartlett (This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-3/+3
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-4/+4
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r25721: remove unused varStefan Metzmacher1-1/+0
metze (This used to be commit d878351e820957451b1130d0e5724faf7a4c0370)
2007-10-10r25509: Extend the WINBIND-STRUCT-LOOKUP_NAME_SID test to alsoMichael Adam1-1/+64
verify failure of the lookup for an invalid SID and an invalid name. Michael (This used to be commit 69043a7b1ca82f5c9976e605cf6bb9df8afbad18)
2007-10-10r25477: Add user and group retrieval functions (used in LIST_USERS/GROUPS ↵Michael Adam1-12/+208
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 df12ed56c9c2beb4ee36827ddec8b2946c1ac89b)
2007-10-10r25469: Finish WINBIND-STRUCT-SHOW_SEQUENCE test:Michael Adam1-23/+47
* 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 d80421495468db2fd1526c842a6354650afb14af)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+2
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 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25444: Add an initial version of a WINBIND-STRUCT-GETPWENT test.Michael Adam1-0/+28
To be extended... Michael (This used to be commit 315ffc01914c34d0c4dacd9155d270af0f45f8e5)
2007-10-10r25443: Enhance the WINBINDD-STRUCT-SHOW_SEQUENCE test:Michael Adam1-6/+62
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 21db6eb43c796da7607260d783221c5ee42f1f41)
2007-10-10r25440: Add simple WINBINDD_SETPWENT and WINBINDD_ENDPWENT tests.Michael Adam1-0/+32
WINBINDD_GETPWENT is to follow. Michael (This used to be commit a989a7e40b56c988f3710014fcf50aca917d7de5)
2007-10-10r25439: Extend the SHOW_SEQUENCE test somewhat to walk the list of trusted ↵Michael Adam1-0/+22
domains. Michael (This used to be commit d24eecb80ef55160e9e9c4863c59d9af15e4f5ca)
2007-10-10r25409: Add SHOW_SEQUENCE winbind test (struct based).Michael Adam1-0/+20
Michael (This used to be commit 080b602e4ff906580e127e66bfbe0373a69d26a9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-3/+3
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25352: Add a basic WINBINDD_LIST_GROUPS test.Michael Adam1-0/+16
Michael (This used to be commit 1d051c550c640300e02fa947738e192a4dd4d2ff)
2007-10-10r25350: Add an initial winbindd list-users test.Michael Adam1-0/+16
Michael (This used to be commit 01bd81362fe7e26361e27a1e2ea3cfb2b78cfe00)
2007-10-10r25349: add WINBIND-STRUCT-DSGETDCNAME testStefan Metzmacher1-0/+66
metze (This used to be commit 8746ee4c20c6c0ca04248feae1321f6806d35898)