tprouty/samba.git
16 years agor16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
Jeremy Allison [Tue, 11 Jul 2006 18:01:26 +0000 (18:01 +0000)]
r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.

16 years agor16943: Add Jim's code.
Jeremy Allison [Tue, 11 Jul 2006 17:09:38 +0000 (17:09 +0000)]
r16943: Add Jim's code.
Jeremy.

16 years agor16941: Fix crash bug when the pam conversation receives an empty token.
Günther Deschner [Tue, 11 Jul 2006 10:39:32 +0000 (10:39 +0000)]
r16941: Fix crash bug when the pam conversation receives an empty token.
Thanks to Bjoern Jacke for the report and test-case.

Guenther

16 years agor16940: libnscd sets errno, use that to display error message.
Günther Deschner [Tue, 11 Jul 2006 09:59:22 +0000 (09:59 +0000)]
r16940: libnscd sets errno, use that to display error message.

Guenther

16 years agor16939: Still clear the winbind_cache.tdb when offline logons are not enabled.
Günther Deschner [Tue, 11 Jul 2006 09:22:55 +0000 (09:22 +0000)]
r16939: Still clear the winbind_cache.tdb when offline logons are not enabled.

Guenther

16 years agor16927: back merge of a packaging fix for release numbers (from 3.0.23)
Gerald Carter [Mon, 10 Jul 2006 20:40:42 +0000 (20:40 +0000)]
r16927: back merge of a packaging fix for release numbers (from 3.0.23)

16 years agor16866: No idea why I did not see the warning, sorry....
Volker Lendecke [Fri, 7 Jul 2006 19:01:15 +0000 (19:01 +0000)]
r16866: No idea why I did not see the warning, sorry....

16 years agor16865: This is a proposal to fix bug 3915. Before sending patches around, this is
Volker Lendecke [Fri, 7 Jul 2006 18:53:19 +0000 (18:53 +0000)]
r16865: This is a proposal to fix bug 3915. Before sending patches around, this is
what svn is for.

The idea is that we fall back to a pure unix user with S-1-22 SIDs in the
token in case anything weird is going on with the 'force user'.

Volker

16 years agor16864: Intermediate checkin -- swap the sid_check_is_in_unix_users and
Volker Lendecke [Fri, 7 Jul 2006 18:22:26 +0000 (18:22 +0000)]
r16864: Intermediate checkin -- swap the sid_check_is_in_unix_users and
sid_check_is_in_our_domain cases.

Volker

16 years agor16862: Reverting accidential changes in ads_try_connect() from previous commit.
Günther Deschner [Fri, 7 Jul 2006 11:59:19 +0000 (11:59 +0000)]
r16862: Reverting accidential changes in ads_try_connect() from previous commit.

Guenther

16 years agor16861: Fixing crash bug when passing no domain/realm name to the CLDAP request.
Günther Deschner [Fri, 7 Jul 2006 11:43:47 +0000 (11:43 +0000)]
r16861: Fixing crash bug when passing no domain/realm name to the CLDAP request.

Guenther

16 years agor16845: Properly report the error during join when the set password fails
Gerald Carter [Fri, 7 Jul 2006 00:20:55 +0000 (00:20 +0000)]
r16845: Properly report the error during join when the set password fails

16 years agor16836: When receiving a CLDAP reply make sure that we always store the correct
Günther Deschner [Thu, 6 Jul 2006 13:38:41 +0000 (13:38 +0000)]
r16836: When receiving a CLDAP reply make sure that we always store the correct
netbios domain name in server affinity cache.

Guenther

16 years agor16823: Allow to call wbinfo --domain-info="" or --domain-info="." to get domain
Günther Deschner [Wed, 5 Jul 2006 15:29:31 +0000 (15:29 +0000)]
r16823: Allow to call wbinfo --domain-info="" or --domain-info="." to get domain
info for our own domain.

Guenther

16 years agor16800: correct a probable cut&paste error
Simo Sorce [Tue, 4 Jul 2006 15:49:26 +0000 (15:49 +0000)]
r16800: correct a probable cut&paste error

