summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-test/fsmo: Remove unused importsKamen Mazdrashki2010-12-021-2/+0
|
* s4-test/delete_object: Remove unused importsKamen Mazdrashki2010-12-021-3/+4
|
* s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki2010-12-021-0/+1
| | | | We've lost this import somehow, now it is back in :)
* s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki2010-12-021-0/+18
| | | | separate tests
* s4-dsdb/descriptor: comment typoKamen Mazdrashki2010-12-021-1/+1
|
* s4:auth/sam.c-"authsam_expand_nested_groups" - don't fail if we've ↵Matthias Dieter Wallnöfer2010-12-021-4/+4
| | | | | | | | | | | | memberships on non-SAM objects This can be expected (think at a membership of a "groupOfNames" group) and we shouldn't blame about it. This fixes a bug reported on the technical mailing list. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 2 17:17:56 CET 2010 on sn-devel-104
* s4:dsdb/samdb/cracknames.c - fix various KRB5 memory leaksMatthias Dieter Wallnöfer2010-12-021-7/+13
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 2 12:35:03 CET 2010 on sn-devel-104
* s4:password_hash LDB module - allow empty ("") passwordsMatthias Dieter Wallnöfer2010-12-023-22/+80
| | | | | | | | This seems to have been broken some time ago - till someone on the mailing list noticed it. I've also added a testsuite (and some additional SamDB python helpers) which should prove this.
* s4/scripting/ktpass: make shell code portable and eliminate another bash ↵Björn Jacke2010-12-021-4/+4
| | | | | | | requirement Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Dec 2 11:20:42 CET 2010 on sn-devel-104
* s4/ldb: fix shell syntax error in test scriptBjörn Jacke2010-12-021-2/+2
|
* s3/selftest: add some FIXMEsBjörn Jacke2010-12-021-0/+7
| | | | | this needs some rework. Sourced shell code cannot take arguments, at least no portable shell. This generates errors on the buildfarm sind quite a while.
* 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)