summaryrefslogtreecommitdiffstats
path: root/source4/torture/winbind
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Set winbind separator = /Andrew Bartlett2014-06-041-1/+1
| | | | | | | | | | This avoids a pile of shell-script escape pain, and fixes some tests. Andrew Bartlett Change-Id: Ie1d0e32ab484a5b0ddbc4073831fe6de27e38e92 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s4:torture/winbind: explicitly use allow_warnings=TrueStefan Metzmacher2014-04-021-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/winbind: remove unused variableStefan Metzmacher2014-04-021-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* auth/gensec: remove tevent_context argument from gensec_update()Stefan Metzmacher2014-03-271-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* torture: Ensure that GSSAPI and SPNEGO packets are accepted by dlz_bind9Andrew Bartlett2013-09-041-0/+1
| | | | | | | | | | | | | | This exercises some more of the dlz_bind9 code outside BIND, by sending in a ticket to be access checked, wrapped either in SPNEGO or just in GSSAPI. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 4 11:25:10 CEST 2013 on sn-devel-104
* s4-torture: Complete test for winbindd PAC parsingChristof Schmitt2012-09-201-6/+86
| | | | | | | Decode the PAC through the wbcAuthenticateUserEx call, also decode it locally and compare the result. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-torture: Add start of a test to confirm winbindd PAC parsingAndrew Bartlett2012-08-291-0/+153
| | | | | | | So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-1/+0
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* source4/torture: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+1
|
* Fix some typesJelmer Vernooij2011-02-281-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* pam: share pam errors in a common location.Günther Deschner2011-02-081-1/+1
| | | | Guenther
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-112-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
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-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
* s4: Rename WBCLIENT to wbclient.Jelmer Vernooij2010-10-241-1/+1
|
* waf: Rename LIBWINBIND-CLIENT to libwinbind-clientJelmer Vernooij2010-10-241-1/+1
|
* libwbclient: Remove half-finished async implementationKai Blin2010-10-122-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
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-1/+1
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+8
|
* s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argumentMatthias Dieter Wallnöfer2010-03-051-1/+2
| | | | Otherwise always a warning is generated.
* s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.Günther Deschner2010-03-021-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
* libwbclient: Separate out the async functionsKai Blin2010-02-131-1/+1
|
* s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME testKai Blin2010-01-161-4/+5
|
* s3 test: Fix WINBINDD-STRUCT testsKai Blin2010-01-141-2/+2
| | | | | The struct-based tests are working in make selftest, make them work in plain "make test" as well.
* s3 selftest: Fix LOOKUP_SID test.Kai Blin2010-01-141-4/+12
| | | | | WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is from our domain.
* s3 selftest: Fix WINBINDD_LIST_GROUPS testKai Blin2010-01-141-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.
* s3 selftest: Allow the enumeration of users and groupsKai Blin2010-01-141-1/+1
| | | | This fixes the WINBINDD_GETPWENT test.
* s3 selftest: Fix the WINBINDD_GETDCNAMEe test.Kai Blin2010-01-141-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.
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-1/+0
| | | | This reduces compile time somewhat.
* s4-smbtorture: add very basic libwbclient testsuite.Günther Deschner2009-10-162-2/+3
| | | | Guenther
* Fix missing symbols issues when building with shared libraries.Jelmer Vernooij2008-12-221-1/+2
|
* s4:torture: fix the build with auto dependenciesStefan Metzmacher2008-11-161-1/+1
| | | | metze
* Repel pstring to nsswitch/.Jelmer Vernooij2008-10-221-9/+8
|
* Fix failures in the winbind struct-based test.Andrew Bartlett2008-09-111-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)
* Fix a bunch of dependencies.Jelmer Vernooij2008-05-181-1/+1
| | | | (This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
* Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-181-1/+1
| | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
* Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-181-2/+2
| | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-1/+1
| | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* Fix torture module initializion.Jelmer Vernooij2008-05-101-1/+1
| | | | (This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
* Tiago Batista posted a patch to fix the build:Tiago Batista2008-05-061-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)
* Move subunit infrastructure code into lib/torture.Jelmer Vernooij2008-04-271-1/+1
| | | | (This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
* Adjust the expectations of the struct based winbind test.Andrew Bartlett2008-04-161-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)
* Fix struct_based winbind test for 'check machine account'.Andrew Bartlett2008-04-161-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)
* Fix some of the winbind tests.Andrew Bartlett2008-04-151-1/+2
| | | | | | | Some of the test expectations were incorrect. Andrew Bartlett (This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
* Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-141-3/+3
| | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-4/+4
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25721: remove unused varStefan Metzmacher2007-12-211-1/+0
| | | | | metze (This used to be commit d878351e820957451b1130d0e5724faf7a4c0370)
* r25509: Extend the WINBIND-STRUCT-LOOKUP_NAME_SID test to alsoMichael Adam2007-10-101-1/+64
| | | | | | | | verify failure of the lookup for an invalid SID and an invalid name. Michael (This used to be commit 69043a7b1ca82f5c9976e605cf6bb9df8afbad18)
* r25477: Add user and group retrieval functions (used in LIST_USERS/GROUPS ↵Michael Adam2007-10-101-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)