16 years agor16799: Fix remote smbd crash bug by removing half-implemented info level 4
Günther Deschner [Tue, 4 Jul 2006 15:29:21 +0000 (15:29 +0000)]
r16799: Fix remote smbd crash bug by removing half-implemented info level 4
dfs_Enum.

Guenther

16 years agor16797: Add msdfs proxy junctions in the netdfs rpc enumeration.
Günther Deschner [Tue, 4 Jul 2006 13:49:17 +0000 (13:49 +0000)]
r16797: Add msdfs proxy junctions in the netdfs rpc enumeration.

Guenther

16 years agor16790: Fix memleak.
Günther Deschner [Mon, 3 Jul 2006 22:27:10 +0000 (22:27 +0000)]
r16790: Fix memleak.

Guenther

16 years agor16789: Fix bug #3909, when using ea's getting a directory tries to
Jeremy Allison [Mon, 3 Jul 2006 21:07:46 +0000 (21:07 +0000)]
r16789: Fix bug #3909, when using ea's getting a directory tries to
read ea's from an msdfs link. Stop it from doing that.
Jerry please merge to 3.0.23.
Jeremy.

16 years agor16785: BUG 3908: Fix rpc bin authentication failure which broke user password changes
Gerald Carter [Mon, 3 Jul 2006 16:12:16 +0000 (16:12 +0000)]
r16785: BUG 3908: Fix rpc bin authentication failure which broke user password changes

Jeremy, please review.

16 years agor16766: A warning found by RHEL3. This might actually be 3.0.23 code, maybe there are
Volker Lendecke [Sun, 2 Jul 2006 22:04:29 +0000 (22:04 +0000)]
r16766: A warning found by RHEL3. This might actually be 3.0.23 code, maybe there are
vasprintf implementations that don't like a NULL format.

Volker

16 years agor16755: Hunting warning has some benefits....
Volker Lendecke [Sat, 1 Jul 2006 23:59:32 +0000 (23:59 +0000)]
r16755: Hunting warning has some benefits....

Solaris found this one that needs to go into 3.0.23, actually munlock the
password memory.

Volker

16 years agor16752: remove the 'socket options' setting from the shipped default smb.conf
Gerald Carter [Sat, 1 Jul 2006 20:06:15 +0000 (20:06 +0000)]
r16752: remove the 'socket options' setting from the shipped default smb.conf

16 years agor16751: The precompiled header should really be in the $(buildir) and
Gerald Carter [Sat, 1 Jul 2006 18:26:31 +0000 (18:26 +0000)]
r16751: The precompiled header should really be in the $(buildir) and
not the $(srcdir) to allow multiple concurrent compiles when the
source tree is shared via nfs.

16 years agor16749: BUG 3905: don't fail in create_local_nt_token() when a
Gerald Carter [Sat, 1 Jul 2006 17:55:07 +0000 (17:55 +0000)]
r16749: BUG 3905: don't fail in create_local_nt_token() when a
checking for the builtin Administrators group membership.
security = server has no domain info in secrets.tdb

16 years agor16720: Fix bug #3874 (warning) reported by Jason Mader.
Jeremy Allison [Sat, 1 Jul 2006 01:03:01 +0000 (01:03 +0000)]
r16720: Fix bug #3874 (warning) reported by Jason Mader.
Jeremy.

16 years agor16719: Automatically chase referrals, support LDAP fast bind exended operation
Günther Deschner [Fri, 30 Jun 2006 23:07:17 +0000 (23:07 +0000)]
r16719: Automatically chase referrals, support LDAP fast bind exended operation
and LDAP domain scope control.

Guenther

16 years agor16717: patch from Bjoern Jacke to fix compiler warnings on AIX
Stefan Metzmacher [Fri, 30 Jun 2006 21:52:16 +0000 (21:52 +0000)]
r16717: patch from Bjoern Jacke to fix compiler warnings on AIX

metze

