Kamen Mazdrashki
9393d94ad4
s4/drs: prefixMap main interface implementation
...
Currenly implemented functions are:
dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid()
and dsdb_schema_pfm_oid_from_attid()
2009-10-21 11:49:51 +03:00
Kamen Mazdrashki
4dc90c0851
s4/drs(tort): Unit test for prefixMap implementation.
...
Currenly those tests cover only the main part of the interface,
i.e. dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid()
and dsdb_schema_pfm_oid_from_attid()
2009-10-21 11:49:50 +03:00
Kamen Mazdrashki
31168f1fac
s4/drs(tort): Comment typos fixed in drs_util.c
2009-10-21 11:49:50 +03:00
Kamen Mazdrashki
1ecca31caa
s4/drs(tort): fixed '==' to '>='
...
ATTID is marked as partial by adding 32768.
Thus the check should be '>= 32768'
2009-10-21 11:49:50 +03:00
Günther Deschner
4b6cfbb6d2
s4-lsa: Fix dcesrv_lsa_EnumTrustDom() and avoid infite windows client loop.
...
Found by RPC-LSA-TRUSTED-DOMAIN torture test.
Guenther
2009-10-21 03:14:00 +02:00
Günther Deschner
209a65bc6f
s3-lsa: Fix _lsa_EnumTrustDom() and avoid infite windows client loop.
...
Found by RPC-LSA-TRUSTED-DOMAIN torture test.
Guenther
2009-10-21 03:13:59 +02:00
Günther Deschner
48520b2274
s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up a client.
...
Guenther
2009-10-21 03:13:24 +02:00
Günther Deschner
32f2cc4487
s3-lsa: make s3 pass against RPC-LSA-LOOKUPNAMES again.
...
Do what W2k8 does and return the builtin domain for a NULL name.
Guenther
2009-10-21 02:57:08 +02:00
Günther Deschner
b9d9353b54
nsswitch: fix the build of the winbind krb5 locator plugin.
...
Guenther
2009-10-21 02:56:18 +02:00
Jeremy Allison
9356265802
Turn on LOCK9 test which will test for regressions in bug 6828.
...
Jeremy.
2009-10-20 17:53:06 -07:00
Jeremy Allison
bb7cf9ad23
Fix bug 6828 - infinite timeout occurs when byte lock held outside of samba
...
Jeremy.
2009-10-20 17:52:34 -07:00
Jeremy Allison
49b23fe248
Fix comments on new test.
...
Jeremy
2009-10-20 17:41:27 -07:00
Jeremy Allison
e58f880381
Add local (or NFS) lock test to smbtorture. Checks that local locks
...
conflict with CIFS locks (see bug 6868).
Jeremy.
2009-10-20 17:37:43 -07:00
Günther Deschner
a4d5487576
s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.
...
Make sure to split out lsa_LookupName NULL name test so that we can better track
results from bogus names and NULL names.
Guenther
2009-10-20 23:57:58 +02:00
Jeremy Allison
e349e2c541
Fix "make install" by removing all references to python. Not currently
...
needed in source3, and isn't working anyway.
Jeremy.
2009-10-20 13:42:28 -07:00
Jeremy Allison
0d33b0bfca
Remove pythonmods from the build in source3, it doesn't build anyway
...
and isn't needed (as far as I can tell).
Jeremy.
2009-10-20 13:28:05 -07:00
Jeremy Allison
c79e2ff69a
Fix the pam_smbpass.so build with the recent linker flag changes.
...
Jeremy.
2009-10-20 13:09:42 -07:00
Günther Deschner
9ee5d84665
s4-smbtorture: Make it simpler to specify number of trusted domains to create in
...
RPC-LSA-TRUSTED-DOMAINS.
Guenther
2009-10-20 21:49:38 +02:00
Günther Deschner
49a1323495
s3-lsa: Fix _lsa_EnumTrustDom().
...
Windows clients were showing a lot of duplicates in their list of trusted
domains.
Found by RPC-LSA-TRUSTED-DOMAIN torture test.
Guenther
2009-10-20 21:46:06 +02:00
Günther Deschner
d168d7fe3c
s3-pdb_ldap: fix crash bug in ldapsam_set_trusteddom_pw().
...
Thanks Volker for the hint.
Guenther
2009-10-20 21:44:02 +02:00
Björn Jacke
205284c904
s3:Makefile: rename LDSHFLAG variables to make meaning more obvious
2009-10-20 20:47:22 +02:00
Günther Deschner
a5a7b9ebc2
s3-lsa: Fix _lsa_CreateAccount() for usage of SEC_FLAG_MAXIMUM_ALLOWED.
...
Found by RPC-LSA-PRIVILEGES torture test.
Guenther
2009-10-20 15:57:06 +02:00
Günther Deschner
870f2d336a
s3-selftest: enable RPC-LSA-PRIVILEGES against Samba 3.
...
Guenther
2009-10-20 15:57:00 +02:00
Günther Deschner
7e180101d3
s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.
...
Guenther
2009-10-20 15:30:19 +02:00
Günther Deschner
bf2746b537
s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-10-20 15:30:12 +02:00
Günther Deschner
c7023c5a3d
s3-lsa: Allow to lookup 'NT AUTHORITY\Anonymous Logon' as well.
...
This is to finally pass RPC-LSA-LOOKUPNAMES test.
Guenther
2009-10-20 15:28:31 +02:00
Günther Deschner
1f4d26c487
s3-lsa: allow to lookup BUILTIN\ in lsa_LookupNames.
...
Found by RPC-LSA-LOOKUPNAMES torture test.
Guenther
2009-10-20 15:28:31 +02:00
Günther Deschner
18dd626160
s3-lsa: When looking up domains in LookupNames, do not strip the sid.
...
Found by RPC-LSA-LOOKUPNAMES torture test.
Guenther
2009-10-20 15:28:31 +02:00
Günther Deschner
b6d97a00b1
s3-lsa: allow to have NULL strings in lsa LookupName queries.
...
Found by RPC-LSA-LOOKUPNAMES torture test.
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
d76e77ce9a
s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.
...
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
80b512fe03
s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.
...
Guenther
2009-10-20 15:28:30 +02:00
Björn Jacke
4243e6e3a9
s3:configure: add support for Solaris' ld -z ignore
...
try linker flags for ignoring unused libs in this order:
-Wl,--as-needed (gcc like + binutils)
-Wl,-z,ignore (gcc like + Solaris linker)
-z ignore (old Sun C)
2009-10-20 10:52:07 +02:00
Björn Jacke
f96f8f9c77
s3: make unresolved symbols in libs throw errors
...
except for the Samba internal plugins unresolved symbol references should not
show up in shared libraries. For historical reasons it's the default behaviour
of linkers to ignore those in shared libs. We use -z defs (alias
--no-undefined) to not ignore them in shared libs.
2009-10-20 10:52:06 +02:00
Björn Jacke
438f400680
s3: allow using different LDFLAGS for internal libs/plugins
...
internal libs have unresolved symbols intentionally.
Thanks to Buchan Milne for suggestion and patch. This addresses #6792 .
2009-10-20 10:52:06 +02:00
Andrew Tridgell
2c34112e58
s4-torture: fixed a pipe leak
...
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an
overallocation of fd's on the server
2009-10-20 16:34:42 +11:00
Andrew Tridgell
2b90fbb579
s4-selftest: the secleak test is not designed for automated running
2009-10-20 16:18:51 +11:00
Andrew Tridgell
5e79a86298
s4: ran minimal_includes.pl on source4/auth/gensec
2009-10-20 16:05:24 +11:00
Andrew Tridgell
f8109b0f49
s4: ran minimal_includes.pl on source4/auth/ntlmssp
2009-10-20 16:05:07 +11:00
Andrew Tridgell
49650a226e
s4: ran minimal_includes.pl on source4/auth/ntlm
2009-10-20 16:05:03 +11:00
Andrew Tridgell
090fbdce7d
s4: ran minimal_includes.pl on source4/client
2009-10-20 16:04:59 +11:00
Andrew Tridgell
95e895d880
s4: ran minimal_includes.pl on source4/rpc_server
2009-10-20 16:04:56 +11:00
Andrew Tridgell
7f1832c469
s4: ran minimal_includes.pl on source4/winbind
2009-10-20 16:04:51 +11:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Andrew Tridgell
8585cf1a78
s4-script: cleanup tmp files in minimial_includes.pl
...
also changes to use perl fns, instead of shell
2009-10-20 16:04:36 +11:00
Andrew Tridgell
14111d606b
s4-selftest: skip two more scanners
...
Protocol scanners are not any use in the build farm
2009-10-20 15:19:27 +11:00
Andrew Tridgell
2ff2c421d0
s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS test
...
This test left a large number of lsa pipes open, which could trigger
the server running out of fds
2009-10-20 14:27:57 +11:00
Andrew Tridgell
a1135b28dc
s4-selftest: skip the trans2.scan test
...
This test consumes a huge number of file descriptors on the server
(random binds to the WKSSVC pipe)
2009-10-20 13:54:55 +11:00
Andrew Tridgell
44a99898ed
s4-dsdb: fixed empty structure error on solaris8
...
Nadya, I'm guessing you plan on adding some real elements to this
structure later. For now I've added _dummy so the build can continue
with the Solaris C compiler.
2009-10-20 13:00:12 +11:00
Andrew Tridgell
08a0096ab6
s4-idl: don't call a variable 'stat'
...
never call a structure member by the name of a standard C lib call. It
breaks the build on some systems.
2009-10-20 12:13:15 +11:00
Andrew Tridgell
f49818e422
lib-util: check for too many combinations in generate_unique_strs()
2009-10-20 11:34:49 +11:00