summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* build: rename build targets smbclient -> smbclient4 and smbclient3 -> smbclientMichael Adam2012-05-311-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 31 06:36:55 CEST 2012 on sn-devel-104
* s4:selftest: change the blackbox.samba_tool_demote test to use a binary ↵Michael Adam2012-05-312-3/+3
| | | | mapping for smbclient
* s4:selftest: change the blackbox.passwords test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.pkinit test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.kinit test to use a binary mapping for ↵Michael Adam2012-05-311-3/+3
| | | | smbclient
* s4:selftest: change the blackbox.export.keytab test to use a binary mapping ↵Michael Adam2012-05-311-1/+1
| | | | for smbclient
* s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.samba_tool test to use a binary mapping for ↵Michael Adam2012-05-312-3/+3
| | | | smbclient
* s4:selftets: change the blackbox.bogusdomain test to use binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.smbclient test to use binary mapping for ↵Michael Adam2012-05-312-6/+5
| | | | smbclient
* s4:selftest: determine nmblookup via binary mapping for blackbox test in ↵Michael Adam2012-05-312-5/+5
| | | | tests.py
* dsdb: Fix error checking conditions in partition_metadata moduleAmitay Isaacs2012-05-301-7/+7
| | | | | | | Thanks to Matthieu Patou <mat@matws.net> for pointing it out. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed May 30 17:00:01 CEST 2012 on sn-devel-104
* s4-provision: Use the s3fs file server by default in migrationsAndrew Bartlett2012-05-301-1/+1
| | | | | | | | | This covers both migrations from s3 and joining a domain as a new DC. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 30 14:57:22 CEST 2012 on sn-devel-104
* lib/krb5_wrap: Move krb5_princ_size helper to source4 as it is only used thereAndrew Bartlett2012-05-302-1/+9
| | | | | | | | | | This is also where the related krb5_princ_component is declared. Also fix the configure check to use the correct name This helps the autoconf build on Heimdal. Andrew Bartlett
* s4-dns: Use W_ERROR_HAVE_NO_MEMORY in create_response_rrKai Blin2012-05-301-24/+8
|
* s4-dns: Use proper talloc hierarchy for NS records in create_response_rrKai Blin2012-05-301-1/+2
|
* s4-dns: Use proper talloc hierarchy for AAAA records in create_response_rrKai Blin2012-05-301-1/+2
|
* s4-dns: Remove sync dns_processVolker Lendecke2012-05-301-24/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make the TCP dns server asyncVolker Lendecke2012-05-301-21/+39
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make the UDP dns server asyncVolker Lendecke2012-05-301-18/+38
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Remove sync dns_server_process_queryVolker Lendecke2012-05-302-39/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make dns_process_send asynVolker Lendecke2012-05-303-80/+148
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Remove unused sync ask_forwarder wrapperVolker Lendecke2012-05-301-30/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make dns_server_process_query asyncVolker Lendecke2012-05-301-37/+120
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Make ask_forwarder asyncVolker Lendecke2012-05-301-43/+111
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Create a proper talloc hierarchy in create_response_rrVolker Lendecke2012-05-301-3/+15
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Add debug output for unmappable WERROR to DNS errcodeVolker Lendecke2012-05-301-1/+1
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Fix some typosVolker Lendecke2012-05-302-2/+2
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Remove some break; statementsVolker Lendecke2012-05-301-8/+0
| | | | | | | We fall through implicitly, and that pattern is used elsewhere in Samba as well. Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Fix an unlikely potential memleakVolker Lendecke2012-05-301-2/+4
| | | | | | | If state was alloc'ed to NULL, in_packet to != NULL and out_packet to NULL, we leak in_packet. Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Use talloc_asprintf_append_buffer in create_response_rrVolker Lendecke2012-05-301-2/+2
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4-dns: Add some NULL checks to create_response_rrVolker Lendecke2012-05-301-0/+15
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* s4:dbchecker - handle the "none" case correctlyMatthias Dieter Wallnöfer2012-05-291-1/+1
| | | | | | | | | | This means that *no* fixing will be done, also the first possible one will be omitted as well. Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue May 29 21:36:25 CEST 2012 on sn-devel-104
* s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY ↵Günther Deschner2012-05-291-1/+36
| | | | | | | | | nbt_netlogon_requests. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 29 15:49:10 CEST 2012 on sn-devel-104
* s4:torture report connection error via torture_failChristian Ambach2012-05-291-1/+8
| | | | | | | | | to make smbtorture report the error instead of complaining about missing torture_ call Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 29 13:57:42 CEST 2012 on sn-devel-104
* s4:ntvfs/ipc: fix protocol specific processing of pipe namesStefan Metzmacher2012-05-281-2/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 21:48:47 CEST 2012 on sn-devel-104
* s4:torture/samba3rpc: add smb1-pipe-nameStefan Metzmacher2012-05-281-0/+252
| | | | metze
* s4:torture/samba3rpc: add smb2-pipe-nameStefan Metzmacher2012-05-281-0/+84
| | | | metze
* Avoid all(), as it's not available in Python 2.4.Jelmer Vernooij2012-05-271-1/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 27 16:13:34 CEST 2012 on sn-devel-104
* s4:smb_server/smb: fix talloc_free() bugStefan Metzmacher2012-05-241-1/+1
| | | | | | | ERROR: talloc_free with references at ../source4/smb_server/smb/receive.c:637 reference at ../source4/ntvfs/posix/pvfs_wait.c:86 metze
* s4/scripting: in MIT build do not install samba-tool, it is not usable yetAlexander Bokovoy2012-05-242-7/+4
|
* s4-provision: Make s3fs the default way to install a new Samba4 DCAndrew Bartlett2012-05-241-2/+2
| | | | | | | | | | With s3fs now well settled into master, we now throw the swtich and make it the default. There is still much to do, but we need to be using s3fs by default to find out exactly what that is. Andrew Bartlett
* dlz_bind9: Make the talloc destructor static and return 0.Amitay Isaacs2012-05-241-1/+2
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu May 24 03:32:50 CEST 2012 on sn-devel-104
* dlz_bind9: Fix the named crash on reloading namedAmitay Isaacs2012-05-241-1/+17
| | | | | | | | | | When reloading zones, named first creates new zone instance and then shuts down the old instance. Since ldb layer, keeps the same LDB open, talloc_free() on samdb handle, causes talloc "access after use" error. This patch keeps only single context (dlz_bind9_data) and uses reference counting to decide when to actually free the context. Since samdb handle is reused, use talloc_unlink() instead of talloc_free() on samdb handle.
* gse: Use the smb_gss_oid_equal wrapper.Andreas Schneider2012-05-232-2/+5
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* libcli/dns: make 'clidns' private library out of DNS code in WAF buildAlexander Bokovoy2012-05-231-1/+1
| | | | | | | | | | | | | | | | After consolidating DNS resolver code to lib/addns, there is one piece that still needs to be moved into a common DNS resolver library: DNS_HOSTS_FILE subsystem. Unfortunately, direct move would require lib/addns to depend on libcli/util/{ntstatus.h,werror.h} (provided by errors subsystem). In addition, moving libcli/dns/* code to lib/addns/ would make conflicting the dns_tkey_record struct. The conflict comes from source4/dns_server/ and is due to use of IDL to define the struct. lib/addns/ library also provides its own definition so we either need to keep them in sync (rewrite code in lib/addns/ a bit) or depend on generated IDL headers. Thus, making a private library and subsystem clidns is an intermediate step that allows to buy some time fore refactoring.
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-2329-434/+511
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s4: samba-tool is usable without export-keytab command, make sure it does ↵Alexander Bokovoy2012-05-231-19/+22
| | | | | | | | not break When export_keytab is not compiled in (pure client-side Samba 4 build as with system MIT krb5), export-keytab command of samba-tool will not be available. Make sure it is not provided but its absence does not break the Python tool.
* dns: fix comments and make s4/libcli/resolve dns resolver workingAlexander Bokovoy2012-05-231-1/+1
| | | | | | | | After migrating to use libaddns, reply_to_addrs() needed to change the way answers are iterated through. Originally libroken implementation gave all answers as separate records with last one being explicitly NULL. libaddns unmarshalling code gives all non-NULL answers and should be iterated with explicit reply->num_answers in use.
* gensec_gssapi: Make it possible to build with MIT krb5Simo Sorce2012-05-232-11/+21
| | | | | | | | | | We need to ifdef out some minor things here because there is no available API to set these options in MIT. The realm and canonicalize options should be not interesting in the client case. Same for the send_to_kdc hacks. Also the OLD DES3 enctype is not at all interesting. I am not aware that Windows will ever use DES3 and no modern implementation relies on that enctype anymore as it has been fully deprecated long ago, so we can simply ignore it.