kai/samba.git
21 years agoMerge in the developer string options from HEAD. We need to ensure 3.0
Jeremy Allison [Tue, 18 Mar 2003 01:48:11 +0000 (01:48 +0000)]
Merge in the developer string options from HEAD. We need to ensure 3.0
is as stable as possible in the string department and some pain now
will help later :-).
Jeremy.
(This used to be commit 86e3eddac698d90f4666b8492b4603a4efbbd67b)

21 years agoMerge from HEAD - make winbindd locking sane again:
Andrew Bartlett [Mon, 17 Mar 2003 23:06:12 +0000 (23:06 +0000)]
Merge from HEAD - make winbindd locking sane again:

Original message:

This patch attemptes to clean up winbindd's mutex locking.

The current locking scheme in winbind is a complete mess - indeed, the
next step should be to push the locking into cli_full_connection(), but
I'll leave it for now.

This patch works on the noted behaviour that 2 parts of the connection
process need protection - and independent protection.  Tim Potter did
some work on this a little while back, verifying the second case.

The two cases are:
 - between connect() and first session setup
 - during the auth2 phase of the netlogon pipe setup.

I've removed the counter on the lock, as I fail to see what it gains us.

This patch also adds 'anonymous fallback' to our winbindd -> DC connection.

If the authenticated connection fails (wbinfo -A specifed) - say that
account isn't trusted by a trusted DC - then we try an anonymous.

Both tpot and mbp like the patch.

Andrew Bartlett
(This used to be commit b5283c00a900393b83f0edb2785c5caf402404eb)

21 years agoMerge from HEAD:
Andrew Bartlett [Mon, 17 Mar 2003 23:04:03 +0000 (23:04 +0000)]
Merge from HEAD:

signed/unsigned (mostly i counters)

a little bit of const.

Andrew Bartlett
(This used to be commit 50f0ca752e5058c4051f42a9337361373ba1f727)

21 years agoMerge from HEAD:
Andrew Bartlett [Mon, 17 Mar 2003 22:58:24 +0000 (22:58 +0000)]
Merge from HEAD:

net ads password

Heimdal compile fixes.

Andrew Bartlett
(This used to be commit 3aa4f923e99f453310bb4a8d43ce43757591909d)

21 years agoMerge from HEAD:
Andrew Bartlett [Mon, 17 Mar 2003 22:56:13 +0000 (22:56 +0000)]
Merge from HEAD:

 - Make ReadDirName return a const char*.

 - Consequential changes from that

 - mark our fstring/pstring assumptions in function prototypes

Andrew Bartlett
(This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)

21 years agoThe kerberos_verify compoenent of the SessionSetup sync with HEAD.
Andrew Bartlett [Mon, 17 Mar 2003 22:46:12 +0000 (22:46 +0000)]
The kerberos_verify compoenent of the SessionSetup sync with HEAD.

Andrew Bartlett
(This used to be commit 64796ed27a3842be1dde52dd4f46698e95961767)

21 years agoMerge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
Andrew Bartlett [Mon, 17 Mar 2003 22:45:16 +0000 (22:45 +0000)]
Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
session key and auth verifier patches.

Andrew Bartlett
(This used to be commit 3f9616a68a855acbae3f405c27ee2358fbe7ba2c)

21 years agoMerge from HEAD - doxygen
Andrew Bartlett [Mon, 17 Mar 2003 22:43:57 +0000 (22:43 +0000)]
Merge from HEAD - doxygen
(This used to be commit 7a2566f2e922191e691b6dafb1a09e22913cccd6)

21 years agoMege from HEAD - doxygen.
Andrew Bartlett [Mon, 17 Mar 2003 22:42:56 +0000 (22:42 +0000)]
Mege from HEAD - doxygen.
(This used to be commit 04a5cbc8964386774acdca759b4cfaded068c8f2)

21 years agoMerge from (earlier) HEAD - doxygen.
Andrew Bartlett [Mon, 17 Mar 2003 22:42:01 +0000 (22:42 +0000)]
Merge from (earlier) HEAD - doxygen.

