Herb Lewis [Mon, 3 Feb 2003 22:07:14 +0000 (22:07 +0000)]
fix another syntax error
Herb Lewis [Mon, 3 Feb 2003 21:58:58 +0000 (21:58 +0000)]
if @EXTRA_ALL_TARGETS@ is empty, this fixes makefile syntax error
Jeremy Allison [Mon, 3 Feb 2003 20:38:01 +0000 (20:38 +0000)]
Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
Gerald Carter [Mon, 3 Feb 2003 19:29:15 +0000 (19:29 +0000)]
reran autoconf-2.53
Jim McDonough [Mon, 3 Feb 2003 18:20:54 +0000 (18:20 +0000)]
Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there...
Simo Sorce [Sun, 2 Feb 2003 18:08:37 +0000 (18:08 +0000)]
untest fix from HEAD/2.2 for wide links parameter bug.
it work properly on 2.2 and the patch apply so I think it should be ok.
Andrew Bartlett [Sun, 2 Feb 2003 05:22:37 +0000 (05:22 +0000)]
Merge from HEAD: Send the session key to the client, allowing it to perform SMB
signing.
Andrew Bartlett
Jelmer Vernooij [Sat, 1 Feb 2003 12:18:37 +0000 (12:18 +0000)]
Merge from HEAD: netbsd supports dynamic libs
Andrew Bartlett [Sat, 1 Feb 2003 07:59:29 +0000 (07:59 +0000)]
Merge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and some
misc libads fixes.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 07:27:01 +0000 (07:27 +0000)]
Merge from HEAD - convert username/password to unix before checking them in
SWAT.
Andrew Bartlett [Sat, 1 Feb 2003 07:25:53 +0000 (07:25 +0000)]
Merge of signed/unsigned fixes from HEAD.
cvs2svn Import User [Sat, 1 Feb 2003 05:20:12 +0000 (05:20 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Andrew Bartlett [Sat, 1 Feb 2003 05:20:11 +0000 (05:20 +0000)]
Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm to
blame for the realloc() stuff.
Plus a couple of minor updates to libads.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 05:16:00 +0000 (05:16 +0000)]
More doco updates, in particular the fact that you must configure the smb.conf
*before* you join, otherwise we don't have all the info that 'net join' needs.
Also move from smbpasswd -j to 'net join' in the examples.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 04:44:23 +0000 (04:44 +0000)]
Clarify that 'use spnego = yes' is fine in all known situations.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 04:40:00 +0000 (04:40 +0000)]
Make it clear that the magic value is (size_t)-1.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 04:39:15 +0000 (04:39 +0000)]
A couple more signed/unsigned issues.
Andrew Bartlett [Sat, 1 Feb 2003 04:34:40 +0000 (04:34 +0000)]
Minor doco updates - with a slightly bigger change to the
'security=server/domain' text, to try and explain the difference better, and
why you should always use the latter.
Also update the BDC-HOWTO to have some relation to current reality.
Andrew Bartlett
Andrew Bartlett [Sat, 1 Feb 2003 03:28:35 +0000 (03:28 +0000)]
Clarifications for the ADS docs.
Andrew Bartlett [Sat, 1 Feb 2003 03:26:53 +0000 (03:26 +0000)]
Clear up the winbind doco on ADS support, and specify 'net join' not 'net rpc
join' as people are using the 'wrong' one and wondering why it doesn't quite
work.
Andrew Bartlett
Jeremy Allison [Fri, 31 Jan 2003 20:01:32 +0000 (20:01 +0000)]
Added first part of attribute matrix tests. Not run and compiled in right now...
Jeremy.
Jeremy Allison [Fri, 31 Jan 2003 18:34:12 +0000 (18:34 +0000)]
Ensure Luke Howard's (C) is added.
Jeremy.
Jeremy Allison [Fri, 31 Jan 2003 18:33:35 +0000 (18:33 +0000)]
Ensure Luke Howard's (C) is added.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 23:55:58 +0000 (23:55 +0000)]
Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 23:55:13 +0000 (23:55 +0000)]
Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 23:27:16 +0000 (23:27 +0000)]
More scalable print tdb fixes.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 23:26:49 +0000 (23:26 +0000)]
More scalable print tdb fixes.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 20:36:59 +0000 (20:36 +0000)]
Sync up with 3.0 heimdal.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 20:36:44 +0000 (20:36 +0000)]
Re-added the Heimdal stuff tpot removed.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 20:16:18 +0000 (20:16 +0000)]
Fix kerberos compile after the tpot massicre :-).
Jeremy
Jeremy Allison [Thu, 30 Jan 2003 18:03:34 +0000 (18:03 +0000)]
Revert tpot's HEAD merge which broke the Heimdal build.
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 18:01:23 +0000 (18:01 +0000)]
Stop tpot from trampling over my Heimdal fixes by moving some of them
to HEAD :-).
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 18:01:03 +0000 (18:01 +0000)]
Revert tpot's breakage of the Heimdal fixes.
Jeremy.
Gerald Carter [Thu, 30 Jan 2003 17:07:28 +0000 (17:07 +0000)]
Straus VOS detection patches from Paul Green
Gerald Carter [Thu, 30 Jan 2003 17:04:47 +0000 (17:04 +0000)]
Straus VOS detection patches from Paul Green
Tim Potter [Thu, 30 Jan 2003 04:40:12 +0000 (04:40 +0000)]
Sync of Heimdal kerberos stuff with HEAD. If this breaks I'm blaming
the dog again.
Tim Potter [Thu, 30 Jan 2003 04:38:39 +0000 (04:38 +0000)]
Merge of controversial 'max log size' fix.
Tim Potter [Thu, 30 Jan 2003 04:37:18 +0000 (04:37 +0000)]
Merge ... REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.
Tim Potter [Thu, 30 Jan 2003 04:01:21 +0000 (04:01 +0000)]
The REQ_DEBUGLEVEL message returns a string not a list of integers.
Tim Potter [Thu, 30 Jan 2003 04:00:28 +0000 (04:00 +0000)]
Move debug level message handling into debug.c from messages.c
Removed duplicate message_register() for REQ_DEBUGLEVEL message.
Jeremy Allison [Thu, 30 Jan 2003 01:42:08 +0000 (01:42 +0000)]
Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy.
Jeremy Allison [Thu, 30 Jan 2003 01:41:46 +0000 (01:41 +0000)]
Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy
John Terpstra [Wed, 29 Jan 2003 23:38:55 +0000 (23:38 +0000)]
Added "passwd backend" to WIZARD section in SWAT.
Jeremy Allison [Wed, 29 Jan 2003 20:15:35 +0000 (20:15 +0000)]
Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.
Gerald Carter [Wed, 29 Jan 2003 18:47:57 +0000 (18:47 +0000)]
playing janitor for abartlet. :-(
"
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.
We really need to get the PDB backends out of the IDMAP game...
Andrew Bartlett
"
Jeremy Allison [Wed, 29 Jan 2003 17:55:41 +0000 (17:55 +0000)]
Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).
Jeremy.
Andrew Bartlett [Wed, 29 Jan 2003 13:14:18 +0000 (13:14 +0000)]
Merge from HEAD - fix to findsmb by Waider
Andrew Bartlett [Wed, 29 Jan 2003 13:13:00 +0000 (13:13 +0000)]
Fix to findsmb by Waider
Andrew Bartlett [Wed, 29 Jan 2003 12:11:30 +0000 (12:11 +0000)]
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.
We really need to get the PDB backends out of the IDMAP game...
Andrew Bartlett
Jeremy Allison [Wed, 29 Jan 2003 06:53:07 +0000 (06:53 +0000)]
Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function. Merge from HEAD (tpot).
Jeremy.
Jeremy Allison [Wed, 29 Jan 2003 06:51:35 +0000 (06:51 +0000)]
Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull() - merge from HEAD (tpot).
Jeremy.
Tim Potter [Wed, 29 Jan 2003 06:24:13 +0000 (06:24 +0000)]
Use new interface for cli_samr_query_dispinfo().
Tim Potter [Wed, 29 Jan 2003 06:20:08 +0000 (06:20 +0000)]
Pass down max_size parameter to cli_samr_query_dispinfo() instead of
using a hardcoded value later on.
Added a helper function that returns the observed values for
max_entries and max_size for each cli_samr_query_dispinfo() call.
These values were obtained from watching the NT4 user manager
application with ethereal and are the only ones that can enumerate a
60k user domain reliably under Windows 2000.
Tim Potter [Wed, 29 Jan 2003 06:13:18 +0000 (06:13 +0000)]
Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff.
Tim Potter [Wed, 29 Jan 2003 05:16:16 +0000 (05:16 +0000)]
Removed duplicate fn to avoid compiler warning.
Tim Potter [Wed, 29 Jan 2003 02:57:03 +0000 (02:57 +0000)]
Remove NULL buffer checks before rpcstr_pull() as they're now done
inside this function.
Tim Potter [Wed, 29 Jan 2003 02:55:39 +0000 (02:55 +0000)]
Return 0 instead of crashing when a NULL source string is passed
to rpcstr_pull()
Tim Potter [Wed, 29 Jan 2003 02:54:36 +0000 (02:54 +0000)]
Quieten debug about gencache.tdb not being able to be opened.
Perhaps we should try to open O_RDONLY if O_RDWR fails?
Jeremy Allison [Wed, 29 Jan 2003 02:24:12 +0000 (02:24 +0000)]
Merge tridge's client priv code from HEAD.
Jeremy
Andrew Tridgell [Tue, 28 Jan 2003 21:31:45 +0000 (21:31 +0000)]
added LsaRemoveAccountRights
this now gives us complete remove privileges control in the client
libs, so we are in good shape for starting on the server side.
Jeremy Allison [Tue, 28 Jan 2003 21:09:56 +0000 (21:09 +0000)]
Merging tridge's privillage client changes from HEAD.
Jeremy.
Gerald Carter [Tue, 28 Jan 2003 20:55:09 +0000 (20:55 +0000)]
patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries
Gerald Carter [Tue, 28 Jan 2003 20:11:20 +0000 (20:11 +0000)]
patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries
Gerald Carter [Tue, 28 Jan 2003 16:15:22 +0000 (16:15 +0000)]
added missing file for abartlet
Jelmer Vernooij [Tue, 28 Jan 2003 14:39:01 +0000 (14:39 +0000)]
First step towards XML: Use correct syntax
Jelmer Vernooij [Tue, 28 Jan 2003 13:52:38 +0000 (13:52 +0000)]
First step in converting to XML: use strict syntax
Jelmer Vernooij [Tue, 28 Jan 2003 13:17:06 +0000 (13:17 +0000)]
Put in ab's conversion to XML. First step: Make all the SGML docs
conform to the (more strict) XML syntax.
Jelmer Vernooij [Tue, 28 Jan 2003 13:08:08 +0000 (13:08 +0000)]
Merge in ab's conversion to XML. First step: make SGML documents compatible
with the (more strict) XML format.
Andrew Tridgell [Tue, 28 Jan 2003 12:52:51 +0000 (12:52 +0000)]
cleaned up the lsa_enum_acct_rights function and added a
lsa_add_acct_rights function.
This allows us to add privileges remotely to accounts using rpcclient.
Andrew Bartlett [Tue, 28 Jan 2003 12:07:02 +0000 (12:07 +0000)]
Merge from HEAD:
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor.
- also consequential changes to the NTLMSSP and SPNEGO parsing functions
- and the client code that uses the same functions
- Add ntlm_auth, a NTLMSSP authentication interface for use by applications
like Squid and Apache.
- also consquential changes to use common code for base64 encode/decode.
- Winbind changes to support ntlm_auth (I don't want this program to need
to read smb.conf, instead getting all it's details over the pipe).
- nmbd changes for fstrcat() instead of fstrcpy().
Andrew Bartlett
Andrew Bartlett [Tue, 28 Jan 2003 11:51:55 +0000 (11:51 +0000)]
As per a comment by herb a little while back, this should be >=, not == to keep
identical behaviour with previous versions
Andrew Bartlett [Tue, 28 Jan 2003 10:16:07 +0000 (10:16 +0000)]
Make this an fstrcat(), as this seems to fix some weird issue with the server
name being truncated... (either way, it's the correct thing to do).
Andrew Bartlett
Andrew Bartlett [Tue, 28 Jan 2003 05:13:07 +0000 (05:13 +0000)]
The previous patch (NTLMSSP common code factoring) was missing a minor detail -
testing :-). This gets the 'signiture' after the extended security blob,
rather than over the top of it.
Also move that code to the top of the file, with some of the other util functions.
Andrew Bartlett
cvs2svn Import User [Tue, 28 Jan 2003 03:37:15 +0000 (03:37 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Andrew Bartlett [Tue, 28 Jan 2003 03:37:14 +0000 (03:37 +0000)]
Factor out common code in the NTLMSSP/SPNEGO code.
The idea here is to seperate, as much as possible, the SPNEGO layer from the
NTLMSSP layer. This not only helps us with protocol correctness, but also
should allow further mechinisms to be added with relitive ease. I indend to
make the kerberos code use this shortly.
I've never seen the 'zero length blob' form of the anonymous login, so I've
removed that case.
Andrew Bartlett
Jeremy Allison [Tue, 28 Jan 2003 03:31:33 +0000 (03:31 +0000)]
Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy.
Gerald Carter [Tue, 28 Jan 2003 02:15:11 +0000 (02:15 +0000)]
performance patch from HP-UX folks (cant remember who)
Gerald Carter [Tue, 28 Jan 2003 02:14:33 +0000 (02:14 +0000)]
performance patch from HP-UX folks (cant remember who)
Gerald Carter [Tue, 28 Jan 2003 01:58:51 +0000 (01:58 +0000)]
CUPS-PRINTER_CLASS patch from Michael Sweet
Gerald Carter [Tue, 28 Jan 2003 01:58:38 +0000 (01:58 +0000)]
CUPS-PRINTER_CLASS patch from Michael Sweet
Jeremy Allison [Tue, 28 Jan 2003 00:33:21 +0000 (00:33 +0000)]
Get smbd to link with Heimdal. Still missing some client progs...
Jeremy.
Gerald Carter [Mon, 27 Jan 2003 17:57:24 +0000 (17:57 +0000)]
reran autoconf
Richard Sharpe [Mon, 27 Jan 2003 07:57:59 +0000 (07:57 +0000)]
One more try to fix the GNU Make dependency
Richard Sharpe [Mon, 27 Jan 2003 07:12:20 +0000 (07:12 +0000)]
One more fix ... Things link now if you don't use dynamic RPC stuff
Richard Sharpe [Mon, 27 Jan 2003 06:15:27 +0000 (06:15 +0000)]
One more try to get rid of the dependency on GNU MAKE
Richard Sharpe [Mon, 27 Jan 2003 05:54:30 +0000 (05:54 +0000)]
Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.
I have not tested this in a GNU MAKE environment yet.
Gerald Carter [Fri, 24 Jan 2003 21:25:12 +0000 (21:25 +0000)]
sync with tpot's change to gencache_get() in HEAD
Gerald Carter [Fri, 24 Jan 2003 21:20:31 +0000 (21:20 +0000)]
masking an assert error in Tim's wins server checking code; needs a proper fix after I talk to tpot
Jeremy Allison [Fri, 24 Jan 2003 19:20:01 +0000 (19:20 +0000)]
Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
Jeremy Allison [Fri, 24 Jan 2003 19:19:25 +0000 (19:19 +0000)]
Memory leak fix from Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
Jeremy Allison [Fri, 24 Jan 2003 19:05:32 +0000 (19:05 +0000)]
Fixed typo found by tpot.
Jeremy.
Richard Sharpe [Fri, 24 Jan 2003 18:58:52 +0000 (18:58 +0000)]
Commit just a little more infrastructure for HAVE_GETDIRENTRIES
Richard Sharpe [Fri, 24 Jan 2003 18:35:22 +0000 (18:35 +0000)]
At the prompting, start to add infrastructure to detect the presence of
getdirentries. We would also detect getdents if present. This has some
rudimentary support already.
Gerald Carter [Fri, 24 Jan 2003 16:34:54 +0000 (16:34 +0000)]
merging [un]signed declaration
Tim Potter [Fri, 24 Jan 2003 04:04:49 +0000 (04:04 +0000)]
Merge ... increment_smbd_process_count() fix from appliance.
Jeremy Allison [Thu, 23 Jan 2003 18:15:18 +0000 (18:15 +0000)]
Thanks Meeester Potter, for reverting *all* my Heimdal changes because
I mistyped a comma :-).
Jeremy.
Tim Potter [Thu, 23 Jan 2003 03:02:08 +0000 (03:02 +0000)]
Merge of max log file fixes from appliance:
- smbd/process.c: check log file sizes more often than in
timeout_processing()
- lib/debug.c: increment debug_count inside Debug1() instead of
when log file sizes are checked.
Tim Potter [Thu, 23 Jan 2003 00:21:22 +0000 (00:21 +0000)]
Fixed typo.
Tim Potter [Thu, 23 Jan 2003 00:21:00 +0000 (00:21 +0000)]
Fixed typo.
Tim Potter [Wed, 22 Jan 2003 23:51:39 +0000 (23:51 +0000)]
Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.