16 years agor16713: BUG 3904: fix broken smbwrapper compile
Gerald Carter [Fri, 30 Jun 2006 15:57:35 +0000 (15:57 +0000)]
r16713: BUG 3904: fix broken smbwrapper compile

16 years agor16701: Fix segv when adding a printer caused by not initializing the
Gerald Carter [Thu, 29 Jun 2006 22:37:32 +0000 (22:37 +0000)]
r16701: Fix segv when adding a printer caused by not initializing the
realm name in ads_init() in nt_printer_publish().

16 years agor16696: Fix the multiple-outstanding write and trans client
Jeremy Allison [Thu, 29 Jun 2006 21:30:58 +0000 (21:30 +0000)]
r16696: Fix the multiple-outstanding write and trans client
signing bug.
Jeremy.

16 years agor16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 29 Jun 2006 18:01:25 +0000 (18:01 +0000)]
r16687: Fix bugs #3901, #3902, #3903 reported by jason@ncac.gwu.edu.
Jeremy

16 years agor16685: Fix bug #3901 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 29 Jun 2006 17:11:14 +0000 (17:11 +0000)]
r16685: Fix bug #3901 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16683: Fix bug #3900 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 29 Jun 2006 17:07:21 +0000 (17:07 +0000)]
r16683: Fix bug #3900 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16681: Fix bug #3899 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 29 Jun 2006 17:05:18 +0000 (17:05 +0000)]
r16681: Fix bug #3899 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16678: Fix bug #3898 reported by jason@ncac.gwu.edu.
Jeremy Allison [Thu, 29 Jun 2006 17:03:19 +0000 (17:03 +0000)]
r16678: Fix bug #3898 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16676: .o generates other warnings, use the Solaris trick with .po.o also for AIX.
Volker Lendecke [Thu, 29 Jun 2006 16:34:15 +0000 (16:34 +0000)]
r16676: .o generates other warnings, use the Solaris trick with .po.o also for AIX.

Fix a configure.in output line

Volker

16 years agor16665: Fix a couple of bugs I discovered now I've looked
Jeremy Allison [Thu, 29 Jun 2006 00:48:44 +0000 (00:48 +0000)]
r16665: Fix a couple of bugs I discovered now I've looked
closer at the wins server code. Firstly, it needs
to do the searches on the SELF_NAMES correctly,
secondly it needs to flush the in-memory cache
out before returning the 1b names - else it might
get duplicates returned if many 1b queries are
done in quick succession. Jerry, I hate to say
this but you might want to consider this for 3.0.23....
Jeremy.

16 years agor16663: Fix coverity #301, memleak in error path.
Jeremy Allison [Thu, 29 Jun 2006 00:04:47 +0000 (00:04 +0000)]
r16663: Fix coverity #301, memleak in error path.
Jeremy.

16 years agor16661: Fix from jason@ncac.gwu.edu for bug #3875,
Jeremy Allison [Wed, 28 Jun 2006 22:33:10 +0000 (22:33 +0000)]
r16661: Fix from jason@ncac.gwu.edu for bug #3875,
bad cast warning.
Jeremy.

16 years agor16656: Fix #3894 and #3895 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 21:56:03 +0000 (21:56 +0000)]
r16656: Fix #3894 and #3895 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16654: Fix bug #3893 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 21:52:56 +0000 (21:52 +0000)]
r16654: Fix bug #3893 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16652: Fix bug #3891 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 21:42:20 +0000 (21:42 +0000)]
r16652: Fix bug #3891 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16650: Fix bug #3890 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 21:38:43 +0000 (21:38 +0000)]
r16650: Fix bug #3890 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16648: Fix bug #3889 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 21:35:46 +0000 (21:35 +0000)]
r16648: Fix bug #3889 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16646: Fix bug #3888 reported by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Wed, 28 Jun 2006 21:33:52 +0000 (21:33 +0000)]
r16646: Fix bug #3888 reported by Jason Mader <jason@ncac.gwu.edu>.
Jeremy.