I'm not merging the current HEAD string stuff quite yet.
(This used to be commit 9b8d12e081462566043bb51e9c95605609572a54)

21 years agomerge from HEAD - dump tokenGroups as sids.
Andrew Bartlett [Mon, 17 Mar 2003 22:41:14 +0000 (22:41 +0000)]
merge from HEAD - dump tokenGroups as sids.
(This used to be commit f0daa15521e6352e25aa998f7e682f448e0fe51a)

21 years agopstrcpy_base merges for client-side smbpasswd.
Andrew Bartlett [Mon, 17 Mar 2003 22:40:37 +0000 (22:40 +0000)]
pstrcpy_base merges for client-side smbpasswd.

Andrew Bartlett
(This used to be commit 980f2eb7c2efa1a2c83098aebecf0e25a05724cb)

21 years agoMerge from HEAD:
Andrew Bartlett [Mon, 17 Mar 2003 22:33:34 +0000 (22:33 +0000)]
Merge from HEAD:

new 'net ads dn'

doxygen fixes

net help fixes.
(This used to be commit de24fcb097ebf0d1aec92e787622cab64d10c553)

21 years agoMerge new statcache.c from HEAD.
Andrew Bartlett [Mon, 17 Mar 2003 22:23:51 +0000 (22:23 +0000)]
Merge new statcache.c from HEAD.
(This used to be commit 3b9db928fcaec322698d046db3a8a042b9a1d30c)

21 years agoFix memory leak.
Volker Lendecke [Mon, 17 Mar 2003 22:10:49 +0000 (22:10 +0000)]
Fix memory leak.

Volker
(This used to be commit 115cd4b27f84343c7f98622717edda6da4866a6b)

21 years agoFix building --with-smbwrapper.
Tim Potter [Mon, 17 Mar 2003 11:54:12 +0000 (11:54 +0000)]
Fix building --with-smbwrapper.
(This used to be commit 1fb5c92bfb96d966a31d5a4d882a411b9c0b497c)

21 years agofix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before dereferencing
Gerald Carter [Fri, 14 Mar 2003 23:06:06 +0000 (23:06 +0000)]
fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before dereferencing
(This used to be commit 7bc5fc729f67ae16e09ea67efa9e2b8e2ba41c8f)

21 years agoFix off by one bug noticed by Andrew Bartlett.
Jeremy Allison [Fri, 14 Mar 2003 02:10:26 +0000 (02:10 +0000)]
Fix off by one bug noticed by Andrew Bartlett.
Jeremy.
(This used to be commit 759aab9944e8dc5c38e224ace738b75ded07ee54)

21 years agoMerge more SGML strictness fixes from HEAD
Alexander Bokovoy [Thu, 13 Mar 2003 15:00:38 +0000 (15:00 +0000)]
Merge more SGML strictness fixes from HEAD
(This used to be commit af6235dfb69b5349e4d0b7c8772a1799b7dc421a)

21 years agoMerge encryption.sgml fixes from HEAD
Alexander Bokovoy [Thu, 13 Mar 2003 14:59:27 +0000 (14:59 +0000)]
Merge encryption.sgml fixes from HEAD
(This used to be commit 8522971ccb2e99a24b97c53cc57ca167923d346b)

21 years agoFix SGML errors in development documents
Alexander Bokovoy [Thu, 13 Mar 2003 14:31:35 +0000 (14:31 +0000)]
Fix SGML errors in development documents
(This used to be commit ce2159086f6b68c713a376785f6b48a370e33eb2)

21 years agoMerge from HEAD. 'win2000 can take much longer than the specified time to respond...
Jeremy Allison [Thu, 13 Mar 2003 07:58:54 +0000 (07:58 +0000)]
Merge from HEAD. 'win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2'
Jeremy.
(This used to be commit 41571a69e04838c00de7d4a528c59cd1e88919d0)

21 years agoMerge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'
Jeremy Allison [Thu, 13 Mar 2003 07:57:49 +0000 (07:57 +0000)]
Merge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'
Jeremy.
(This used to be commit 40def80d43b14a853045a31b382226fe0381f38a)

