metze/samba-autobuild-v4-19-test/.git
18 years agor13672: merge fixes for return valoue and release notes samba-3.0.21c
Gerald Carter [Fri, 24 Feb 2006 06:39:13 +0000 (06:39 +0000)]
r13672: merge fixes for return valoue and release notes

18 years agor13667: pulling in Jeremy's error code changes
Gerald Carter [Fri, 24 Feb 2006 05:31:47 +0000 (05:31 +0000)]
r13667: pulling in Jeremy's error code changes

18 years agor13666: updating release notes for 3.0.21c
Gerald Carter [Fri, 24 Feb 2006 05:27:51 +0000 (05:27 +0000)]
r13666: updating release notes for 3.0.21c

18 years agor13661: fixed conflict is merge
Gerald Carter [Thu, 23 Feb 2006 17:06:51 +0000 (17:06 +0000)]
r13661: fixed conflict is merge

18 years agor13659: Pulling in what I think are the final code changes for 3.0.21c
Gerald Carter [Thu, 23 Feb 2006 16:28:33 +0000 (16:28 +0000)]
r13659: Pulling in what I think are the final code changes for 3.0.21c

svn merge -r13639:13641 $SVNURL/branches/SAMBA_3_0
svn merge -r13645:13647 $SVNURL/branches/SAMBA_3_0
svn merge -r13656:13657 $SVNURL/branches/SAMBA_3_0

18 years agor13636: Merge the usernamd parsing fix for the Krb5 PAC
Gerald Carter [Wed, 22 Feb 2006 15:59:14 +0000 (15:59 +0000)]
r13636: Merge the usernamd parsing fix for the Krb5 PAC

svn merge -r13579:13588 $SVNURL/branches/SAMBA_3_0

18 years agor13635: Some more fixes for 3.0.21c
Gerald Carter [Wed, 22 Feb 2006 15:08:05 +0000 (15:08 +0000)]
r13635: Some more fixes for 3.0.21c

svn merge -r13601:13604 $SVNURL/branches/SAMBA_3_0
svn merge -r13604:13607 $SVNURL/branches/SAMBA_3_0
svn merge -r13610:13612 $SVNURL/branches/SAMBA_3_0
svn merge -r13612:13614 $SVNURL/branches/SAMBA_3_0

18 years agor13578: picking up missed commit (ran form source/ directory previously)
Gerald Carter [Mon, 20 Feb 2006 21:27:18 +0000 (21:27 +0000)]
r13578: picking up missed commit (ran form source/ directory previously)

18 years agor13567: merge for 3.0.21c
Gerald Carter [Mon, 20 Feb 2006 15:36:45 +0000 (15:36 +0000)]
r13567: merge for 3.0.21c

