summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-08s4-credentials Don't use expired Kerberos or GSSAPI credentialsAndrew Bartlett1-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
2011-06-08s4-credentials Allow use of file-based credentials caches for debugging.Andrew Bartlett1-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
2011-06-08Part 3 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison1-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
2011-06-07Part 2 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison1-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.
2011-06-07Part 1 of bugfix for #8211 - "inherit owner = yes" doesn't interact ↵Jeremy Allison1-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.
2011-06-07Fix re-opened bug 8083 - "inherit owner = yes" doesn't interact correctly ↵Jeremy Allison1-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
2011-06-07s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵Stefan Metzmacher1-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
2011-06-07s3:idmap_autorid: fail initialization if the domain is not "*"Michael Adam1-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
2011-06-07s3:docs: fix the example in the idmap_autorid manpage to use "idmap config * ↵Michael Adam1-1/+1
: rangesize"
2011-06-07s3:idmap_autorid: use "idmap config <DOMAIN> : rangesize" instead of ↵Michael Adam1-1/+9
"autorid:rangesize"
2011-06-07s3:idmap_autorid: add a talloc_stackframe() to idmap_autorid_initialize()Michael Adam1-5/+6
2011-06-07s4-cldap: fixed the CLDAP response for IPv6 clientsAndrew Tridgell1-6/+8
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 08:57:48 CEST 2011 on sn-devel-104
2011-06-07s4-ipv6: fixed a crash in the IPv6 DNS codeAndrew Tridgell1-1/+1
2011-06-07s4-dns: fixed samba_tool -> samba-toolAndrew Tridgell1-1/+1
2011-06-07s4-build: install a build link bin/provisionAndrew Tridgell1-0/+2
2011-06-07selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett1-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
2011-06-07s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell1-2/+29
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
2011-06-07s4-ipv6: fixed iface_list_same_net() for IPv6Andrew Tridgell1-3/+15
2011-06-07s4-ipv6: fixed DNS handling with new IPv6 codeAndrew Tridgell1-1/+16
2011-06-07s4-dsdb: cope with missing backlinks in rpmd handlingAndrew Tridgell1-1/+10
if backlinks have not propogated correctly in a previous replication this allows us to recover
2011-06-07s4-netlogon: force an IPv4 addressAndrew Tridgell1-1/+1
this interface is currently V4 only, don't try and return a V6 address in a V4 structure
2011-06-07s4-ipv6: fix iface_list_best_ip() for IPv6Andrew Tridgell1-1/+23
return an interface with the same address family as the target
2011-06-07s3-docs Add documentation for ncalrpc dirAndrew Bartlett1-0/+13
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 7 02:57:33 CEST 2011 on sn-devel-104
2011-06-07s3-auth Use loadparm_init_s3() to get an lp_ctx for auth_samba4Andrew Bartlett1-15/+2
This avoids loading the smb.conf twice. Andrew Bartlett
2011-06-07s4-auth Move default auth methods back into auth.cAndrew Bartlett2-7/+6
This changes auth_methods_from_lp to no longer use the parametric options, and to cope with ROLE_DOMAIN_BDC and ROLE_DOMAIN_PDC. This will assist in calling the source4 auth subsystem with a source3 derived lp_ctx. Andrew Bartlett
2011-06-07s3: Remove unused variablesVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 7 00:42:51 CEST 2011 on sn-devel-104
2011-06-06s3-waf: Fix pthreadpool build which needs librt now.Andreas Schneider1-1/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Jun 6 23:31:09 CEST 2011 on sn-devel-104
2011-06-06Fix bug #8197 - winbind does not properly detect when a DC connection is dead.Jeremy Allison1-6/+32
Only waiting for writability doesn't get fd errors back with poll. So always begin by selecting for readability, and if we get it then see if bytes were available to read or it really is an error condition. If bytes were available, remove the select on read as we know we will retrieve the error when we've finished writing and start reading the reply (or the write will timeout or fail). Metze and Volker please check. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Jun 6 21:53:16 CEST 2011 on sn-devel-104
2011-06-06s3: Remove a pointless if-statementVolker Lendecke1-3/+1
We are here only if we have more than one num_pending Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 6 18:21:17 CEST 2011 on sn-devel-104
2011-06-06s3: Fix two debug messagesVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 6 14:11:06 CEST 2011 on sn-devel-104
2011-06-06s4/server: simplify and replace bad portable gettimeofday by timeBjörn Jacke1-15/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon Jun 6 12:58:26 CEST 2011 on sn-devel-104
2011-06-06s3/pthreadpool: replace bad portable gettimeofday by clock_gettimeBjörn Jacke1-4/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-06s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett3-0/+32
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06s3-passdb use new loadparm_init_s3 rather than reloading the smb.confAndrew Bartlett1-14/+2
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett29-36/+36
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06s4-param Remove 'modules dir'Andrew Bartlett3-6/+10
The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett15-71/+104
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-06-06s3-lib Remove unused lib_path()Andrew Bartlett2-14/+0
2011-06-06s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett8-16/+333
In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
2011-06-06s4-param make lpcfg_sam_name() cope with PDC and BDC rolesAndrew Bartlett1-1/+2
These roles (ROLE_DOMAIN_CONTROLLER is ROLE_DOMAIN_BDC) will come in from the s3 loadparm. Andrew Bartlett
2011-06-06s3-param always allow the realm parameterAndrew Bartlett1-2/+0
2011-06-06s4-param Remove 'sid generator'Andrew Bartlett8-34/+10
This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
2011-06-06s4-param Remove 'idmap database'Andrew Bartlett4-8/+3
This is now just idmap.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett4-8/+3
This is now just secrets.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'sam database' parameterAndrew Bartlett10-26/+23
This now just relies on the private dir parameter, which remains. Andrew Bartlett
2011-06-06libcli/util Remove prototype for ntstatus_dos_equal()Andrew Bartlett1-3/+0
This was removed recently.
2011-06-06s4-ipv6: fill in family when initialising from sockaddrAndrew Tridgell1-1/+13
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Jun 6 05:35:36 CEST 2011 on sn-devel-104
2011-06-06s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.cAndrew Tridgell1-43/+6
the code is now generic to both V4 and V6
2011-06-06s4-ipv6: fix the address family for IPv6 string addressesAndrew Tridgell1-0/+5
2011-06-06s4-ipv6: allow for IPv6 in dcerpc socket callsAndrew Tridgell1-2/+2