21 years agoMerge of tdb_unlockeys() crash fix.
Tim Potter [Thu, 13 Mar 2003 06:54:10 +0000 (06:54 +0000)]
Merge of tdb_unlockeys() crash fix.
(This used to be commit 0eee7a4b1ea437b5f1376fc9c7063b117f5027c6)

21 years agoMerge of added locking functions from HEAD.
Tim Potter [Thu, 13 Mar 2003 06:52:23 +0000 (06:52 +0000)]
Merge of added locking functions from HEAD.
(This used to be commit c7593929681ad9aed4b9d2025d33071b9751185f)

21 years agoMerge of some commentary for getprinter info levels supported by win2k+
Tim Potter [Thu, 13 Mar 2003 06:51:26 +0000 (06:51 +0000)]
Merge ... some commentary for getprinter info levels supported by win2k+
(This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)

21 years agoIn Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
Martin Pool [Thu, 13 Mar 2003 06:48:06 +0000 (06:48 +0000)]
In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit 054ed6d86d0ca61623d61db7bc31999c19269176)

21 years agoChange size parameters from signed to unsigned to fix up warnings.
Jeremy Allison [Thu, 13 Mar 2003 00:51:05 +0000 (00:51 +0000)]
Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
(This used to be commit 33b11d5eb53bdeb9d279d221fd5c01579253e1c7)

21 years agoMerge of Andrew Bartlett's SID limit fix from HEAD.
Jeremy Allison [Thu, 13 Mar 2003 00:50:04 +0000 (00:50 +0000)]
Merge ... Andrew Bartlett's SID limit fix from HEAD.
Jeremy.
(This used to be commit 98ed7e0cbbc693b486bb91855cb3331e51daef6c)

21 years agofixed a strcat noticed by metze
Andrew Tridgell [Wed, 12 Mar 2003 21:02:45 +0000 (21:02 +0000)]
fixed a strcat noticed by metze
(This used to be commit 533fe94db95fbb819b35251d9832c925584b7eca)

21 years agoEnsure we count the length correctly in mangle_map.
Jeremy Allison [Wed, 12 Mar 2003 19:07:49 +0000 (19:07 +0000)]
Ensure we count the length correctly in mangle_map.
Jeremy.
(This used to be commit 8e956bc1d63425b0e1ca9410bf82a0a5d3e36ac7)

21 years agoadding some initiaial code to sert %a to Win2K3 (using Native LanMan string from...
Gerald Carter [Wed, 12 Mar 2003 15:41:39 +0000 (15:41 +0000)]
adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2)
(This used to be commit e074cab810f9299d0b27881cddf8a74f10fe233e)

21 years agoWe use unsigned now, so use %u.
Jeremy Allison [Tue, 11 Mar 2003 20:58:10 +0000 (20:58 +0000)]
We use unsigned now, so use %u.
Jeremy.
(This used to be commit 65c2a361a4a3461ccbed9b5c968f95281295faab)

21 years agoFix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy Allison [Tue, 11 Mar 2003 18:10:27 +0000 (18:10 +0000)]
Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy.
(This used to be commit 289e2e25b91da20ac02b90e5a9d6de3619ad308d)

21 years agoWhen opening an existing DB, don't require the hash_size specified to
Martin Pool [Tue, 11 Mar 2003 04:41:22 +0000 (04:41 +0000)]
When opening an existing DB, don't require the hash_size specified to
the open call to be the same as that of the existing tdb.  The
specified hash_size is only used if the tdb needs to be (re)created.

With this patch in place, tdbtool can open the printing tdbs, which
are created with a hash_size of 5000.  Before it would fail with EIO.
(This used to be commit 7090d9f6939b3c6334fba40b0741f8f899aba31a)

21 years agoPatch from Ronan Waide:
Martin Pool [Tue, 11 Mar 2003 03:41:21 +0000 (03:41 +0000)]
Patch from Ronan Waide:

