nivanova/samba-autobuild/.git
16 years agor9252: 2 type fixes from Luke Mewburn <lukem@NetBSD.org>. Bugid #2934.
Jeremy Allison [Fri, 12 Aug 2005 00:05:17 +0000 (00:05 +0000)]
r9252: 2 type fixes from Luke Mewburn <lukem@NetBSD.org>. Bugid #2934.
Jeremy.
(This used to be commit c63ad85b8c1aedd04a65e46c27a6e2661093847a)

16 years agor9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open
Jeremy Allison [Thu, 11 Aug 2005 22:45:57 +0000 (22:45 +0000)]
r9246: Patch from Marcel samba.10.maazl@spamgourmet.com for OS/2 trans2 open
reply bugs.
Jeremy.
(This used to be commit 3ec6fc8d1e34c344f59b8c1a22f3bab556e7fa07)

16 years agor9244: Fix bugs found by Coverity.
Jeremy Allison [Thu, 11 Aug 2005 20:44:18 +0000 (20:44 +0000)]
r9244: Fix bugs found by Coverity.
Jeremy.
(This used to be commit bf80edeea70cb4ed90f9e1e7adeedeb9cf3b38c1)

16 years agor9242: Fix my fix for #2953. I'd moved too much code until after we verify the user,
Jim McDonough [Thu, 11 Aug 2005 19:45:53 +0000 (19:45 +0000)]
r9242: Fix my fix for #2953.  I'd moved too much code until after we verify the user,
causing netlogon to return an invalid response for failed interactive logons.
(This used to be commit 4deb918b682fb51d8712cfdafc6210275dd10fc4)

16 years agor9229: merge from trunk:
Günther Deschner [Wed, 10 Aug 2005 16:02:32 +0000 (16:02 +0000)]
r9229: merge from trunk:

allow admins to uncheck the "User must change Password at next Logon"
checkbox in Usermanager.

Guenther
(This used to be commit b1e4b72c1c36869c4dfc5ed284be24edc99f6774)

16 years agor9225: Various minor CIFS mount helper fixes to less common error paths.
Steve French [Tue, 9 Aug 2005 22:44:51 +0000 (22:44 +0000)]
r9225: Various minor CIFS mount helper fixes to less common error paths.

These bugs were found by Coverity static source code analysis tools.
(This used to be commit 98a7304b6be4672f6b29e4a9406e63ccb842381c)

16 years agor9203: Bugzilla bug #2314. Cast away the const of the dev argument to quotactl to
James Peach [Sun, 7 Aug 2005 23:14:53 +0000 (23:14 +0000)]
r9203: Bugzilla bug #2314. Cast away the const of the dev argument to quotactl to
remove the compiler warning. This is safe since quotactl doesn't modify the dev
argument.
(This used to be commit ec4ea17ce603a22db11d658512f125948e604a02)

