summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-12-03s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string"Matthias Dieter Wallnöfer1-7/+7
These calls can be substituted by "ldb_msg_add_string" without any problems - only the allocation contexts of the SPNs and the DNS hostnames have to adapted.
2010-12-03s4:auth/sam.c - when printing out a string buffer we don't strictly need the ↵Matthias Dieter Wallnöfer1-2/+2
width The precision (maximum numbers of characters) should be enough. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 10:26:39 CET 2010 on sn-devel-104
2010-12-03s4:auth/sam.c - the check for the SAMDB needs to be on the top of the callMatthias Dieter Wallnöfer1-6/+5
Otherwise it's really useless.
2010-12-03s4:auth/sam.c - fix the free of memory contextsMatthias Dieter Wallnöfer1-1/+1
"tmp_ctx" needs always to be freed ("res" is freed implicitly)
2010-12-03s4:auth/sam.c - specify the SID ignore case betterMatthias Dieter Wallnöfer1-1/+7
As per suggestion by metze.
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-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-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-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-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-01s4:heimdal: import lorikeet-heimdal-201012010201 (commit ↵Andrew Bartlett80-3731/+2665
81fe27bcc0148d410ca4617f8759b9df1a5e935c)
2010-12-01s4-samba-tool Show when we have created the user successfullyAndrew Bartlett1-0/+1
2010-12-01s4-drs: the options attribute is optional on NTDSDSA objectsAndrew Tridgell1-1/+1
2010-12-01s4-provision: remove the disabled bit in the dns-$HOSTNAME accountAndrew Tridgell1-1/+1
2010-12-01pygensec: Fix initialization.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 1 02:33:06 CET 2010 on sn-devel-104
2010-12-01pyparam: Use talloc.Object.Jelmer Vernooij1-2/+6
2010-12-01pyregistry: Use talloc.Object.Jelmer Vernooij1-4/+9
2010-12-01pyauth: Use talloc.Object.Jelmer Vernooij1-3/+5
2010-12-01pygensec: Use talloc.Object.Jelmer Vernooij1-1/+4
2010-12-01pycredentials: Use talloc.Object.Jelmer Vernooij1-2/+5
2010-12-01s4-build: added a 'make help' targetAndrew Tridgell1-1/+6
2010-12-01s4-provision: fixed check for missing msDS-SupportedEncryptionTypesAndrew Tridgell1-3/+2
thanks to Jelmer for spotting this
2010-12-01heimdal: fix for w2000 from lhaAndrew Tridgell1-2/+14
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 1 00:59:59 CET 2010 on sn-devel-104
2010-12-01s4-dns: catch all DNS exceptions in samba_dnsupdateAndrew Tridgell1-4/+8
2010-12-01s4-smb_server Return why the ntvfs_connect() failed.Andrew Bartlett1-1/+1
Andrew Bartlett
2010-12-01s4-librpc Handle all types of GUID in the GUID() initialiserAndrew Bartlett1-3/+11
By taking a length-limited string, we can parse binary and string GUID values, which is particularly useful when reading from ldb. Andrew Bartlett