> when doing "enumdomusers", rpcclient prints each one preceded by the
> word "group" instead of "user"
(This used to be commit 0e9a2f41df932585bbff2a1a53d3dadc9a3dac62)

21 years agoRemove obsolete file.
Tim Potter [Tue, 11 Mar 2003 02:32:03 +0000 (02:32 +0000)]
Remove obsolete file.
(This used to be commit 560deeb4ece9dd4a65e10b0aae20f8ab1fe0d24c)

21 years agostrcpy_base from HEAD and trivial fix for smbclient -L
Volker Lendecke [Mon, 10 Mar 2003 16:54:57 +0000 (16:54 +0000)]
strcpy_base from HEAD and trivial fix for smbclient -L

Volker
(This used to be commit 54c99ee1fbaf4541fb3fa10a9b764da1367af6d3)

21 years agocheck a pointer before dereferencing it; not sure why userdata == NULL though
Gerald Carter [Mon, 10 Mar 2003 15:04:29 +0000 (15:04 +0000)]
check a pointer before dereferencing it; not sure why userdata == NULL though
(This used to be commit 944752024ba6ab762b12c29ee867e37401dac12b)

21 years agoUse "$@" to preserve shell quoting in case somebody passes an escaped
Martin Pool [Mon, 10 Mar 2003 03:05:20 +0000 (03:05 +0000)]
Use "$@" to preserve shell quoting in case somebody passes an escaped
string as a configure parameter.
(This used to be commit 10b2de7ebd204a940bd15bff9cca611e4ba8dcd3)

21 years agoFix typo in earlier fix, caught by Ranjit @ HP.
Jeremy Allison [Sat, 8 Mar 2003 01:16:33 +0000 (01:16 +0000)]
Fix typo in earlier fix, caught by Ranjit @ HP.
Jeremy.
(This used to be commit 11077368ec30313c2e7ee1d23f9f348910aa36bf)

21 years agoUse ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy Allison [Fri, 7 Mar 2003 23:34:51 +0000 (23:34 +0000)]
Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy.
(This used to be commit 723e9ee31cc1f5eb4b7aefefd58f7f13d0abda05)

21 years agoExtra const committed by mistake - revert.
Jeremy Allison [Fri, 7 Mar 2003 19:46:24 +0000 (19:46 +0000)]
Extra const committed by mistake - revert.
Jeremy.
(This used to be commit 183ce97d3719080b1b01932b96206b8ee4c5f5b0)

21 years agoMissed parentheses around complex logic.
Jeremy Allison [Fri, 7 Mar 2003 19:46:00 +0000 (19:46 +0000)]
Missed parentheses around complex logic.
Jeremy.
(This used to be commit 7f8d3a49b2cebab4b94db3cda54b3923442378c8)

21 years agoPatch from Michael Steffens. In his own words :
Jeremy Allison [Fri, 7 Mar 2003 19:37:31 +0000 (19:37 +0000)]
Patch from Michael Steffens. In his own words :
-------------------------------------------------------------------------
I think there are basically two problem:

  1. Windows clients do not always send ACEs for SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ,
     and SMB_ACL_OTHER.
     The function ensure_canon_entry_valid() is prepared for that, but tries
     to "guess" values from group or other permissions, respectively, otherwise
     falling back to minimum r-- for the owner. Even if the owner had full
     permissions before setting ACL. This is the problem with W2k clients.

  2. Function set_nt_acl() always chowns *before* attempting to set POSIX ACLs.
     This is ok in a take-ownership situation, but must fail if the file is
     to be given away. This is the problem with XP clients, trying to transfer
     ownership of the original file to the temp file.

The problem with NT4 clients (no ACEs are transferred to the temp file, thus
are lost after moving the temp file to the original name) is a client problem.
It simply doesn't attempt to.

I have played around with that using posic_acls.c from 3.0 merged into 2.2.
As a result I can now present two patches, one for each branch. They
basically modify:

  1. Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or SMB_ACL_OTHER
     as "preserve current value" instead of attempting to build one ourself.
     The original code is still in, but only as fallback in case current values
     can't be retrieved.

  2. Rearrange set_nt_acl() such that chown is only done before setting
     ACLs if there is either no change of owning user, or change of owning
     user is towards the current user. Otherwise chown is done after setting
     ACLs.

