metze/samba/wip.git
15 years agoselftest: Advertise as PDC and time server during make test
Kai Blin [Mon, 5 May 2008 13:26:11 +0000 (15:26 +0200)]
selftest: Advertise as PDC and time server during make test
(cherry picked from commit 65c619b36d08ac2f24b622c71b7e05d50bdeea50)

15 years agoselftest: Use TESTS env var to specify tests to run like Samba4 does.
Kai Blin [Fri, 2 May 2008 23:45:33 +0000 (01:45 +0200)]
selftest: Use TESTS env var to specify tests to run like Samba4 does.
(cherry picked from commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)

15 years agoWHATSNEW: Fix typo.
Karolin Seeger [Mon, 23 Jun 2008 11:11:11 +0000 (13:11 +0200)]
WHATSNEW: Fix typo.

Karolin

15 years agoWHATSNEW: Update changes since 3.2.0rc2.
Karolin Seeger [Mon, 23 Jun 2008 10:10:18 +0000 (12:10 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.

Karolin

15 years agoman pages: Correct version in man winbindd again.
Karolin Seeger [Mon, 23 Jun 2008 08:28:09 +0000 (10:28 +0200)]
man pages: Correct version in man winbindd again.

Karolin

15 years agoSamba3 HOWTO: Remove trailing whitespaces.
Karolin Seeger [Mon, 23 Jun 2008 08:15:53 +0000 (10:15 +0200)]
Samba3 HOWTO: Remove trailing whitespaces.

Karolin

15 years agoinit_shared_module -> init_samba_module
Volker Lendecke [Mon, 23 Jun 2008 05:14:46 +0000 (07:14 +0200)]
init_shared_module -> init_samba_module

15 years agoFix a crash in _dfs_Enum
Volker Lendecke [Sun, 22 Jun 2008 11:06:35 +0000 (13:06 +0200)]
Fix a crash in _dfs_Enum

15 years agoFix an uninitialized variable access in callers of parse_msdfs_symlink
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.

15 years agoFix a double-closedir() in form_junctions()
Volker Lendecke [Sat, 21 Jun 2008 14:48:07 +0000 (16:48 +0200)]
Fix a double-closedir() in form_junctions()

15 years agoAttempt to fix the darwin build
Volker Lendecke [Sat, 21 Jun 2008 14:15:02 +0000 (16:15 +0200)]
Attempt to fix the darwin build

15 years agoUse "init_shared_module" instead of "init_module" for initializing .so's
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

15 years agoFix bug #5531 - fix conversion of ns units when converting from nttime to timespec.
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.

15 years agoFix bug #5533. Winbindd fails to cope correctly with a workgroup name containing...
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.

15 years agoFix the build on FreeBSD 4.6.2
Volker Lendecke [Thu, 19 Jun 2008 07:50:34 +0000 (09:50 +0200)]
Fix the build on FreeBSD 4.6.2

15 years agoFixing net help info.
John H Terpstra [Thu, 19 Jun 2008 21:11:31 +0000 (16:11 -0500)]
Fixing net help info.

15 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Thu, 19 Jun 2008 16:12:17 +0000 (11:12 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

15 years agoRevert "Fix a memleak in svcctl_init_keys()"
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.

15 years agoFix Bug #5548 (segfauls in handle_include with %m macro expansion).
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)

15 years agoFix a brown paper bag segfault in clitar
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

15 years agoFix a memleak in svcctl_init_keys()
Volker Lendecke [Tue, 17 Jun 2008 14:06:42 +0000 (16:06 +0200)]
Fix a memleak in svcctl_init_keys()

15 years agoFix a segfault in wbcLookupRids
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

15 years agoFix a segfault in wbcLookupSid
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

15 years agoReplace a very unusual variable declaration by a more conventional one
Volker Lendecke [Tue, 17 Jun 2008 12:31:07 +0000 (14:31 +0200)]
Replace a very unusual variable declaration by a more conventional one

15 years agoman pages: Move 'smbsh' man page to the examples directory.
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)

15 years agoFix a memleak in wbcAuthenticateUserEx()
Volker Lendecke [Tue, 17 Jun 2008 11:00:13 +0000 (13:00 +0200)]
Fix a memleak in wbcAuthenticateUserEx()

15 years agoMore correct fix (hopefully :-) for any memory leaks.
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

15 years agoRevert "Fix a memleak caused by a crappy get_sorted_dc_list() API"
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.

15 years agoRevert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
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.

15 years agonet_vampire: fix samsync_process_database(). Final fix for Bug #5542.
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

15 years agonet_vampire: fix build warning.
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)

