mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit fd9cc4eb5afae8b255e753d480190b490cd3f7ab)
This commit is contained in:
commit
9e681efdf0
@ -523,12 +523,12 @@ member: cn=ldaptestuser4,cn=ldaptestcontainer,""" + base_dn + """
|
||||
assert len(res) == 0
|
||||
|
||||
print "Testing one-level ldb.search for (&(cn=ldaptestuser4)(objectClass=user)) in cn=ldaptestcontainer2," + base_dn
|
||||
res = ldb.search(expression="(&(cn=ldaptestuser4)(objectClass=user))", base="cn=ldaptestcontainer2," + base_dn, scope=SCOPE_ONELEVEL)
|
||||
# FIXME: assert len(res) == 0
|
||||
res = ldb.search(expression="(&(cn=ldaptestuser4)(objectClass=user))", base=("cn=ldaptestcontainer2," + base_dn), scope=SCOPE_ONELEVEL)
|
||||
assert len(res) == 0
|
||||
|
||||
print "Testing one-level ldb.search for (&(cn=ldaptestuser4)(objectClass=user)) in cn=ldaptestcontainer2," + base_dn
|
||||
res = ldb.search(expression="(&(cn=ldaptestuser4)(objectClass=user))", base="cn=ldaptestcontainer2," + base_dn, scope=SCOPE_SUBTREE)
|
||||
#FIXME: assert len(res) == 0
|
||||
res = ldb.search(expression="(&(cn=ldaptestuser4)(objectClass=user))", base=("cn=ldaptestcontainer2," + base_dn), scope=SCOPE_SUBTREE)
|
||||
assert len(res) == 0
|
||||
|
||||
print "Testing delete of subtree renamed "+("CN=ldaptestuser4,CN=ldaptestcontainer2," + base_dn)
|
||||
ldb.delete(("CN=ldaptestuser4,CN=ldaptestcontainer2," + base_dn))
|
||||
|
@ -50,3 +50,4 @@ RPC-FRSAPI # Not provided by Samba 4
|
||||
WINBIND # FIXME: This should not be skipped
|
||||
NSS-TEST # Fails
|
||||
samba4.samba3sam.python # Conversion from EJS not yet finished
|
||||
RAW-OFFLINE # Samba 4 doesn't have much offline support yet
|
||||
|
@ -74,7 +74,7 @@ done
|
||||
# is now pretty well tested by the rest of the quick tests anyway
|
||||
LDBDIR=$samba4srcdir/lib/ldb
|
||||
export LDBDIR
|
||||
plantest "ldb" none $LDBDIR/tests/test-tdb.sh
|
||||
plantest "ldb" none TEST_DATA_PREFIX=\$PREFIX $LDBDIR/tests/test-tdb.sh
|
||||
|
||||
plantest "js.ldap" dc $SCRIPTDIR/ldap.js $CONFIGURATION -d 10 \$SERVER -U\$USERNAME%\$PASSWORD
|
||||
|
||||
|
@ -382,6 +382,7 @@ die("using an empty absolute prefix isn't allowed") unless $prefix_abs ne "";
|
||||
die("using '/' as absolute prefix isn't allowed") unless $prefix_abs ne "/";
|
||||
|
||||
$ENV{PREFIX} = $prefix;
|
||||
$ENV{KRB5CCNAME} = "$prefix/krb5ticket";
|
||||
$ENV{PREFIX_ABS} = $prefix_abs;
|
||||
$ENV{SRCDIR} = $srcdir;
|
||||
$ENV{SRCDIR_ABS} = $srcdir_abs;
|
||||
|
@ -56,7 +56,7 @@ test_smbclient() {
|
||||
return $status
|
||||
}
|
||||
|
||||
KRB5CCNAME=`pwd`/tmpccache
|
||||
KRB5CCNAME="$PREFIX/tmpccache"
|
||||
export KRB5CCNAME
|
||||
|
||||
echo $PASSWORD > ./tmppassfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user