16 years agor16644: Fix bug #3887 reported by jason@ncac.gwu.edu
Jeremy Allison [Wed, 28 Jun 2006 21:30:21 +0000 (21:30 +0000)]
r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.

16 years agor16642: Fix show-stopper bug #3876. Double-free in wins
Jeremy Allison [Wed, 28 Jun 2006 20:39:07 +0000 (20:39 +0000)]
r16642: Fix show-stopper bug #3876. Double-free in wins
server code. Jerry please merge for 3.0.23.
Jeremy.

16 years agor16640: Fix bug #3886 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 18:56:45 +0000 (18:56 +0000)]
r16640: Fix bug #3886 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16638: Fix bug #3885, reported by jason@ncac.gwu.edu. Use
Jeremy Allison [Wed, 28 Jun 2006 18:46:47 +0000 (18:46 +0000)]
r16638: Fix bug #3885, reported by jason@ncac.gwu.edu. Use
the correct enumerated type in the macro.
Jeremy.

16 years agor16636: Fix bug #3884 reported by jason@ncac.gwu.edu
Jeremy Allison [Wed, 28 Jun 2006 18:22:21 +0000 (18:22 +0000)]
r16636: Fix bug #3884 reported by jason@ncac.gwu.edu
Jeremy.

16 years agor16634: Fix bug #3883 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 18:18:23 +0000 (18:18 +0000)]
r16634: Fix bug #3883 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16632: Fix bug #3882 reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 18:16:33 +0000 (18:16 +0000)]
r16632: Fix bug #3882 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16630: Fix bug #3881, reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 17:58:47 +0000 (17:58 +0000)]
r16630: Fix bug #3881, reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16628: Fix bug #3880, reported by jason@ncac.gwu.edu
Jeremy Allison [Wed, 28 Jun 2006 17:56:10 +0000 (17:56 +0000)]
r16628: Fix bug #3880, reported by jason@ncac.gwu.edu
by ensuring we return the correct enum for sid
type, not a uint32.
Jeremy.

16 years agor16626: Fix bug #3878. Reported by jason@ncac.gwu.edu.
Jeremy Allison [Wed, 28 Jun 2006 17:26:48 +0000 (17:26 +0000)]
r16626: Fix bug #3878. Reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16624: Fix bug #3877, reported by jason@ncac.gwu.edu
Jeremy Allison [Wed, 28 Jun 2006 17:11:06 +0000 (17:11 +0000)]
r16624: Fix bug #3877, reported by jason@ncac.gwu.edu
Jeremy.

16 years agor16616: Klocwork #2025. Stop null deref. I actually don't
Jeremy Allison [Wed, 28 Jun 2006 05:00:09 +0000 (05:00 +0000)]
r16616: Klocwork #2025. Stop null deref. I actually don't
think this can happen in real life but the code is
too complicated to be sure....
Jerry please merge this for 3.0.23.
Jeremy.

16 years agor16614: Klocwork #2012. memleak on error path.
Jeremy Allison [Wed, 28 Jun 2006 04:56:23 +0000 (04:56 +0000)]
r16614: Klocwork #2012. memleak on error path.
Jeremy.

16 years agor16612: Klocwork fix #2011. memleak on error path.
Jeremy Allison [Wed, 28 Jun 2006 04:51:23 +0000 (04:51 +0000)]
r16612: Klocwork fix #2011. memleak on error path.
Jeremy.

16 years agor16610: Subtle one from Klocwork #2076. If multiple flags
Jeremy Allison [Wed, 28 Jun 2006 04:43:19 +0000 (04:43 +0000)]
r16610: Subtle one from Klocwork #2076. If multiple flags
are set in a winbindd request it might overwrite existing
state->response.extra_data.data values without freeing.
Jeremy.

16 years agor16608: Klocwork #2035. Null deref (bit of a stretch... :-).
Jeremy Allison [Wed, 28 Jun 2006 04:30:51 +0000 (04:30 +0000)]
r16608: Klocwork #2035. Null deref (bit of a stretch... :-).
Jeremy.

