1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

48648 Commits

Author SHA1 Message Date
Jelmer Vernooij
01a902f599 Fix crypto test. 2008-10-20 18:59:45 +02:00
Jelmer Vernooij
66b1c8b61a Import comments about opcodes from Samba 3. 2008-10-20 17:16:04 +02:00
Jelmer Vernooij
0dfd5601a0 Move discard_const hack to memory.hso it can be used by Samba 3. 2008-10-20 17:15:17 +02:00
Jelmer Vernooij
4a8c05a91b Remove unused macro CONST_ADD. 2008-10-20 16:52:00 +02:00
Jelmer Vernooij
05a0ccadb0 Remove unused define for crypt (now in libreplace). 2008-10-20 16:46:19 +02:00
Jelmer Vernooij
93e52145a8 Provide two symbols to allow ndrdump compiled by Samba 3 to be used for
Samba 4.
2008-10-20 13:24:16 +02:00
Jelmer Vernooij
6b82b2ff13 Fix merged build; use full libroken rather than just a couple of object files. 2008-10-20 13:21:43 +02:00
Jelmer Vernooij
5424c68b3d Add missing asn1 object. 2008-10-20 13:21:29 +02:00
Jelmer Vernooij
e0905c3090 Use tables in Samba 3 ndrdump. 2008-10-20 13:19:39 +02:00
Jelmer Vernooij
29838debb3 Fix names in winreg torture tests. 2008-10-20 12:28:13 +02:00
Jelmer Vernooij
6fb7fa8cc6 Also build all other Samba 4 binaries during merged build. 2008-10-20 12:28:07 +02:00
Jelmer Vernooij
db90d9ad16 Also move wireshark conformance file. 2008-10-20 12:20:53 +02:00
Jelmer Vernooij
d78f3be238 Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt 2008-10-20 12:19:57 +02:00
Jelmer Vernooij
a8707a43d0 Regenerate pidl output. 2008-10-20 12:19:01 +02:00
Jelmer Vernooij
5b52964b15 Share winreg.idl. 2008-10-20 11:53:20 +02:00
Günther Deschner
640847b4fc s3: forgot to remove old copy of krb5pac.idl.
Guenther
2008-10-20 11:21:45 +02:00
Günther Deschner
fc8fadf1e9 idl: finally share krb5_pac.idl.
Guenther
2008-10-20 11:11:22 +02:00
Andrew Bartlett
a55afef6d3 Rework mkrelease.sh to exclude Samba3 files
This matches my proposal to samba-technical, and should allow a Samba4
release to be made shortly.

Andrew Bartlett
2008-10-20 20:07:09 +11:00
Andrew Bartlett
85acd7eccc Make the updated RPC-LSA pass against Win2008, and Samba4 to match 2008-10-20 20:07:09 +11:00
Matthias Dieter Wallnöfer
b789ff950f LSA Patch for User Manager
New (major) patch
=================
- Enhances the "lsa.idl" file in the sense that it adds more values to
"PolicyInformation" to improve the "lsa_QueryInfoPolicy*" calls.
- Adds a minimal implementation for "AuditEvents" (also lsa_QueryInfoPolicy*
calls) to enable the "Audit" option in the "User Manager for Domains" (at least
readable).
- Adds to the "lsa.idl" file the system access mode flags needed for the calls
"lsa_*SystemAccessAccount".
- Fill in the "lsa_GetSystemAccessAccount" for enabling the "User Rights"
option in the "User Manager for Domains" (at least readable).
- Merge the two similar torture tests of the "lsa_QueryInfoPolicy*" calls in
one using "if"'s for a few separations.
- Add a torture test for "lsa_GetSystemAccessAccount".
- Some cosmetic-only changes (unifications) in output strings in the "LSA"
torture test.

The work has been done using the Microsoft WSPP docs.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-10-20 20:07:09 +11:00
Andrew Bartlett
3038bc484e Mark clearTextPassword as a privilaged attribute 2008-10-20 20:07:09 +11:00
Andrew Bartlett
22eb64f056 Actually test the kpasswd server
This uses kpasswd operated as a blackbox, assisted by the newly
imported rkpty tool.

