summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:auth/kerberos/kerberos_pac.c - fix another memory leak regarding the KRB ↵Matthias Dieter Wallnöfer2010-12-041-1/+4
| | | | | | | | | principal In addition fix a counter type Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Dec 4 15:14:46 CET 2010 on sn-devel-104
* s4:dsdb/common/util_samr.c and auth/sam.c - fix error messageMatthias Dieter Wallnöfer2010-12-042-3/+3
|
* tls_tstream: use a dynamic buffer for the push caseStefan Metzmacher2010-12-041-6/+21
| | | | | | | | | Some versions of gnutls doesn't handle EAGAIN correctly, so we better allow sending buffers without a low size limitation, the limit is now UINT16_MAX (0xFFFF) and we allocate the buffer with talloc each time. metze
* tls_tstream: increase the buffer sizeMatthieu Patou2010-12-041-1/+1
| | | | | | | | | | | | | | | | The problem is that with certain version of gnutls are not working properly if the server is sending in different packet things like (at least) * Certificate * Server Key exchange * Client certificate Somehow it really expect this to be done in one packet as some structures used _gnutls_send_handshake are reinitialized at every packet exchange and intermediate steps didn't expect it Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:samr RPC server - dcesrv_samr_GetBootKeyInformation - return NOT_SUPPORTEDMatthias Dieter Wallnöfer2010-12-041-1/+2
| | | | | | | Windows Server 2008 does this Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Dec 4 12:11:47 CET 2010 on sn-devel-104
* s4:dsdb/common/util_samr.c - "dsdb_enum_group_mem" - fix it up regarding non ↵Matthias Dieter Wallnöfer2010-12-041-7/+16
| | | | | | SAM members For example contacts.
* s4:torture/rpc/samr.c - fix output messageMatthias Dieter Wallnöfer2010-12-041-1/+1
|
* s4/kdc - fix a warning regarding a changed parameter type (kvno)Matthias Dieter Wallnöfer2010-12-033-3/+3
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 23:56:15 CET 2010 on sn-devel-104
* s3/s4:lsa.idl - QueryDomainInformationPolicy - the "unknown6" field is ↵Matthias Dieter Wallnöfer2010-12-031-0/+1
| | | | | | called "reserved" MS-LSAD 3.1.1.1 - http://msdn.microsoft.com/en-us/library/cc234319(v=PROT.13).aspx
* s4:lsa RPC server - always initialise "info" structuresMatthias Dieter Wallnöfer2010-12-031-2/+2
| | | | This should help to fix bug #7769
* s4:lsa RPC server - "dcesrv_lsa_CreateSecret" - a bit of reworkMatthias Dieter Wallnöfer2010-12-031-21/+35
| | | | | | | | | - Added 'out of memory' checks - Added checks regarding return values - Switch to "ldb_msg_add_string" where possible Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 21:41:39 CET 2010 on sn-devel-104
* s4:libnet/libnet_samsync_ldb,c - move away from "samdb_msg_add_string" when ↵Matthias Dieter Wallnöfer2010-12-031-2/+10
| | | | | | possible Also here we can move to "ldb_msg_add_string" without any impact!
* s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string"Matthias Dieter Wallnöfer2010-12-031-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.
* s4:auth/sam.c - when printing out a string buffer we don't strictly need the ↵Matthias Dieter Wallnöfer2010-12-031-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
* s4:auth/sam.c - the check for the SAMDB needs to be on the top of the callMatthias Dieter Wallnöfer2010-12-031-6/+5
| | | | Otherwise it's really useless.
* s4:auth/sam.c - fix the free of memory contextsMatthias Dieter Wallnöfer2010-12-031-1/+1
| | | | "tmp_ctx" needs always to be freed ("res" is freed implicitly)
* s4:auth/sam.c - specify the SID ignore case betterMatthias Dieter Wallnöfer2010-12-031-1/+7
| | | | As per suggestion by metze.
* s4-dsdb/syntax: Map remote ATTIDs for Class OID syntaxKamen Mazdrashki2010-12-021-0/+6
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104
* s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki2010-12-021-1/+26
|
* s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cacheKamen Mazdrashki2010-12-021-1/+3
|
* 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
|
* 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
* 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-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
* 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
* s4:heimdal: import lorikeet-heimdal-201012010201 (commit ↵Andrew Bartlett2010-12-0180-3731/+2665
| | | | 81fe27bcc0148d410ca4617f8759b9df1a5e935c)
* s4-samba-tool Show when we have created the user successfullyAndrew Bartlett2010-12-011-0/+1
|
* s4-drs: the options attribute is optional on NTDSDSA objectsAndrew Tridgell2010-12-011-1/+1
|
* s4-provision: remove the disabled bit in the dns-$HOSTNAME accountAndrew Tridgell2010-12-011-1/+1
|