summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-03Replace lseek()/write()/lseek() triple with pwrite call. We already emulate thisJeremy Allison1-12/+2
inside pwrite under the covers. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 3 03:39:42 CET 2010 on sn-devel-104
2010-12-03posix_fallocate() returns an errno, not -1 on error.Jeremy Allison1-1/+1
2010-12-03Merge the two conflicting allocation codes into one function, ↵Jeremy Allison3-56/+50
vfs_slow_fallocate() and use that from both the truncate and fill_sparse functions. Jeremy.
2010-12-03Oops. Missed adding vfswrap_posix_fallocate to vfs_default_fns table.Jeremy Allison1-0/+1
Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 3 02:26:23 CET 2010 on sn-devel-104
2010-12-02Move posix_fallocate into the VFS where it belongs.Jeremy Allison11-4/+127
Jeremy.
2010-12-02Fix bug #7835 - vfs_fill_sparse() doesn't use posix_fallocate when strict ↵Jeremy Allison1-2/+30
allocate is on Tries posix_fallocate() and then falls back to old code. Jeremy.
2010-12-02s4-dsdb/syntax: Map remote ATTIDs for Class OID syntaxKamen Mazdrashki1-0/+6
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104
2010-12-02s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki1-1/+26
2010-12-02s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cacheKamen Mazdrashki1-1/+3
2010-12-02s4-test/fsmo: Remove unused importsKamen Mazdrashki1-2/+0
2010-12-02s4-test/delete_object: Remove unused importsKamen Mazdrashki1-3/+4
2010-12-02s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki1-0/+1
We've lost this import somehow, now it is back in :)
2010-12-02s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki1-0/+18
separate tests
2010-12-02s4-dsdb/descriptor: comment typoKamen Mazdrashki1-1/+1
2010-12-02s4:auth/sam.c-"authsam_expand_nested_groups" - don't fail if we've ↵Matthias Dieter Wallnöfer1-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
2010-12-02s4:dsdb/samdb/cracknames.c - fix various KRB5 memory leaksMatthias Dieter Wallnöfer1-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
2010-12-02s4:password_hash LDB module - allow empty ("") passwordsMatthias Dieter Wallnöfer3-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.
2010-12-02s4/scripting/ktpass: make shell code portable and eliminate another bash ↵Björn Jacke1-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
2010-12-02s4/ldb: fix shell syntax error in test scriptBjörn Jacke1-2/+2
2010-12-02s3/selftest: add some FIXMEsBjörn Jacke1-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.
2010-12-02tests: avoid bash in shebang and fix wrong "==" in testBjörn Jacke3-13/+13
2010-12-02fix ѕome == to correct shell test in commented stuffBjörn Jacke2-2/+2
2010-12-02smbprinting: fix wrong == in shell testsBjörn Jacke1-2/+2
2010-12-02waf/buildtools: remove more bash shebangs and fix a == to =Björn Jacke2-3/+3
2010-12-02waf/buildtools: use /bin/sh instead of /bin/bash and put ^ in quotesBjörn Jacke4-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
2010-12-02buildtools: fix --git-local-changes optionStefan Metzmacher1-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
2010-12-02Turns out there are lots of places in S3 where token passed inJeremy Allison1-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
2010-12-01Fix a typo - should be '&&' not '&' when checking for privileges.Jeremy Allison1-1/+1
Jeremy.
2010-12-02wintest: added READMEAndrew Tridgell1-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
2010-12-02s3:smbd: remove some commented out legacy codeMichael Adam1-5/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Dec 2 01:18:19 CET 2010 on sn-devel-104
2010-12-01s4-ldap: removed an incorrect talloc_move()Andrew Tridgell1-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
2010-12-01s3-waf: more krb5 configure checks.Günther Deschner1-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
2010-12-01s3-waf: add configure check for dirfd and build vfs_syncops vfs_dirsort if ↵Günther Deschner1-0/+5
possible. Guenther
2010-12-01s3-waf: add idmap_ldap to default static module list.Günther Deschner1-1/+1
Guenther
2010-12-01s3-waf: align some krb5/gssapi configure checks with classic build.Günther Deschner1-1/+2
Guenther
2010-12-01s3-waf: avoid module name uppercasing.Günther Deschner8-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
2010-12-01s4:dsdb/repl/replicated_objects.c - proof if "talloc_reference" doesn't ↵Matthias Dieter Wallnöfer1-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
2010-12-01s4:dsdb/common/util.c - "samdb_msg_add_add/delval" - introduce also here the ↵Matthias Dieter Wallnöfer1-2/+2
better memory context "msg->elements" fits better than "msg".
2010-12-01ldb:ldb_msg_add_value - fix here a wrong memory contextMatthias Dieter Wallnöfer1-1/+2
A value array allocation should belong to "msg->elements" not "msg" directly
2010-12-01s4:ranged results LDB module - cosmetic - fix some indentationMatthias Dieter Wallnöfer1-1/+3
2010-12-01s4:ranged results LDB module - "rr_search_callback" - change some memory contextMatthias Dieter Wallnöfer1-1/+3
"el->values" could under some circumstances be NULL (see "if" above).
2010-12-01s4/waf: add intl dependency for nss_winnbindBjörn Jacke1-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
2010-12-01s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki1-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
2010-12-01s4-dsdb/syntax: Map remote ATTIDs for Attribute OID syntaxKamen Mazdrashki1-0/+6
2010-12-01s4-dsdb/syntax: Implement Remote-ATTID to Local-ATTID mapping functionKamen Mazdrashki1-0/+35
2010-12-01s4-dreplsrv: Use working_schema when replicating from Schema NCKamen Mazdrashki1-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.
2010-12-01s4-dsdb/schema: Implement multi-pass working schema creation functionKamen Mazdrashki1-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.
2010-12-01s4-dsdb/schema: Add Schema shallow copy functionKamen Mazdrashki1-0/+57
2010-12-01s4-dsdb/prefixMap: Add prefixMap shallow copy functionKamen Mazdrashki1-0/+17
2010-12-01s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki4-7/+26
This allows us to use schema that is different than the one set to 'ldb' to decode objects.