tprouty/samba.git
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)

16 years agor8604: BUG 2890: fix unitialized variable reported by Jason Mader <jason@ncac.gwu...
Gerald Carter [Tue, 19 Jul 2005 12:57:02 +0000 (12:57 +0000)]
r8604: BUG 2890: fix unitialized variable reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit 9f8344e31d3628338b434ee3e530b7f7322e6fe1)

16 years agor8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a
Tim Potter [Tue, 19 Jul 2005 10:15:10 +0000 (10:15 +0000)]
r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a
#define) to quieten a warning.  Bugzilla #2892.
(This used to be commit 4e91f29621d5ab9fa748dd1077f8efd1dab45522)

16 years agor8596: Don't wrap non-existent functions. Bugzilla #2895.
Tim Potter [Tue, 19 Jul 2005 10:01:32 +0000 (10:01 +0000)]
r8596: Don't wrap non-existent functions.  Bugzilla #2895.
(This used to be commit 0a9395bb486c80799ea14f0ebe7a371da34628b5)

16 years agor8595: Delete unused prototypes.
Tim Potter [Tue, 19 Jul 2005 09:59:37 +0000 (09:59 +0000)]
r8595: Delete unused prototypes.
(This used to be commit c525c276c3bebd97f2c86684bd248ed00e889349)

16 years agor8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893.
Tim Potter [Tue, 19 Jul 2005 09:37:42 +0000 (09:37 +0000)]
r8592: I'm pretty sure this should be != instead of =!.  Bugzilla #2893.
(This used to be commit 26539ddd7290860831e0bda62e1126945420b06f)

16 years agor8573: Fix set but not used warning in srvsvc server-side code.
Tim Potter [Tue, 19 Jul 2005 03:54:01 +0000 (03:54 +0000)]
r8573: Fix set but not used warning in srvsvc server-side code.
Another bugzilla (#2891) from Jason Mader.
(This used to be commit ae6b4df7fed2516c5236755f75300ec0d95c35b3)

16 years agor8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
Tim Potter [Tue, 19 Jul 2005 02:37:04 +0000 (02:37 +0000)]
r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)

16 years agor8564: Sometimes we're too dumb to live... Fix samr calls where we were
Jeremy Allison [Tue, 19 Jul 2005 00:59:25 +0000 (00:59 +0000)]
r8564: Sometimes we're too dumb to live... Fix samr calls where we were
using USER_INFO_XX structs and functions where XX was sometimes
in hex and sometimes in decimal. Now it's all in decimal (should
be no functionality change).
Jeremy.
(This used to be commit 84651aca04cbcbf50ab2e78333cc9d9e49dd92f5)

16 years agor8556: Fix bug #2878 - Norton commander not running on OS/2 client - we were
Jeremy Allison [Mon, 18 Jul 2005 22:32:35 +0000 (22:32 +0000)]
r8556: Fix bug #2878 - Norton commander not running on OS/2 client - we were
not correctly returning the requested open mode. Thanks to alex@infobit.ru
for reporting this.
Jeremy.
(This used to be commit 7ff7211b808e708c00a3b0f57be8d1af3c632bd7)

16 years agor8553: Another compile warning fix from jason@ncac.gwu.edu.
Jeremy Allison [Mon, 18 Jul 2005 22:10:20 +0000 (22:10 +0000)]
r8553: Another compile warning fix from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 99937d99b6d893689e0471b20a605af3591c2703)

16 years agor8552: Warning fix from jason@ncac.gwu.edu.
Jeremy Allison [Mon, 18 Jul 2005 20:47:38 +0000 (20:47 +0000)]
r8552: Warning fix from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 8558001b38786b7ff16d90d80d183b0277d74e16)

16 years agor8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy Allison [Mon, 18 Jul 2005 19:55:55 +0000 (19:55 +0000)]
r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy.
(This used to be commit 4d69a682b3ab4f660455e6ea5a2970481a6ccffc)

