1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

62019 Commits

Author SHA1 Message Date
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
a8e81c25eb pidl:Samba4/NDR/Client: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
metze
2010-04-15 09:34:03 +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
0bda3bae4c build: throw a fatal error for duplicate target declarations
We don't want someone to declare two subsystems of the same name but
with different source files

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-15 14:43:50 +10:00
Andrew Tridgell
daf4ad5905 s4-waf: removed a duplicate declaration of python_netbios 2010-04-15 14:43:50 +10:00
Andrew Tridgell
34887de6b0 build: ensure we don't recreate library loops in expansions
after removing library loops from the dependeny graph, we re-add
parent dependencies. We need to ensure that we don't re-add a
dependency which re-creates the loop we so carefully removed.

This also adds a final check for library dependency loops, and shows
an appropriate error if one is found.
2010-04-15 14:01:06 +10:00
Andrew Tridgell
167ba0eac9 build: make the 'wrong version of waf' message even clearer
suggest ./autogen-waf.sh
2010-04-15 09:22:24 +10:00
Andrew Tridgell
208eb7469d build: check that the user is not using an old /usr/bin/waf
some systems have /usr/bin/waf installed, and its quite old
2010-04-15 08:57:07 +10:00
Volker Lendecke
8693ae741c s3: Fix a typo 2010-04-14 21:50:00 +02: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
Andrew Tridgell
bcd647f943 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2010-04-14 23:38:05 +10:00
Andrew Tridgell
e81e057b6d build: try to honor MAKEFLAGS from make
This means "make -j" and "make -k" now do roughly what is expected

make -j will use the number of CPUs on the system, regardless of the
number after the -j (as MAKEFLAGS doesn't contain that value).

make -k will will continue on errors
2010-04-14 23:37:47 +10: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
Jeremy Allison
74c4c7fe4f Don't set "requested_posix_capabilities" in the sync code, already done in the async.
Jeremy.
2010-04-13 19:12:43 -07:00
Jeremy Allison
a1e0e1cbcf Add basic DFS tests.
Jeremy.
2010-04-13 18:42:24 -07:00
Jeremy Allison
f3b8e31f83 Split out the client unix capabilities to those the server offered, and those the client asked for.
This fixes a bug when using encrypted transport and DFS links. Found
by my basic DFS torture test, which I'll check in next. Testing *rocks* :-).

Jeremy.
2010-04-13 18:41:14 -07: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
Volker Lendecke
577bceb19b s3-winbind: Authenticate SAM users 2010-04-13 21:21:34 +02:00
Karolin Seeger
55838a8c02 s4-heimdal: Fix typo in comment.
Karolin
2010-04-13 20:09:13 +02:00
Karolin Seeger
b0a9e5ba77 s3-winbindd: Fix typo in comment.
Karolin
2010-04-13 20:08:22 +02:00
Karolin Seeger
fce533e3be examples: Fix typo in comment.
Karolin
2010-04-13 20:07:11 +02:00