summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-15s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead ↵Stefan Metzmacher1-3/+1
of DCERPC_NCA_S_PROTO_ERROR metze
2010-04-15s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-6/+2
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA ↵Stefan Metzmacher1-1/+1
instead of NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH ↵Stefan Metzmacher1-40/+14
instead of DCERPC_FAULT_CONTEXT_MISMATCH metze
2010-04-15s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching ↵Stefan Metzmacher1-7/+3
NT_STATUS_RPC_* code metze
2010-04-15pidl:Samba4/NDR/Client: map NT_STATUS_NET_WRITE_FAULT to the matching ↵Stefan Metzmacher1-0/+8
NT_STATUS_RPC_* code metze
2010-04-15librpc/rpc: add dcerpc_fault_to_nt_status()Stefan Metzmacher2-0/+25
For now this only handles fault codes with we've seen yet and for which we have explicit torture checks. metze
2010-04-15s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher5-42/+0
metze
2010-04-15s4:util/net/drs: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher4-12/+0
metze
2010-04-15s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher1-49/+20
metze
2010-04-15s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKETStefan Metzmacher2-4/+2
metze
2010-04-15s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not ↵Stefan Metzmacher3-9/+5
the pipe path metze
2010-04-15s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are ↵Stefan Metzmacher2-8/+11
configure options metze
2010-04-15build: throw a fatal error for duplicate target declarationsAndrew Tridgell3-15/+8
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-15s4-waf: removed a duplicate declaration of python_netbiosAndrew Tridgell1-7/+0
2010-04-15build: ensure we don't recreate library loops in expansionsAndrew Tridgell1-1/+26
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-15build: make the 'wrong version of waf' message even clearerAndrew Tridgell1-1/+4
suggest ./autogen-waf.sh
2010-04-15build: check that the user is not using an old /usr/bin/wafAndrew Tridgell1-1/+11
some systems have /usr/bin/waf installed, and its quite old
2010-04-14s3: Fix a typoVolker Lendecke1-1/+1
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher66-65/+65
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-14Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2-11/+16
2010-04-14build: try to honor MAKEFLAGS from makeAndrew Tridgell3-6/+28
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-14s4:torture/rpc/winreg: fix compiler warningsStefan Metzmacher1-3/+3
metze
2010-04-14s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at ↵Stefan Metzmacher1-8/+13
the application result metze
2010-04-13Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison1-2/+0
the async. Jeremy.
2010-04-13Add basic DFS tests.Jeremy Allison2-0/+92
Jeremy.
2010-04-13Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison5-9/+24
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-14s4:auth Change auth_generate_session_info to take an auth contextAndrew Bartlett15-72/+180
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-14s4:auth Allow the simple 'struct auth_session_info' generator for all usersAndrew Bartlett1-3/+3
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-13s3-winbind: Authenticate SAM usersVolker Lendecke2-5/+75
2010-04-13s4-heimdal: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-04-13s3-winbindd: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-04-13examples: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-04-13s3-docs: Fix typo in man idmap_ad.Karolin Seeger1-1/+1
Karolin
2010-04-13s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of ↵Stefan Metzmacher1-4/+4
NT_STATUS_IS_ERR Everything but NT_STATUS_OK is an error here. metze
2010-04-13s4:librpc/rpc: make PyErr_SetDCERPCStatus() staticStefan Metzmacher2-3/+3
metze
2010-04-13s4:"samdb_server_site_name" uses - proof for out of memoryMatthias Dieter Wallnöfer2-2/+7
2010-04-13s4:samdb_server_site_name - fix indentationMatthias Dieter Wallnöfer1-4/+6
2010-04-13s4:fill_netlogon_samlogon_reponse - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-04-13s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"Matthias Dieter Wallnöfer1-0/+20
Test for right domainname handling.
2010-04-13s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementationMatthias Dieter Wallnöfer2-52/+51
On the base of the "fill_netlogon_samlogon_response" call. This removes duplicated code.
2010-04-13s4:fill_netlogon_samlogon_response - some rework of the detection codeMatthias Dieter Wallnöfer1-16/+26
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-13s4: prevent the autoconf build from removing source4/librpc/gen_ndr/READMEAndrew Tridgell2-2/+2
2010-04-13s4-waf: don't try to use the system lib for the library buildAndrew Tridgell3-13/+17
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13tevent-waf: added man page and pkgconfig fileAndrew Tridgell1-3/+11
this allows libtevent to build under rpmbuild Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13libwbclient: Re-Fix a bug that was fixed with e5741e27c4cVolker Lendecke4-29/+56
> r21878: Fix a bug with smbd serving a windows terminal server: If winbind > decides smbd to be idle it might happen that smbd needs to do a winbind > operation (for example sid2name) as non-root. This then fails to get the > privileged pipe. When later on on the same connection another authentication > request comes in, we try to do the CRAP auth via the non-privileged pipe. > > This adds a winbindd_priv_request_response() request that kills the existing > winbind pipe connection if it's not privileged. The fix for this was lost during the conversion to libwbclient. Thanks to Ira Cooper <samba@ira.wakeful.net> for pointing this out! Volker
2010-04-13libwbclient: Remove a pointless variableVolker Lendecke1-3/+1
2010-04-13buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with ↵Stefan Metzmacher1-2/+6
-O3 in the CFLAGS 'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl. metze
2010-04-13tdb-waf: added build of manpages and config options for RPM buildAndrew Tridgell2-3/+45
Building a RPM from the fedora spec file now works with minimal changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>