15 years agonetapi: Fix Bug #5545 (libnetapi_init without $USER)
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)

15 years agoWHATSNEW: Updates changes since 3.2.0rc2.
Karolin Seeger [Mon, 16 Jun 2008 13:58:51 +0000 (15:58 +0200)]
WHATSNEW: Updates changes since 3.2.0rc2.

Karolin

15 years agoFix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting
Volker Lendecke [Mon, 16 Jun 2008 11:27:16 +0000 (13:27 +0200)]
Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reporting

15 years agoFix an uninitialized variable found by the IBM checker
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

15 years agoFix group parsing in libwbclient's copy_group_entry()
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!

15 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Fri, 13 Jun 2008 20:51:19 +0000 (15:51 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

15 years agonet: Fix several typos in comments.
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

15 years agoFix a handle leak for error returns in ldb_try_load_dso
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

15 years agoFix a crash in _winreg_QueryValue
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

15 years agonet: Fix bug #5542 (samsync contains empty passwords).
Günther Deschner [Fri, 13 Jun 2008 10:20:01 +0000 (12:20 +0200)]
net: Fix bug #5542 (samsync contains empty passwords).

Guenther

15 years agosamsync: add samsync_fix_delta_array()
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

15 years agoman pages: Fix indentation in smb.conf section about 'map readonly'.
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)

15 years agoman pages: Added improvements.
Christoph Zauner [Wed, 11 Jun 2008 13:15:22 +0000 (15:15 +0200)]
man pages: Added improvements.
(cherry picked from commit 7fecd548af0a21b9644bd70e22a38aaa28777aa0)

15 years agoman pages: Fix typo in smb.conf section about the 'deleteprinter command'.
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)

15 years agoman pages: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 13:17:21 +0000 (15:17 +0200)]
man pages: Fix typos.
(cherry picked from commit 881eaa26e071a7fde9c6fc5eb42ae122d0ddd490)

15 years agoSamba3-HOWTO: Fix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:49:30 +0000 (14:49 +0200)]
Samba3-HOWTO: Fix typos.
(cherry picked from commit 2391d999eb733bd8d12631478f4318608225cbb6)

15 years agoFix typos.
Christoph Zauner [Wed, 11 Jun 2008 12:05:47 +0000 (14:05 +0200)]
Fix typos.
(cherry picked from commit b2390aa738f6384016600dffb8065bd0bcda6ef1)

15 years agoAIX build fixes from William Jojo -- thanks
Volker Lendecke [Thu, 12 Jun 2008 10:36:15 +0000 (12:36 +0200)]
AIX build fixes from William Jojo -- thanks

15 years agoAdd -brtl to the AIX linker flags
Volker Lendecke [Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)]
Add -brtl to the AIX linker flags

Thanks to William Jojo

15 years agoFix max_fd calculation in event_loop_once
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

15 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Wed, 11 Jun 2008 15:36:37 +0000 (10:36 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

15 years agopam_winbind: Update cached creds during password change.
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)

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Tue, 10 Jun 2008 18:32:10 +0000 (13:32 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agoCorrectly find a [u]int32_t replacement
Volker Lendecke [Tue, 10 Jun 2008 14:14:30 +0000 (16:14 +0200)]
Correctly find a [u]int32_t replacement

16 years agoFix some scary FC9 warnings
Volker Lendecke [Tue, 10 Jun 2008 12:15:01 +0000 (14:15 +0200)]
Fix some scary FC9 warnings

16 years agoman pages: Don't refer to numbered chapter of the HOWTO collection.
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)