svn merge -r13559:13563 $SVNURL/branches/SAMBA_3_0
svn merge -r13557:13559 $SVNURL/branches/SAMBA_3_0
svn merge -r13546:13547 $SVNURL/branches/SAMBA_3_0
svn merge -r13198:13202 $SVNURL/branches/SAMBA_3_0
svn merge -r13209:13211 $SVNURL/branches/SAMBA_3_0
svn merge -r13216:13222 $SVNURL/branches/SAMBA_3_0
svn merge -r13224:13229 $SVNURL/branches/SAMBA_3_0
svn merge -r13231:13232 $SVNURL/branches/SAMBA_3_0
svn merge -r13235:13238 $SVNURL/branches/SAMBA_3_0
svn merge -r13238:13257 $SVNURL/branches/SAMBA_3_0
svn merge -r13257:13262 $SVNURL/branches/SAMBA_3_0
svn merge -r13288:13290 $SVNURL/branches/SAMBA_3_0
svn merge -r13294:13296 $SVNURL/branches/SAMBA_3_0
svn merge -r13299:13306 $SVNURL/branches/SAMBA_3_0
svn merge -r13310:13314 $SVNURL/branches/SAMBA_3_0
svn merge -r13322:13327 $SVNURL/branches/SAMBA_3_0
svn merge -r13351:13363 $SVNURL/branches/SAMBA_3_0
svn merge -r13363:13364 $SVNURL/branches/SAMBA_3_0
svn merge -r13364:13366 $SVNURL/branches/SAMBA_3_0
svn merge -r13375:13376 $SVNURL/branches/SAMBA_3_0
svn merge -r13382:13384 $SVNURL/branches/SAMBA_3_0
svn merge -r13391:13392 $SVNURL/branches/SAMBA_3_0
svn merge -r13392:13393 $SVNURL/branches/SAMBA_3_0
svn merge -r13393:13394 $SVNURL/branches/SAMBA_3_0
svn merge -r13407:13408 $SVNURL/branches/SAMBA_3_0
svn merge -r13410:13411 $SVNURL/branches/SAMBA_3_0
svn merge -r13412:13416 $SVNURL/branches/SAMBA_3_0
svn merge -r13416:13417 $SVNURL/branches/SAMBA_3_0
svn merge -r13460:13473 $SVNURL/branches/SAMBA_3_0
svn merge -r13475:13477 $SVNURL/branches/SAMBA_3_0
svn merge -r13484:13489 $SVNURL/branches/SAMBA_3_0
svn merge -r13489:13491 $SVNURL/branches/SAMBA_3_0
svn merge -r13495:13497 $SVNURL/branches/SAMBA_3_0
svn merge -r13497:13498 $SVNURL/branches/SAMBA_3_0
svn merge -r13498:13500 $SVNURL/branches/SAMBA_3_0
svn merge -r13510:13511 $SVNURL/branches/SAMBA_3_0
svn merge -r13513:13514 $SVNURL/branches/SAMBA_3_0
svn merge -r13515:13517 $SVNURL/branches/SAMBA_3_0
svn merge -r13523:13524 $SVNURL/branches/SAMBA_3_0
svn merge -r13524:13525 $SVNURL/branches/SAMBA_3_0
svn merge -r13525:13526 $SVNURL/branches/SAMBA_3_0
svn merge -r13526:13527 $SVNURL/branches/SAMBA_3_0
svn merge -r13527:13535 $SVNURL/branches/SAMBA_3_0

18 years agor13285: experiementing with svn copy
Gerald Carter [Wed, 1 Feb 2006 20:28:56 +0000 (20:28 +0000)]
r13285: experiementing with svn copy

18 years agor13235: fixing RedHat 7.x packaging samba-3.0.21b
Gerald Carter [Mon, 30 Jan 2006 19:23:32 +0000 (19:23 +0000)]
r13235: fixing RedHat 7.x packaging

18 years agor13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
Gerald Carter [Mon, 30 Jan 2006 18:38:18 +0000 (18:38 +0000)]
r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now

18 years agor13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting
Gerald Carter [Mon, 30 Jan 2006 17:47:24 +0000 (17:47 +0000)]
r13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting

18 years agor13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems...
Gerald Carter [Mon, 30 Jan 2006 17:42:42 +0000 (17:42 +0000)]
r13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems.  Fix the build on those boxes

18 years agor13230: ready to do for 3.0.21b
Gerald Carter [Mon, 30 Jan 2006 14:34:58 +0000 (14:34 +0000)]
r13230: ready to do for 3.0.21b

18 years agor13200: oplock fixes from Jeremy (hopefully last issue before release on Monday)
Gerald Carter [Sat, 28 Jan 2006 00:15:49 +0000 (00:15 +0000)]
r13200: oplock fixes from Jeremy (hopefully last issue before release on Monday)

18 years agor13196: a few more last minute fixes; still one bug to go
Gerald Carter [Fri, 27 Jan 2006 21:35:50 +0000 (21:35 +0000)]
r13196: a few more last minute fixes; still one bug to go

18 years agor13185: and one more packaging fix
Gerald Carter [Fri, 27 Jan 2006 13:27:13 +0000 (13:27 +0000)]
r13185: and one more packaging fix

18 years agor13184: missed merge of James' debug.h fix for the MIPSPro compiler
Gerald Carter [Fri, 27 Jan 2006 13:25:04 +0000 (13:25 +0000)]
r13184: missed merge of James' debug.h fix for the MIPSPro compiler

18 years agor13183: Final touches on 3.0.21b.
Gerald Carter [Fri, 27 Jan 2006 13:23:52 +0000 (13:23 +0000)]
r13183: Final touches on 3.0.21b.

* Add new commits to release notes, fix incorrect attributions,
  correct typos, etc...