16 years agor16606: Klocwork #1990. Malloc the correct size.
Jeremy Allison [Wed, 28 Jun 2006 04:27:43 +0000 (04:27 +0000)]
r16606: Klocwork #1990. Malloc the correct size.
Jeremy.

16 years agor16603: Klockwork #2028. Fix null deref on error path.
Jeremy Allison [Wed, 28 Jun 2006 02:22:28 +0000 (02:22 +0000)]
r16603: Klockwork #2028. Fix null deref on error path.
Jeremy.

16 years agor16601: Klocwork #2038. Fix memleak on error path.
Jeremy Allison [Wed, 28 Jun 2006 02:12:53 +0000 (02:12 +0000)]
r16601: Klocwork #2038. Fix memleak on error path.
Jeremy.

16 years agor16599: Make it clear to Klocwork we're not dereferencing. Issue #2026.
Jeremy Allison [Wed, 28 Jun 2006 02:02:26 +0000 (02:02 +0000)]
r16599: Make it clear to Klocwork we're not dereferencing. Issue #2026.
Jeremy.

16 years agor16597: Klocwork #2006. Fix possible null deref.
Jeremy Allison [Wed, 28 Jun 2006 01:59:04 +0000 (01:59 +0000)]
r16597: Klocwork #2006. Fix possible null deref.
Jeremy.

16 years agor16595: Klocwork #2067. Fix possible memleak on error exit.
Jeremy Allison [Wed, 28 Jun 2006 01:56:41 +0000 (01:56 +0000)]
r16595: Klocwork #2067. Fix possible memleak on error exit.
Jeremy.

16 years agor16593: Make the invarient explicit to Klocwork. Bug #2023.
Jeremy Allison [Wed, 28 Jun 2006 01:52:01 +0000 (01:52 +0000)]
r16593: Make the invarient explicit to Klocwork. Bug #2023.
Jeremy.

16 years agor16591: Belt and braces approach to shut Klocwork up - bug #2001.
Jeremy Allison [Wed, 28 Jun 2006 01:25:29 +0000 (01:25 +0000)]
r16591: Belt and braces approach to shut Klocwork up - bug #2001.
Jeremy.

16 years agor16589: Fix Klocwork #1999. Although it should be impossible to
Jeremy Allison [Wed, 28 Jun 2006 01:21:54 +0000 (01:21 +0000)]
r16589: Fix Klocwork #1999. Although it should be impossible to
get duplicate OID's returned in the oids_out list it is
still good programming practice to clear out a malloc'ed
string before re-writing it (especially in a loop).
Jeremy

16 years agor16587: Fix Klocwork #1987. Memleak on reusing x_dbf.
Jeremy Allison [Wed, 28 Jun 2006 01:11:17 +0000 (01:11 +0000)]
r16587: Fix Klocwork #1987. Memleak on reusing x_dbf.
Jeremy.

16 years agor16585: Fix Klocwork #1976. Possible null deref.
Jeremy Allison [Wed, 28 Jun 2006 01:00:48 +0000 (01:00 +0000)]
r16585: Fix Klocwork #1976. Possible null deref.
Jeremy.

16 years agor16582: Fix Klocwork #1997 and all generic class of problems
Jeremy Allison [Wed, 28 Jun 2006 00:50:14 +0000 (00:50 +0000)]
r16582: Fix Klocwork #1997 and all generic class of problems
where we don't correctly check the return from memdup.
Jeremy.

16 years agor16581: Fix Klocwork #2017. Possible null deref.
Jeremy Allison [Wed, 28 Jun 2006 00:07:53 +0000 (00:07 +0000)]
r16581: Fix Klocwork #2017. Possible null deref.
Jeremy.

16 years agor16579: Fix Klocwork #2016. Possible null deref.
Jeremy Allison [Wed, 28 Jun 2006 00:05:53 +0000 (00:05 +0000)]
r16579: Fix Klocwork #2016. Possible null deref.
Jeremy.

