Stefan Metzmacher
d95ca90030
s4:librpc/rpc: prepare dcerpc dependecies before pidl changes
...
metze
2010-03-12 15:25:41 +01:00
Stefan Metzmacher
6677a5431c
s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure
...
metze
2010-03-12 15:25:41 +01:00
Stefan Metzmacher
454bedcb80
pidl:Samba4/NDR/Client: don't generate client stubs for function marked as [todo]
...
metze
2010-03-12 15:25:40 +01:00
Stefan Metzmacher
8844acf424
pidl:Samba/Python: don't generate methods for functions marked as [todo]
...
metze
2010-03-12 15:25:40 +01:00
Stefan Metzmacher
f4c227e571
librpc: rerun make idl
...
metze
2010-03-12 15:25:40 +01:00
Stefan Metzmacher
f85c825ae2
drsuapi.idl: don't mark drsuapi_DsGetMemberships as [todo]
...
metze
2010-03-12 15:25:39 +01:00
Volker Lendecke
79100c2421
s3: Add "g_lock_do" as a convenience wrapper function
2010-03-12 14:23:25 +01:00
Volker Lendecke
1728b5fa6f
s3: Actually use mem_ctx in net_g_lock_init()
2010-03-12 12:12:42 +01:00
Volker Lendecke
bc1f3fe99e
s3: Fix a comment
2010-03-12 12:08:32 +01:00
Volker Lendecke
67d1b01590
s3: Fix some "net registry" usage messages
2010-03-12 11:47:37 +01:00
Crístian Deives
a0527dd790
use unsigned instead of uint32_t for LDB counters.
...
the attribute num_values of the struct ldb_message_element is defined as
an unsigned int, so the counters of that variable should be of the same
type.
2010-03-12 16:31:20 +11:00
Crístian Deives
208e2801b4
nTDSConnection creation
...
create nTDSConnection objects to "imply" the minimum-cost spanning tree edges
for which no nTDSConnection objects yet exist. it also adds a test function in
kcc_connection so the kcctpl functions can be called. this patch is in accord
with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5.
2010-03-12 16:31:20 +11:00
Crístian Deives
6e20906f42
spanning tree computation
...
calculate the spanning tree for the intersite connection. this patch is in
accord with the section [MS-ADTS] 7.2.2.3.4.4.
2010-03-12 16:31:20 +11:00
Crístian Deives
b70df94f62
new function kcctpl_color_vertices
...
besides the new function implemented, some minor bugs were also fixed. this
patch is in accord with the section [MS-ADTS] 7.2.2.3.4.3.
2010-03-12 16:31:20 +11:00
Eduardo Lima
7b20ad99d6
s4-drs: check if an optional feature is enabled
2010-03-12 16:31:20 +11:00
Andrew Bartlett
ca67768b66
s4:selftest Add file based DNS resolver to selftest environment
...
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
2010-03-12 13:22:21 +11:00
Andrew Bartlett
8529b0afc1
selftest: Remove dns_host_file every time we start
2010-03-12 13:22:20 +11:00
Nadezhda Ivanova
be79f572ed
Split the dsdb_access_check_on_dn.
...
Split the dsdb_access_check_on_dn so it can be reused for checks
from both within the module stack and outside it.
2010-03-12 03:13:51 +02:00
Nadezhda Ivanova
4b256c6d8e
Fixed ACL module to use dsdb_module_* API.
2010-03-12 02:21:16 +02:00
Günther Deschner
8194fc3757
s3-netlogon: Fix bug #7237 : _netr_SamLogon segfaults for clients sending NULL domain.
...
Thanks to Marc Muehlfeld <muehlfeld@medizinische-genetik.de>.
Guenther
2010-03-12 00:37:30 +01:00
Jeremy Allison
1a10a5949d
Improve symlink delete test. Make sure we don't delete the link target by mistake.
...
Jeremy.
2010-03-11 14:41:01 -08:00
Günther Deschner
98ba174fa2
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
...
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237 ).
Guenther
2010-03-11 23:25:04 +01:00
Nadezhda Ivanova
222b955237
Moved access_check_on_dn from acl module as an utility.
...
Made this an utility function so it can be used for access checking
outside of the acl ldb module, such as checking validated writes and
control access rights in other protocols (e. g drs)
2010-03-12 00:20:15 +02:00
Günther Deschner
24a7f8f2db
s3-winreg: make QueryValue pass RPC-WINREG test again.
...
Guenther
2010-03-11 20:48:24 +01:00
Günther Deschner
40e2c04f8a
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
...
Guenther
2010-03-11 20:48:05 +01:00
Günther Deschner
2324b07726
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
...
Guenther
2010-03-11 20:42:49 +01:00
Günther Deschner
e0d85f87b7
winreg: add winreg_KeyType enum.
...
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
96a38e387e
s3-winreg: fix some function names in debug statements.
...
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
9e80fe6675
s4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().
...
Matthias, please check.
Guenther
2010-03-11 20:17:48 +01:00
Günther Deschner
09ea04a7f8
s4-smbtorture: add extended SetValue test to RPC-WINREG.
...
Really looks like a blob based database frontend.
As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.
Guenther
2010-03-11 19:03:21 +01:00
Günther Deschner
3a8d85da68
s4-smbtorture: more work on test_key_value() RPC-WINREG test.
...
Guenther
2010-03-11 19:01:07 +01:00
Volker Lendecke
b7898148c1
s3: Make init_smb_request return bool
...
Centralize the exit_server_cleanly()
2010-03-11 15:18:07 +01:00
Stefan Metzmacher
0d6c19b976
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
...
metze
2010-03-11 15:13:52 +01:00
Stefan Metzmacher
4585ea06a5
s4:torture/libnet/libnet_user.c: fix double free in error path
...
metze
2010-03-11 15:13:52 +01:00
Günther Deschner
10b97ed9e4
s4-registry: add all winreg types to reg_value_types table.
...
Guenther
2010-03-11 14:36:42 +01:00
Stefan Metzmacher
d4b8fb15b8
s4:selftest: move samba4.net.api.become.dc from skip to knownfail
...
Someone should fix the remaining bug, as this test is expected to work.
metze
2010-03-11 13:34:31 +01:00
Stefan Metzmacher
dd934472e8
NET-API-BECOME-DC: convert to torture api
...
metze
2010-03-11 13:31:40 +01:00
Stefan Metzmacher
b71bbbab8b
s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in dcesrv_drsuapi_DsRemoveDSServer()
...
metze
2010-03-11 13:31:39 +01:00
Stefan Metzmacher
46b0cbe879
selftest: let the client also use the dns_host_file
...
metze
2010-03-11 13:31:39 +01:00
Stefan Metzmacher
4398871d1f
RPC-DSSYNC: fix the build after idl changes
...
metze
2010-03-11 13:31:39 +01:00
Stefan Metzmacher
9592366dc7
librpc: rerun make idl
...
metze
2010-03-11 13:31:38 +01:00
Stefan Metzmacher
aef4890a7c
drsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl
...
metze
2010-03-11 13:31:38 +01:00
Matthieu Patou
d1e3898a05
s4: allow pam_winbind.so to be build on samba4
...
* Modify the nsswitch/config.m4 to add tests and build that will be put in configure by the autoconf/autoheader
We test if there is pam headers and pam library to be able to build the pam module
We add s4 build directive (that are normaly in standalone config.mk) this is due to the fact that we need
to rely on path that are guessed during configure.
Add tests not to build pam_winbind if pam dev files is not present
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11 13:31:38 +01:00
Matthieu Patou
8306eb1c5f
s4: create ../lib/iniparser_build/config.m4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11 13:31:37 +01:00
Matthieu Patou
5f2f4849e5
s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11 13:31:37 +01:00
Günther Deschner
cddc542ba5
s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
...
Found by RPC-WINREG smbtorture test.
Guenther
2010-03-11 12:48:43 +01:00
Andrew Bartlett
6441a5b0b9
Explain why we don't use certain characters in the generated pw
2010-03-11 15:34:01 +11:00
Endi S. Dewata
a6253a45c0
lib/util - Removed curly braces from generate_random_password().
2010-03-11 15:31:08 +11:00
Endi S. Dewata
ade93755d5
s4:provision - Updated FDS schema mapping.
2010-03-11 15:30:25 +11:00
Andrew Bartlett
027123199e
s4:provision Improve the handling of provision errors
...
The backtraces were too confusing for our users, and didn't tell them
what to do to fix the problem. By printing the string (rather than a
backtrace), and including in the error what to do, and what file to
remove, we give them a chance.
Andrew Bartlett
2010-03-11 15:28:53 +11:00