1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

48723 Commits

Author SHA1 Message Date
Jeremy Allison
f0b1a1bc9b Remove the requirement for ldap call made as root. Add in security
checks for all SAMR calls.
Jeremy.
2008-10-20 16:51:37 -07:00
Jeremy Allison
29c9b88e2b Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2008-10-20 16:38:25 -07:00
Jeremy Allison
6aba351676 Fix warnings.
Jeremy.
2008-10-20 16:34:56 -07:00
Günther Deschner
cefe4c6697 s3-rpcclient: fix cmd_lsa build.
Guenther
2008-10-20 22:09:07 +02:00
Günther Deschner
66b06e5a7f s3-build: re-run make samba3-idl.
Guenther
2008-10-20 22:09:07 +02:00
Günther Deschner
bb36f3a342 idl: merge from s4 lsa.idl to s3.
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
d36edccc00 Merge branch 'master' of git://git.samba.org/samba
Conflicts:
	source3/include/proto.h
2008-10-20 21:35:10 +02:00
Jelmer Vernooij
2c1b1255c2 Add source4/ to include path because librpc/gen_ndr is still in source?/ 2008-10-20 21:33:41 +02:00
Volker Lendecke
bc9bbda8b3 Fix a valgrind error in idmap_ad_sids_to_unixids()
We need to initialize all mappings in case we don't find anything.

Simo, please check!

Volker
2008-10-20 21:08:20 +02:00
Günther Deschner
f3843e330f s3-samr-server: be consistent when reporting we do password complexity.
Guenther
2008-10-20 20:16:03 +02:00
Jelmer Vernooij
7498f9a9d8 Add missing prototypes for samba3-specific libndr/util.c 2008-10-20 19:51:07 +02:00
Jelmer Vernooij
6d2d09348f Sync syntax of srvsvc.idl with samba3. 2008-10-20 19:50:49 +02:00
Günther Deschner
4b59ecb903 s3-build: no need to duplicate generated ndr_ prototypes.
Guenther
2008-10-20 19:47:00 +02:00
Günther Deschner
c3f3271b82 s3-build: no need to duplicate generated srv_ prototypes.
Guenther
2008-10-20 19:46:44 +02:00
Jelmer Vernooij
d59b2472f4 Include generated header files rather than using manually written
prototypes.
2008-10-20 19:35:55 +02:00
Jelmer Vernooij
41b02b7ac0 Move orpc to top-level directory. 2008-10-20 19:20:12 +02:00
Jelmer Vernooij
4b65445582 Remove unused function str_list_match. 2008-10-20 19:14:55 +02:00
Jelmer Vernooij
dc3828f06c Move WMI support code to top-level. 2008-10-20 19:14:47 +02:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
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
Günther Deschner
e08e5a0f3f Revert "s4: fix the build after winreg idl changes."
This reverts commit 61db229c08.
2008-10-20 15:53:24 +02:00
Günther Deschner
61db229c08 s4: fix the build after winreg idl changes.
Guenther
2008-10-20 15:47:46 +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
dadde7e8f0 Make warning a bit more user-friendly. 2008-10-20 12:09:36 +02:00
Jelmer Vernooij
5b52964b15 Share winreg.idl. 2008-10-20 11:53:20 +02:00
Jelmer Vernooij
8834b9c787 Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest 2008-10-20 11:33:44 +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
Jelmer Vernooij
70eba79edb Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest 2008-10-20 11:07:38 +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