* Merge fixes from jra (swat, NTLMv2, false credentials error message)

The tree is basically current with SAMBA_3_0 as of r13132

18 years agor13178: * draft of 3.0.21b release notes
Gerald Carter [Fri, 27 Jan 2006 02:59:41 +0000 (02:59 +0000)]
r13178: * draft of 3.0.21b release notes
* merge version.c fix (reported by Thomas Bork).

18 years agor13134: Last planned code merge for 3.0.21b
Gerald Carter [Wed, 25 Jan 2006 15:52:08 +0000 (15:52 +0000)]
r13134: Last planned code merge for 3.0.21b

* missing SMS 2003 fix
* posix_acl double free fix
* Guenther's pam_winbind fixes
* testparm server role fix.
* 64-bit fix in clireadwrite.c

18 years agor13130: syncing RHEL/Fedora packaging
Gerald Carter [Wed, 25 Jan 2006 12:27:34 +0000 (12:27 +0000)]
r13130: syncing RHEL/Fedora packaging

18 years agor13127: more spec file fixes for RHEL
Gerald Carter [Wed, 25 Jan 2006 05:27:23 +0000 (05:27 +0000)]
r13127: more spec file fixes for RHEL

18 years agor13125: Very well spotted crash bug fix for #3343 from
Jeremy Allison [Wed, 25 Jan 2006 05:04:08 +0000 (05:04 +0000)]
r13125: Very well spotted crash bug fix for #3343 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jerry please pick this up for 3.0.21b.
Jeremy.

18 years agor13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup
Gerald Carter [Wed, 25 Jan 2006 04:56:32 +0000 (04:56 +0000)]
r13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup

18 years agor13120: getting close to final release code.
Gerald Carter [Tue, 24 Jan 2006 20:20:50 +0000 (20:20 +0000)]
r13120: getting close to final release code.

The main things that will *not* be merged are

* lookupsid, name2sid(), et. al. work by Volker
* nmbd work (wins.tdb & removal of ubiqx dependencies)
* the toupper_ascii(), et. al. changes
* major changes from nsswitch/
* rename when DELETE_ON_CLOSE flag is set work

Please speak up if either a necesary change is
getting overlooked or a risky change is getting
included.

18 years agor13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy Allison [Tue, 24 Jan 2006 20:15:08 +0000 (20:15 +0000)]
r13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy.

18 years agor13110: remove an invalid debug message about call get_share_mode_lock() with a NULL...
Gerald Carter [Tue, 24 Jan 2006 17:27:30 +0000 (17:27 +0000)]
r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally)

18 years agor13110: remove an invalid debug message about call get_share_mode_lock() with a NULL...
Gerald Carter [Tue, 24 Jan 2006 17:27:30 +0000 (17:27 +0000)]
r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally)

