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

16 years agor8326: factor out the delete printer code to a delete_printer_hook() for reuse
Gerald Carter [Mon, 11 Jul 2005 18:59:54 +0000 (18:59 +0000)]
r8326: factor out the delete printer code to a delete_printer_hook() for reuse
(This used to be commit 0689851a90fbd91ff30f6e2afc05d141f6ce082d)

16 years agor8325: * punt....don't normalize the printer name in the RegCreateKey().
Gerald Carter [Mon, 11 Jul 2005 18:37:15 +0000 (18:37 +0000)]
r8325: * punt....don't normalize the printer name in the RegCreateKey().
  Print Migrator now works as long as the addprinter command can
  handle the name
(This used to be commit 61f14cdcbd3b183caf6172d5b60b0888fc4363f7)

16 years agor8324: * initial cut at creating printers via the registry API
Gerald Carter [Mon, 11 Jul 2005 18:27:22 +0000 (18:27 +0000)]
r8324: * initial cut at creating printers via the registry API
  Need to add delete_key support
(This used to be commit 9a27f7181adca10f60c47d342a51dec34321e12b)

16 years agor8323: * convert RegSetValue() calls immediately beneath the printer
Gerald Carter [Mon, 11 Jul 2005 17:17:50 +0000 (17:17 +0000)]
r8323: * convert RegSetValue() calls immediately beneath the printer
  key to PRINTER_INFO_2 fields.
(This used to be commit fadda2f240eb3c8eb08198c702a93e23b14f0fcc)

16 years agor8322: * get RegSetValue() working for printer subkey values
Gerald Carter [Mon, 11 Jul 2005 16:55:10 +0000 (16:55 +0000)]
r8322: * get RegSetValue() working for printer subkey values
  (not immediate values below the <printer name> key yet.
(This used to be commit a872ea5f0e29f7b585574a56b52a5eb44cb92278)

16 years agor8292: Tidy up function comments.
Jeremy Allison [Sun, 10 Jul 2005 16:40:06 +0000 (16:40 +0000)]
r8292: Tidy up function comments.
Jeremy.
(This used to be commit 8de6b1592ad205f59c44ed30102a56594f65e555)

16 years agor8290: Fix for bug in SMBwriteBraw where we incorrectly
Jeremy Allison [Sun, 10 Jul 2005 16:37:32 +0000 (16:37 +0000)]
r8290: Fix for bug in SMBwriteBraw where we incorrectly
returned the number of bytes written. Patch from
Marcel Müller <mueller@maazl.de>.
Jeremy.
(This used to be commit 81e7a4a2cfd2d4764d757702f17635e5007e59de)

16 years agor8231: Patch from James Peach to fix the IRIX build.
Volker Lendecke [Fri, 8 Jul 2005 07:54:28 +0000 (07:54 +0000)]
r8231: Patch from James Peach to fix the IRIX build.

Thanks,

Volker
(This used to be commit 1ebb3aa0d5007c470862e3adca92d2941ffa294c)

16 years agor8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
Jeremy Allison [Fri, 8 Jul 2005 04:51:27 +0000 (04:51 +0000)]
r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
(This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)

16 years agor8207: Fix my NT_STATUS_IS_OK mismatch.
Günther Deschner [Thu, 7 Jul 2005 14:19:51 +0000 (14:19 +0000)]
r8207: Fix my NT_STATUS_IS_OK mismatch.

Guenther
(This used to be commit 053e892e07936f6b71a6bb5e31be09c1d2a2c837)

16 years agor8205: try to improve readability of smbldap_search_domain_info()
Günther Deschner [Thu, 7 Jul 2005 13:42:09 +0000 (13:42 +0000)]
r8205: try to improve readability of smbldap_search_domain_info()

Guenther
(This used to be commit ca9acd149a36ca36a9a4e2a35b97cae610b3b5ed)

16 years agor8189: commit vampire ldif patch, mostly from Don Watson (dwatson@us.ibm.com). Yes,
Jim McDonough [Wed, 6 Jul 2005 21:02:43 +0000 (21:02 +0000)]
r8189: commit vampire ldif patch, mostly from Don Watson (dwatson@us.ibm.com).  Yes,
that's my copyright...that's just how we have to do things at big blue.

Adds subcommand to vampire to allow data to be put into an ldif file instead
of actually writing to the passdb.  See "net rpc help vampire" for usage
info.  This should be added to docs as well.
(This used to be commit cb5634a305256a70daa2fcbd85d9a5459b4aeaa3)

16 years agor8188: Update from Dave Collier-Brown.
John Terpstra [Wed, 6 Jul 2005 19:21:43 +0000 (19:21 +0000)]
r8188: Update from Dave Collier-Brown.
(This used to be commit 65cfa2a950e8a16b95715d555a5354cc81f431f1)

16 years agor8184: fix build issue on Solaris in smbclient
Gerald Carter [Wed, 6 Jul 2005 14:46:36 +0000 (14:46 +0000)]
r8184: fix build issue on Solaris in smbclient
(This used to be commit 137d270ee3bec297732380050bb53cf6b5487914)

16 years agor8155: ops, add missing function.
Günther Deschner [Mon, 4 Jul 2005 19:16:34 +0000 (19:16 +0000)]
r8155: ops, add missing function.

Guenther
(This used to be commit f3da329fa89fad5b994e46251b43325fa4ea853e)

16 years agor8152: * remove commented out structure
Gerald Carter [Mon, 4 Jul 2005 16:52:29 +0000 (16:52 +0000)]
r8152: * remove commented out structure
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer
  port
(This used to be commit 63bc03536b6d0622005448f0f7be2739e06a432a)

16 years agor8151: Add support to create position independent executable (PIE) code if the
Lars Müller [Mon, 4 Jul 2005 16:39:11 +0000 (16:39 +0000)]
r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
(This used to be commit 07845bb4c5a31cb29bf7b8ff6c50e5da84c329e4)

16 years agor8145: When inventing a new parameter for SFU-support, be aware of Volker's
Günther Deschner [Mon, 4 Jul 2005 13:57:54 +0000 (13:57 +0000)]
r8145: When inventing a new parameter for SFU-support, be aware of Volker's
upcoming changes for "unixinfo"-pipe.

Therefor (after speaking with Volker) replace "winbind sfu support" with
the list-parameter "winbind nss info" which defaults to "template". For
SFU-support set it to "winbind nss info = template sfu".

Note that nss_info_use() is just a dummy function at the moment.

Guenther
(This used to be commit 91596330ea3c4ba0fb9ddc52ad9d4a7c8e5b2d3f)

16 years agor8144: remove unused parameter leftover.
Günther Deschner [Mon, 4 Jul 2005 13:51:17 +0000 (13:51 +0000)]
r8144: remove unused parameter leftover.

Guenther
(This used to be commit e79e384eb307c6bbe05e07a87dcc6af42a0c0a32)