summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests: avoid bash in shebang and fix wrong "==" in testBjörn Jacke2010-12-023-13/+13
|
* fix ѕome == to correct shell test in commented stuffBjörn Jacke2010-12-022-2/+2
|
* smbprinting: fix wrong == in shell testsBjörn Jacke2010-12-021-2/+2
|
* waf/buildtools: remove more bash shebangs and fix a == to =Björn Jacke2010-12-022-3/+3
|
* waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotesBjörn Jacke2010-12-024-8/+8
| | | | | | | - some Unix shells actually don't like grep ^foo, use grep "^foo" instead. - bash is not installed on every system, please avoid #!/bin/bash and use #!/bin/sh instead
* buildtools: fix --git-local-changes optionStefan Metzmacher2010-12-021-0/+1
| | | | | | | | | | If we set the GIT_DIR envvar we also need to set GIT_WORK_TREE, otherwise we can't expect valid output from 'git diff HEAD'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 2 09:09:21 CET 2010 on sn-devel-104
* Turns out there are lots of places in S3 where token passed inJeremy Allison2010-12-021-0/+4
| | | | | | | | | | here can be NULL (become_root() sets the current security token to NULL for example). Ensure we don't crash. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 2 03:26:03 CET 2010 on sn-devel-104
* Fix a typo - should be '&&' not '&' when checking for privileges.Jeremy Allison2010-12-011-1/+1
| | | | Jeremy.
* wintest: added READMEAndrew Tridgell2010-12-021-0/+5
| | | | | | | this points at the wiki page Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 2 02:05:32 CET 2010 on sn-devel-104
* s3:smbd: remove some commented out legacy codeMichael Adam2010-12-021-5/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Dec 2 01:18:19 CET 2010 on sn-devel-104
* s4-ldap: removed an incorrect talloc_move()Andrew Tridgell2010-12-011-1/+1
| | | | | | | | | | | | | | the parent of this session_info is either the stream_connection, or its a system_session(). In either case reparenting it on the ldapsrv_connection doesn't achieve anything that I can see. The move was causing a steal on reference error because the session_info often has multiple references. Thanks to Metze for spotting this. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 22:10:42 CET 2010 on sn-devel-104
* s3-waf: more krb5 configure checks.Günther Deschner2010-12-011-0/+24
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 19:35:50 CET 2010 on sn-devel-104
* s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if ↵Günther Deschner2010-12-011-0/+5
| | | | | | possible. Guenther
* s3-waf: add idmap_ldap to default static module list.Günther Deschner2010-12-011-1/+1
| | | | Guenther
* s3-waf: align some krb5/gssapi configure checks with classic build.Günther Deschner2010-12-011-1/+2
| | | | Guenther
* s3-waf: avoid module name uppercasing.Günther Deschner2010-12-018-205/+205
| | | | | | | | | | This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
* s4:dsdb/repl/replicated_objects.c - proof if "talloc_reference" doesn't ↵Matthias Dieter Wallnöfer2010-12-011-1/+2
| | | | | | | return NULL Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Dec 1 17:14:01 CET 2010 on sn-devel-104
* s4:dsdb/common/util.c - "samdb_msg_add_add/delval" - introduce also here the ↵Matthias Dieter Wallnöfer2010-12-011-2/+2
| | | | | | better memory context "msg->elements" fits better than "msg".
* ldb:ldb_msg_add_value - fix here a wrong memory contextMatthias Dieter Wallnöfer2010-12-011-1/+2
| | | | A value array allocation should belong to "msg->elements" not "msg" directly
* s4:ranged results LDB module - cosmetic - fix some indentationMatthias Dieter Wallnöfer2010-12-011-1/+3
|
* s4:ranged results LDB module - "rr_search_callback" - change some memory contextMatthias Dieter Wallnöfer2010-12-011-1/+3
| | | | "el->values" could under some circumstances be NULL (see "if" above).
* s4/waf: add intl dependency for nss_winnbindBjörn Jacke2010-12-011-1/+1
| | | | | | | needed to fix a build issue on NetBSD and other platforms Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Wed Dec 1 16:15:19 CET 2010 on sn-devel-104
* s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki2010-12-011-2/+10
| | | | | | | "mayContain" relation Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104
* s4-dsdb/syntax: Map remote ATTIDs for Attribute OID syntaxKamen Mazdrashki2010-12-011-0/+6
|
* s4-dsdb/syntax: Implement Remote-ATTID to Local-ATTID mapping functionKamen Mazdrashki2010-12-011-0/+35
|
* s4-dreplsrv: Use working_schema when replicating from Schema NCKamen Mazdrashki2010-12-011-2/+22
| | | | | | | | | Schema is changed and it is quite possible we won't be able to decode replicated objects using current Schema cache we have. Thus, when replicating Schema, we will make a temporary Schema cache, working_schema, so that we can fully decode objects we recieve.
* s4-dsdb/schema: Implement multi-pass working schema creation functionKamen Mazdrashki2010-12-011-0/+132
| | | | | | | | | | | | | | It is heavily based on implementation in libnet_vampire_cb_apply_schema() function, except that it actually creates a new copy of the supplied initial_schema + resolving all incoming objects and add them to supplied initial_schema. We are going to need this 'working_schema' later so we are able to fully resolve all objects we receive on wire during DRS replication. Working schema created is to be used only as an index to search in. It is not supposed to be set to an ldb_context as it doesn't contain all information for classSchema and attributeSchema objects.
* s4-dsdb/schema: Add Schema shallow copy functionKamen Mazdrashki2010-12-011-0/+57
|
* s4-dsdb/prefixMap: Add prefixMap shallow copy functionKamen Mazdrashki2010-12-011-0/+17
|
* s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki2010-12-014-7/+26
| | | | | This allows us to use schema that is different than the one set to 'ldb' to decode objects.
* s4-ranged_result.c: Fix memory context for ranged attributes handlingKamen Mazdrashki2010-12-011-4/+15
| | | | | | | Pair-Programmed-With: Zahari Zahariev <zahari.zahariev@postpath.com> Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 11:45:48 CET 2010 on sn-devel-104
* s3 docs: Reword posix locking text to answer a common questionKai Blin2010-12-011-1/+2
| | | | | | | | | vl recently pointed me to a valid reason to use posix locking = no. Fix the smb.conf manpage to explain this reason, as this question comes up on the samba mailing list from time to time as well. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Dec 1 10:37:30 CET 2010 on sn-devel-104
* s3: Attempt to please autobuildVolker Lendecke2010-12-011-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 1 08:43:37 CET 2010 on sn-devel-104
* s3: Fix a typoVolker Lendecke2010-12-011-1/+1
|
* s3: Attempt to fix the shadow_copy2 moduleVolker Lendecke2010-12-011-2/+2
| | | | | | This module is from hell. Please make 100% sure that you did test it properly when touching it! This module has probably given me more grey hair than any other piece of Samba, so PLEASE PLEASE PLEASE be careful here!!!
* s4-drs: cope with invalid NTDS DNs from DsReplicaInfo()Andrew Tridgell2010-12-011-2/+5
| | | | | | | w2k3 sometimes returns a deleted DN Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 07:48:19 CET 2010 on sn-devel-104
* wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell2010-12-012-4/+6
|
* wintest Move stopping of BIND into a new stepAndrew Bartlett2010-12-011-11/+31
| | | | | | | We must run this early, to ensure that BIND isn't alive to write to the zone file after provision has cleaned it up. Andrew Bartlett
* s4:heimdal: import lorikeet-heimdal-201012010201 (commit ↵Andrew Bartlett2010-12-0180-3731/+2665
| | | | 81fe27bcc0148d410ca4617f8759b9df1a5e935c)
* wintest: make command matching case insensitive by defaultAndrew Tridgell2010-12-011-2/+5
| | | | | | | the new BASEDN changes break the RODC join otherwise Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 06:54:13 CET 2010 on sn-devel-104
* wintest: we don't need the WIN_BASEDN vars any moreAndrew Tridgell2010-12-011-2/+0
| | | | they are based on the realm now
* wintest: fixed formatting of wintest in emacs python modeAndrew Tridgell2010-12-011-1/+1
|
* wintest Wipe the BIND data directory just before we restart bindAndrew Bartlett2010-12-011-2/+5
| | | | | | | This will hopefully mean we don't end up with stale zone info in the new server. Andrew Bartlett
* wintest Another way to work out if a Windows machine is a DCAndrew Bartlett2010-12-011-2/+15
| | | | | | | it's not perfect (may fail on member servers) but it's picks up the difference between standalone and DC OK. Andrew Bartlett
* wintest Add more retries and fix up RODC handling after auto-dcpromoAndrew Bartlett2010-12-011-16/+35
| | | | | | | The extra looping allows some time for the system to settle down while we connect to the server for the first time. Andrew Bartlett
* wintest Allow 'samba-tool newuser' to run a few times waiting for the RID SetAndrew Bartlett2010-12-011-1/+1
| | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s4-samba-tool Show when we have created the user successfullyAndrew Bartlett2010-12-011-0/+1
|
* wintest Make the new --vms option default to running all tests.Andrew Bartlett2010-12-012-2/+3
| | | | Andrew Bartlett
* wintest Set WIN_LCREALM and WIN_BASEDN automaticallyAndrew Bartlett2010-12-011-1/+7
| | | | | | | Also this uppper cases WIN_REALM, to avoid this being sensitive based on the configuration file. Andrew Bartlett
* wintest Add a function to shut down all the managed VMs at the startAndrew Bartlett2010-12-012-0/+17
| | | | | | | This helps ensure that old virtual machines don't interfer with a new test run. Andrew Bartlett