Andrew Bartlett
2008-10-20 20:07:09 +11:00
Andrew Bartlett
c41cc67722 Ensure the hdb_method structure is not on the stack.
We supply this to krb5 as a plugin, so we must keep it around as long
as the krb5_context.

Andrew Bartlett
2008-10-20 20:07:09 +11:00
Andrew Bartlett
71022daac2 Add samba4kpasswd and rkpty binaries
smaba4kpasswd will be used to test the kpasswdd componet of the KDC
(which is up until now untested), and rkpty is an expect-like wrapper
we can use to blackbox that utility.

Andrew Bartlett
2008-10-20 20:07:08 +11:00
Jelmer Vernooij
221ea78e2e Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt 2008-10-20 10:53:56 +02:00
Jelmer Vernooij
c3d8f472e8 Export variables correctly for blackbox tests (thanks metze). 2008-10-20 10:53:26 +02:00
Jelmer Vernooij
68bb6e56ba Rename BAD to BAD_DATA since the first is already defined on SunOS. 2008-10-20 10:45:42 +02:00
Jelmer Vernooij
620a27bdf1 Don't assume crypt.h is present even if crypt() is. 2008-10-20 10:38:03 +02:00
Jelmer Vernooij
e549759efe Fix blackbox tests on IPv6-only hosts. 2008-10-20 10:18:02 +02:00
Volker Lendecke
c4dc548171 Fix 64-bit printf warnings 2008-10-19 22:37:27 +02:00
Volker Lendecke
2883c88ae4 Fix nonempty blank lines 2008-10-19 21:51:17 +02:00
Volker Lendecke
48d3a1d2fb "fn_new"->"fn" in smb_messages[], we got beyond that :-) 2008-10-19 21:51:17 +02:00
Volker Lendecke
1510b7b8c9 Use a direct compare instead of calling strncmp in valid_smb_header 2008-10-19 21:51:16 +02:00
Volker Lendecke
ac647d03ac Move the global hosts_allow() check out of the processing loop 2008-10-19 21:51:16 +02:00
Jelmer Vernooij
c0de338394 Move Samba4-specific code out of selftest. 2008-10-19 16:07:00 +02:00
Jelmer Vernooij
974ab9d2f9 Use _EXT version of autoconf macro. 2008-10-19 15:47:36 +02:00
Kai Blin
c88cbbfdf3 vlp: Move closer to the code tested. 2008-10-19 15:03:22 +02:00
Jelmer Vernooij
6ba693b5de Make sure crypt libs get included. 2008-10-19 14:54:16 +02:00
Jelmer Vernooij
1ba9867e7a Fix typo. 2008-10-19 14:53:55 +02:00
Jelmer Vernooij
0b3cf400db Fix formatting in selftest help output. 2008-10-19 14:50:25 +02:00
Jelmer Vernooij
7e088ec354 Fix comment after paths have changed. 2008-10-19 14:41:10 +02:00
Jelmer Vernooij
e09c0c1185 Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt 2008-10-19 14:27:08 +02:00
Jelmer Vernooij
085e7b0b6c Fix segfault when using DEBUG() in the merged build. 2008-10-19 14:14:55 +02:00
Jelmer Vernooij
7f826373db Move smb.conf parser to libutil to match Samba 4. 2008-10-19 14:03:20 +02:00
Jelmer Vernooij
069437a2fa Just call talloc_free directly rather than through a helper function. 2008-10-19 13:52:56 +02:00
Jelmer Vernooij
55a88210d8 Add vlp to TORTURE_PROGS since it's required by "make test". 2008-10-19 13:35:37 +02:00
Kai Blin
202affa511 rpc: Fix the merged build breaking on StrnCaseCmp. 2008-10-19 13:23:10 +02:00
Jelmer Vernooij
99f0d6b1c1 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-19 13:20:55 +02:00
Jelmer Vernooij
f0c4829e82 Remove silly safe_free() function which is a wrapper around SAFE_FREE().
Since it's a function it just sets the local pointer to NULL and basically
is an equivalent to free().

It also claims it's being used for callbacks but isn't used that way
anywhere.
2008-10-19 13:06:14 +02:00
Jelmer Vernooij
9fec173b07 Merge branch 'master' of ssh://git.samba.org/data/git/samba into strhex 2008-10-19 12:39:37 +02:00