summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-12-01s4-ranged_result.c: Fix memory context for ranged attributes handlingKamen Mazdrashki1-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
2010-12-01s3 docs: Reword posix locking text to answer a common questionKai Blin1-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
2010-12-01s3: Attempt to please autobuildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Dec 1 08:43:37 CET 2010 on sn-devel-104
2010-12-01s3: Fix a typoVolker Lendecke1-1/+1
2010-12-01s3: Attempt to fix the shadow_copy2 moduleVolker Lendecke1-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!!!
2010-12-01s4-drs: cope with invalid NTDS DNs from DsReplicaInfo()Andrew Tridgell1-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
2010-12-01wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell2-4/+6
2010-12-01wintest Move stopping of BIND into a new stepAndrew Bartlett1-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
2010-12-01s4:heimdal: import lorikeet-heimdal-201012010201 (commit ↵Andrew Bartlett80-3731/+2665
81fe27bcc0148d410ca4617f8759b9df1a5e935c)
2010-12-01wintest: make command matching case insensitive by defaultAndrew Tridgell1-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
2010-12-01wintest: we don't need the WIN_BASEDN vars any moreAndrew Tridgell1-2/+0
they are based on the realm now
2010-12-01wintest: fixed formatting of wintest in emacs python modeAndrew Tridgell1-1/+1
2010-12-01wintest Wipe the BIND data directory just before we restart bindAndrew Bartlett1-2/+5
This will hopefully mean we don't end up with stale zone info in the new server. Andrew Bartlett
2010-12-01wintest Another way to work out if a Windows machine is a DCAndrew Bartlett1-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
2010-12-01wintest Add more retries and fix up RODC handling after auto-dcpromoAndrew Bartlett1-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
2010-12-01wintest Allow 'samba-tool newuser' to run a few times waiting for the RID SetAndrew Bartlett1-1/+1
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>