Matthieu Patou
b8d6f1ce89
s4 provision: Remove hard coded ACL for GPO objects
...
It is no longer needed to hard code ACL for GPO object as we have now code
that calculate ACL from defaultSecurityDescriptor and inheritance correctly.
In fact the resulting ACL returned by this hard coded value is a bit wrong as
some ACE are duplicated.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:40 +02:00
Stefan Metzmacher
f1ecdb980b
s4:setup/wscript_build: install dns_update_list into ${SETUPDIR}
...
metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d19033e1e9
Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
...
This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04.
This commit was correct.
metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d8c3541ca8
Revert "s4:"dns_update_list" file: install it properly into the private directory"
...
This reverts commit fde707aa0c563d239c2f8c442cddfee0b6ff057f.
This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.
metze
2010-04-15 18:37:39 +02:00
Stefan Metzmacher
7233699ad8
s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ included
...
metze
2010-04-15 18:26:38 +02:00
Stefan Metzmacher
279bf89fb3
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
3f8e9b919d
s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for SetPassword
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
2570f8dcda
s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ChangePassword calls
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
b2261c8272
s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 17:32:30 +02:00
Nadezhda Ivanova
cec0e86ec8
s4:Added a test to make sure we ignore ACEs with ID flag set.
2010-04-15 18:21:55 +03:00
Nadezhda Ivanova
205c826611
A bit of refactoring in the SD creation code.
2010-04-15 14:44:34 +03:00
Stefan Metzmacher
e9d4f1578c
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
51f7b1382b
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
c85884ecc8
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
98464853f4
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
2aba845816
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
6f4218a4aa
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
1864cd8fa7
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
0cc24f2f9b
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
cf9d425e3d
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
de94672fe0
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
bb4a958c6d
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
34a6350715
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
61e53c0782
s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
fed16f4015
librpc/rpc: add dcerpc_fault_to_nt_status()
...
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
c0736c70d6
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
1293712b7d
s4:util/net/drs: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
146ce6ead1
s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:02 +02:00
Stefan Metzmacher
7f6cdad706
s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKET
...
metze
2010-04-15 09:34:02 +02:00
Stefan Metzmacher
a1cf6a52af
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
...
metze
2010-04-15 09:34:02 +02:00
Stefan Metzmacher
2fd0137a87
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
...
metze
2010-04-15 09:34:02 +02:00
Andrew Tridgell
daf4ad5905
s4-waf: removed a duplicate declaration of python_netbios
2010-04-15 14:43:50 +10:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
bc6a43aeb4
s4:torture/rpc/winreg: fix compiler warnings
...
metze
2010-04-14 12:01:30 +02:00
Stefan Metzmacher
d0180570b3
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
...
metze
2010-04-14 12:01:30 +02:00
Andrew Bartlett
589a42e2da
s4:auth Change auth_generate_session_info to take an auth context
...
The auth context was in the past only for NTLM authentication, but we
need a SAM, an event context and and loadparm context for calculating
the local groups too, so re-use that infrustructure we already have in
place.
However, to avoid problems where we may not have an auth_context (in
torture tests, for example), allow a simpler 'session_info' to be
generated, by passing this via an indirection in gensec and an
generate_session_info() function pointer in the struct auth_context.
In the smb_server (for old-style session setups) we need to change the
async context to a new 'struct sesssetup_context'. This allows us to
use the auth_context in processing the authentication reply .
Andrew Bartlett
2010-04-14 10:30:51 +10:00
Andrew Bartlett
4e2384e242
s4:auth Allow the simple 'struct auth_session_info' generator for all users
...
This code isn't ideal, but it is better than needing to consult the
main SamDB in things like a torture test.
Andrew Bartlett
2010-04-14 10:28:35 +10:00
Karolin Seeger
55838a8c02
s4-heimdal: Fix typo in comment.
...
Karolin
2010-04-13 20:09:13 +02:00
Stefan Metzmacher
a68eb378a5
s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of NT_STATUS_IS_ERR
...
Everything but NT_STATUS_OK is an error here.
metze
2010-04-13 16:01:40 +02:00
Stefan Metzmacher
59b1078ec5
s4:librpc/rpc: make PyErr_SetDCERPCStatus() static
...
metze
2010-04-13 16:01:40 +02:00
Matthias Dieter Wallnöfer
84c901a619
s4:"samdb_server_site_name" uses - proof for out of memory
2010-04-13 15:45:29 +02:00
Matthias Dieter Wallnöfer
34ff1c6944
s4:samdb_server_site_name - fix indentation
2010-04-13 15:40:43 +02:00
Matthias Dieter Wallnöfer
1e08449136
s4:fill_netlogon_samlogon_reponse - fix a typo
2010-04-13 15:29:12 +02:00
Matthias Dieter Wallnöfer
7d5a8c3506
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
...
Test for right domainname handling.
2010-04-13 15:26:55 +02:00
Matthias Dieter Wallnöfer
aa02f44255
s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementation
...
On the base of the "fill_netlogon_samlogon_response" call.
This removes duplicated code.
2010-04-13 15:26:54 +02:00
Matthias Dieter Wallnöfer
4d7d6ee820
s4:fill_netlogon_samlogon_response - some rework of the detection code
...
To make it compatible by the use of the "dcesrv_netr_DsRGetDCName*" calls.
Some result checks were redundant so I removed them. In other cases I added
debug outputs. Sometimes the debug messages were misleading.
2010-04-13 15:26:54 +02:00
Andrew Tridgell
3909088e13
s4: prevent the autoconf build from removing source4/librpc/gen_ndr/README
2010-04-13 23:03:27 +10:00
Andrew Tridgell
c10d267a76
s4-waf: don't try to use the system lib for the library build
...
when building library FOO, don't try to find the system library FOO
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Stefan Metzmacher
4cff89a585
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
...
metze
2010-04-13 09:55:56 +02:00
Matthias Dieter Wallnöfer
6661ecbe94
s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memory
2010-04-13 09:32:35 +02:00