16 years agor8545: Fix oplock bug introduced by oplock code "simplification" :-).
Jeremy Allison [Mon, 18 Jul 2005 18:50:13 +0000 (18:50 +0000)]
r8545: Fix oplock bug introduced by oplock code "simplification" :-).
We *always* reply to an exclusive oplock break message even if
we have no record of the oplock (and we always did before 3.0.20pre2).
Jeremy.
(This used to be commit b1a94aadf25e94dcc168ea3a5ae008f4e84ff296)

16 years agor8543: merge volker's nt_printing_init() fix from trunk (r8526)
Gerald Carter [Mon, 18 Jul 2005 14:18:39 +0000 (14:18 +0000)]
r8543: merge volker's nt_printing_init() fix from trunk (r8526)
but make sure to write the new version to the ntdrivers.tdb.
(This used to be commit 9e50d696c3e101174670c47ecbd6401bec2ab3d3)

16 years agor8542: - (re-)add better search-semantics: look for Interdomain trust accounts
Günther Deschner [Mon, 18 Jul 2005 13:16:52 +0000 (13:16 +0000)]
r8542: - (re-)add better search-semantics: look for Interdomain trust accounts
  below the machine-suffix (this is where we create them)) to avoid
  digging through thousands of user-accounts just to find a handful of
  trust-accounts in the enumdomusers-samr-call.

- don't access freed data in DEBUG-statement

Guenther
(This used to be commit 793c82c0172c4f834e43d04bf3f9d39858761e88)

16 years agor8538: honour CC in python build.
Günther Deschner [Mon, 18 Jul 2005 08:25:21 +0000 (08:25 +0000)]
r8538: honour CC in python build.

Guenther
(This used to be commit d31510d6c56954030759e97ab8cdfc51e0abca92)

16 years agor8531: Fix a memleak
Volker Lendecke [Sun, 17 Jul 2005 21:01:17 +0000 (21:01 +0000)]
r8531: Fix a memleak
(This used to be commit ebf0cda797da2c63aa0033f034573f6d5485b57a)

16 years agor8521: Another micro-step: Don't pass down a flag where not necessary.
Volker Lendecke [Sun, 17 Jul 2005 09:56:25 +0000 (09:56 +0000)]
r8521: Another micro-step: Don't pass down a flag where not necessary.

Volker
(This used to be commit 5f51b72ec7abea3588f76d22a8daa434cdf90eb0)

16 years agor8510: Don't include the valgrind headers on 64bit linux systems.
Gerald Carter [Fri, 15 Jul 2005 21:36:00 +0000 (21:36 +0000)]
r8510: Don't include the valgrind headers on 64bit linux systems.
Several incarnations of gcc bork with

Compiling dynconfig.c
/tmp/ccXd94O5.s: Assembler messages:
/tmp/ccXd94O5.s:1202: Error: suffix or operands invalid for `mov'
/tmp/ccXd94O5.s:1289: Error: suffix or operands invalid for `mov'`

Thanks to Bent Vangli for the the leg work and suggestions.
(This used to be commit 318fe7ba0093c4a94e9f4f5c8ce7a2f5d1078e26)

16 years agor8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.
Volker Lendecke [Fri, 15 Jul 2005 19:32:56 +0000 (19:32 +0000)]
r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.

Volker
(This used to be commit 1993e409a53908d299f0b2b0e8e5546236fd580b)

16 years agor8507: BUG 2557: don't give and rpc fault when you get an unsupported SetPrinter...
Gerald Carter [Fri, 15 Jul 2005 18:13:40 +0000 (18:13 +0000)]
r8507: BUG 2557: don't give and rpc fault when you get an unsupported SetPrinter() level
(This used to be commit f617ca33f45fbc779356c52664c1e689114accdd)

16 years agor8506: BUG 2853: don't strip out characters like '$' from printer names
Gerald Carter [Fri, 15 Jul 2005 17:38:55 +0000 (17:38 +0000)]
r8506: BUG 2853: don't strip out characters like '$' from printer names
when substituting for the lpq command.
(This used to be commit 2f5de718a98e56fe55d8905b12505dfc3e432544)

