summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4 python: Add a function to get the oid of an attribute when the attid is knownMatthieu Patou2010-04-151-0/+37
| | | | | | This function is mainly to help decoding replPropertyMetaData in python Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4: Add python binding to waf so that the drsblobs.so is also built in wafMatthieu Patou2010-04-151-0/+6
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4: Fix python binding for drsblobsMatthieu Patou2010-04-151-1/+1
| | | | | | This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 provision: Remove hard coded ACL for GPO objectsMatthieu Patou2010-04-151-2/+0
| | | | | | | | | | 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>
* s4:setup/wscript_build: install dns_update_list into ${SETUPDIR}Stefan Metzmacher2010-04-151-1/+1
| | | | metze
* Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to ↵Stefan Metzmacher2010-04-151-0/+1
| | | | | | | | | | target setup folder"" This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04. This commit was correct. metze
* Revert "s4:"dns_update_list" file: install it properly into the private ↵Stefan Metzmacher2010-04-152-10/+7
| | | | | | | | | | | 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
* s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ includedStefan Metzmacher2010-04-151-3/+3
| | | | metze
* s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | NT_STATUS_NET_WRITE_FAULT metze
* s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | SetPassword metze
* s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ↵Stefan Metzmacher2010-04-151-3/+3
| | | | | | ChangePassword calls metze
* s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | NT_STATUS_NET_WRITE_FAULT metze
* s4:Added a test to make sure we ignore ACEs with ID flag set.Nadezhda Ivanova2010-04-151-0/+13
|
* A bit of refactoring in the SD creation code.Nadezhda Ivanova2010-04-151-127/+71
|
* s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher2010-04-151-9/+9
| | | | | | p->last_fault_code metze
* s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | instead of DCERPC_FAULT_INVALID_TAG metze
* s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher2010-04-151-6/+2
| | | | | | p->last_fault_code metze
* s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher2010-04-151-6/+4
| | | | | | p->last_fault_code metze
* s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead ↵Stefan Metzmacher2010-04-151-2/+1
| | | | | | of DCERPC_FAULT_OP_RNG_ERROR metze
* s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | instead of DCERPC_FAULT_INVALID_TAG metze
* s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher2010-04-151-7/+1
| | | | | | instead of DCERPC_FAULT_OP_RNG_ERROR metze
* s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead ↵Stefan Metzmacher2010-04-151-3/+1
| | | | | | of DCERPC_NCA_S_PROTO_ERROR metze
* s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher2010-04-151-6/+2
| | | | | | instead of DCERPC_FAULT_OP_RNG_ERROR metze
* s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | instead of NT_STATUS_NET_WRITE_FAULT metze
* s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH ↵Stefan Metzmacher2010-04-151-40/+14
| | | | | | instead of DCERPC_FAULT_CONTEXT_MISMATCH metze
* s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of ↵Stefan Metzmacher2010-04-151-1/+1
| | | | | | NT_STATUS_NET_WRITE_FAULT metze
* s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching ↵Stefan Metzmacher2010-04-151-7/+3
| | | | | | NT_STATUS_RPC_* code metze
* pidl:Samba4/NDR/Client: map NT_STATUS_NET_WRITE_FAULT to the matching ↵Stefan Metzmacher2010-04-151-0/+8
| | | | | | NT_STATUS_RPC_* code metze
* librpc/rpc: add dcerpc_fault_to_nt_status()Stefan Metzmacher2010-04-152-0/+25
| | | | | | | For now this only handles fault codes with we've seen yet and for which we have explicit torture checks. metze
* s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher2010-04-155-42/+0
| | | | metze
* s4:util/net/drs: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher2010-04-154-12/+0
| | | | metze
* s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher2010-04-151-49/+20
| | | | metze
* s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKETStefan Metzmacher2010-04-152-4/+2
| | | | metze
* s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not ↵Stefan Metzmacher2010-04-153-9/+5
| | | | | | the pipe path metze
* s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are ↵Stefan Metzmacher2010-04-152-8/+11
| | | | | | configure options metze
* build: throw a fatal error for duplicate target declarationsAndrew Tridgell2010-04-153-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>
* s4-waf: removed a duplicate declaration of python_netbiosAndrew Tridgell2010-04-151-7/+0
|
* build: ensure we don't recreate library loops in expansionsAndrew Tridgell2010-04-151-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.
* build: make the 'wrong version of waf' message even clearerAndrew Tridgell2010-04-151-1/+4
| | | | suggest ./autogen-waf.sh
* build: check that the user is not using an old /usr/bin/wafAndrew Tridgell2010-04-151-1/+11
| | | | some systems have /usr/bin/waf installed, and its quite old
* s3: Fix a typoVolker Lendecke2010-04-141-1/+1
|
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-1466-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
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2010-04-142-11/+16
|\
| * s4:torture/rpc/winreg: fix compiler warningsStefan Metzmacher2010-04-141-3/+3
| | | | | | | | metze
| * s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at ↵Stefan Metzmacher2010-04-141-8/+13
| | | | | | | | | | | | the application result metze
* | build: try to honor MAKEFLAGS from makeAndrew Tridgell2010-04-143-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
* Don't set "requested_posix_capabilities" in the sync code, already done in ↵Jeremy Allison2010-04-131-2/+0
| | | | | | the async. Jeremy.
* Add basic DFS tests.Jeremy Allison2010-04-132-0/+92
| | | | Jeremy.
* Split out the client unix capabilities to those the server offered, and ↵Jeremy Allison2010-04-135-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.
* s4:auth Change auth_generate_session_info to take an auth contextAndrew Bartlett2010-04-1415-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