It now seems to produce reasonable results. (Well, as far as it can. If
NT4 doesn't even try to transfer ACEs, only deliberate use of named default
ACEs and/or "force group" or the crystal ball can help :)
-------------------------------------------------------------------------
Jeremy.
(This used to be commit 1d3b8c528bebfa1971d1affe454a03453335786e)

21 years agoFix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.
Jeremy Allison [Fri, 7 Mar 2003 00:35:24 +0000 (00:35 +0000)]
Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.
Jeremy.
(This used to be commit 05a8a61af83a6d85ddbb70749c8cd0abe9eb8180)

21 years agoFound at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters
Jeremy Allison [Fri, 7 Mar 2003 00:30:47 +0000 (00:30 +0000)]
Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters
differently to W2K, cope with this.
Jeremy.
(This used to be commit 5e2755508f08ecf561348d4edf0a4064732c5213)

21 years agoadd #define for the max device name length in a DEVICEMODE
Gerald Carter [Thu, 6 Mar 2003 16:09:11 +0000 (16:09 +0000)]
add #define for the max device name length in a DEVICEMODE
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)

21 years agomerging some packaging fixes from SAMBA_2_2
Gerald Carter [Wed, 5 Mar 2003 16:57:01 +0000 (16:57 +0000)]
merging some packaging fixes from SAMBA_2_2
(This used to be commit 214decbda680f23691f0d633d4a29c2c7e17de6b)

21 years agochanging reference to irc.openprojects.net
Gerald Carter [Wed, 5 Mar 2003 15:32:50 +0000 (15:32 +0000)]
changing reference to irc.openprojects.net
(This used to be commit b467e9ce1d68e269c6956520a5ffce73e115714e)

21 years agoMore const fixes.
Jeremy Allison [Wed, 5 Mar 2003 01:34:34 +0000 (01:34 +0000)]
More const fixes.
Jeremy.
(This used to be commit fa93763248f2043395e4cfc70b8afd81e28b2b75)

21 years agoWritable string const fixes.
Jeremy Allison [Wed, 5 Mar 2003 01:30:15 +0000 (01:30 +0000)]
Writable string const fixes.
Jeremy.
(This used to be commit c832e95c2f4daf175954a60f3c56420cf2f35b45)

21 years agoFix for little-used lpq parser.
Jeremy Allison [Wed, 5 Mar 2003 00:54:47 +0000 (00:54 +0000)]
Fix for little-used lpq parser.
Jeremy.
(This used to be commit 75b36459ab1797bdff98ed91d7870bd48adebb54)

21 years agoConnectathon fix. W2K -> W2K over port 445 doing a tconX does the full
Jeremy Allison [Wed, 5 Mar 2003 00:54:16 +0000 (00:54 +0000)]
Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
(This used to be commit 3cc2ace7718ac1162494b81fa21d4cc9de021d1c)

21 years agoforgot that i should run autogen.sh as part of release
Gerald Carter [Tue, 4 Mar 2003 20:23:28 +0000 (20:23 +0000)]
forgot that i should run autogen.sh as part of release
(This used to be commit ebd134c0ce0d4db51822a4c29a0de768fcfa261f)

21 years agomake sure to call autogen.sh
Gerald Carter [Tue, 4 Mar 2003 19:55:04 +0000 (19:55 +0000)]
make sure to call autogen.sh
(This used to be commit 7558ee9d47beab11099d0a9d89b2e74dc58c9935)

21 years agopreparing for release of 3.0alpha22
Gerald Carter [Tue, 4 Mar 2003 19:39:19 +0000 (19:39 +0000)]
preparing for release of 3.0alpha22
(This used to be commit f5c9895f83277f01282587697c84d31dc77102f6)

21 years agofixing a few typos & regenerating pages
Gerald Carter [Tue, 4 Mar 2003 19:34:30 +0000 (19:34 +0000)]
fixing a few typos & regenerating pages
(This used to be commit 89bc3f1f7c10ab7c7fb8d2437c7e3d07f3e6f4fa)