16 years agor8501: * disable printer handle object cache (was mostly used
Gerald Carter [Fri, 15 Jul 2005 14:26:11 +0000 (14:26 +0000)]
r8501: * disable printer handle object cache (was mostly used
  for NT4 clients enumerating printer data on slow CPUs)
* fix pinter and secdesc record upgrade to normalize the key
  (rev'd printer tdb version)
* fixed problem that was normalizing the printername name field

in general, this should fix the issues upgrading print servers
from 3.0.14a to 3.0.20
(This used to be commit d07179de2f2a6eb1d13d0e25ac10de1a21475559)

16 years agor8493: According to MSKB 141714 the %LOGONSERVER% variable should be
Günther Deschner [Fri, 15 Jul 2005 11:56:16 +0000 (11:56 +0000)]
r8493: According to MSKB 141714 the %LOGONSERVER% variable should be
substituted like our %L-variable.

Guenther
(This used to be commit 294fdbccba9835b6abe5f26f22a0a05adb27564e)

16 years agor8492: open_mode_check does not use the parameter p_flags, so remove it.
Volker Lendecke [Fri, 15 Jul 2005 11:52:07 +0000 (11:52 +0000)]
r8492: open_mode_check does not use the parameter p_flags, so remove it.

Volker
(This used to be commit ed9cb0061dbbc7677d5968581fde46c89febb6c0)

16 years agor8478: remove unused printmode command from smbclient (noticed by kalim@samba.org)
Gerald Carter [Thu, 14 Jul 2005 18:15:10 +0000 (18:15 +0000)]
r8478: remove unused printmode command from smbclient (noticed by kalim@samba.org)
(This used to be commit aa5de7d0b35b07dfb32aa43df00f73de80de9fdd)

16 years agor8475: BUG 2872: fix cut-n-paste error when checking pointer value in ntlmssp_set_wor...
Gerald Carter [Thu, 14 Jul 2005 14:40:30 +0000 (14:40 +0000)]
r8475: BUG 2872: fix cut-n-paste error when checking pointer value in ntlmssp_set_workstation()
(This used to be commit f1763c5decd14eb71ee3d7ea71859a85d5ee0dc1)

16 years agor8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c
Gerald Carter [Thu, 14 Jul 2005 14:39:27 +0000 (14:39 +0000)]
r8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c
(This used to be commit aab17a7095a18b243a271f8f3f824facd6932f23)

16 years agor8457: Fix from Marcel Müller <mueller@maazl.de> to ensure
Jeremy Allison [Thu, 14 Jul 2005 08:51:48 +0000 (08:51 +0000)]
r8457: Fix from Marcel Müller <mueller@maazl.de> to ensure
we correctly set the return packet size to include
the pad bytes in reply_readbmpx().
Jeremy.
(This used to be commit 3070ec288c64880485ed159d512e91346f5d1b4e)

16 years agor8454: Fix Bug #2502
Günther Deschner [Thu, 14 Jul 2005 08:02:10 +0000 (08:02 +0000)]
r8454: Fix Bug #2502

Removing deprecated lp_min_password_length (the same functionality is
provided by the account policy).

Note that we now allow to set passwords less then 5 chars (if the admins
decides to do so by setting the account policy).

Thanks to Daniel Beschorner <db@unit-netz.de>

Guenther
(This used to be commit fd91378925f7e3541df4f31bd461dabc1da523a9)

16 years agor8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.
Lars Müller [Wed, 13 Jul 2005 21:10:12 +0000 (21:10 +0000)]
r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.
(This used to be commit 22acd4936875e3c98ce7e26cde05f0ce69d8cb63)

16 years agor8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
Jim McDonough [Wed, 13 Jul 2005 20:04:26 +0000 (20:04 +0000)]
r8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
scripts to be executed.

We were filling in our name as the server which processed the login, even
when it was done by a trusted DC.

Thanks to John Janosik <jpjanosi@us.ibm.com> for the fix.
(This used to be commit 0446319a3b8096df385978449ffaa231bc5cfd0c)

16 years agor8431: Ensure to use dev_private and not private after Jeremy's CPP reserved
Lars Müller [Wed, 13 Jul 2005 16:47:42 +0000 (16:47 +0000)]
r8431: Ensure to use dev_private and not private after Jeremy's CPP reserved
names rename.

Jerry: I'm not sure if we have to use the string 'dev_private' instead
of 'private' as second arg to PyDict_SetItemString().
(This used to be commit cd2c467cc46db1958aba7660f0ef7fd8af14bd63)

16 years agor8428: some more old printerdb stuff.
Günther Deschner [Wed, 13 Jul 2005 14:46:57 +0000 (14:46 +0000)]
r8428: some more old printerdb stuff.

Guenther
(This used to be commit 25fa0e82c1ee1a568ffe201fbabb95cc809162b6)

16 years agor8427: Printerdb has been moved into a tmp branch.
Günther Deschner [Wed, 13 Jul 2005 14:44:12 +0000 (14:44 +0000)]
r8427: Printerdb has been moved into a tmp branch.

Guenther
(This used to be commit 9dc4e4f0127b3f59ccc455bdba419a9d35eaa12e)

16 years agor8402: allow to build with --enable-aio-support.
Günther Deschner [Wed, 13 Jul 2005 00:26:52 +0000 (00:26 +0000)]
r8402: allow to build with --enable-aio-support.

Guenther
(This used to be commit 49351d91c59b2e96ebddb2d721e660dcd90ec815)

16 years agor8398: Fix segfault in the client addprinterex-call. Found with "net rpc
Günther Deschner [Tue, 12 Jul 2005 23:52:32 +0000 (23:52 +0000)]
r8398: Fix segfault in the client addprinterex-call. Found with "net rpc
printer"-functions.

Thanks to Thomas Di Naro (Novell) for the detailed debug-logs.

Guenther
(This used to be commit b532553b064f1e9893b39dda903d458055c11f86)

16 years agor8396: fix some compile warnings.
Günther Deschner [Tue, 12 Jul 2005 23:02:31 +0000 (23:02 +0000)]
r8396: fix some compile warnings.

Guenther
(This used to be commit af1aa09cde91078496a29f3a73c69a65ca2c3f6a)

16 years agor8388: fix typo in installman script
Gerald Carter [Tue, 12 Jul 2005 17:23:19 +0000 (17:23 +0000)]
r8388: fix typo in installman script
(This used to be commit 30b03519c0320bdc85ece51aaf814c4b66896df8)

16 years agor8387: moving wins_hook to scripts directory
Gerald Carter [Tue, 12 Jul 2005 16:37:39 +0000 (16:37 +0000)]
r8387: moving wins_hook to scripts directory
(This used to be commit 9d507b218d90d4a7e6a5cc97994f5f5adb686cbf)

16 years agor8384: merging clutter fixes from release branch
Gerald Carter [Tue, 12 Jul 2005 16:34:44 +0000 (16:34 +0000)]
r8384: merging clutter fixes from release branch
(This used to be commit cbe74c09109dcfe93aa4af085920999ccbff34df)

16 years agor8366: Root-level files don't have a slash, but acls need to be settable on
Volker Lendecke [Tue, 12 Jul 2005 09:18:50 +0000 (09:18 +0000)]
r8366: Root-level files don't have a slash, but acls need to be settable on
them. Thanks to Brent Trotter for reminding me to commit this :-)

Volker
(This used to be commit dfa9eef7b6892ceb0e67b0c4bfb56431ead1ac3d)

16 years agor8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
Volker Lendecke [Tue, 12 Jul 2005 08:05:15 +0000 (08:05 +0000)]
r8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
msbackup&filemon.

Thanks,

Volker
(This used to be commit 2d2c49518b7de63ebab2d52008eb726bde6681bc)

16 years agor8330: moving onto 3.0.20rc1-SVN
Gerald Carter [Mon, 11 Jul 2005 20:05:00 +0000 (20:05 +0000)]
r8330: moving onto 3.0.20rc1-SVN
(This used to be commit ea91ee68adb3bd6c07b2556f23a231786d53312d)

16 years agor8327: * don't use unitialized variables
Gerald Carter [Mon, 11 Jul 2005 19:18:15 +0000 (19:18 +0000)]
r8327: * don't use unitialized variables
(This used to be commit bd878197954cf4d259dfd01f2d4cb4a663b34121)