18 years agor13109: 3.0.21b chnges from the 3.0 tree (round #2)
Gerald Carter [Tue, 24 Jan 2006 16:58:48 +0000 (16:58 +0000)]
r13109: 3.0.21b chnges from the 3.0 tree (round #2)

18 years agor13106: syncing up packaging from the 3.0 tree
Gerald Carter [Tue, 24 Jan 2006 04:06:29 +0000 (04:06 +0000)]
r13106: syncing up packaging from the 3.0 tree

18 years agor13105: pulling some code over for the 3.0.21b release....first take at it
Gerald Carter [Tue, 24 Jan 2006 03:54:33 +0000 (03:54 +0000)]
r13105: pulling some code over for the 3.0.21b release....first take at it

18 years agor13095: Fix warnings assigning int to a size_t.
Jeremy Allison [Mon, 23 Jan 2006 23:19:31 +0000 (23:19 +0000)]
r13095: Fix warnings assigning int to a size_t.
Jeremy.

18 years agor13093: adding vendor patch level string as announced on samba-technical ml
Gerald Carter [Mon, 23 Jan 2006 22:02:52 +0000 (22:02 +0000)]
r13093: adding vendor patch level string as announced on samba-technical ml

18 years agor13091: Fix gcc warning about using '0' with %s.
Jeremy Allison [Mon, 23 Jan 2006 21:57:58 +0000 (21:57 +0000)]
r13091: Fix gcc warning about using '0' with %s.
Jeremy.

18 years agor13089: quick fix to work around building ilbnss_winbind.so on SOlaris when --enable...
Gerald Carter [Mon, 23 Jan 2006 21:57:36 +0000 (21:57 +0000)]
r13089: quick fix to work around building ilbnss_winbind.so on SOlaris when --enable-developer is specified

18 years agor13086: hooking max connections into 'add share' as well (although the WinXP UI doesn...
Gerald Carter [Mon, 23 Jan 2006 14:47:55 +0000 (14:47 +0000)]
r13086: hooking max connections into 'add share' as well (although the WinXP UI doesn't give you a way to set the value on add

18 years agor13085: hook the max connections spin box in the share properties MMC plugin
Gerald Carter [Mon, 23 Jan 2006 14:34:26 +0000 (14:34 +0000)]
r13085: hook the max connections spin box in the share properties MMC plugin
dialog to the 'max connections' smb.conf parameter.  Also added the max
uses int from the SHARE_INFO_2 structure to the 'modify share command'

18 years agor13083: patch suggested by Adam Nielsen for better smbstatus formatting
Gerald Carter [Mon, 23 Jan 2006 14:26:48 +0000 (14:26 +0000)]
r13083: patch suggested by Adam Nielsen for better smbstatus formatting

18 years agor13082: revert an accidentally commited patch (still in progress)
Gerald Carter [Mon, 23 Jan 2006 14:04:40 +0000 (14:04 +0000)]
r13082: revert an accidentally commited patch (still in progress)

18 years agor13081: correct fix for the segv in nmbd caused by a double free on namerec.
Gerald Carter [Mon, 23 Jan 2006 14:02:17 +0000 (14:02 +0000)]
r13081: correct fix for the segv in nmbd caused by a double free on namerec.

18 years agor13072: Fix segfault in vfstest and smbtorture.
Deryck Hodge [Mon, 23 Jan 2006 00:19:45 +0000 (00:19 +0000)]
r13072: Fix segfault in vfstest and smbtorture.

deryck

18 years agor13058: Add %w macro for the winbind seperator which allows us for example
Lars Müller [Fri, 20 Jan 2006 20:22:23 +0000 (20:22 +0000)]
r13058: Add %w macro for the winbind seperator which allows us for example
        valid users = %S, %D%w%S

18 years agor13048: trying to fix the confusion over packaging platforms
Gerald Carter [Fri, 20 Jan 2006 01:11:26 +0000 (01:11 +0000)]
r13048: trying to fix the confusion over packaging platforms

18 years agor13047: specfile updates from John T.
Gerald Carter [Fri, 20 Jan 2006 01:09:44 +0000 (01:09 +0000)]
r13047: specfile updates from John T.

18 years agor13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
Jeremy Allison [Thu, 19 Jan 2006 22:26:26 +0000 (22:26 +0000)]
r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
When doing auth_crap authentication use the client
given workstation name not our own.
Jeremy.

18 years agor13028: Fix for #3419 - vfs_full_audit *never* worked
Jeremy Allison [Thu, 19 Jan 2006 00:34:48 +0000 (00:34 +0000)]
r13028: Fix for #3419 - vfs_full_audit *never* worked
correctly. Static variables were used !
Jeremy.

18 years agor13027: Support file change notifications from FAM.
James Peach [Thu, 19 Jan 2006 00:30:16 +0000 (00:30 +0000)]
r13027: Support file change notifications from FAM.

18 years agor13024: Add is_null_sid.
Günther Deschner [Thu, 19 Jan 2006 00:03:07 +0000 (00:03 +0000)]
r13024: Add is_null_sid.

GUenther

18 years agor13023: Ensure we notice if we exit due to guest user setup fail.
Jeremy Allison [Wed, 18 Jan 2006 23:42:29 +0000 (23:42 +0000)]
r13023: Ensure we notice if we exit due to guest user setup fail.
Jeremy.

18 years agor13020: Prevent cli_krb5_get_ticket of getting into an infite loop. This whole
Günther Deschner [Wed, 18 Jan 2006 22:40:00 +0000 (22:40 +0000)]
r13020: Prevent cli_krb5_get_ticket of getting into an infite loop. This whole
area of code needs to be reworked later on.

Guenther

18 years agor13015: Make logic much clearer. From jpeach.
Jeremy Allison [Wed, 18 Jan 2006 20:45:44 +0000 (20:45 +0000)]
r13015: Make logic much clearer. From jpeach.
Jeremy.

18 years agor13012: Fix #3421 - it turns out krb5_kt_get_entry() on MIT
Jeremy Allison [Wed, 18 Jan 2006 19:25:18 +0000 (19:25 +0000)]
r13012: Fix #3421 - it turns out krb5_kt_get_entry() on MIT
does an implicit open/read/close and blows away an
open keytab handle - so make sure we use a new
handle.
Wonderful analysis from Luke <ldeller@xplantechnology.com>
helped fix this.
Jeremy.

18 years agor12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>
Volker Lendecke [Wed, 18 Jan 2006 10:25:04 +0000 (10:25 +0000)]
r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>

18 years agor12993: Ouch...
Volker Lendecke [Wed, 18 Jan 2006 10:05:55 +0000 (10:05 +0000)]
r12993: Ouch...

18 years agor12991: some fixes for BUG 3331 - solaris packaging
Gerald Carter [Wed, 18 Jan 2006 04:56:28 +0000 (04:56 +0000)]
r12991: some fixes for BUG 3331 - solaris packaging

18 years agor12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell...
Gerald Carter [Wed, 18 Jan 2006 04:44:59 +0000 (04:44 +0000)]
r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'

18 years agor12986: Use d_fprintf(stderr, ...) for any error message in net.
Lars Müller [Tue, 17 Jan 2006 21:22:00 +0000 (21:22 +0000)]
r12986: Use d_fprintf(stderr, ...) for any error message in net.

All 'usage' messages are still printed to stdout.

Fix some compiler warnings for system() calls where we didn't used the
return code.  Add appropriate error messages and return with the error
code we got from system() or NT_STATUS_UNSUCCESSFUL.

18 years agor12967: BUG 1061: don't corrupt the file name when reading an lmhosts file (-H) in...
Gerald Carter [Mon, 16 Jan 2006 18:03:56 +0000 (18:03 +0000)]
r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file (-H) in nmbd.  Patch from    Andrew Esh <Andrew_Esh@adaptec.com>

18 years agor12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.
Lars Müller [Mon, 16 Jan 2006 17:21:47 +0000 (17:21 +0000)]
r12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.
Else SAFE_FREE seg faults.  Thanks to Günther for pointing me at this.

I've implemented in in this was as we should announce to remove the
idmap_ strip stuff after some time at all.

18 years agor12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jeremy Allison [Mon, 16 Jan 2006 05:47:39 +0000 (05:47 +0000)]
r12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>

On a Windows share, a file with read-only dosmode can be opened with
DELETE_ACCESS. But on a Samba share (delete readonly = no), it
fails with NT_STATUS_CANNOT_DELETE error.

This semantic causes a problem that a user can not
rename a file with read-only dosmode on a Samba share
from a Windows command prompt (i.e. cmd.exe, but can rename
from Windows Explorer).

Jeremy.

18 years agor12953: Support the TCP_FASTACK socket option if it is available. Note that this...
James Peach [Sun, 15 Jan 2006 23:13:47 +0000 (23:13 +0000)]
r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
not acutally help, but it is good to be complete.

18 years agor12951: Tell the MIPSPro compiler to push DEBUG calls out of line.
James Peach [Sun, 15 Jan 2006 23:09:17 +0000 (23:09 +0000)]
r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.

18 years agor12946: fix a segfault in nmbd when 'wins support = yes' caused by double free
Gerald Carter [Sun, 15 Jan 2006 12:30:36 +0000 (12:30 +0000)]
r12946: fix a segfault in nmbd when 'wins support = yes' caused by double free

18 years agor12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
Jeremy Allison [Sat, 14 Jan 2006 20:25:51 +0000 (20:25 +0000)]
r12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
Jeremy.

18 years agor12936: Fix bug #3264.
Lars Müller [Sat, 14 Jan 2006 15:25:33 +0000 (15:25 +0000)]
r12936: Fix bug #3264.

If we detect a leading 'idmap_' for the idmap backend setting we strip
this and inform about the deprecated config with DEBUG 0.

I'm not sure if we should set a TTL of one year or five additional
releases from now for this code.

This is required for the changes Günther made as the first step to solve
bug #3264.  With this fix we can even run with an old config.  This is
very important as we else will break existing configurations with an
update.

18 years agor12935: After discussion with Volker fix bug #3397 using a variant of the patch by...
Alexander Bokovoy [Sat, 14 Jan 2006 12:37:25 +0000 (12:37 +0000)]
r12935: After discussion with Volker fix bug #3397 using a variant of the patch by Alex Deiter (tiamat@komi.mts.ru).
Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003
on a member of a Samba domain. Also added support for this level in rpcclient.

The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter.

Jerry, we need this in 3.0.21b.

18 years agor12922: Fix typo.
Jeremy Allison [Fri, 13 Jan 2006 23:54:12 +0000 (23:54 +0000)]
r12922: Fix typo.
Jeremy.

18 years agor12920: Fix for #3401 from Andrew Bartlett. Original fix from
Jeremy Allison [Fri, 13 Jan 2006 23:23:09 +0000 (23:23 +0000)]
r12920: Fix for #3401 from Andrew Bartlett. Original fix from
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.

18 years agor12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
Gerald Carter [Fri, 13 Jan 2006 21:22:25 +0000 (21:22 +0000)]
r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names

18 years agor12915: protect against changing the SCM security descriptor
Gerald Carter [Fri, 13 Jan 2006 20:26:59 +0000 (20:26 +0000)]
r12915: protect against changing the SCM security descriptor

18 years agor12914: adding query/set ops for security descriptors on services.
Gerald Carter [Fri, 13 Jan 2006 20:24:50 +0000 (20:24 +0000)]
r12914: adding query/set ops for security descriptors on services.

18 years agor12913: missed merge to fix BUG 3391; ensure we can lookup account policies
Gerald Carter [Fri, 13 Jan 2006 19:38:09 +0000 (19:38 +0000)]
r12913: missed merge to fix BUG 3391; ensure we can lookup account policies

18 years agor12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access...
Gerald Carter [Fri, 13 Jan 2006 18:45:30 +0000 (18:45 +0000)]
r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount

18 years agor12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
Günther Deschner [Fri, 13 Jan 2006 14:55:08 +0000 (14:55 +0000)]
r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".

Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".

Guenther

18 years agor12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Günther Deschner [Fri, 13 Jan 2006 11:19:59 +0000 (11:19 +0000)]
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.

Guenther

18 years agor12900: Merge from trunk:
Günther Deschner [Fri, 13 Jan 2006 11:11:23 +0000 (11:11 +0000)]
r12900: Merge from trunk:

Correctly handle the case where users logon with an expired password.

In that case pam_sm_authenticate has to return PAM_SUCESS instead of
PAM_NEW_AUTHTOK_REQD or PAM_AUTHTOK_EXPIRED and pam_sm_acct_mgmt has to
take care of requesting an immediate password change. (see the Linux PAM
documentation).

Fixes Bugzilla #1524, #3205. Tested with login, sshd, kdm and gdm on
Linux.

Thanks to Scott Barker <Scott_Barker@mtechIT.com>.

Guenther

18 years agor12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previ...
Gerald Carter [Fri, 13 Jan 2006 03:10:50 +0000 (03:10 +0000)]
r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer

18 years agor12885: Oops. Missed last part of correct patch for #3348.
Jeremy Allison [Fri, 13 Jan 2006 02:54:46 +0000 (02:54 +0000)]
r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.

18 years agor12878: Don't use non-static array initialisers.
James Peach [Fri, 13 Jan 2006 00:07:54 +0000 (00:07 +0000)]
r12878: Don't use non-static array initialisers.

18 years agor12877: Stop passing structs around in smb messages, instead
Jeremy Allison [Thu, 12 Jan 2006 22:17:54 +0000 (22:17 +0000)]
r12877: Stop passing structs around in smb messages, instead
always linearize into little-endian. Should fix all
Solaris issues with this, plus provide a cleaner base
moving forward for cluster-aware Samba where smbd's
can communicate across different compilers/architectures
(eventually these message will have to go cross-machine).
Jeremy.

18 years agor12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
Lars Müller [Thu, 12 Jan 2006 18:06:05 +0000 (18:06 +0000)]
r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.

18 years agor12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
Gerald Carter [Thu, 12 Jan 2006 17:37:25 +0000 (17:37 +0000)]
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle

18 years agor12855: Remove erroneous commenting out of valgrind fix.
Jeremy Allison [Wed, 11 Jan 2006 20:23:02 +0000 (20:23 +0000)]
r12855: Remove erroneous commenting out of valgrind fix.
Jeremy.

18 years agor12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).
Günther Deschner [Wed, 11 Jan 2006 19:18:40 +0000 (19:18 +0000)]
r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).

The session key, after beeing set, was zeroed later on by the prs_init
in the CLI_DO_RPC macro.

Guenther

18 years agor12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500
Derrell Lipman [Wed, 11 Jan 2006 18:22:06 +0000 (18:22 +0000)]
r12852:  r12150@cabra:  derrell | 2006-01-11 13:21:14 -0500
 Although RTLD_NEXT was not working properly a number of years ago, it seems to be now.  Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT

18 years agor12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
Volker Lendecke [Wed, 11 Jan 2006 12:09:30 +0000 (12:09 +0000)]
r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.

Volker

18 years agor12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
Volker Lendecke [Wed, 11 Jan 2006 12:00:59 +0000 (12:00 +0000)]
r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
  be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker

18 years agor12837: - configure check for Tru64 EA functions (not yet implemented)
Volker Lendecke [Wed, 11 Jan 2006 10:21:23 +0000 (10:21 +0000)]
r12837: - configure check for Tru64 EA functions (not yet implemented)
- find Tru64 AIO lib in configure

Thanks to Björn Jacke <bj@sernet.de>

Volker

18 years agor12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
Tim Potter [Mon, 9 Jan 2006 21:58:40 +0000 (21:58 +0000)]
r12802: Fix for bugzilla #3389 from William Jojo.  This fixes failures on AIX in
linking smbd when the symbol table for ld exceeds 65536 bytes.

18 years agor12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusi...
Gerald Carter [Mon, 9 Jan 2006 15:54:16 +0000 (15:54 +0000)]
r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusion of aio support on AIX

18 years agor12788: Since we have agreed on the case of winbindd names, we can store a
Günther Deschner [Mon, 9 Jan 2006 12:59:41 +0000 (12:59 +0000)]
r12788: Since we have agreed on the case of winbindd names, we can store a
sid_to_name lookup result already after doing a sucessfull name_to_sid
lookup.

Guenther

18 years agor12787: Revert last commit that removed our logic of memorizing negative
Günther Deschner [Mon, 9 Jan 2006 12:51:57 +0000 (12:51 +0000)]
r12787: Revert last commit that removed our logic of memorizing negative
name_to_sid lookups in the cache.

Guenther

18 years agor12781: Support the level parameter for lsa_lookupsids.
Volker Lendecke [Sun, 8 Jan 2006 22:00:01 +0000 (22:00 +0000)]
r12781: Support the level parameter for lsa_lookupsids.

Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c
needs to know we're storing stuff in ucs2.

Volker

18 years agor12771: Apply patch from bug 3374, attempt to fix build on tru64.
Volker Lendecke [Sun, 8 Jan 2006 15:31:25 +0000 (15:31 +0000)]
r12771: Apply patch from bug 3374, attempt to fix build on tru64.

Thanks to "The Written Word" -- whoever that is :-)

Volker

18 years agor12760: Fix bug 3384
Volker Lendecke [Sat, 7 Jan 2006 22:11:30 +0000 (22:11 +0000)]
r12760: Fix bug 3384

18 years agor12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:36 +0000 (20:43 +0000)]
r12759:  r12128@cabra:  derrell | 2006-01-07 15:34:01 -0500
 Incorporate a number of changes suggested by David Collier-Brown  Thanks, David!

18 years agor12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:31 +0000 (20:43 +0000)]
r12758:  r12127@cabra:  derrell | 2006-01-03 15:22:18 -0500
 remove old superfluous comment and ifdef

18 years agor12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
Derrell Lipman [Sat, 7 Jan 2006 20:43:28 +0000 (20:43 +0000)]
r12757:  r12126@cabra:  derrell | 2006-01-03 15:21:36 -0500
 added flag to not request authentication information