summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb/repl/drepl_out_helpers.c - print out the correct error message (werr)Matthias Dieter Wallnöfer2010-11-271-1/+1
| | | | Also detected by Tru64 "cc".
* s4:lib/registry/rpc.c - remove a duplicate assignmentMatthias Dieter Wallnöfer2010-11-271-1/+0
|
* s4:torture/rpc/samr.c - fix uninitialised "status" variablesMatthias Dieter Wallnöfer2010-11-271-0/+4
| | | | Detected by Tru64. I wonder how this tests even worked.
* s4:torture/rpc/samsync.c - remove uninitialised "nt_status" checkMatthias Dieter Wallnöfer2010-11-271-8/+1
| | | | Found by Tru64 compiler.
* s4:drsuapi RPC server - fix "enum security_user_level" warning on Tru64Matthias Dieter Wallnöfer2010-11-276-10/+9
|
* s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer2010-11-275-5/+2
|
* s4:wkssvc RPC server - better solution for srvsvc* enum's in server_info.cMatthias Dieter Wallnöfer2010-11-272-1/+2
| | | | Reworked version of commit 7e710c4de92c310897817acc06d229cce763d2d7
* Revert "s4:rpc_server/common/common.h - introduce two forward declarations ↵Matthias Dieter Wallnöfer2010-11-271-3/+0
| | | | | | | to suppress parameter declaration warnings" This reverts commit 7e710c4de92c310897817acc06d229cce763d2d7. This causes more noise than it's useful.
* s4:libcli/security/session.h - fix include ordering for "enum ↵Matthias Dieter Wallnöfer2010-11-271-2/+2
| | | | security_user_level"
* s4:dsdb/samdb/samdb.h - fix include ordering in order to prevent warnings on ↵Matthias Dieter Wallnöfer2010-11-271-1/+1
| | | | Tru64
* build: change compile flags on mac os x if we face pb with common symbolsMatthieu Patou2010-11-271-2/+4
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 18:02:41 CET 2010 on sn-devel-104
* show_test_time: Move to root scripting directory as it's useful for s3Jelmer Vernooij2010-11-271-19/+0
| | | | | | | and s4. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 17:17:29 CET 2010 on sn-devel-104
* s4:role transfer - use always type "enum drepl_role_master" for role ↵Matthias Dieter Wallnöfer2010-11-274-5/+6
| | | | | | | specifications Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 27 16:03:43 CET 2010 on sn-devel-104
* s4:samba3sam LDB module - correctly print out an unsigned valueMatthias Dieter Wallnöfer2010-11-271-1/+2
| | | | | Here we can print it out as unsigned since we are generating a string attribute.
* s4:samba3sam LDB module - make the "pw_uid"/"pw_gid" conversion a bit clearerMatthias Dieter Wallnöfer2010-11-271-2/+6
| | | | | And remove the "long" specifier since at least on the major platforms (Linux, BSD and Solaris) these types are defined as "uint32_t".
* s4:dsdb tests - make use of "ldb.get_domain_sid()"Matthias Dieter Wallnöfer2010-11-274-22/+5
|
* s4:dsdb/tests/python/sam.py - we don't need the domain SIDMatthias Dieter Wallnöfer2010-11-271-5/+0
|
* s4:torture/drs/python/fsmo.py - fix comments and an error messageMatthias Dieter Wallnöfer2010-11-271-3/+3
|
* s4-samba-tool: removed old C implementation of samba-tool drsAndrew Tridgell2010-11-276-1617/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 15:16:02 CET 2010 on sn-devel-104
* s4-samba-tool: switched over to python version of samba-tool drsAndrew Tridgell2010-11-283-12/+3
|
* s4-samba-tool: added python implementation of samba-tool drs commandsAndrew Tridgell2010-11-281-0/+402
| | | | | much simpler than the C code, and this brings us one step closer to a python samba-tool
* s4-pyglue: expose the remaining NTTIME functions from glueAndrew Tridgell2010-11-281-0/+3
|
* s4-drs: allow DrsReplicaGetInfo as a DCAndrew Tridgell2010-11-281-1/+1
|
* s4-pydsdb: use cpp macro to simplify flags definitionsAndrew Tridgell2010-11-281-137/+110
| | | | also added some more from flags.h
* s4-samba-tool: fixed "-k no" for disabling kerberos authAndrew Tridgell2010-11-281-2/+4
| | | | | | | The option "-k no" was not correctly disabling kerberos in python programs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Add timestamp when running with --maximum-runtimeMatthieu Patou2010-11-271-1/+15
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 11:51:12 CET 2010 on sn-devel-104
* blackbox.ldb: Support using system ldbsearch.Jelmer Vernooij2010-11-271-1/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
* s4-libnet: use the full DNS domain for CLDAP lookups if possibleAndrew Tridgell2010-11-271-1/+6
| | | | | | | | | | | many of the internal libnet interfaces use the short domain name, which leads to unreliable NBT lookups. If we are trying to look for our workgroup, then look for our DNS domain instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 03:47:52 CET 2010 on sn-devel-104
* ldb-tdb: Add more information about full scanMatthieu Patou2010-11-261-1/+7
|
* s4:rootdse LDB module - remove unused variableMatthias Dieter Wallnöfer2010-11-261-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 26 13:58:27 CET 2010 on sn-devel-104
* s4:objectclass LDB module - simply use "msg" when requesting the messageMatthias Dieter Wallnöfer2010-11-261-2/+2
|
* s4:objectclass LDB module - move the "mem_ctx" allocation to a better placeMatthias Dieter Wallnöfer2010-11-261-7/+6
| | | | It's only needed if we've a schema around.
* s4-dsdb Reorganise and clarify the LSA objectClass check (forbidden on LDAP)Andrew Bartlett2010-11-261-15/+28
| | | | | | | | | | | | | | | This arranged the check to avoid talloc_strdup() (the schema pointers are constant, and can be relied upon), and checks the untrusted bit first (it is faster), before the ldb_attr_cmp(). The strcmp() here was valid, if unusual, because the ldapDisplayName values are already in the correct case, but strcasecmp() is more correct, as for the small extra cost, we avoid a difficult to diagnose bug later. Andrew Bartlett Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-objectclass Use a specific local variable name, not 'value'Andrew Bartlett2010-11-261-4/+5
| | | | | | | | This makes it clearer what the local variable in use here does. Andrew Bartlett Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-kcc: fixed valgrind errors in drs replicaInfo server sideAndrew Tridgell2010-11-261-7/+5
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 26 03:52:30 CET 2010 on sn-devel-104
* s4-provision: fixed eadb automatic and manual setting in provisionAndrew Tridgell2010-11-263-21/+18
| | | | | | we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: don't try to look for an IPv6 address when not specifiedAndrew Tridgell2010-11-261-11/+0
| | | | | | | | the getaddrinfo() method of finding an IPv6 address is incorrect. We could do it via the Samba interfaces code, but until we have that it is better to not try to auto-detect IPv6 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb Remove rootDSE and anonymous checks from acl_readAndrew Bartlett2010-11-261-15/+0
| | | | | | | | | | The rootdse module handles rootDSE requests, and blocks anonymous access, so we on't need to do it again here. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Nov 26 00:36:19 CET 2010 on sn-devel-104
* s4-dsdb Add 'block anonymous' checks to the rootdse moduleAndrew Bartlett2010-11-261-0/+100
| | | | | | | This ensures that one single point checks for and blocks anonymous read access to the database over LDAP. Andrew Bartlett
* s4-dsdb Remove mem_ctx argument from dsdb_module_find_dsheuristics().Andrew Bartlett2010-11-262-4/+3
| | | | | | A function that does not return memory should not take a memory context. Andrew Bartlett
* s4-tests: Made acl tests to reconnect if dSHeuristics is being manipulatedNadezhda Ivanova2010-11-251-28/+25
| | | | | | | Also made password tests set dSHeuristics only once rather that once per test. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 20:48:38 CET 2010 on sn-devel-104
* s4-tests: Modified create_ou to only accept security.descriptor type for sd ↵Nadezhda Ivanova2010-11-252-45/+31
| | | | | | | | | to avoid confusion It used to work with sddl as well, but this is confusing and could lead to errors. It also caused a message about tallocing a security descriptor to appear. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 19:46:42 CET 2010 on sn-devel-104
* s4-dsdb: Switched to using a dictionary in create_ou for consistency.Nadezhda Ivanova2010-11-251-4/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 14:12:52 CET 2010 on sn-devel-104
* s4-dsdb: Fixed wrong assignment of name attribute to description atribute in ↵Nadezhda Ivanova2010-11-251-1/+1
| | | | create_ou.
* s4:lsa RPC server / objectclass LDB module - fix the creation of trusted ↵Matthias Dieter Wallnöfer2010-11-252-9/+3
| | | | | | | | | | | domain objects Tridge pointed out that it is to dangerous to allow them to be created with SYSTEM permissions. The solution using the "untrusted" flag should be much more viable. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 25 13:05:56 CET 2010 on sn-devel-104
* s4-tests: Modified speedtest.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-8/+3
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Nov 25 01:28:19 CET 2010 on sn-devel-104
* s4-tests: Modified sec_descriptor.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-71/+66
|
* s4-tests: Modified sam.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-72/+67
|
* s4-tests: Modified passwords.py to use samba.tests.delete_forceNadezhda Ivanova2010-11-251-12/+7
|
* s4-tests: delete_force was unused, removed it.Nadezhda Ivanova2010-11-251-5/+0
|