Karolin Seeger [Mon, 23 Jun 2008 10:10:18 +0000 (12:10 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.
Karolin
(cherry picked from commit
769d9434349d4c683e92cea34cb5bd177273fe40)
Karolin Seeger [Mon, 23 Jun 2008 08:15:53 +0000 (10:15 +0200)]
Samba3 HOWTO: Remove trailing whitespaces.
Karolin
(cherry picked from commit
c7a9c903acbba9c70211e6f3c25964533bbc1622)
Karolin Seeger [Mon, 23 Jun 2008 08:28:09 +0000 (10:28 +0200)]
man pages: Correct version in man winbindd again.
Karolin
(cherry picked from commit
ef44968276bfde2fdd3370e2558fb469357414be)
John H Terpstra [Wed, 28 May 2008 16:02:26 +0000 (11:02 -0500)]
Fixed publishing date info.
(cherry picked from commit
b96c9d54cfd29ec87d59655839a4136977a98032)
John H Terpstra [Wed, 28 May 2008 16:00:49 +0000 (11:00 -0500)]
Added TDB File documentation requested by some users.
(cherry picked from commit
5035311af639336fdc51fa9829e984ff281216f9)
John H Terpstra [Mon, 19 May 2008 18:02:08 +0000 (13:02 -0500)]
Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so.
(cherry picked from commit
3a8ea6be389bedbcdb5668664d862768c026f669)
John H Terpstra [Mon, 19 May 2008 18:00:01 +0000 (13:00 -0500)]
Clarification that hosts resolution is done by winbind only on IRIX, all other systems use libnss_wins.so.
(cherry picked from commit
2a953d6ba252e5ba4e28b7fae5979e7c47fe9bd0)
Volker Lendecke [Mon, 23 Jun 2008 05:14:46 +0000 (07:14 +0200)]
init_shared_module -> init_samba_module
(cherry picked from commit
1b12e5f9ed28ac57c06d9597a8f3c57cde01beef)
Volker Lendecke [Sun, 22 Jun 2008 11:06:35 +0000 (13:06 +0200)]
Fix a crash in _dfs_Enum
(cherry picked from commit
4a996476297963d4cb300b4d45c23e83a493c339)
Volker Lendecke [Sun, 22 Jun 2008 10:50:30 +0000 (12:50 +0200)]
Fix an uninitialized variable access in callers of parse_msdfs_symlink
At least form_junctions() does not initialize refcount, and I don't see it in
get_referred_path(). For the latters, the callers might initialize it. But even
if they did, I think parse_msdfs_symlink() should unconditionally return the
number of referrals it found. I don't think it makes sense to count them up
from somewhere else.
(cherry picked from commit
d75905ad66e96d4967eb8780d3a980eccb796898)
Volker Lendecke [Sat, 21 Jun 2008 14:48:07 +0000 (16:48 +0200)]
Fix a double-closedir() in form_junctions()
(cherry picked from commit
394f4509bc5dd31801ef83ee9cc29c1e3a9f1078)
Volker Lendecke [Sat, 21 Jun 2008 14:15:02 +0000 (16:15 +0200)]
Attempt to fix the darwin build
(cherry picked from commit
9a4b5591a40e9150fdd3fc706ebb520d65eb1989)
Volker Lendecke [Fri, 20 Jun 2008 12:30:02 +0000 (14:30 +0200)]
Use "init_shared_module" instead of "init_module" for initializing .so's
(cherry picked from commit
eabea09243d164c03b9fdfc0d569054c03e67edf)
Volker Lendecke [Thu, 19 Jun 2008 07:50:34 +0000 (09:50 +0200)]
Fix the build on FreeBSD 4.6.2
(cherry picked from commit
a475dee8036156d4c8330bae97208ec546342f42)
Jeremy Allison [Fri, 20 Jun 2008 20:23:31 +0000 (13:23 -0700)]
Fix bug #5531 - fix conversion of ns units when converting from nttime to timespec.
Fix from hkurma@datadomain.com.
Jeremy.
(cherry picked from commit
c8471dd5793924d482af662706deb92f3fad0bdf)
Jeremy Allison [Fri, 20 Jun 2008 19:49:14 +0000 (12:49 -0700)]
Fix bug #5533. Winbindd fails to cope correctly with a workgroup name containing a '.'.
Jeremy.
(cherry picked from commit
fae027e937c2f0078193b8cc27af6db2d7c233f5)
John H Terpstra [Thu, 19 Jun 2008 21:11:31 +0000 (16:11 -0500)]
Fixing net help info.
(cherry picked from commit
f62909d2b457f3494c9536c994a9209f8cc0c331)
Volker Lendecke [Wed, 18 Jun 2008 14:30:37 +0000 (16:30 +0200)]
Revert "Fix a memleak in svcctl_init_keys()"
This reverts commit
b1afb31f3cadd4749bf6e3eb5d8935588bf8ebfc.
This one is very strange: I need to investigate why valgrind showed it as
leaking, and why in my initial tests this did not fail.
(cherry picked from commit
24730f5981efb920811e7929a9483bd72bb0984c)
Michael Adam [Wed, 18 Jun 2008 12:50:53 +0000 (14:50 +0200)]
Fix Bug #5548 (segfauls in handle_include with %m macro expansion).
In alloc_sub_basic, when expanding '%m', substitute "" instead of
NULL for remote_machine when this is NULL. Else a NULL string
is returned.
Michael
(cherry picked from commit
c65b456c6a145d15b7fd27a2a3440a0709fc3277)
(cherry picked from commit
ffaed197d8cb261e2765b2de6cad17cac7d49672)
Volker Lendecke [Tue, 17 Jun 2008 19:08:56 +0000 (21:08 +0200)]
Fix a brown paper bag segfault in clitar
Thanks to "No Body is Perfect" from gmail, whoever that is :-)
Volker
(cherry picked from commit
679d8dfa390601f777bfb43c02cd921eae5edcf4)
Volker Lendecke [Tue, 17 Jun 2008 14:06:42 +0000 (16:06 +0200)]
Fix a memleak in svcctl_init_keys()
(cherry picked from commit
675bb53398ba29c53d2dcf3c7122cf4770c2f938)
Volker Lendecke [Tue, 17 Jun 2008 12:53:07 +0000 (14:53 +0200)]
Fix a segfault in wbcLookupSid
If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain
and *name have not been initialized yet. So the cleanup routine in the done:
part of the routine (which did not check for domain!=NULL etc) would access
uninitialized memory.
Jerry, please check!
Thanks,
Volker
(cherry picked from commit
3d7e0cc40b1992f4555807acec4f00450e30e2de)
Volker Lendecke [Tue, 17 Jun 2008 13:17:22 +0000 (15:17 +0200)]
Fix a segfault in wbcLookupRids
The done: part could access uninitialized memory if intermediate
BAIL_ON_WBC_ERROR fire.
Jerry, please check!
Thanks,
Volker
(cherry picked from commit
31f4c33dcc744e81be54389756378e25aa2bb75e)
Volker Lendecke [Tue, 17 Jun 2008 12:31:07 +0000 (14:31 +0200)]
Replace a very unusual variable declaration by a more conventional one
(cherry picked from commit
b37030644e32249706d431ad93881d540f351c50)
Karolin Seeger [Tue, 17 Jun 2008 11:18:17 +0000 (13:18 +0200)]
man pages: Move 'smbsh' man page to the examples directory.
smbsh.c is located in the examples directory. It does not make sense
to install a man page without installing the tool itself.
This fixes bug #4724.
Karolin
(cherry picked from commit
797ed744b15c94fa4831d9796b40bb0ab5df55b7)
(cherry picked from commit
23981be7a009dc9e056ba2e12c5df6e3a13ab193)
Volker Lendecke [Tue, 17 Jun 2008 11:00:13 +0000 (13:00 +0200)]
Fix a memleak in wbcAuthenticateUserEx()
(cherry picked from commit
72b381689af9cae83ab08532cffd0188f2da4807)
Volker Lendecke [Tue, 17 Jun 2008 10:14:49 +0000 (12:14 +0200)]
Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
This reverts commit
6bcfa82ff15531c64e0db27dcc58e5847c513aa6.
(cherry picked from commit
6f3183d0c4880dcf243239cd1ed018b9d10a4249)
Volker Lendecke [Tue, 17 Jun 2008 10:15:05 +0000 (12:15 +0200)]
Revert "Fix a memleak caused by a crappy get_sorted_dc_list() API"
This reverts commit
ba10b9c077272c521504b3a638bba73446efc61c.
(cherry picked from commit
4b3690a730895f6a19b14ee09ca0a2a131c3ba21)
Jeremy Allison [Thu, 5 Jun 2008 21:28:28 +0000 (14:28 -0700)]
More correct fix (hopefully :-) for any memory leaks.
Jerry promised to check :-). Vl also please review.
Jeremy.
Okay -- I have to admit that this is the better fix. With my fixes I got a
double-free when using security=domain. Sorry...
Volker
(cherry picked from commit
3b0d688b1b16c9054340d08986d0fa91f7fff9ad)
Günther Deschner [Tue, 17 Jun 2008 09:10:37 +0000 (11:10 +0200)]
net_vampire: fix samsync_process_database(). Final fix for Bug #5542.
Turns out the password hashes are not rid encrypted in the samsync reply.
Guenther
(cherry picked from commit
55259f408b7bc356367d872a38a54174d364fd2b)
Günther Deschner [Tue, 17 Jun 2008 08:36:53 +0000 (10:36 +0200)]
net_vampire: fix build warning.
Guenther
(cherry picked from commit
eb4232fec05cd87ea85a781b84a3fbe85f469703)
(cherry picked from commit
28b85a92160c7880253725cd247e064020f8be41)
Günther Deschner [Tue, 17 Jun 2008 08:31:44 +0000 (10:31 +0200)]
netapi: Fix Bug #5545 (libnetapi_init without $USER)
Based on patch from Erik van Pienbroek.
Guenther
(cherry picked from commit
71f4cf773022525ba617f09c495dbff97f8eb2d5)
(cherry picked from commit
7602a4dbfb1b2ae9963f017be62c999af0c2e043)
Karolin Seeger [Mon, 16 Jun 2008 13:58:51 +0000 (15:58 +0200)]
WHATSNEW: Updates changes since 3.2.0rc2.
Karolin
(cherry picked from commit
83dfdfccfa9a07075912caeafde7355f4e7ce1ec)
Karolin Seeger [Fri, 13 Jun 2008 19:31:34 +0000 (21:31 +0200)]
net: Fix several typos in comments.
-argc -> argv (where argv is meant)
-destoyed -> destroyed
-compleation -> completion
-aquired -> acquired
-Unify spelling of some words like rpc-server -> RPC server.
-Add missing punctuation marks.
Karolin
(cherry picked from commit
7c22fc6ebaa1a83213cbb7c08bea108264f89486)
Volker Lendecke [Fri, 13 Jun 2008 14:05:31 +0000 (16:05 +0200)]
Fix a handle leak for error returns in ldb_try_load_dso
Coverity ID 464
(cherry picked from commit
496d44d2f21661c85bf07e8eb7cae6298fefd900)
Volker Lendecke [Sat, 14 Jun 2008 22:14:27 +0000 (00:14 +0200)]
Fix group parsing in libwbclient's copy_group_entry()
This (also) fixes a flaw pointed out by the IBM checker. When verifying that I
found out that the parsing was not working as I would have expected it to.
Jerry, please check!
(cherry picked from commit
c2c7790155ab02e1e351caf2bed192ce72913663)
Volker Lendecke [Sat, 14 Jun 2008 22:22:47 +0000 (00:22 +0200)]
Fix an uninitialized variable found by the IBM checker
BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's
initialized.
Stefan, please check!
Volker
(cherry picked from commit
b59636f78d351ed6d52c4a9fdccdb7850388526c)
Volker Lendecke [Mon, 16 Jun 2008 11:27:16 +0000 (13:27 +0200)]
Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
(cherry picked from commit
996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb)
Volker Lendecke [Fri, 13 Jun 2008 13:30:08 +0000 (15:30 +0200)]
Fix a crash in _winreg_QueryValue
Coverity ID 474, value_length and type are both unique, not ref pointers and
can thus be NULL.
Karolin, please merge this to -stable.
Thanks,
Volker
(cherry picked from commit
999533c0ccced59141d8baff5bc248d63e2a966f)
Günther Deschner [Fri, 13 Jun 2008 10:20:01 +0000 (12:20 +0200)]
net: Fix bug #5542 (samsync contains empty passwords).
Guenther
(cherry picked from commit
1a22e975dd1255f3557c1cd873d877aa35822afc)
Günther Deschner [Fri, 13 Jun 2008 09:57:09 +0000 (11:57 +0200)]
samsync: add samsync_fix_delta_array()
This code is vastly based on samba4 code.
Guenther
(cherry picked from commit
5b68be96996a710988b1fd1c176cd5dff0f2c6af)
Karolin Seeger [Thu, 12 Jun 2008 07:34:15 +0000 (09:34 +0200)]
man pages: Fix indentation in smb.conf section about 'map readonly'.
(cherry picked from commit
0f0d81a89ae2ebae7d031a3a8633c3a924ebcbae)
Christoph Zauner [Wed, 11 Jun 2008 13:15:22 +0000 (15:15 +0200)]
man pages: Added improvements.
(cherry picked from commit
7fecd548af0a21b9644bd70e22a38aaa28777aa0)
Karolin Seeger [Thu, 12 Jun 2008 07:26:32 +0000 (09:26 +0200)]
man pages: Fix typo in smb.conf section about the 'deleteprinter command'.
Karolin
(cherry picked from commit
5fa77c216bc43c3558aff3373f74554efdb9210d)
Christoph Zauner [Wed, 11 Jun 2008 13:17:21 +0000 (15:17 +0200)]
man pages: Fix typos.
(cherry picked from commit
881eaa26e071a7fde9c6fc5eb42ae122d0ddd490)
Christoph Zauner [Wed, 11 Jun 2008 12:49:30 +0000 (14:49 +0200)]
Samba3-HOWTO: Fix typos.
(cherry picked from commit
2391d999eb733bd8d12631478f4318608225cbb6)
Christoph Zauner [Wed, 11 Jun 2008 12:05:47 +0000 (14:05 +0200)]
Volker Lendecke [Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)]
Add -brtl to the AIX linker flags
Thanks to William Jojo
(cherry picked from commit
74b195b54416d9e3eb46079a71eed31a15c7293a)
Volker Lendecke [Thu, 12 Jun 2008 10:36:15 +0000 (12:36 +0200)]
AIX build fixes from William Jojo -- thanks
(cherry picked from commit
cb91a47576e820390bc62195702aaae93a2feba6)
Volker Lendecke [Wed, 11 Jun 2008 16:56:20 +0000 (18:56 +0200)]
Fix max_fd calculation in event_loop_once
For some bugs I really wonder how they can go undetected for so long.
Fix a bug reported by Mathias Dietz. No samba bugzilla entry, but still 100%
needed for 3-2-stable.
Volker
(cherry picked from commit
82c994dabc47bb4755c883a1f3651bb5d65cf2c5)
Günther Deschner [Wed, 11 Jun 2008 07:52:56 +0000 (09:52 +0200)]
pam_winbind: Update cached creds during password change.
Fix is from Bo Yang @ Novell.
Thanks!
(cherry picked from commit
e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
(cherry picked from commit
49178f979f14ced834dda3104044bb8a84d4ebdb)
Volker Lendecke [Tue, 10 Jun 2008 14:14:30 +0000 (16:14 +0200)]
Correctly find a [u]int32_t replacement
(cherry picked from commit
346375cda557a675f8f882ca2ae8edffec725a72)
Volker Lendecke [Tue, 10 Jun 2008 12:15:01 +0000 (14:15 +0200)]
Fix some scary FC9 warnings
(cherry picked from commit
6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
Karolin Seeger [Tue, 10 Jun 2008 13:30:19 +0000 (15:30 +0200)]
man pages: Don't refer to numbered chapter of the HOWTO collection.
This fixes bug #5527.
Thanks to the Debian package maintainers for reporting!
Karolin
(cherry picked from commit
b6696f4fbfc6aaffceef71c6099b8eaea58c1172)
Karolin Seeger [Tue, 10 Jun 2008 08:54:21 +0000 (10:54 +0200)]
man pages: Fix broken smb.conf section about the 'get quota command'.
This fixes bug #5422.
Thanks to the Debian package maintainers for reporting!
Karolin
(cherry picked from commit
04e2470e2eeef34362f2893ec062ae16f74c28ed)
Karolin Seeger [Tue, 10 Jun 2008 08:17:14 +0000 (10:17 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
eb99ac3618269103b434afaca13295ab5c2cc478)
Jim McDonough [Mon, 9 Jun 2008 15:45:39 +0000 (11:45 -0400)]
Don't reset password last set time just because the expired flag
is set to 0. If the account wasn't expired but autolocked,
using "net user /dom <username> /active:y" would clear this,
incorrectly setting the current time as the new "password last set"
time.
(cherry picked from commit
2089c692cfe5a4f9bbed1e658c6f73c310dbff57)
Karolin Seeger [Mon, 9 Jun 2008 14:53:45 +0000 (16:53 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
1b9894622fccd044647abfe2c13c3018f72a6949)
Volker Lendecke [Mon, 9 Jun 2008 14:07:57 +0000 (16:07 +0200)]
shrink ldbtools
Thanks to Björn Jacke for noticing :-)
(cherry picked from commit
8faee1cee829d749835a66d219170ccfd85151d0)
Karolin Seeger [Mon, 9 Jun 2008 13:05:26 +0000 (15:05 +0200)]
man pages: Fix synonyms.
Karolin
(cherry picked from commit
d1ae27ddbe9c30996d2c593a37e65581c3ff482c)
Karolin Seeger [Mon, 9 Jun 2008 13:03:12 +0000 (15:03 +0200)]
man pages: Remove wrong synonym.
Karolin
(cherry picked from commit
4951bc8ff1da9bfc79b9b403b420f07299266df6)
Karolin Seeger [Mon, 9 Jun 2008 11:42:15 +0000 (13:42 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
ead68586fc1d3d8ac83d069a1355573026397ac6)
Volker Lendecke [Mon, 9 Jun 2008 13:34:51 +0000 (15:34 +0200)]
Fix the compile on NetBSD -- missing prototypes
(cherry picked from commit
11236d266e3703eb3aca4b96e2ed9da76614ec12)
Volker Lendecke [Mon, 9 Jun 2008 13:33:28 +0000 (15:33 +0200)]
Fix the compile on NetBSD -- readlink and read are macros there
(cherry picked from commit
435b80a9a2e9324cc20594d922b3d8d6418c27af)
Karolin Seeger [Mon, 9 Jun 2008 10:22:27 +0000 (12:22 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.
Karolin
(cherry picked from commit
7b2150da84e51426b07e259e51dd4cbc3171ba83)
Stefan Metzmacher [Mon, 9 Jun 2008 08:39:48 +0000 (10:39 +0200)]
libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
This fixes ./autogen.sh with autoconf-2.62
metze
(cherry picked from commit
72bb01dda4d425528e28cd96e249595dc6c1952f)
(cherry picked from commit
85111dc2b60ca38027adf129a074641c752cb104)
(cherry picked from commit
24f0c35571b26187c13af933604fe40afed1da34)
Stefan Metzmacher [Mon, 9 Jun 2008 08:38:09 +0000 (10:38 +0200)]
libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
67e43860b4973a458676b36785570bb4a66e046a)
(cherry picked from commit
d786bfc48e20ed7e695a988da6ed56a573afdadc)
(cherry picked from commit
c402acd63a31bace402b361760a7d73f95db3717)
Stefan Metzmacher [Mon, 9 Jun 2008 08:43:48 +0000 (10:43 +0200)]
configure: we require autoconf 2.54
I've tested with autoconf from 2.53 to 2.62.
metze
(cherry picked from commit
a268a6d251e58c27262e11fcd85b8281dfaddd8b)
(cherry picked from commit
21bbd421d4bd2c16f4d8ab94a6a9e3388be4fb82)
Stefan Metzmacher [Mon, 9 Jun 2008 08:27:12 +0000 (10:27 +0200)]
configure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
89663ab4d10586b96807c56de53fd60d2488093c)
(cherry picked from commit
74c644a2bed45d48215914da8002913254a7f54c)
Stefan Metzmacher [Mon, 9 Jun 2008 08:23:27 +0000 (10:23 +0200)]
configure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
426b1e36e262ae47ea62e36e1df8a76c930394bc)
(cherry picked from commit
84a8a7d9e028aa223617a8cb7aa31d5fabd7636e)
Stefan Metzmacher [Mon, 9 Jun 2008 08:19:21 +0000 (10:19 +0200)]
configure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
AC_CACHE_VAL() variables must contain _cv_ to be cached.
metze
(cherry picked from commit
38a03d61ecd35a70905b895b839a994e974cbaf1)
(cherry picked from commit
a7a8abdbac00693a0437d3b3cb1e4e9784a03e51)
Karolin Seeger [Mon, 9 Jun 2008 08:55:16 +0000 (10:55 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
3b8c9ae9826705edd7a3852a9c0ffd0e632094c4)
Günther Deschner [Thu, 5 Jun 2008 17:04:31 +0000 (19:04 +0200)]
netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.
Guenther
(cherry picked from commit
cc1b8de2632e87002cac86838f2a77ab9771ce2c)
Günther Deschner [Thu, 5 Jun 2008 17:02:09 +0000 (19:02 +0200)]
netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(cherry picked from commit
521ea68719524eeef827875e018bb8cba2a92e87)
Günther Deschner [Wed, 4 Jun 2008 23:11:23 +0000 (01:11 +0200)]
netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(cherry picked from commit
8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)
Günther Deschner [Tue, 3 Jun 2008 13:19:46 +0000 (15:19 +0200)]
netdomjoin-gui: some minor fixes + hunting down typecast bugs.
Guenther
(cherry picked from commit
0fa6c8c6a3efd026154e8af54ba73b3d3de1affa)
Jeremy Allison [Sun, 8 Jun 2008 21:19:16 +0000 (14:19 -0700)]
Bugfix noticed by Herb. On using the again: tag as a
goto target we were not reinitializing the array counts.
From Herb:
This is in the file nsswitch/winbindd_cm.c (samba-3.0.30) line 1236
We have a label again: where we keep trying to find the name of the DC
from the list of IPs returned by get_dcs. If we fail to figure out the
name we do a goto again at the end of the function. The problem is we
don't reset the num_dcs, num_addrs, etc and free the memory in the
various arrays. This seems wrong to me. I have a winbindd core where
I have 9 IPs returned for the DCs but at the time of the crash num_dcs
is 87 and if I look through the array dcs it keeps repeating entries
from the same group of 9
Jerry, Volker and Guenther please check.
Jeremy.
(cherry picked from commit
0b2062a499c69c86cc03130542aaf3e92265b65d)
Günther Deschner [Fri, 6 Jun 2008 13:59:52 +0000 (15:59 +0200)]
pam_winbind: fix pam_sm_chauthtok for storing modified cached creds.
Thanks to Bo Yang for pointing this out.
Guenther
(cherry picked from commit
516a067016955938988ab37c777102a14b41e100)
Günther Deschner [Thu, 5 Jun 2008 17:00:05 +0000 (19:00 +0200)]
libnetjoin: add libnet_join_rollback().
This is required now if the join verify failed and we already
modified the local configuration.
Guenther
(cherry picked from commit
2870fe50af5163e30330f5a3ef21d0b7eea85ee5)
Günther Deschner [Thu, 5 Jun 2008 16:58:27 +0000 (18:58 +0200)]
libnetjoin: First store configuration and then verify the join.
Jerry, this fixes the issues while joining with "config backend = registry".
Guenther
(cherry picked from commit
b3d47f099286778252c6df6bf2c1fee0c4e26560)
Gerald W. Carter [Fri, 23 May 2008 20:19:58 +0000 (15:19 -0500)]
Manually port Steven Dannenman fix for using the correct machine domain when
looking up trust credentials in our tdb.
commit
fd0ae47046d37ec8297396a2733209c4d999ea91
Author: Steven Danneman <sdanneman@isilon.com>
Date: Thu May 8 13:34:49 2008 -0700
Use machine account and machine password from our domain when
contacting trusted domains.
(cherry picked from commit
69b37ae60757075a0712149c5f97f17ee22c2e41)
(cherry picked from commit
8a64988fc45aff15359caf16f28ff1712bbe6d5f)
Gerald W. Carter [Fri, 23 May 2008 21:01:45 +0000 (16:01 -0500)]
Manually merge Steven Danneman's patch for SPNEGO auth to a trusted
Win2008 domain (merged from v3-0-test).
commit
8dc4e979776aae0ecaa74b51dc1eac78a7631405
Author: Steven Danneman <sdanneman@isilon.com>
Date: Wed May 7 13:34:26 2008 -0700
spnego SPN fix when contacting trusted domains
cli_session_setup_spnego() was not taking into consideration the situation
where we're connecting to a trusted domain, specifically one (like W2K8)
which doesn't return a SPN in the NegTokenInit.
This caused two problems:
1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we
were always using our default realm, not the realm of the domain we're
connecting to.
2) When falling back on NTLMSSP for authentication we were passing the name
of the domain we're connecting to for use in our credentials when we should be
passing our own workgroup name.
The fix for both was to split the single "domain" parameter into
"user_domain" and "dest_realm" parameters. We use the "user_domain"
parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN
if none was returned in the NegTokenInit2 packet. If no "dest_realm" is
provided we assume we're connecting to our own domain and use the credentials
cache to build the SPN.
Since we have a reasonable guess at the SPN, I removed the check that defaults
us directly to NTLM when negHint is empty.
(cherry picked from
b78b14c88e8354aadf9ba7644bdb1c29245fe419)
(cherry picked from commit
f1e6b40bbc8ce249e2f2a85a1d57ed6b8141e3bb)
Karolin Seeger [Mon, 9 Jun 2008 06:56:11 +0000 (08:56 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
8d4ce48377df7be336d520de9b108f45489c9766)
Karolin Seeger [Mon, 9 Jun 2008 06:47:17 +0000 (08:47 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
79db2228f74e5362736063b7e0793b37516d46c1)
Karolin Seeger [Mon, 9 Jun 2008 06:39:12 +0000 (08:39 +0200)]
Revert "build: add symbol versioning when we build with gnu ld"
This reverts commit
cb5492978b6b157f529806afb2f5fc6202888129.
For more information, please have a look at the discussion on
samba-technical starting with [1].
[1] http://lists.samba.org/archive/samba-technical/2008-June/059511.html
Karolin
(cherry picked from commit
1e5aeb96f92fef8056ec9010e125f4d0d31dd90e)
Volker Lendecke [Sat, 7 Jun 2008 06:48:13 +0000 (08:48 +0200)]
Fix a memleak in fetch_ldap_pw
Fix Coverity ID 572, also fix the error check for secrets_fetch failing
(cherry picked from commit
2663c81a782fd4394a9feaaaa987c7f6d38ca5da)
(cherry picked from commit
56447baf3bca6cc7110420d84188291f6c785daf)
Volker Lendecke [Sat, 7 Jun 2008 06:50:02 +0000 (08:50 +0200)]
Fix a memleak in secrets_fetch_trust_account_password_legacy
Coverity ID 571
(cherry picked from commit
a551773e34af1c118f77784a285e1b885da8655d)
(cherry picked from commit
682ec284b189e12de4fff9f000b12960a69d90cb)
Volker Lendecke [Sat, 7 Jun 2008 06:51:35 +0000 (08:51 +0200)]
Fix a memleak in secrets_fetch_afs_key
Coverity ID 570
(cherry picked from commit
0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387)
(cherry picked from commit
fb708dafb052dae7733657487ac73a533750f6f9)
Volker Lendecke [Sat, 7 Jun 2008 07:04:03 +0000 (09:04 +0200)]
Add STREAMINFO op to vfs_full_audit
Fix Coverity ID 552 and 553
(cherry picked from commit
c46e10d2605b22d31675976e62e5ae61d73c8a0a)
(cherry picked from commit
20aa14480e9ae6cea663c67fe9e2d1d3b6fafa7d)
Günther Deschner [Thu, 5 Jun 2008 16:54:14 +0000 (18:54 +0200)]
mailslot: always pull a command 25 type reply.
Guenther
(cherry picked from commit
1ce726b951621cb4b34069c31d1318fc04ad2389)
(cherry picked from commit
80c7fbb4edb29b3c670c21baa5f613b942e68e1e)
Karolin Seeger [Thu, 5 Jun 2008 13:18:41 +0000 (15:18 +0200)]
Samba3-HOWTO: Add improvements/fixes.
These improvements/fixes were reported by
Pete Boyd <petes-bugs@thegoldenear.org> in bug #4203.
Karolin
(cherry picked from commit
497196e713b05901f02a46755bce6a63734dcf4c)
Volker Lendecke [Thu, 5 Jun 2008 08:38:58 +0000 (10:38 +0200)]
Fix a memleak caused by a crappy get_sorted_dc_list() API
(cherry picked from commit
ba10b9c077272c521504b3a638bba73446efc61c)
Volker Lendecke [Thu, 5 Jun 2008 08:25:02 +0000 (10:25 +0200)]
Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(cherry picked from commit
6bcfa82ff15531c64e0db27dcc58e5847c513aa6)
Günther Deschner [Tue, 3 Jun 2008 18:41:55 +0000 (20:41 +0200)]
build: fix build warning.
Guenther
(cherry picked from commit
62fcad0c0548ab53e9c20cfd6301972c68172b95)
(cherry picked from commit
69e93e2b88c880f770b416b6f5645b8d4c8bf5d8)
Günther Deschner [Wed, 4 Jun 2008 16:05:15 +0000 (18:05 +0200)]
libnetjoin: correctly copy returned lsa policy sid.
Guenther
(cherry picked from commit
12d333fd90450fdd3fa8029502509d872cf5cae0)
Günther Deschner [Wed, 4 Jun 2008 00:43:41 +0000 (02:43 +0200)]
libnetjoin: only close existing policy handles while unjoining.
Guenther
(cherry picked from commit
1c901c82235a4d6bb4750151caebda0554245f05)
Günther Deschner [Tue, 3 Jun 2008 23:32:15 +0000 (01:32 +0200)]
libnetjoin: delete possible "realm" leftover parameter.
Guenther
(cherry picked from commit
d7ba98cc3f2d037ec01e079220a66da508b104b0)
(cherry picked from commit
62a2c988f37354e323e1dd8065b4a93edb169ac1)
Jeremy Allison [Tue, 27 May 2008 18:23:59 +0000 (11:23 -0700)]
Allow server manager to close open files selected by id.
Jeremy.
(cherry picked from commit
4b312d4e6fdd30ea754cf499fbe86ce932d1d9d2)
Karolin Seeger [Thu, 5 Jun 2008 07:16:15 +0000 (09:16 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.
Karolin
(cherry picked from commit
415d2cde61607eab1495cdcc48ccede1ff9900d5)
Jeremy Allison [Sat, 31 May 2008 06:50:17 +0000 (23:50 -0700)]
Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to
correctly answer wbinfo -u lists and other queries.
Jeremy.
(cherry picked from commit
ce45c773543c6687669fb6a9dd062a6a7e45b409)