21 years agofixing a few typos
Gerald Carter [Tue, 4 Mar 2003 19:22:54 +0000 (19:22 +0000)]
fixing a few typos
(This used to be commit 9639e01dbc1dde65623b41be8a1137e1c1dc2d46)

21 years agoupdating whatsnew for alpha22
Gerald Carter [Tue, 4 Mar 2003 19:18:23 +0000 (19:18 +0000)]
updating whatsnew for alpha22
(This used to be commit 755bb317dbfbbe054ec7cc88485119fcc7006504)

21 years agoMore janitorial duties, fixing the BIG_UINT changes for large offsets.
Richard Sharpe [Mon, 3 Mar 2003 23:00:22 +0000 (23:00 +0000)]
More janitorial duties, fixing the BIG_UINT changes for large offsets.
(This used to be commit 1af39523cc3b2313f3e8acd4f2e5338182ec0b13)

21 years agoConst warning fixes.
Jeremy Allison [Mon, 3 Mar 2003 20:12:37 +0000 (20:12 +0000)]
Const warning fixes.
Jeremy.
(This used to be commit 30e8ae8e030b5dccaef9612dca24907be547acdf)

21 years agoFix const warning.
Jeremy Allison [Mon, 3 Mar 2003 19:56:57 +0000 (19:56 +0000)]
Fix const warning.
Jeremy.
(This used to be commit dedc18212a5174b6abac60ede9828f9b726a6c2d)

21 years agodlysym takes a const char *.
Jeremy Allison [Mon, 3 Mar 2003 19:52:27 +0000 (19:52 +0000)]
dlysym takes a const char *.
Jeremy.
(This used to be commit 54e5413a9267b7279cbde0ec129478a5a9c3116c)