16 years agoman pages: Fix broken smb.conf section about the 'get quota command'.
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)

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Tue, 10 Jun 2008 08:17:14 +0000 (10:17 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agoRevert "More correct fix (hopefully :-) for any memory leaks."
Karolin Seeger [Tue, 10 Jun 2008 07:13:02 +0000 (09:13 +0200)]
Revert "More correct fix (hopefully :-) for any memory leaks."

This reverts commit 9bb18b330164584905c383cf3eff2d077b250e86.

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Tue, 10 Jun 2008 03:47:00 +0000 (22:47 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agoDon't reset password last set time just because the expired flag
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.

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Mon, 9 Jun 2008 14:53:45 +0000 (16:53 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agoshrink ldbtools
Volker Lendecke [Mon, 9 Jun 2008 14:07:57 +0000 (16:07 +0200)]
shrink ldbtools

Thanks to Björn Jacke for noticing :-)

16 years agoman pages: Fix synonyms.
Karolin Seeger [Mon, 9 Jun 2008 13:05:26 +0000 (15:05 +0200)]
man pages: Fix synonyms.

Karolin
(cherry picked from commit d1ae27ddbe9c30996d2c593a37e65581c3ff482c)

16 years agoman pages: Remove wrong synonym.
Karolin Seeger [Mon, 9 Jun 2008 13:03:12 +0000 (15:03 +0200)]
man pages: Remove wrong synonym.

Karolin
(cherry picked from commit 4951bc8ff1da9bfc79b9b403b420f07299266df6)

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Mon, 9 Jun 2008 11:42:15 +0000 (13:42 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agoFix the compile on NetBSD -- missing prototypes
Volker Lendecke [Mon, 9 Jun 2008 13:34:51 +0000 (15:34 +0200)]
Fix the compile on NetBSD -- missing prototypes

16 years agoFix the compile on NetBSD -- readlink and read are macros there
Volker Lendecke [Mon, 9 Jun 2008 13:33:28 +0000 (15:33 +0200)]
Fix the compile on NetBSD -- readlink and read are macros there

16 years agoWHATSNEW: Update changes since 3.2.0rc2.
Karolin Seeger [Mon, 9 Jun 2008 10:22:27 +0000 (12:22 +0200)]
WHATSNEW: Update changes since 3.2.0rc2.

Karolin

16 years agolibreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required
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)

16 years agolibreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_
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)

16 years agoconfigure: we require autoconf 2.54
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)

16 years agoconfigure: fix warnings with autoconf-2.62 rename SMB_BUILD_ => samba_cv_
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)

16 years agoconfigure: fix warnings with autoconf-2.62 rename samba_stat_hires => samba_cv_stat_hires
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)

16 years agoconfigure: fix warnings with autoconf-2.62 rename smb_krb5_ => smb_krb5_cv_
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)

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Mon, 9 Jun 2008 08:55:16 +0000 (10:55 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agonetdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
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)

16 years agonetdomjoin-gui: fix more gtk runtime warnings.
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)

16 years agonetdomjoin-gui: disable annoying "reboot now" dialog.
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)

16 years agonetdomjoin-gui: some minor fixes + hunting down typecast bugs.
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)

16 years agolibnetjoin: add libnet_join_rollback().
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)

16 years agolibnetjoin: First store configuration and then verify the join.
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)

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Mon, 9 Jun 2008 06:56:11 +0000 (08:56 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agoWHATSNEW: Update changes since 3.2.0rc1.
Karolin Seeger [Mon, 9 Jun 2008 06:47:17 +0000 (08:47 +0200)]
WHATSNEW: Update changes since 3.2.0rc1.

Karolin

16 years agoRevert "build: add symbol versioning when we build with gnu ld"
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

16 years agoBugfix noticed by Herb. On using the again: tag as a
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.

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Sat, 7 Jun 2008 20:12:25 +0000 (15:12 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agoAdd STREAMINFO op to vfs_full_audit
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)

16 years agoFix a memleak in secrets_fetch_afs_key
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)

16 years agoFix a memleak in secrets_fetch_trust_account_password_legacy
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)

16 years agoFix a memleak in fetch_ldap_pw
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)

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Fri, 6 Jun 2008 19:13:50 +0000 (14:13 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agopam_winbind: fix pam_sm_chauthtok for storing modified cached creds.
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)

16 years agoMore correct fix (hopefully :-) for any memory leaks.
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.

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Thu, 5 Jun 2008 17:55:43 +0000 (12:55 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agomailslot: always pull a command 25 type reply.
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)

16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
John H Terpstra [Thu, 5 Jun 2008 15:54:46 +0000 (10:54 -0500)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test

16 years agoSamba3-HOWTO: Add improvements/fixes.
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)

16 years agoFix a memleak caused by a crappy get_sorted_dc_list() API
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