16 years agor16576: Fix Klocwork #2015. Possible null deref.
Jeremy Allison [Wed, 28 Jun 2006 00:01:28 +0000 (00:01 +0000)]
r16576: Fix Klocwork #2015. Possible null deref.
Jeremy.

16 years agor16570: Corrected the copyright notice. I had requested and received permission
Christopher R. Hertel [Tue, 27 Jun 2006 17:58:55 +0000 (17:58 +0000)]
r16570: Corrected the copyright notice.  I had requested and received permission
from my management at the University to release under my own copyright.
My mistake for entering the wrong info.

16 years agor16554: Sorry, just had to change this. Don't use int when
Jeremy Allison [Tue, 27 Jun 2006 03:59:34 +0000 (03:59 +0000)]
r16554: Sorry, just had to change this. Don't use int when
you're passing a BOOL parameter, don't use "clever"
code in while statement - make things easier and
clearer to understand when triggering something
with an if.
Jeremy.

16 years agor16552: Fix bug 3849.
Derrell Lipman [Tue, 27 Jun 2006 03:07:02 +0000 (03:07 +0000)]
r16552: Fix bug 3849.

Added a next_token_no_ltrim() function which does not strip leading separator
characters.  The new function is used only where really necessary, even though
it could reasonably be used in many more places, to avoid superfluous code
changes.

Derrell

16 years agor16550: Fix bug 3866. Thanks for the report!
Derrell Lipman [Tue, 27 Jun 2006 02:30:58 +0000 (02:30 +0000)]
r16550: Fix bug 3866.  Thanks for the report!

Although I've never met a computer or compiler that produced pointers to
functions which are a different size than pointers to data, I suppose they
probably exist.  Assigning a pointer to a function is technically illegal in C
anyway.

Change casts of the option_value based on the option_name to use of variable
argument lists.

For binary compatibility, I've maintained but deprecated the old behavior of
debug_stderr (which expected to be passed a NULL or non-NULL pointer) and
added a new option debug_to_stderr which properly expects a boolean (int)
parameter.

Derrell

16 years agor16548: Fix bug #3867 reported by jason@ncac.gwu.edu.
Jeremy Allison [Tue, 27 Jun 2006 01:03:58 +0000 (01:03 +0000)]
r16548: Fix bug #3867 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16546: Fix bug #3865 reported by jason@ncac.gwu.edu.
Jeremy Allison [Tue, 27 Jun 2006 00:55:08 +0000 (00:55 +0000)]
r16546: Fix bug #3865 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16544: Fix bug #3864 reported by jason@ncac.gwu.edu.
Jeremy Allison [Tue, 27 Jun 2006 00:49:14 +0000 (00:49 +0000)]
r16544: Fix bug #3864 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16542: Fix #3863, reported by jason@ncac.gwu.edu
Jeremy Allison [Tue, 27 Jun 2006 00:42:24 +0000 (00:42 +0000)]
r16542: Fix #3863, reported by jason@ncac.gwu.edu
Jeremy.

16 years agor16541: Fix #3862 reported by jason@ncac.gwu.edu.
Jeremy Allison [Tue, 27 Jun 2006 00:15:00 +0000 (00:15 +0000)]
r16541: Fix #3862 reported by jason@ncac.gwu.edu.
Jeremy.

16 years agor16537: Fix for bug #3858, all files in a directory not
Jeremy Allison [Mon, 26 Jun 2006 23:36:03 +0000 (23:36 +0000)]
r16537: Fix for bug #3858, all files in a directory not
being deleted when hide unreadable set to true.

Here's the scoop.

This one is really interesting. The pattern of deleting a directory is to do a
findfirst to get the first part of the list, then for each name returned it
does a open/set delete on close/close -> thus deleting the file. Then it does a
findnext with the last file name THAT IT JUST DELETED ! Now we can handle this
in the findnext in the case where hide unreadable is set to false as we look
back in our cache of names and just seek to the right point. The bug is
actually fixed in the first hunk of this patch - the one that removes the
is_visible_file() check after SearchDir returns false. We don't actually need
it and in this case it's causing the delete to be aborted because it can't find
the name (doh ! it was just deleted). We don't need it as SearchDir is only
ever called from findnext, and findnext should only ever be returning names we
gave it.

