summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* 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
* librpc/rpc: add dcerpc_fault_to_nt_status()Stefan Metzmacher2010-04-151-0/+1
| | | | | | | 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
* s4-waf: removed a duplicate declaration of python_netbiosAndrew Tridgell2010-04-151-7/+0
|
* 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
* 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
* 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
* s4:auth Allow the simple 'struct auth_session_info' generator for all usersAndrew Bartlett2010-04-141-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
* s4-heimdal: Fix typo in comment.Karolin Seeger2010-04-131-1/+1
| | | | Karolin
* s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of ↵Stefan Metzmacher2010-04-131-4/+4
| | | | | | | | NT_STATUS_IS_ERR Everything but NT_STATUS_OK is an error here. metze
* s4:librpc/rpc: make PyErr_SetDCERPCStatus() staticStefan Metzmacher2010-04-132-3/+3
| | | | metze
* s4:"samdb_server_site_name" uses - proof for out of memoryMatthias Dieter Wallnöfer2010-04-132-2/+7
|
* s4:samdb_server_site_name - fix indentationMatthias Dieter Wallnöfer2010-04-131-4/+6
|
* s4:fill_netlogon_samlogon_reponse - fix a typoMatthias Dieter Wallnöfer2010-04-131-1/+1
|
* s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"Matthias Dieter Wallnöfer2010-04-131-0/+20
| | | | Test for right domainname handling.
* s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementationMatthias Dieter Wallnöfer2010-04-132-52/+51
| | | | | | On the base of the "fill_netlogon_samlogon_response" call. This removes duplicated code.
* s4:fill_netlogon_samlogon_response - some rework of the detection codeMatthias Dieter Wallnöfer2010-04-131-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.
* s4: prevent the autoconf build from removing source4/librpc/gen_ndr/READMEAndrew Tridgell2010-04-131-1/+1
|
* s4-waf: don't try to use the system lib for the library buildAndrew Tridgell2010-04-131-4/+6
| | | | | | when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5Stefan Metzmacher2010-04-131-28/+42
| | | | metze
* s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memoryMatthias Dieter Wallnöfer2010-04-131-1/+4
|
* s4:acl/descriptor LDB module - distinguish between root and default basednMatthias Dieter Wallnöfer2010-04-132-0/+12
| | | | | | | | The first is the forest base DN, the second the domain base DN. At the moment we assume that they are both the same but it hasn't to be so. Nadia, I would invite you to fix the outstanding parts regarding this (I added comments).
* s4:use "samdb_forest_name" for the forest DNS domainname lookupMatthias Dieter Wallnöfer2010-04-132-15/+12
|
* s4:dsdb/common/util.c - add a call which determines centrally the forest DNS ↵Matthias Dieter Wallnöfer2010-04-131-0/+19
| | | | domainname
* s4:remove "samdb_root_dn", "samdb_base_dn", "samdb_config_dn" and ↵Matthias Dieter Wallnöfer2010-04-131-20/+0
| | | | | | "samdb_schema_dn" They aren't needed anymore.
* Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"Matthias Dieter Wallnöfer2010-04-1320-37/+43
| | | | | We should use the "ldb_get_*_basedn" calls since they are available in the LDB library.
* s4:objectclass LDB module - remove a unneeded newlineMatthias Dieter Wallnöfer2010-04-131-2/+1
|
* s4-tevent: up tevent version numberAndrew Tridgell2010-04-131-2/+2
| | | | tevent now has tevent_re_initialise() which is needed for the s4 build
* s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" ↵Matthias Dieter Wallnöfer2010-04-121-2/+2
| | | | | | | attribute According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the forest one.
* s4:auth/auth_sam_reply.c - fix counter typesMatthias Dieter Wallnöfer2010-04-121-3/+3
|
* s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functionsMatthias Dieter Wallnöfer2010-04-124-4/+4
| | | | Purely cosmetic change.
* s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the ↵Matthias Dieter Wallnöfer2010-04-121-2/+2
| | | | | | "root_dn" for the sort test The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
* s4:tortore/rpc/spoolss.c: fix declaration after code warningStefan Metzmacher2010-04-121-10/+10
| | | | metze
* s4-ldb: enable waf build of ldb without ldap backendAndrew Tridgell2010-04-121-2/+3
| | | | | this is useful for cross-compilation testing, where getting all the ldap deps installed can be hard
* Fixed a problem with provision missing the default_dir/etc directory.Nadezhda Ivanova2010-04-121-2/+2
|
* s4:heimdal_build/wscript_build: avoid global deps for hostcc stuffStefan Metzmacher2010-04-121-0/+3
| | | | metze
* lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf ↵Stefan Metzmacher2010-04-122-2/+2
| | | | | | system does metze
* s4:param/wscript_build: 'dl' is provides via 'replace'Stefan Metzmacher2010-04-121-1/+1
| | | | metze
* s4:heimdal_build/wscript: rename HEIMDAL_ROKEN_H => HEIMDAL_ROKEN_HOSTCCStefan Metzmacher2010-04-121-8/+10
| | | | metze
* lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCCStefan Metzmacher2010-04-121-3/+5
| | | | metze