21 years ago* always report ourselves as a Windows 2000 print server (even
Gerald Carter [Mon, 3 Mar 2003 17:32:55 +0000 (17:32 +0000)]
* always report ourselves as a Windows 2000 print server (even
  without ADS support)
* add "MinorVersion" print server data key and comment on "OSVersion"
(This used to be commit e1383368169faa50b9e612c9f71f92f790698b48)

21 years ago* CR1868: only send a change notify message if we have something
Gerald Carter [Mon, 3 Mar 2003 16:32:03 +0000 (16:32 +0000)]
* CR1868: only send a change notify message if we have something
  that changed that the client is monitoring.

* couple of comments abnout how we need to validate driver names
  on SetPrinter() and AddPrinter()

* up the debug level on some overly verbose dev mode parsing messages
(This used to be commit e8939165b77c9e2ea8b3cef2e85885b9812c7184)

21 years agoAdded limit to number of jobs enumerated. Set to 0 (means no limit).
Jeremy Allison [Sat, 1 Mar 2003 02:39:12 +0000 (02:39 +0000)]
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs....
Jeremy.
(This used to be commit e1b0001c8df9e9823b42a372ca675188570b252a)

21 years agoEnsure added jobs increment total_jobs.
Jeremy Allison [Sat, 1 Mar 2003 00:49:00 +0000 (00:49 +0000)]
Ensure added jobs increment total_jobs.
Jeremy.
(This used to be commit a75d9fc4e1c26e3ae15a97508f6f1cf69fe54148)

21 years agoFix HTTP error codes (patch by Vance Lankhaar)
Jelmer Vernooij [Fri, 28 Feb 2003 08:48:26 +0000 (08:48 +0000)]
Fix HTTP error codes (patch by Vance Lankhaar)
(This used to be commit e660b0b8d034c6cb9771601c64b952380d136ca1)

21 years agoRemove reference to "mainpage.dox" and CodingStandards, which have
Martin Pool [Fri, 28 Feb 2003 04:02:16 +0000 (04:02 +0000)]
Remove reference to "mainpage.dox" and CodingStandards, which have
been removed.

Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
(This used to be commit 732d94b83e2dd14bad92c2f7947cf905b9128a2f)

21 years agoMove net ads lookup improvements over from HEAD
Jim McDonough [Fri, 28 Feb 2003 03:35:45 +0000 (03:35 +0000)]
Move net ads lookup improvements over from HEAD
(This used to be commit 507e5738fb7c50969bee269527be5dc6e450b77f)

21 years ago*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
Jeremy Allison [Fri, 28 Feb 2003 00:25:55 +0000 (00:25 +0000)]
*Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
(This used to be commit 7a586552a3aeb4a26495f0965af4bd027456a011)

21 years ago don't forget the NULL
Gerald Carter [Thu, 27 Feb 2003 23:54:58 +0000 (23:54 +0000)]
 don't forget the NULL
(This used to be commit 4aa611958ebedfafbb9bfc1070b7d632272e1aaf)

21 years agoand the winner of "i should have just written it in assembly
Gerald Carter [Thu, 27 Feb 2003 23:21:37 +0000 (23:21 +0000)]
and the winner of "i should have just written it in assembly
is..."

don't use pstrcpy() when you are not dealing with pstrings.
(This used to be commit e1b21381f3b5cf6f97c101642e9286df9987998e)

21 years agodon't pass NULL pointers to strcmp()
Gerald Carter [Thu, 27 Feb 2003 21:37:30 +0000 (21:37 +0000)]
don't pass NULL pointers to strcmp()
(This used to be commit 9b0a49a0bc177f9637f197b3ab4613f25db1b43d)

21 years agoadditional fix for CR 601
Gerald Carter [Thu, 27 Feb 2003 21:22:36 +0000 (21:22 +0000)]
additional fix for CR 601
  * distinguish WinXP from Win2k
  * add a 1/3 of a second delay in OpenPrinter
    in order to trigger a LAN/WAN optimization in
    2k clients.
(This used to be commit c7712fa054d21b4884a78b7ea6c0fb8b3d637c6b)

21 years agoDoxygen merge from head
Martin Pool [Thu, 27 Feb 2003 05:57:21 +0000 (05:57 +0000)]
Doxygen merge from head
(This used to be commit 38fa2898967f607a17fd7fbd324f2940a05fb551)

21 years agoMerge 1.100 patch from HEAD:
Martin Pool [Thu, 27 Feb 2003 05:20:23 +0000 (05:20 +0000)]
Merge 1.100 patch from HEAD:

init_valid_table: Fix a memory leak that would lose the
dynamically-created valid table every time the configuration was
reloaded.
(This used to be commit 3ff4845bc43736bfa091419c80b9a0ebdc9d156e)

21 years agoFix to allow blocking lock notification to be done rapidly (no wait
Jeremy Allison [Thu, 27 Feb 2003 01:04:34 +0000 (01:04 +0000)]
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
(This used to be commit 766928bbba1e597c9c2b12458dd8d37e6080593e)

21 years agoMerge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
Andrew Bartlett [Wed, 26 Feb 2003 12:37:04 +0000 (12:37 +0000)]
Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
(This used to be commit 1cba3ceae1637974272e595260933985d84942d4)

21 years agoLink wbinfo with popt_common.o
Tim Potter [Wed, 26 Feb 2003 00:10:22 +0000 (00:10 +0000)]
Link wbinfo with popt_common.o
(This used to be commit eac4b7ef2989acb50e3d27e7198285dd198017ec)

21 years agoMerge of exit path cleanup for EnumDomainUsers.
Tim Potter [Wed, 26 Feb 2003 00:06:59 +0000 (00:06 +0000)]
Merge of exit path cleanup for EnumDomainUsers.
(This used to be commit c2e9673328b2d989f13626632442f095727a03c6)

21 years agoMerge of python prototype header removal.
Tim Potter [Wed, 26 Feb 2003 00:02:07 +0000 (00:02 +0000)]
Merge of python prototype header removal.
(This used to be commit 19676de275f1cb1feaf4f65acfafc1aed3b6ec67)

21 years agoMerge: newline on debug message.
Tim Potter [Tue, 25 Feb 2003 23:54:40 +0000 (23:54 +0000)]
Merge: newline on debug message.
(This used to be commit df49463e62e4be7535485b668f00db287ff581f3)

21 years agoMerge: add popt_common_version to command line options table.
Tim Potter [Tue, 25 Feb 2003 23:54:23 +0000 (23:54 +0000)]
Merge: add popt_common_version to command line options table.
(This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:53:38 +0000 (23:53 +0000)]
Merge: const fixes.

Merge: add popt_common_version to command line options table.

Merge: mbp's rewrite of do_cmd()
(This used to be commit 20f153cee38edfa93ffd60cc872a299a4f296240)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:52:38 +0000 (23:52 +0000)]
Merge: const fixes.

Merge: add popt_common_version to command line options table.
(This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)

21 years agoMerge: const fixes.
Tim Potter [Tue, 25 Feb 2003 23:51:56 +0000 (23:51 +0000)]
Merge: const fixes.
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)

