Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
metze
(cherry picked from commit
da2179ee5d5b6094ab63a9d9d6a8d59893937087)
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used
metze
(cherry picked from commit
3fddd36e119f73a5021370450f9687ef9d252bab)
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
metze
(cherry picked from commit
aa7ef1af746319a3d771decd0ec03dabe8b8ad28)
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken
metze
(cherry picked from commit
67845d3471711d24069636d0d4032f9d53748334)
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4
metze
(cherry picked from commit
0234d397fefee8e1d0dcd3402f748c2251021c90)
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4
metze
(cherry picked from commit
64591d064dc3da6074f0f7539911a6e433d9cc43)
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4
metze
(cherry picked from commit
f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4
metze
(cherry picked from commit
3a70274c908e31453942b442351eab8423c1a53d)
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4
metze
(cherry picked from commit
223ef6c08efb52251d0a772bb0c481b2803cf0ce)
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4
metze
(cherry picked from commit
fba00736c870f449c0eee32fe0d7b0d539dca51f)
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4
metze
(cherry picked from commit
82e826253b6d18832931dbb5c1dda009889bf9e0)
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4
metze
(cherry picked from commit
c70eba87dbbac6c2c1e68c343cdd410577c1686f)
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(cherry picked from commit
dabdf24e86f038e3afc67532fa5bf60a37992161)
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
metze
(cherry picked from commit
04f4523ed032946b8f0e74ac6f7458010159e3bb)
Stefan Metzmacher [Wed, 7 May 2008 15:20:38 +0000 (17:20 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(cherry picked from commit
3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
(cherry picked from commit
55a904b1d7aeca849d450e371b18afca5b0c6218)
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
(cherry picked from commit
a9604fe4a323dccb537cf02ea7594437b4995803)
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are
metze
(cherry picked from commit
8798ce3c744025b94973784dcb44d099427ef190)
Karolin Seeger [Fri, 16 May 2008 07:29:42 +0000 (09:29 +0200)]
WHATSNEW: Fix typo.
mangle map -> mangled map
Karolin
Karolin Seeger [Fri, 16 May 2008 07:27:20 +0000 (09:27 +0200)]
man pages: Remove man page for 'mangled map'.
'mangled map' has been removed with
dee8beba7a92b8a3f68bbcc59fd0a827f68c7736.
Karolin
Karolin Seeger [Thu, 15 May 2008 08:38:33 +0000 (10:38 +0200)]
WHATSNEW: Remove trailing whitespace.
Karolin
Karolin Seeger [Thu, 15 May 2008 08:36:26 +0000 (10:36 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Günther Deschner [Wed, 14 May 2008 21:50:25 +0000 (23:50 +0200)]
Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).
Guenther
(cherry picked from commit
f3251ba03a69c2fd0335861177159a32b2bc9477)
Jeremy Allison [Wed, 14 May 2008 21:11:26 +0000 (14:11 -0700)]
Fix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :
CatchChild();
*before* we fork the domain child. This call establishes a signal handler that
eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon
SIGCLD handler should do. This causes the parent to ignore dead children and
time out, instead of calling winbind_child_died() on receipt of the signal. The
correct fix is to move the CatchChild call into the child code after the fork.
Jeremy.
Jeremy Allison [Wed, 14 May 2008 21:09:02 +0000 (14:09 -0700)]
Ensure we don't keep searching for sharename if it's
not the start of the list.
Jeremy.
Kai Blin [Mon, 12 May 2008 12:39:03 +0000 (14:39 +0200)]
configure: Kill linker warnings about 32bit libs on 64bit Linux.
Karolin Seeger [Wed, 14 May 2008 12:34:14 +0000 (14:34 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Jim McDonough [Tue, 13 May 2008 20:57:01 +0000 (16:57 -0400)]
Enable winbind child processes to do something with signals,
in particular closing and reopening logs on SIGHUP.
Conflicts:
source/winbindd/winbindd.c
Jeremy Allison [Tue, 13 May 2008 22:25:14 +0000 (15:25 -0700)]
Fix debug message.
Jeremy.
Jeremy Allison [Tue, 13 May 2008 22:02:53 +0000 (15:02 -0700)]
Second part of patch for bug #5460. Cope with pathnames
that don't look like \xxx\yyy, cope with arbitrary length.
Jeremy.
Jeremy Allison [Tue, 13 May 2008 21:03:21 +0000 (14:03 -0700)]
Fix bug #5460. The problem is RHEL5.0 shipped a CIFS client
that sets the DFS bit on pathnames but doesn't
send DFS paths. This causes lookups to fail as
the smbd/msdfs.c code now just eats the first
two parts of the pathname and uses the rest as
the local path. The previous hostname check
used to protect us from that as we knew that
when the hostname was invalid it was a local
path (and a broken client).
I didn't want to put that check back in, but
came up with another idea - even though the
hostname can be a different one, the sharename
must be valid on this machine. So we can check
for a valid sharename instead.
Jeremy.
Volker Lendecke [Tue, 13 May 2008 14:23:19 +0000 (16:23 +0200)]
Fix signing problem in the client with transs requests
This is a different fix than Jeremy put into 3-0-test with
040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!
Thanks,
Volker
Volker Lendecke [Tue, 13 May 2008 14:56:06 +0000 (16:56 +0200)]
Revert "Fix signing bug found by Volker. That one was *subtle*."
This reverts commit
816aea6c1a426eb2450061b847729e22bdac33a0.
Karolin Seeger [Tue, 13 May 2008 08:18:37 +0000 (10:18 +0200)]
man pages: Correct version string.
As Samba 3.2 will be out soon, man pages should be correct for both versions,
Samba 3.0 and 3.2.
Karolin
(cherry picked from commit
9c59c1895d8d3621f38b67ecf88109c81130c886)
coffeedude [Mon, 12 May 2008 22:33:01 +0000 (17:33 -0500)]
net ads: Upper case he realm name when calling kinit() using machine creds.
Needed fix for the DNS Update option as part of "net ads join"
(cherry picked from commit
aebae0b71b427838fdc6344d69d6dea87a5dd58b)
Michael Adam [Fri, 9 May 2008 22:13:11 +0000 (00:13 +0200)]
loadparm: Fix activation of registry globals in lp_load_*.
This completes
bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.
Michael
Jeremy Allison [Fri, 9 May 2008 21:54:06 +0000 (14:54 -0700)]
Fix replacement getpass. If we ^C at the prompt echo was left off.
Fix bug #5456. Karolin please pull for 3.2-stable.
Jeremy.
Karolin Seeger [Fri, 9 May 2008 09:59:55 +0000 (11:59 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.
Karolin
Jeremy Allison [Fri, 9 May 2008 05:07:27 +0000 (22:07 -0700)]
Fix bug #5452 - smbclient put always creates zero length
files. Thanks to Kai Engert <kengert@redhat.com> for
reporting.
Karolin - this is a showstopper and must be pulled
into 3.2-stable. Thanks !
Jeremy.
Michael Adam [Thu, 8 May 2008 15:44:41 +0000 (17:44 +0200)]
Revert "IDL: Import drsuapi.idl from samba4."
This reverts commit
f583e99cef55156fa5294c3eaef0cd29740af5f1.
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Fix several DRSUAPI calls."
This reverts commit
aa7308fbc37eb9a26b4583b1ce2ca435b0648541.
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: For the fun of it, build drsuapi.idl."
This reverts commit
192645f63918c8656ca0fac5bb6d2704c9500a15.
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Add autogenerated drsuapi files."
This reverts commit
192ffa3835c407d5603f47c1633a075869daae01.
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Build nbt.idl always."
This reverts commit
933abaeb321428aa7092a5d87af77b981be6359e.
Michael Adam [Sun, 13 Apr 2008 13:21:31 +0000 (15:21 +0200)]
registry: refactor common part of registry initialization out.
into a new function registry_init_common().
Michael
(cherry picked from commit
5da52b95ac69e4abfbc44335df2447bec8f16e13)
Björn Jacke [Wed, 9 Apr 2008 16:20:07 +0000 (18:20 +0200)]
fix some extrasemi compile warnings
(cherry picked from parts of
cbdb79b7a1044945e515a294f487e4c1a9c91be5)
(cherry picked from commit
49be6c8dac6ddb90cd3ea2324d2dbc5d7cc503dd)
Michael Adam [Sun, 13 Apr 2008 13:12:04 +0000 (15:12 +0200)]
registry: change registry_init_basic() to return WERROR instead of bool
Michael
(cherry picked from commit
44018f864a40604196863c032e6f10ffbf7ee8b4)
Michael Adam [Sun, 13 Apr 2008 13:25:47 +0000 (15:25 +0200)]
registry: change registry_init_smbconf() to return WERROR instead of bool
Michael
(cherry picked from commit
7c343c60574cda091f59861fbcb2893aefb564e9)
(cherry picked from commit
6c898b0285a2f822fe401cd0ced1e82873ec7c6d)
Michael Adam [Fri, 4 Apr 2008 10:59:21 +0000 (12:59 +0200)]
net_registry: fix build/linking of net_registry.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
6acb709ed872c3864fde48eb396e7b9c3103c070)
Michael Adam [Thu, 8 May 2008 15:44:03 +0000 (17:44 +0200)]
Revert "Add infrastructure for reading/storing Group Policy state and control data in the registry."
This reverts commit
f673bbd300d972dd7ae2d092b3b1e642ed29cfd2.
Michael Adam [Thu, 8 May 2008 15:44:03 +0000 (17:44 +0200)]
Revert "Add Group Policy extension infrastructure."
This reverts commit
6d543b1a1a5a7af98affc9aea2edf650cb476379.
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Add "registry" Group Policy extension."
This reverts commit
4e93301ca4931908a7d1994be45c57002f8c6fea.
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Add gp_get_machine_token()."
This reverts commit
2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20.
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Fix the build w/o ldap."
This reverts commit
5f592d030b7e94331a634e0d625aefc60cfb1f70.
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "Fix gp_find_file() which broke during the pstring removal."
This reverts commit
f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4.
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "Bind Group Policy processing closer to the samba registry."
This reverts commit
e9c56250eb7a2dc4e69962c5b48875834941ccfc.
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc()."
This reverts commit
4717e6d0cf9df53a55e5d55ede5480181b33920d.
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "libgpo: replace hand-crafted registry initialization by registry_init_basic."
This reverts commit
10ae8accb486956ebb1638cee540868a11623b11.
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "libgpo: open the registry in gp_init_reg_ctx()."
This reverts commit
4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d.
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs..."
This reverts commit
7b16cb1023abd4fb2b2f08cf723d38c8c6ae68a0.
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "fix some extrasemi compile warnings"
This reverts commit
cbdb79b7a1044945e515a294f487e4c1a9c91be5.
Michael Adam [Thu, 8 May 2008 15:43:59 +0000 (17:43 +0200)]
Revert "registry: change registry_init_basic() to return WERROR instead of bool"
This reverts commit
6a31e659cb371395dff0906786f3c6ef0cc2b3de.
Michael Adam [Thu, 8 May 2008 15:43:59 +0000 (17:43 +0200)]
Revert "registry: refactor common part of registry initialization out."
This reverts commit
5da52b95ac69e4abfbc44335df2447bec8f16e13.
Michael Adam [Thu, 8 May 2008 15:43:59 +0000 (17:43 +0200)]
Revert "registry: change registry_init_smbconf() to return WERROR instead of bool"
This reverts commit
7c343c60574cda091f59861fbcb2893aefb564e9.
Michael Adam [Thu, 8 May 2008 15:43:59 +0000 (17:43 +0200)]
Revert "gpo: make integer debug print more readable."
This reverts commit
b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5.
Michael Adam [Thu, 8 May 2008 15:43:58 +0000 (17:43 +0200)]
Revert "libgpo: fix build warning."
This reverts commit
cb3f1df7d8f35848a432764ea7d6720ec131ede1.
Michael Adam [Thu, 8 May 2008 15:43:58 +0000 (17:43 +0200)]
Revert "libgpo: try nicer output when dumping gpo registry values."
This reverts commit
2b788429478868d1b0cbfd88027809be33edcfc5.
Michael Adam [Thu, 8 May 2008 15:43:58 +0000 (17:43 +0200)]
Revert "gpo: add scripts plugin."
This reverts commit
cd6388f04041a667bf0909d81e8af5f7b3bdc4af.
Michael Adam [Thu, 8 May 2008 15:43:57 +0000 (17:43 +0200)]
Revert "libgpo: Fallback to NTLMSSP fails while pulling policy from SYSVOL."
This reverts commit
7ed1397e25d50e6616040677cfe26148e7211538.
Jelmer Vernooij [Thu, 8 May 2008 09:36:51 +0000 (11:36 +0200)]
Revert Samba 4-compatible DCE/RPC API.
This code isn't finished yet.
Günther Deschner [Tue, 6 May 2008 15:09:44 +0000 (17:09 +0200)]
netapi: add -f switch for DsGetDCName() example and be more verbose on output.
Guenther
(cherry picked from commit
3feaa9829cc5bdeb7a5401c3c24b3811816396ce)
Günther Deschner [Tue, 6 May 2008 15:02:31 +0000 (17:02 +0200)]
wins: fix null pointer crash in nss_wins module.
Guenther
(cherry picked from commit
5bf47ebf0fb9f7d94ed36bce6bcaa31b508009bd)
Volker Lendecke [Tue, 6 May 2008 13:07:52 +0000 (08:07 -0500)]
Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2315-g64d21f3
The branch, v3-3-test has been updated
via
64d21f39636019d6a17f84efc6fb9e61e67a235e (commit)
from
87383a4605ab99d32fccae7793dc5292b8f3e25b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit
64d21f39636019d6a17f84efc6fb9e61e67a235e
Author: Volker Lendecke <vl@samba.org>
Date: Tue May 6 15:06:12 2008 +0200
Fix a memleak in construct_printer_info_7()
Also fix a "ignoring asprintf result" warning
-----------------------------------------------------------------------
Summary of changes:
source/rpc_server/srv_spoolss_nt.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
Jeremy Allison [Tue, 6 May 2008 22:46:34 +0000 (15:46 -0700)]
Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Karolin, I think this should be pulled into 3.2-stable even
though it's a feature change as otherwise there's no way for
3.2 to use recvfile zerocopy, which is an advertised feature.
Others please comment.
Jeremy.
Jeremy Allison [Tue, 6 May 2008 16:23:00 +0000 (09:23 -0700)]
Fix bug #5095, "Manage Documents privilege is not functional".
Should map the created sd to printer jobs, not printer.
Confirmed fix by the reporter. Karolin please pull for 3.2-stable.
Jeremy.
Volker Lendecke [Tue, 6 May 2008 11:53:45 +0000 (13:53 +0200)]
Fix a panic in the [ug]id2sid valgrind bug fix
Always, always run "make test" before pushing stuff :-)
Volker Lendecke [Sat, 3 May 2008 00:41:10 +0000 (02:41 +0200)]
Fix a valgrind bug in the new [ug]id2sid cache
When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
Günther Deschner [Tue, 6 May 2008 07:48:16 +0000 (09:48 +0200)]
build: fix the build w/o ldap.
Guenther
(cherry picked from commit
a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1)
Günther Deschner [Mon, 5 May 2008 15:00:37 +0000 (10:00 -0500)]
Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2279-gd077ef6
The branch, v3-3-test has been updated
via
d077ef64cd1d9bbaeb936566c2c70da508de829f (commit)
from
6e0e0cb8dd6f57de36c041e2ba4b82feeb357ce8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit
d077ef64cd1d9bbaeb936566c2c70da508de829f
Author: Günther Deschner <gd@samba.org>
Date: Mon May 5 16:58:24 2008 +0200
Fix client authentication with -P switch in client tools (Bug 5435).
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/client/client.c | 5 ++++
source/include/popt_common.h | 1 +
source/lib/popt_common.c | 30 +------------------------
source/lib/util.c | 49 +++++++++++++++++++++++++++++++++++++++++-
source/libsmb/cliconnect.c | 22 +++++++++++++++++-
source/rpcclient/rpcclient.c | 15 ++++++++++++-
source/utils/smbcacls.c | 14 +++++++++++-
source/utils/smbcquotas.c | 15 ++++++++++++-
source/utils/smbtree.c | 6 +++++
9 files changed, 122 insertions(+), 35 deletions(-)
Changeset truncated at 500 lines:
Karolin Seeger [Mon, 5 May 2008 11:05:17 +0000 (06:05 -0500)]
Samba Shared Repository - branch v3-2-stable updated -
release-3-2-0pre3-9-g49e5663
The branch, v3-2-stable has been updated
via
49e56637971c8ae2f091aa61c6f6c878b4accd23 (commit)
from
52b64605e8210234118c445e416ad0c7980a730c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable
- Log -----------------------------------------------------------------
commit
49e56637971c8ae2f091aa61c6f6c878b4accd23
Author: Volker Lendecke <vl@samba.org>
Date: Mon May 5 12:45:12 2008 +0200
Fix dfs_Enum: In form_junctions, correctly check for malloc failure
(cherry picked from commit
1b1614c3261e1e93a2cad1f1063e28cbbb13f434)
-----------------------------------------------------------------------
Summary of changes:
source/smbd/msdfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
Jeremy Allison [Thu, 1 May 2008 15:49:18 +0000 (08:49 -0700)]
Tidyup to ensure '\n' is treated identically in all
cases. Karolin please pull for 3.2-stable.
Jeremy.
Jeremy Allison [Thu, 1 May 2008 15:40:30 +0000 (08:40 -0700)]
Fix bug #5434 found by Ted Percival <ted@midg3t.net>.
Introduced by me in the strlcpy cleanup. Ensure the
loaded password doesn't contain the '\n' at the end.
Karolin - please pull for 3.2 stable !
Jeremy.
Günther Deschner [Wed, 30 Apr 2008 16:23:26 +0000 (18:23 +0200)]
pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Guenther
(cherry picked from commit
5b65df6245c1458ca21cc602df11c49aa97a25c5)
Jeremy Allison [Wed, 30 Apr 2008 16:28:42 +0000 (09:28 -0700)]
Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6 in this case.
Karolin, please pull for 3.2-stable.
Jeremy.
Gerald W. Carter [Wed, 30 Apr 2008 15:09:43 +0000 (10:09 -0500)]
Winbind: Prevent cycle in children list when reaping dead child processes.
Thanks to Glenn Curtis and Kyle Stemen @ Likewise. Their explanation is:
In winbindd_dual.c, there is a list of children processes that
is maintained using macros DTLIST_ADD and DTLIST_REMOVE. In the
case when a scheduled_async_request fails, the particular child
was located in the list, and its attributes were cleared out
and it was reused for a subsequent async request. The bug was that
the new request would queue the same node into the doubly-linked
list and would result in list->next pointing to the same node as
list itself. This would set up an infinite loop in the processing of
the for loop when the list of children was referenced.
Solution was to fully remove the child node from the list, such that
it could be inserted without risk of being inserted twice.
Note that the child is re-added to the list in fork_domain_child() again.
(cherry picked from commit
b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78)
Gerald W. Carter [Wed, 30 Apr 2008 14:57:15 +0000 (09:57 -0500)]
BUG 5107: Fix handling of large DNS replies on AIX and Solaris.
On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8)
truncated replies never give back a resp_len > buflen
which ends up causing DNS resolve failures on large tcp DNS replies.
Also add more debug lines about processing the DNS reply.
(cherry picked from commit
5ed9b92097460cd8180db806a08213e97cfb8daa)
Gerald W. Carter [Wed, 30 Apr 2008 14:43:00 +0000 (09:43 -0500)]
BUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users}
Raise the debug msgs from Lvl 0 in the create_builtin_XX() functions
to prevent unnecessary panic from people reading the logs.
(cherry picked from commit
2983b9dc790e0f90ec1e6add131438c6bfd361b4)
Jeremy Allison [Mon, 28 Apr 2008 22:06:14 +0000 (15:06 -0700)]
Fix bug found by Igor Mammedov <niallain@gmail.com> where we are
not returning a directory value for a QPATHINFO on a msdfs link
with a non-dfs path. Windows does this.
Jeremy.
Karolin Seeger [Mon, 28 Apr 2008 13:26:57 +0000 (15:26 +0200)]
man smbcacls: Correct possible flag values.
This patch fixes bug #620.
Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>!
Karolin
(cherry picked from commit
70f6966099788f4bdb0298a68d4cb0b90964dd8f)
Karolin Seeger [Mon, 28 Apr 2008 08:01:12 +0000 (10:01 +0200)]
WHATSNEW: Add changes from Steven Danneman.
Karolin
Karolin Seeger [Mon, 28 Apr 2008 07:19:41 +0000 (09:19 +0200)]
WHATSNEW: Preparation for 3.2.0rc1.
Karolin
Volker Lendecke [Sun, 27 Apr 2008 10:16:23 +0000 (12:16 +0200)]
Next round fixing bug 5420, build on IRIX
The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.
Volker Lendecke [Sat, 26 Apr 2008 07:48:17 +0000 (09:48 +0200)]
Attempt to fix the build on IRIX: Bug 5420
Steven Danneman [Sat, 26 Apr 2008 01:34:46 +0000 (18:34 -0700)]
Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries
The ads_do_search_all_args() function attempts to string together several
LDAPMessage structures, returned across several paged ldap requests, into a
single LDAPMessage structure. It does this by pulling entries off the second
LDAPMessage structure and appending them to the first via the OpenLDAP specific
ldap_add_result_entry() call.
The problem with this approach is it skips non-entry messages such as the
result, and controls. These messages are leaked.
The short term solution as suggested by Volker is to replace the ads_*_entry()
calls with ads_*_message() calls so we don't leak any messages.
This fixes the leak but doesn't remove the dependence on the OpenLDAP specific
implementation of ldap_add_result_entry().
Jeremy Allison [Fri, 25 Apr 2008 15:29:08 +0000 (08:29 -0700)]
Remove hard coded sizes.
Jeremy.
Volker Lendecke [Fri, 25 Apr 2008 15:04:44 +0000 (17:04 +0200)]
Revert "mount.cifs: Zero mountpassword content before freeing."
This reverts commit
d99a31848bd2172c15500dd61ce30fef963c1ac6.
Volker Lendecke [Fri, 25 Apr 2008 14:48:00 +0000 (16:48 +0200)]
Revert "Make some fns static"
This reverts commit
e04fc36f223d8d905a930c077a6cf6c48ee57af7.
Volker Lendecke [Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)]
Revert "Remove a redundant TALLOC_FREE"
This reverts commit
8e348ab8652e1893be78384404f57df1dbbcea48.