summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-0951-109/+108
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3-talloc Remove unused TALLOC zeronull functions and macro definitionsAndrew Bartlett2011-06-093-131/+0
| | | | | | These have been under #if 0 for a long time now. Andrew Bartlett
* s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer2011-06-091-0/+6
| | | | | | | | | When we are acting in the role of a PDC then please return it as status information. Reviewed-by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 9 12:06:36 CEST 2011 on sn-devel-104
* s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer2011-06-094-27/+11
| | | | | | Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
* s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer2011-06-091-0/+4
| | | | | | Other enum types have been checked before. Reviewed-by: Tridge
* s4:winbind/wb_samba3_protocol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-22/+3
| | | | | | | Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
* s4:schema_convert_to_ol.c - fix memory contextsMatthias Dieter Wallnöfer2011-06-091-3/+13
| | | | | | | | - Add more "mem_ctx" free functions on error cases - Steal the "out" string directly onto the LDB context to be able to free the local "mem_ctx" Reviewed-by: Tridge
* s4:dsdb/schema_convert_to_ol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-0/+9
| | | | | | Introduce a error message when choosing wrong targets. Reviewed-by: Tridge
* s4:auth/ntlm/auth.c - fix incompatible pointer type warningMatthias Dieter Wallnöfer2011-06-091-2/+2
| | | | Reviewed-by: Tridge
* s3:auth/auth_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s4:smbd/server.c - quiet "time_t" format string warnings by castsMatthias Dieter Wallnöfer2011-06-091-2/+4
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - fix a format specifier warningMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | Reviewed-by: Tridge
* s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without argumentsMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | | | Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge
* ldb:ldb_msg.c - move away from "errno"Matthias Dieter Wallnöfer2011-06-091-3/+0
| | | | Reviewed-by: Tridge
* samba-tool: added --local option to drs replicate commandAndrew Tridgell2011-06-091-1/+39
| | | | | | | | | | this allows replication directly to the local SAM, which means it can run without the samba daemon running. It also bypasses all usnChanged checks, which is useful for forcing replication of a set of objects which are not marked as replication being needed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jun 9 08:15:10 CEST 2011 on sn-devel-104
* s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell2011-06-091-5/+8
| | | | | | it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Ensure when creating a directory, if we make any changes due to inheritance ↵Jeremy Allison2011-06-091-0/+12
| | | | | | | parameters, we update the stat returned. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Jun 9 00:46:39 CEST 2011 on sn-devel-104
* Part 4 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-081-3/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs We don't need to check mode bits as well as dev/ino to ensure we're in the same place.
* s3:selftest: add a few more raw.* testsStefan Metzmacher2011-06-081-1/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 8 18:57:01 CEST 2011 on sn-devel-104
* s3:libsmb/cli_np_tstream: s/TSTREAM_CLI_NP_BUF_SIZE/TSTREAM_CLI_NP_MAX_BUF_SIZEStefan Metzmacher2011-06-081-6/+6
| | | | | | | This isn't the fixed buffer size anymore, as we use dynamic beffer it's just the maximum size. metze
* s3:libsmb:cli_np_tstream: use dynamic talloc buffersStefan Metzmacher2011-06-081-9/+30
| | | | | | | | Having 8192 bytes on an idle connection is a bit to much, so we better use dynamic buffers using talloc, which also avoids a memcpy in the common SMBtrans readv codepath. metze
* s3-winbind: always use samlogon cache for wbinfo -r, even when caching isGünther Deschner2011-06-081-4/+0
| | | | | | | | | disabled. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 17:45:56 CEST 2011 on sn-devel-104
* s3-winbindd: make sure we obey the -n switch also for samlogon cache access.Günther Deschner2011-06-085-3/+17
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 8 14:44:31 CEST 2011 on sn-devel-104
* s3-spoolss: fix -Wunused-but-set-variable build warning in ↵Günther Deschner2011-06-081-0/+4
| | | | | | | | _spoolss_EnumPrintProcDataTypes(). We were in fact ignoring the error code here. Guenther
* tdb: enable VALGRIND to remove valgrind noise.Rusty Russell2011-06-081-35/+0
| | | | | | | | | | | | | | Andrew Bartlett complained that valgrind needs --partial-loads-ok=yes otherwise the Jenkins hash makes it complain. My benchmarking here revealed that at least with modern gcc (4.5) and CPU (Intel i5 32 bit) there's no measurable performance penalty for the "correct" code, so rip out the optimized one. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Jun 8 11:05:47 CEST 2011 on sn-devel-104
* s4-ipv6: fill in pdc_ip in DsRGetDCNameEx2Andrew Tridgell2011-06-081-3/+12
| | | | | | | this may be different from the CLDAP response, as it can be IPv6 Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 8 06:07:29 CEST 2011 on sn-devel-104
* s4-wins: ensure we only use IPv4 for WINS ownerAndrew Tridgell2011-06-082-2/+2
|
* s4-interface: raise the debug level for interface discoveryAndrew Tridgell2011-06-081-3/+3
|
* s4-gensec bring GSS_S_CONTEXT_EXPIRED into it's own error handlerAndrew Bartlett2011-06-081-0/+59
| | | | | | | | | This allows us to print much more debugging in this critical situation. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 8 04:19:58 CEST 2011 on sn-devel-104
* s4-credentials Don't use expired Kerberos or GSSAPI credentialsAndrew Bartlett2011-06-081-4/+57
| | | | | | | | | In a long-lived credentials cache situation, we may need to refetch the ticket after (say) 10 hours. This code should help that happen, by checking the lifetime before returning any credentials cache or GSSAPI credentials. Andrew Bartlett
* s4-credentials Allow use of file-based credentials caches for debugging.Andrew Bartlett2011-06-081-3/+9
| | | | | | | | This means that we will leave a slew of file based credentials caches in /tmp, which should give some clues to the administrator or developer via klist as to what has gone wrong. Andrew Bartlett
* Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-081-17/+43
| | | | | | | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we must have a valid stat struct before making the inheritance calls (as they may look at it), and if we make changes we must have a valid stat struct after them. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 8 03:07:04 CEST 2011 on sn-devel-104
* Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new file make sure we also change the returned stat struct to have the correct uid.
* Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison2011-06-071-0/+2
| | | | | | | correctly with "inherit permissions = yes" and POSIX ACLs When changing ownership on a new directory make sure we also change the returned stat struct to have the correct uid.
* Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly ↵Jeremy Allison2011-06-071-4/+17
| | | | | | | | | | | | | | | with vfs_acl_xattr or vfs_acl_tdb module. Fix incorrect interaction when all of "inherit permissions = yes" "inherit acls = yes" "inherit owner = yes" are set. Found by Björn Jacke. Thanks Björn ! Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jun 7 22:32:18 CEST 2011 on sn-devel-104
* s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵Stefan Metzmacher2011-06-071-2/+17
| | | | | | | | | | | | | | | | | | | #8195) NT4 servers return NT_STATUS_PIPE_BUSY if we try a SMBtrans and the SMBwriteX before hasn't transmited the whole DCERPC fragment. W2K and above is happy with that. As a result we try to match the behavior of Windows and older Samba clients, they use write and read buffers of 4280 bytes instead of 1024 bytes. On Windows only the SMBtrans based read uses 1024 (while we also use 4280 there). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 7 20:25:32 CEST 2011 on sn-devel-104
* s3:idmap_autorid: fail initialization if the domain is not "*"Michael Adam2011-06-071-0/+8
| | | | | | | autorid can only be used as a backend for the default idmap configuration. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Jun 7 19:13:18 CEST 2011 on sn-devel-104
* s3:docs: fix the example in the idmap_autorid manpage to use "idmap config * ↵Michael Adam2011-06-071-1/+1
| | | | : rangesize"
* s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of ↵Michael Adam2011-06-071-1/+9
| | | | "autorid:rangesize"
* s3:idmap_autorid: add a talloc_stackframe() to idmap_autorid_initialize()Michael Adam2011-06-071-5/+6
|
* s4-cldap: fixed the CLDAP response for IPv6 clientsAndrew Tridgell2011-06-071-6/+8
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 08:57:48 CEST 2011 on sn-devel-104
* s4-ipv6: fixed a crash in the IPv6 DNS codeAndrew Tridgell2011-06-071-1/+1
|
* s4-dns: fixed samba_tool -> samba-toolAndrew Tridgell2011-06-071-1/+1
|
* s4-build: install a build link bin/provisionAndrew Tridgell2011-06-071-0/+2
|
* selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett2011-06-071-6/+17
| | | | | | | | | | | | This should ensure that we don't run the Samba3/Samba4 integration tests on machines without ADS support. (Some samba3 tests in the full 'make test' may still fail however) Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 7 07:17:32 CEST 2011 on sn-devel-104
* s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell2011-06-071-2/+29
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
* s4-ipv6: fixed iface_list_same_net() for IPv6Andrew Tridgell2011-06-071-3/+15
|
* s4-ipv6: fixed DNS handling with new IPv6 codeAndrew Tridgell2011-06-071-1/+16
|
* s4-dsdb: cope with missing backlinks in rpmd handlingAndrew Tridgell2011-06-071-1/+10
| | | | | if backlinks have not propogated correctly in a previous replication this allows us to recover