Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
|
|
Guenther
|
|
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
|
|
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>
|
|
Otherwise always a warning is generated.
|
|
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
|
|
|
|
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
|
|
WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is
from our domain.
|
|
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.
|
|
This fixes the WINBINDD_GETPWENT test.
|
|
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.
|
|
This reduces compile time somewhat.
|
|
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
Some of the test expectations were incorrect.
Andrew Bartlett
(This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
|
|
uses of global_loadparm.
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
|
|
metze
(This used to be commit d878351e820957451b1130d0e5724faf7a4c0370)
|
|
verify failure of the lookup for an invalid SID and an
invalid name.
Michael
(This used to be commit 69043a7b1ca82f5c9976e605cf6bb9df8afbad18)
|
|
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)
|
|
* 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-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)
|
|
To be extended...
Michael
(This used to be commit 315ffc01914c34d0c4dacd9155d270af0f45f8e5)
|
|
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)
|
|
WINBINDD_GETPWENT is to follow.
Michael
(This used to be commit a989a7e40b56c988f3710014fcf50aca917d7de5)
|
|
domains.
Michael
(This used to be commit d24eecb80ef55160e9e9c4863c59d9af15e4f5ca)
|
|
Michael
(This used to be commit 080b602e4ff906580e127e66bfbe0373a69d26a9)
|
|
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
|
|
Michael
(This used to be commit 1d051c550c640300e02fa947738e192a4dd4d2ff)
|
|
Michael
(This used to be commit 01bd81362fe7e26361e27a1e2ea3cfb2b78cfe00)
|
|
metze
(This used to be commit 8746ee4c20c6c0ca04248feae1321f6806d35898)
|
|
metze
(This used to be commit 8684167fd804fb04fc36e49f61027e9d44beb3ba)
|
|
metze
(This used to be commit a98205f26dfbf680ad6ac9f3ba2043b3e2864f99)
|
|
this may needs
--option="torture:winbindd private pipe dir=/var/lib/samba/winbindd_privileged"
metze
(This used to be commit f83062d10955115a55928c51d289a219c1442632)
|
|
metze
(This used to be commit 9916d40769fa50be7e0bc88c981643f2c38f3336)
|
|
this may needs --option="torture:winbindd separator=+"
metze
(This used to be commit 8bf28eecf274c5f53ab735036ffe09e0df751a9c)
|
|
metze
(This used to be commit f42965b6edfd91e00004a87a806d124be7eaeee0)
|
|
this may needs --option="torture:winbindd netbios domain=BAR"
metze
(This used to be commit 3aba871fc35821f4660749db6e449846fc6b8753)
|
|
this may needs --option="torture:winbindd netbios name=FOO"
metze
(This used to be commit e67df9b8de4f3c9abc5ddfdad91e2682ddd40e45)
|
|
metze
(This used to be commit d610281cc11351fdc4ed0e4242341530fe56c5bf)
|
|
WINBINDD_LIST_TRUSTDOMS
metze
(This used to be commit c06e7aebc5998da0a3b1d1f2021e6f49c31071f5)
|
|
at least 2 domains.
- change the ordering of the tests
metze
(This used to be commit 22eb3095d622e4cee559387900e5a7d9cfb51171)
|
|
metze
(This used to be commit ad3ec174088393a9efb265fa7a135fbfd080b6a7)
|
|
metze
(This used to be commit 52dfec08e7b09c3d80c7e5efc88889144079fc9e)
|
|
metze
(This used to be commit 2abd86f520a74662f8fe0d10b72484459c3d74a9)
|