summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2010-12-065-19/+25
|
* s4-dns: return the correct TTLAndrew Tridgell2010-12-061-6/+2
| | | | | | | | I've now patched the bind9 sdlz layer to cope with multiple TTLS on a name/type pair Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
* s4-dns: support Samba command line options to the dlz_bind.so moduleAndrew Tridgell2010-12-062-1/+36
| | | | this allows setting of Samba command line options in named.conf
* s4-dns: added flags support for dlz_bind9Andrew Tridgell2010-12-062-1/+4
| | | | | | this will allow us to set the THREADSAFE flag if we make this threadsafe. For now we don't set that flag, and let bind9 do the locking for us.
* s4-dns: a dlz module for bind9Andrew Tridgell2010-12-063-0/+579
| | | | | | | | | | | | | | | | | | | this module can be loaded into bind9 if bind9 has been built with the --with-dlz-dlopen option. It provides access bind9 access to the DNS records in SAMDB. You can then start bind9 with this in named.conf: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so"; }; See http://git.samba.org/tridge/bind9.git for a bind9 tree with the dlz_dlopen driver. See also the discussion on the bind-workers mailing list Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
* s4-repl_meta_data: Print function name when we can't find attribute in ↵Kamen Mazdrashki2010-12-061-1/+2
| | | | | | | | | | Schema cache Same error message is printed by linked_attributes.c module and it was really hard to tell where the error occurred Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104
* s4-linked_attributes: Give more info where an error occuredKamen Mazdrashki2010-12-061-3/+8
| | | | | | We have exact same error messages at different locations and it is little bit hard to tell where the error came from from the log.
* s4-repl_meta_data: Remove duplicated checkKamen Mazdrashki2010-12-061-2/+0
|
* s4-schema_load: Strip a pointless checkKamen Mazdrashki2010-12-061-3/+1
| | | | | If *schema is NULL, then dsdb_schema_from_ldb_results() call should have failed
* s4:cluster/cluster.h - fix another gcc 3.4 "struct" warningMatthias Dieter Wallnöfer2010-12-051-0/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 5 21:22:18 CET 2010 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/util.h - fix a gcc 3.4 compile warningMatthias Dieter Wallnöfer2010-12-051-1/+1
|
* s4:lib/messaging/*.h - fix compile warnings on gcc 3.4Matthias Dieter Wallnöfer2010-12-052-3/+2
| | | | For example on OpenSolaris
* s4-python: Add more module docstrings.Jelmer Vernooij2010-12-0510-3/+23
|
* s4-python: Add some more module docstrings.Jelmer Vernooij2010-12-0516-0/+33
|
* s4:dsdb/samdb/cracknames.c - fix another memory leakMatthias Dieter Wallnöfer2010-12-041-0/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Dec 4 17:26:39 CET 2010 on sn-devel-104
* s4:kdc/kpasswdd.c - fix memory leaksMatthias Dieter Wallnöfer2010-12-041-2/+15
|
* s4:auth/gensec/gensec_krb5.c - fix/reorder memory free operationsMatthias Dieter Wallnöfer2010-12-041-3/+15
| | | | To prevent memory leaks
* s4:auth/gensec/gensec_krb5.c - remove a pointless "nt_status" testMatthias Dieter Wallnöfer2010-12-041-8/+3
| | | | There is no operation which sets the "nt_status" before the "if".
* 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