16 years agor9201: Ouch.... :-(
Volker Lendecke [Sun, 7 Aug 2005 21:34:55 +0000 (21:34 +0000)]
r9201: Ouch.... :-(
(This used to be commit c78760d71ec6a364a912ba35e8a90f8005fdc018)

16 years agor9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.
Volker Lendecke [Sun, 7 Aug 2005 21:23:38 +0000 (21:23 +0000)]
r9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.

Volker
(This used to be commit 9e94ba54b0581e4b7636e70f309af6394de6edbf)

16 years agor9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.
Volker Lendecke [Sun, 7 Aug 2005 20:59:28 +0000 (20:59 +0000)]
r9198: Convert hex_encode and strhex_to_data_blob to take a talloc context.

Volker
(This used to be commit c7d10e2c834d8d5136e2d01dea1ad286757deddb)

16 years agor9195: setting log level to 2 instead of 0
Gerald Carter [Sun, 7 Aug 2005 20:28:53 +0000 (20:28 +0000)]
r9195: setting log level to 2 instead of 0
(This used to be commit 3a633a509e8e8e5239d456960f3014172f1e4b3d)

16 years agor9194: do not enumerate privileges when they are not enabled
Gerald Carter [Sun, 7 Aug 2005 20:10:21 +0000 (20:10 +0000)]
r9194: do not enumerate privileges when they are not enabled
(This used to be commit ff6e3464a2df7fd8a79da8f059a080934d9b3749)

16 years agor9189: Add the capability to set different registry value types (string, dword and
Volker Lendecke [Sun, 7 Aug 2005 19:09:14 +0000 (19:09 +0000)]
r9189: Add the capability to set different registry value types (string, dword and
multistring) using setprinterdata. In multistring zero-length strings need to
be specified by "NULL", which is a bit crappy. But poptParseArgvString seems
to eat '' strings. Fix that in getdata as well.

Volker
(This used to be commit df85b41462be6367eb0e932fe9de589f72cc5ea2)

16 years agor9186: comment out 'make check'; to be replaced by 'make test'
Gerald Carter [Sun, 7 Aug 2005 18:43:53 +0000 (18:43 +0000)]
r9186: comment out 'make check'; to be replaced by 'make test'
(This used to be commit d66a5a97f38b358ab3459d4b5a801499c2a2c60c)

16 years agor9163: Rename UNKNOWN_TYPE_10 to PAC_LOGON_NAME (merge from samba4)
Günther Deschner [Sat, 6 Aug 2005 04:35:11 +0000 (04:35 +0000)]
r9163: Rename UNKNOWN_TYPE_10 to PAC_LOGON_NAME (merge from samba4)

Guenther
(This used to be commit d14dcba9635d10d2d8bf9f60c601b8c9078ec340)

16 years agor9126: Fix valgrind bug Volker found in interaction with new aio buffer
Jeremy Allison [Fri, 5 Aug 2005 17:10:10 +0000 (17:10 +0000)]
r9126: Fix valgrind bug Volker found in interaction with new aio buffer
flipping and oplocks.
Jeremy.
(This used to be commit a18c5ff3eada93e46da3f7cbd326b8dceb72e147)

16 years agor9115: using #define for reg paths rather than typing the string
Gerald Carter [Fri, 5 Aug 2005 14:34:25 +0000 (14:34 +0000)]
r9115: using #define for reg paths rather than typing the string
(This used to be commit e9427912a763b0e4bb47724f835b91c2252105e8)

16 years agor9114: removing gratuitous debug messages
Gerald Carter [Fri, 5 Aug 2005 14:32:42 +0000 (14:32 +0000)]
r9114: removing gratuitous debug messages
(This used to be commit c3e14230387d8644152cf7e1f612a7ca7ec6f583)

16 years agor9112: Fix #2953 - credentials chain on DC gets out of sync with client when
Jim McDonough [Fri, 5 Aug 2005 12:33:00 +0000 (12:33 +0000)]
r9112: Fix #2953 - credentials chain on DC gets out of sync with client when
NT_STATUS_NO_USER returned.  We were moving to the next step in the
chain when the client wasn't.  Only update when the user logs on.
(This used to be commit b01a3a4111f544eef5bd678237d07a82d1ce9c22)

16 years agor9098: fix another usrmgr.exe crash when viewing user properties at debuglevel 10
Gerald Carter [Fri, 5 Aug 2005 04:48:02 +0000 (04:48 +0000)]
r9098: fix another usrmgr.exe crash when viewing user properties at debuglevel 10
(This used to be commit f5756c2611df5a026d78f8acb229d7c25f1fd383)

16 years agor9095: Add crude chainlength statistics to the crude tdbtool.
Volker Lendecke [Fri, 5 Aug 2005 04:32:24 +0000 (04:32 +0000)]
r9095: Add crude chainlength statistics to the crude tdbtool.

Volker
(This used to be commit 5e6fef32b372e20cb570c578e2044e89f9ee45b3)

16 years agor9091: Fix #2954, aix 5.1 compile. Stupid aix aio.h header defines aio_error and
Jim McDonough [Fri, 5 Aug 2005 01:23:33 +0000 (01:23 +0000)]
r9091: Fix #2954, aix 5.1 compile.  Stupid aix aio.h header defines aio_error and
aio_return as macros...
(This used to be commit 65adbd83fe6a29705e9831d118fb0e0f93f2ef1f)

16 years agor9087: change version to 3.0.21pre1 since I will start cherry picking patches for...
Gerald Carter [Fri, 5 Aug 2005 00:59:23 +0000 (00:59 +0000)]
r9087: change version to 3.0.21pre1 since I will start cherry picking patches for the final 3.0.20
(This used to be commit bfc43a8c75e5af9cc04dea44c36bdc22ee358336)

16 years agor9086: * fix invalid read in parse_spoolss when writing a devmode to
Gerald Carter [Fri, 5 Aug 2005 00:58:31 +0000 (00:58 +0000)]
r9086: * fix invalid read in parse_spoolss when writing a devmode to
  the wire
* fix dup_a_regval() when size is 0
* ensure we pass a pstring to unlink_internals (fixes delete_driver
  code)
(This used to be commit 353e63ff421c564a1b7c7cfe95982f31c871a227)

16 years agor9080: If we don't understand the auth, bind nak not pdu fault.
Jeremy Allison [Fri, 5 Aug 2005 00:25:52 +0000 (00:25 +0000)]
r9080: If we don't understand the auth, bind nak not pdu fault.
Should fix usermgr on W2K3 SP1.
Jeremy.
(This used to be commit 592ec9fbffc704761c6b29cfc795cf3af7d5fe38)

16 years agor9076: fix two other issues invented along the
Günther Deschner [Thu, 4 Aug 2005 23:20:48 +0000 (23:20 +0000)]
r9076: fix two other issues invented along the
cli_spoolss_enumprinterkey-changes.

Guenther
(This used to be commit db8fce2e05bf1981866a7737703ad414ea91febc)

16 years agor9073: Fixing up please-add-me typos in stupid, over-designed stackable
Jeremy Allison [Thu, 4 Aug 2005 21:00:15 +0000 (21:00 +0000)]
r9073: Fixing up please-add-me typos in stupid, over-designed stackable
vfs interface.
Jeremy.
(This used to be commit 00172474679048b6967c290cb9cca5e11ea2ed5c)

16 years agor9057: fix cut-and-paste error
Herb Lewis [Thu, 4 Aug 2005 15:07:17 +0000 (15:07 +0000)]
r9057: fix cut-and-paste error
(This used to be commit 7e7e54259a49f97a0c099d984a8b705c4e0fd26d)

16 years agor9051: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
Lars Müller [Thu, 4 Aug 2005 04:57:51 +0000 (04:57 +0000)]
r9051: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend.

Also add these changes from svn rev 7787 to trunk.
(This used to be commit 7423895900817ab31e0ae6a44f1cae250e782c7d)

16 years agor9041: typo. Thanks jerry.
Günther Deschner [Thu, 4 Aug 2005 03:25:33 +0000 (03:25 +0000)]
r9041: typo. Thanks jerry.

Guenther
(This used to be commit 7afb424091eee603c7a858cf27e73bff45f6f9a2)

16 years agor9040: revert pointer checks that I had removed; fixes crash in calls to enumprinterd...
Gerald Carter [Thu, 4 Aug 2005 03:11:02 +0000 (03:11 +0000)]
r9040: revert pointer checks that I had removed; fixes crash in calls to enumprinterdata()
(This used to be commit f81b885f46e8f7eb1e77ab0126fdf414549fd7fa)

16 years agor9038: Revert svn rev 414. Discussed with Jerry and Metze.
Lars Müller [Thu, 4 Aug 2005 02:59:19 +0000 (02:59 +0000)]
r9038: Revert svn rev 414.  Discussed with Jerry and Metze.

We need the option to add an 'a' if we're already in pre or rc state
with the next release.

Bugzilla Bug 2618
(This used to be commit 26bf1d223efd011ca7c4d5c7d5de23d0f9ad0823)

16 years agor9029: Another crash bug when enumerating privileges.
Günther Deschner [Thu, 4 Aug 2005 01:41:03 +0000 (01:41 +0000)]
r9029: Another crash bug when enumerating privileges.
Thanks Volker!

Guenther
(This used to be commit e59c7c76d7ce52c7e16c4978c017636383ec57a5)

16 years agor9021: Fix smbd-crash bug in openprinter (found by samba4 smbtorture
Günther Deschner [Wed, 3 Aug 2005 22:07:57 +0000 (22:07 +0000)]
r9021: Fix smbd-crash bug in openprinter (found by samba4 smbtorture
RPC-SPOOLSS).

Guenther
(This used to be commit 06bfe789d54a12dfa3c46e9777f96ff7e162a9db)

16 years agor8992: More make test work. Adding a way to order tests (might change
Gerald Carter [Wed, 3 Aug 2005 06:24:28 +0000 (06:24 +0000)]
r8992: More make test work.  Adding a way to order tests (might change
my mind on this later).
(This used to be commit 136fe3f15e74686882f7c1e5a46fcc0bcf7d51a6)

16 years agor8990: First trivial example of 'make test'
Gerald Carter [Wed, 3 Aug 2005 05:46:43 +0000 (05:46 +0000)]
r8990: First trivial example of 'make test'
(This used to be commit 11c886394970713a226d1fe46a4931ef97bb39a8)

16 years agor8989: Fix a warning
Volker Lendecke [Wed, 3 Aug 2005 05:46:06 +0000 (05:46 +0000)]
r8989: Fix a warning
(This used to be commit 3d491ebf9ca8edae938aee08abb924905fd83deb)

16 years agor8971: Fix querydispinfo (still need to look at enumdomusers) to allow to list
Günther Deschner [Wed, 3 Aug 2005 01:08:42 +0000 (01:08 +0000)]
r8971: Fix querydispinfo (still need to look at enumdomusers) to allow to list
more then 511 users.

After the rewrite, the old NT_STATUS-semantics didn't fit any longer.

Guenther
(This used to be commit 690da51d835fd780b16d8ce6521957146c90da78)

16 years agor8963: Clean up the horrid "fake conn struct" part of MSDFS.
Jeremy Allison [Tue, 2 Aug 2005 23:55:38 +0000 (23:55 +0000)]
r8963: Clean up the horrid "fake conn struct" part of MSDFS.
Jeremy.
(This used to be commit 14dd5ab632ff9abb9582e6484187c6ee1573cdd6)

16 years agor8961: Merge IRIX fix for socket wrapper
Jelmer Vernooij [Tue, 2 Aug 2005 23:43:50 +0000 (23:43 +0000)]
r8961: Merge IRIX fix for socket wrapper
(This used to be commit bd49c3133988300969e64a20c6c85fff768b985b)

16 years agor8959: Make msdfs code talloc based. Fix leaks.
Jeremy Allison [Tue, 2 Aug 2005 23:24:32 +0000 (23:24 +0000)]
r8959: Make msdfs code talloc based. Fix leaks.
Jeremy.
(This used to be commit 076023df8ea7c0f03baf8102e55d347e05542c7b)

16 years agor8956: fix segfault caused by trying to parse a UNISTR2
Gerald Carter [Tue, 2 Aug 2005 23:23:25 +0000 (23:23 +0000)]
r8956: fix segfault caused by trying to parse a UNISTR2
and not a UNISTR2*
(This used to be commit f775fc7209da9e11768625f4084297aa16c9a4d1)

16 years agor8950: Fix one more mem leak found by Gunther.
Jeremy Allison [Tue, 2 Aug 2005 20:59:20 +0000 (20:59 +0000)]
r8950: Fix one more mem leak found by Gunther.
Jeremy.
(This used to be commit 547c6ee0a965b425719cdb834dd5d68a3a3e7117)

16 years agor8949: Fix incorrect SHLIBEXT is set when running configure script on HPUX IA
Tim Potter [Tue, 2 Aug 2005 20:58:10 +0000 (20:58 +0000)]
r8949: Fix incorrect SHLIBEXT is set when running configure script on HPUX IA
systems. This causes share libs to be built with .sl instead of .so
extensions.  Patch from Adrian Tam to fix bugzilla #2733.
(This used to be commit 84936e7491148ab42d0ac158ab41adddb245b860)

16 years agor8948: Fix valgrind bad free bug found by Gunther.
Jeremy Allison [Tue, 2 Aug 2005 20:50:16 +0000 (20:50 +0000)]
r8948: Fix valgrind bad free bug found by Gunther.
Jeremy.
(This used to be commit ff291f4c97b76fb3e9b71a07752ca68c23011273)

16 years agor8946: Some casts to fix warnings when time_t is an unsigned type. Fixes
Tim Potter [Tue, 2 Aug 2005 20:44:30 +0000 (20:44 +0000)]
r8946: Some casts to fix warnings when time_t is an unsigned type.  Fixes
bugzilla #1888 and #1894.
(This used to be commit dcc74371388d280d8ee5130a04e1594ae88d19b3)

16 years agor8943: Fix segfault in enum_service_status
Gerald Carter [Tue, 2 Aug 2005 20:33:50 +0000 (20:33 +0000)]
r8943: Fix segfault in enum_service_status
(This used to be commit 04a551f0a4d321f5e1a7af33468160e2c7839af8)

16 years agor8941: Fix unused variable warning. Bugzilla #2940.
Tim Potter [Tue, 2 Aug 2005 20:19:42 +0000 (20:19 +0000)]
r8941: Fix unused variable warning.  Bugzilla #2940.
(This used to be commit 6d0aafa5990b1e56d046489e07cbfe85d258c53f)

16 years agor8938: fix querydispinfo search semantics.
Günther Deschner [Tue, 2 Aug 2005 19:48:42 +0000 (19:48 +0000)]
r8938: fix querydispinfo search semantics.

Just in case some uses rpcclient for code-testing...

Guenther
(This used to be commit 624b1c220801834820a605274b1abce883597403)

16 years agor8937: allow to use non-default smb.conf in rpcclient
Günther Deschner [Tue, 2 Aug 2005 19:46:11 +0000 (19:46 +0000)]
r8937: allow to use non-default smb.conf in rpcclient

Guenther
(This used to be commit c0f3f12a6237842987845f4b4c787e25a632f2f5)

16 years agor8935: Fix signed/unsigned comparison warning. Bugzilla #2943.
Tim Potter [Tue, 2 Aug 2005 19:15:19 +0000 (19:15 +0000)]
r8935: Fix signed/unsigned comparison warning.  Bugzilla #2943.
(This used to be commit e928a20c2bf9c79a68711c6bcd4fb91b270245f4)

16 years agor8928: Fix mangle method = hash - bugid #2946. Incorrect strcmp_wa and
Jeremy Allison [Tue, 2 Aug 2005 17:52:44 +0000 (17:52 +0000)]
r8928: Fix mangle method = hash - bugid #2946. Incorrect strcmp_wa and
strncmp_wa.
Jeremy.
(This used to be commit 604c1b239bca316f7afaf76b1a586c638f3a2562)

16 years agor8922: AIO configure fixes from William Jojo for IBM AIX aio.
Jeremy Allison [Tue, 2 Aug 2005 16:49:19 +0000 (16:49 +0000)]
r8922: AIO configure fixes from William Jojo for IBM AIX aio.
Jeremy
(This used to be commit 6e9ad296633ca6cb1fea8a8299514c84232f2da6)

16 years agor8916: should fix the valgrind invalid read of size 1 onthe
Gerald Carter [Tue, 2 Aug 2005 07:26:29 +0000 (07:26 +0000)]
r8916: should fix the valgrind invalid read of size 1 onthe
GetPrinterData("OSVersion") abartlet saw when browsing from
Vista client.
(This used to be commit b527b86ae80ebc0b6e7318ed31d44be985aa9af0)

16 years agor8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.
Andrew Bartlett [Tue, 2 Aug 2005 07:07:43 +0000 (07:07 +0000)]
r8913: Fix memory leak in -r 8912: Free the right thing, rather than blob1 'twice'.

Andrew Bartlett
(This used to be commit 7adeba4036d9d83a10d8944c81ea3fab0267db21)

16 years agor8912: Samba 3.0 was failing from a Vista client, because it was using 'raw'
Andrew Bartlett [Tue, 2 Aug 2005 06:36:42 +0000 (06:36 +0000)]
r8912: Samba 3.0 was failing from a Vista client, because it was using 'raw'
NTLMSSP (not wrapped in SPNEGO).  We really should have supported this
anyway, but we got away with it for a while...

Andrew Bartlett
(This used to be commit 78f0640a4b4af8b40c0af251fd06edd97feaf1be)

16 years agor8911: cosmetic fixes.
Günther Deschner [Tue, 2 Aug 2005 06:24:45 +0000 (06:24 +0000)]
r8911: cosmetic fixes.

Guenther
(This used to be commit bf67a8611491ed748c6975787ce2f0572586a3c6)

16 years agor8900: fix typo thyat broke compile in my last commit
Gerald Carter [Mon, 1 Aug 2005 21:04:24 +0000 (21:04 +0000)]
r8900: fix typo thyat broke compile in my last commit
(This used to be commit 0b9faafe402137f28f99ceb5a2e6f930d2136224)

16 years agor8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
Gerald Carter [Mon, 1 Aug 2005 20:54:31 +0000 (20:54 +0000)]
r8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)

16 years agor8894: Fix a warning. Bugzilla #2939.
Tim Potter [Mon, 1 Aug 2005 19:58:16 +0000 (19:58 +0000)]
r8894: Fix a warning.  Bugzilla #2939.
(This used to be commit 7648f6cef038dde7fdfbe157784f2fd5437218b0)

16 years agor8892: Fix #2942 - missing value in debug ! Doh !
Jeremy Allison [Mon, 1 Aug 2005 19:47:57 +0000 (19:47 +0000)]
r8892: Fix #2942 - missing value in debug ! Doh !
Jeremy.
(This used to be commit 8bb12c66d37a1cfbd3069cdba408cc051e84112a)

16 years agor8889: Another warning
Volker Lendecke [Mon, 1 Aug 2005 18:15:05 +0000 (18:15 +0000)]
r8889: Another warning
(This used to be commit 9ae1098d211f5e687786abb8474b1c4210413f0f)

16 years agor8869: Get rid of a warning.
Volker Lendecke [Sun, 31 Jul 2005 23:27:55 +0000 (23:27 +0000)]
r8869: Get rid of a warning.

Volker
(This used to be commit dbcc1de3f89de9f0b2fa75287e7640e824b58e20)

16 years agor8840: fix fedora packaging for FC4
Gerald Carter [Thu, 28 Jul 2005 21:40:04 +0000 (21:40 +0000)]
r8840: fix fedora packaging for FC4
(This used to be commit fce35d77b8fd6120bd7526b704c1b0c2f718d1fd)

16 years agor8835: fixing SWAT install after docs change
Gerald Carter [Thu, 28 Jul 2005 17:28:29 +0000 (17:28 +0000)]
r8835: fixing SWAT install after docs change
(This used to be commit 97d1b8e8d191834e551fb15940061d4b2fb2b87f)

16 years agor8834: fixing SWAT install after docs changeswat/help/welcome.html
Gerald Carter [Thu, 28 Jul 2005 17:28:20 +0000 (17:28 +0000)]
r8834: fixing SWAT install after docs changeswat/help/welcome.html
(This used to be commit 6fb371f0c87379a9812ff0cad30c739df171a462)

16 years agor8833: Fix some uninitialized variables.
Volker Lendecke [Thu, 28 Jul 2005 15:01:29 +0000 (15:01 +0000)]
r8833: Fix some uninitialized variables.

Volker
(This used to be commit 503a58b6be1972bea0804fab82aee1d814f6d522)

16 years agor8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.
Jeremy Allison [Wed, 27 Jul 2005 20:25:04 +0000 (20:25 +0000)]
r8805: Merge a duplicate struct. Get ready to support SPNEGO rpc binds.
Jeremy.
(This used to be commit fd6e342746edfda2f25df1ae0067d359b756e0cd)

16 years agor8800: grr...get logic right when checking #define
Gerald Carter [Wed, 27 Jul 2005 17:41:07 +0000 (17:41 +0000)]
r8800: grr...get logic right when checking #define
(This used to be commit c2f69827de13a6e63077bfc4a62738c0f88e0835)

16 years agor8799: disabling schannel on samr and lsa until I figure out
Gerald Carter [Wed, 27 Jul 2005 17:30:23 +0000 (17:30 +0000)]
r8799: disabling schannel on samr and lsa until I figure out
the latest MS changes in 2003 sp1 and 2004 sp4 sr1
(This used to be commit 7588c32baa50994bdc6e351d79da3edff1fdc876)

16 years agor8798: Save one system call per SMB. smb_run_idle_events right now is only used to
Volker Lendecke [Wed, 27 Jul 2005 16:10:50 +0000 (16:10 +0000)]
r8798: Save one system call per SMB. smb_run_idle_events right now is only used to
close idle pdb_ldap connections, and from my point of view this can wait until
normal timeout handling, this does not need to be done per client request.

Volker
(This used to be commit 404b817d7294fbea64f0fca019406c5c7458e386)

16 years agor8797: avoid unset rids for builtin-aliases.
Günther Deschner [Wed, 27 Jul 2005 15:11:20 +0000 (15:11 +0000)]
r8797: avoid unset rids for builtin-aliases.

Guenther
(This used to be commit c2810bcf662771113dccdd603cd658d19a09de80)

16 years agor8796: disable schannel on the lsa client pipe for now to deal with Windows 2003...
Gerald Carter [Wed, 27 Jul 2005 15:08:11 +0000 (15:08 +0000)]
r8796: disable schannel on the lsa client pipe for now to deal with Windows 2003 sp1 and Windows 2000 SP4 SR1
(This used to be commit bc1443837c81bebbac7894075a15fe96338f8b0a)

16 years agor8795: fix our perpetual motion maching in strncpy_w()
Gerald Carter [Wed, 27 Jul 2005 14:21:27 +0000 (14:21 +0000)]
r8795: fix our perpetual motion maching in strncpy_w()
(This used to be commit 3228e93ef2beda6f3551b2630e48db18bafd2e20)

16 years agor8787: Make enumeration of builtin-aliases work again.
Günther Deschner [Tue, 26 Jul 2005 21:57:49 +0000 (21:57 +0000)]
r8787: Make enumeration of builtin-aliases work again.

Guenther
(This used to be commit 0c8859474da609c69435c2acdfa4fa012d87eed3)

16 years agor8786: Fix amazing and long-standing bug where user-accounts are just crippled
Günther Deschner [Tue, 26 Jul 2005 20:11:37 +0000 (20:11 +0000)]
r8786: Fix amazing and long-standing bug where user-accounts are just crippled
accounts (accounts without AcctCtrl set) after a vampire-process.

New Accounts tend to hace no acb_info at all which means "0"
(ACB_NORMAL). Unless 0 becomes not 0 we don't do anything and set *no*
acctrl for normal users at all (!). Those crippled users now don't show
up in usrmgr since 3.0.20somethings ldap-routines now finally test if
the attribute is there.

Guenther
(This used to be commit c270ae79b5ef6d27a2a9e5a2d4f6bb20f7107b16)

16 years agor8782: Fix bug #2918. The problem was using Inbuffer to push a deferred open message...
Jeremy Allison [Tue, 26 Jul 2005 17:58:53 +0000 (17:58 +0000)]
r8782: Fix bug #2918. The problem was using Inbuffer to push a deferred open message onto the queue
when we're in a chained message set - we're actually processing a different
buffer then. Added current_inbuf as a static inside smbd/process.c to ensure the
correct message gets pushed and processed.
Jeremy.
(This used to be commit ccef7581717bff6145ffc386d5be24d6f42634cb)

16 years agor8762: Attempt to fix the winbindd crashing bug on Solaris (can't remember
Jeremy Allison [Tue, 26 Jul 2005 00:10:45 +0000 (00:10 +0000)]
r8762: Attempt to fix the winbindd crashing bug on Solaris (can't remember
the bugid). Make the functions in lib/util_unistr.c odd-alignment
safe using some evil macros. Needs testing on bigendian.
Jeremy.
(This used to be commit 871c647bc3ee465e613cba260d9cd7e66e47b68a)

16 years agor8757: Add debug messages so we can see what attributes and values are being
Jeremy Allison [Mon, 25 Jul 2005 18:28:39 +0000 (18:28 +0000)]
r8757: Add debug messages so we can see what attributes and values are being
set/deleted/modified in an ldap query.
Jeremy.
(This used to be commit 813207205436ba4ebd2148285f937c05be8ffd22)

16 years agor8755: more malloc fixes
Gerald Carter [Mon, 25 Jul 2005 15:04:25 +0000 (15:04 +0000)]
r8755: more malloc fixes
(This used to be commit b46546c18a1bf541cb0f172184ca7ecee499b098)

16 years agor8716: adding 'username map script' which if defined takes precendence over
Gerald Carter [Fri, 22 Jul 2005 17:45:39 +0000 (17:45 +0000)]
r8716: adding 'username map script' which if defined takes precendence over
the username map file.
(This used to be commit 46f2897fdc1f9308f2cc15834c8b039c17c34707)

16 years agor8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
Jeremy Allison [Fri, 22 Jul 2005 05:00:27 +0000 (05:00 +0000)]
r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909.
Jeremy.
(This used to be commit 6ea3aadd6630a62d52a9a6e09995b57f55e60d41)

16 years agor8697: BUG 2908: make sure to allow for the trailing NULL
Gerald Carter [Fri, 22 Jul 2005 03:35:28 +0000 (03:35 +0000)]
r8697: BUG 2908: make sure to allow for the trailing NULL
(This used to be commit 3b505a824365222352be6a5ad2fb26586415a7a3)

16 years agor8695: Patch from James Peach for hires timestamps and efficient
Jeremy Allison [Fri, 22 Jul 2005 01:14:09 +0000 (01:14 +0000)]
r8695: Patch from James Peach for hires timestamps and efficient
notify code. Bugid #2285. The last commit by me on behalf
of James as he will be able to do his own now :-).
Jeremy.
(This used to be commit 524298b3f32f478e3750d805c5dc3b8fbe40d8d2)

16 years agor8689: Fixes bugid #2889 for sure. Turns out the OS/2 dos box doesn't like two offsets
Jeremy Allison [Thu, 21 Jul 2005 20:24:21 +0000 (20:24 +0000)]
r8689: Fixes bugid #2889 for sure. Turns out the OS/2 dos box doesn't like two offsets
to be identical. Make offsets for . and .. different (and explicit).
Jeremy.
(This used to be commit 217cc66e46b3df35a66fed4055bd5032aab4d73f)

16 years agor8686: Revert %LOGONSERVER%-substitution. The substition is done on the client,
Günther Deschner [Thu, 21 Jul 2005 17:40:20 +0000 (17:40 +0000)]
r8686: Revert %LOGONSERVER%-substitution. The substition is done on the client,
not on the server.

We now preserve this windows variable (important for vampired setups)
and correctly substitute only the "%L"s in strings like:

        "%LOGONSERVER% %L %lOgOnSeRvEr% %L".

Guenther
(This used to be commit dccf777f42ce1d3f788548842fb8a606bed5708c)

16 years agor8682: fix vfstest, thanks to Rainer Link for spotting this one
Simo Sorce [Thu, 21 Jul 2005 13:45:34 +0000 (13:45 +0000)]
r8682: fix vfstest, thanks to Rainer Link for spotting this one
(This used to be commit a3b89cb5c13b7e51f27b74b87c03002f537154d5)

16 years agor8675: fix some compile warnings.
Günther Deschner [Thu, 21 Jul 2005 09:28:12 +0000 (09:28 +0000)]
r8675: fix some compile warnings.

Guenther
(This used to be commit afa8ae831a8d9cde8c6474c5fc807a9ca8155273)

16 years agor8673: merged from samba4
Andrew Tridgell [Thu, 21 Jul 2005 08:46:09 +0000 (08:46 +0000)]
r8673: merged from samba4
(This used to be commit 57da72d88e0bef0d234651ad45e422e8ca8bd4b4)

16 years agor8657: Add -fPIC which is the case for all other Samba shared libs.
Lars Müller [Wed, 20 Jul 2005 20:30:21 +0000 (20:30 +0000)]
r8657: Add -fPIC which is the case for all other Samba shared libs.

Fix bug #2060.
(This used to be commit 8c09716c91e0bb2ef90a9f81e093048077581e47)

16 years agor8655: Still trying to fix #2889. We don't need the DPTR_MASK after
Jeremy Allison [Wed, 20 Jul 2005 18:21:38 +0000 (18:21 +0000)]
r8655: Still trying to fix #2889. We don't need the DPTR_MASK after
all, now thinking it might be to do with flags2...
Jeremy.
(This used to be commit a3ceabf7c678b5e7f77cc073cf535498ffc67eb6)

16 years agor8654: merging cli_spoolss_XX() updates from trunk
Gerald Carter [Wed, 20 Jul 2005 15:35:29 +0000 (15:35 +0000)]
r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)

16 years agor8653: Fix bug #2659.
Lars Müller [Wed, 20 Jul 2005 13:43:38 +0000 (13:43 +0000)]
r8653: Fix bug #2659.
(This used to be commit 2720c82a950a0afded25c2c161cda47ea412fea3)

16 years agor8641: Fix bug #2262. Now we accept freebsd 5 till 9 as suggested by Timur
Lars Müller [Wed, 20 Jul 2005 08:07:06 +0000 (08:07 +0000)]
r8641: Fix bug #2262.  Now we accept freebsd 5 till 9 as suggested by Timur
Bakeyev.
(This used to be commit d395ba2d40fdb5df04f0b6fbe9b4893002a3fcae)

16 years agor8617: Be very explicit if addprinterex is called that the "addprinter command"
Jeremy Allison [Tue, 19 Jul 2005 21:41:41 +0000 (21:41 +0000)]
r8617: Be very explicit if addprinterex is called that the "addprinter command"
must be defined in smb.conf.
Jeremy.
(This used to be commit 86f8368c997f0eece20724a0a7158832c66da9f7)

16 years agor8615: Added "acl group control". Defaults to off. Docs to follow.
Jeremy Allison [Tue, 19 Jul 2005 20:59:52 +0000 (20:59 +0000)]
r8615: Added "acl group control". Defaults to off. Docs to follow.
Jeremy.
(This used to be commit f7b169ed57de81229c3b9089a05f4e73ea39010c)

16 years agor8610: If I'm going to do a debug level zero, at least make it useful.
Jeremy Allison [Tue, 19 Jul 2005 17:44:44 +0000 (17:44 +0000)]
r8610: If I'm going to do a debug level zero, at least make it useful.
Jeremy.
(This used to be commit 99dae22dcf4050b5aacbb2cd4d2a08a183611402)

16 years agor8609: Fix for bugid #2889. I think the problem is that the top 16 bits of the "serve...
Jeremy Allison [Tue, 19 Jul 2005 17:38:38 +0000 (17:38 +0000)]
r8609: Fix for bugid #2889. I think the problem is that the top 16 bits of the "server state" field must be
non-zero. As we're using the 32 bit field as an offset then normally this field
will be zero. W2K3 fills this field with a counter enumerating the number of
SMBsearch calls on this directory - starting at 1. Add back the 1<<31 bit flag
DPTR_MASK to ensure this is non-zero - with better checks on use.
Jeremy.
(This used to be commit 6415657942c49ea51d4e4f4ee2189c7d70b9c5fa)

16 years agor8607: BUG 2900 more compiler warnings
Gerald Carter [Tue, 19 Jul 2005 16:22:42 +0000 (16:22 +0000)]
r8607: BUG 2900 more compiler warnings
(This used to be commit ed93cc50e1064dc5a3145d97555715b0b2915db4)

16 years agor8606: BUG 2899: fix compiler warning in regfio routine
Gerald Carter [Tue, 19 Jul 2005 14:51:20 +0000 (14:51 +0000)]
r8606: BUG 2899: fix compiler warning in regfio routine
(This used to be commit d6b1f695a0baf2042ce121702cdcbbf59e94bd94)