21 years agoMerge: fix compiler warning.
Tim Potter [Tue, 25 Feb 2003 23:46:51 +0000 (23:46 +0000)]
Merge: fix compiler warning.
(This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)

21 years agoProgress on CR 601
Gerald Carter [Tue, 25 Feb 2003 20:53:53 +0000 (20:53 +0000)]
Progress on CR 601

cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.

Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
(This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)

21 years agoMerge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy Allison [Mon, 24 Feb 2003 19:37:20 +0000 (19:37 +0000)]
Merge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy.
(This used to be commit 9634b1fba059228d436198629a5c7cf01fb6736c)

21 years agoMerge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup...
Jeremy Allison [Mon, 24 Feb 2003 19:22:54 +0000 (19:22 +0000)]
Merge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Jeremy.
(This used to be commit 6521601bf8013c8809db13ccf7dd256ea4ad5dd7)

21 years agoMerge documentation from HEAD
Martin Pool [Mon, 24 Feb 2003 04:49:10 +0000 (04:49 +0000)]
Merge documentation from HEAD
(This used to be commit 3761f8ebe339fbbeffee9d7b69f9483ebfd9ae6b)

21 years agoMake sure these values are never uninitialsised.
Andrew Bartlett [Mon, 24 Feb 2003 03:43:49 +0000 (03:43 +0000)]
Make sure these values are never uninitialsised.
(This used to be commit eacb8dde7afa16d86586c6c896ffb6692dc53bf6)

21 years agoCleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
Andrew Bartlett [Mon, 24 Feb 2003 03:28:37 +0000 (03:28 +0000)]
Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.

Andrew Bartlett
(This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)

21 years agoIconv as seperate library fixes from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:27:29 +0000 (03:27 +0000)]
Iconv as seperate library fixes from HEAD
(This used to be commit 935c66f6a02c7ba764fbcc643a91833deb588bc0)

21 years agoSigned/unsigned fix from HEAD
Andrew Bartlett [Mon, 24 Feb 2003 03:26:49 +0000 (03:26 +0000)]
Signed/unsigned fix from HEAD
(This used to be commit 723ce5c531a957f3ea67f6fe74d4263a35083dda)

21 years agoMerge crypt(), ACL lib and shared lib changes from HEAD.
Andrew Bartlett [Mon, 24 Feb 2003 03:22:49 +0000 (03:22 +0000)]
Merge crypt(), ACL lib and shared lib changes from HEAD.
(This used to be commit e380224d8cd265b9845ad80af2b053a56078e790)

21 years agoMerge paramaters for client-side-auth updates.
Andrew Bartlett [Mon, 24 Feb 2003 03:22:09 +0000 (03:22 +0000)]
Merge paramaters for client-side-auth updates.
(This used to be commit 68d34711279aa5959778974018df77726b915858)

21 years agoFix a small stuffup in the HEAD -> 3.0 merge
Andrew Bartlett [Mon, 24 Feb 2003 03:14:46 +0000 (03:14 +0000)]
Fix a small stuffup in the HEAD -> 3.0 merge
(This used to be commit cccec78cf241a9f69c363f0ecdd2e934c8b21f19)