The rest of the patch are the debugs I used to find
the problem but they're generically useful.

Phew - that one took a while to track down.....

Jerry, please merge for 3.0.23 final.

Jeremy.

16 years agor16528: Self-confidence is plummeting. How could one person goof
Gerald Carter [Mon, 26 Jun 2006 20:18:28 +0000 (20:18 +0000)]
r16528: Self-confidence is plummeting.  How could one person goof
the same change 3 times......

Fix pam_winbind compilation again.

16 years agor16521: Fix different extended_dn handling for win2k/2k3 (thanks to Frederic
Günther Deschner [Mon, 26 Jun 2006 16:14:40 +0000 (16:14 +0000)]
r16521: Fix different extended_dn handling for win2k/2k3 (thanks to Frederic
Brin at Novell).

Guenther

16 years agor16510: fix from Nicholas Brealey <nick@brealey.org> for building pam_winbind.so
Gerald Carter [Sun, 25 Jun 2006 12:22:12 +0000 (12:22 +0000)]
r16510: fix from Nicholas Brealey <nick@brealey.org> for building pam_winbind.so

16 years agor16490: Fix a memleak and two typos
Volker Lendecke [Sat, 24 Jun 2006 09:41:27 +0000 (09:41 +0000)]
r16490: Fix a memleak and two typos

16 years agor16486: fix RedHat init scripts to rely on OS provided killproc() function
Gerald Carter [Fri, 23 Jun 2006 14:39:40 +0000 (14:39 +0000)]
r16486: fix RedHat init scripts to rely on OS provided killproc() function

16 years agor16484: Bugzilla 3805. Only define _ABS if it is not already defined.
James Peach [Fri, 23 Jun 2006 06:19:45 +0000 (06:19 +0000)]
r16484: Bugzilla 3805. Only define _ABS if it is not already defined.

16 years agor16483: Turn off some useless MIPSPro warnings be default.
James Peach [Fri, 23 Jun 2006 06:00:16 +0000 (06:00 +0000)]
r16483: Turn off some useless MIPSPro warnings be default.

16 years agor16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.
James Peach [Fri, 23 Jun 2006 05:28:34 +0000 (05:28 +0000)]
r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error.

16 years agor16480: (Ugly) workaround before the set_dc_type_flags & friends cleanup:
Günther Deschner [Fri, 23 Jun 2006 01:17:33 +0000 (01:17 +0000)]
r16480: (Ugly) workaround before the set_dc_type_flags & friends cleanup:

When trying to login using krb5 with a trusted domain account, we
need to make sure that our and the remote domain are AD.

Guenther

16 years agor16479: When dcip_to_name failed to get the name of the ip in saf_servername we
Günther Deschner [Thu, 22 Jun 2006 23:56:20 +0000 (23:56 +0000)]
r16479: When dcip_to_name failed to get the name of the ip in saf_servername we
cannot put saf_name in the failed conn cache as it's uninitialized.
Store saf_servername (the ip) in that case.

Volker, please check.

Guenther

16 years agor16478: small cleanup to make pam_winbind.so build and iniparser
Gerald Carter [Thu, 22 Jun 2006 22:00:43 +0000 (22:00 +0000)]
r16478: small cleanup to make pam_winbind.so build and iniparser
include directory like other parts of the build files.

16 years agor16475: destroy talloc ctx when we weren't able to collect onlinestatus
Günther Deschner [Thu, 22 Jun 2006 20:33:42 +0000 (20:33 +0000)]
r16475: destroy talloc ctx when we weren't able to collect onlinestatus
messages.

Guenther

16 years agor16474: There is no point in figuring out lockout policies if we do not allow
Günther Deschner [Thu, 22 Jun 2006 20:31:02 +0000 (20:31 +0000)]
r16474: There is no point in figuring out lockout policies if we do not allow
offline logons at all.

Guenther