Andrew Bartlett [Sat, 1 Feb 2003 13:01:31 +0000 (13:01 +0000)]
We now have client-side SMB signing support!
This checking allows us to connect to Microsoft servers the use SMB signing,
within a few restrictions:
- I've not get the NTLMSSP stuff going - it appears to work, but if you break
the sig - say by writing a zero in it - it still passes...
- We don't currently verfiy the server's reply
- It works against one of my test servers, but not the other...
However, it provides an excellent basis to work from. Enable it with 'client
signing' in your smb.conf.
Doc to come (tomorrow) and this is not for 3.0, till we get it complete.
The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the
standard session key, ie MD4(NT#).
Thanks to jra for the early work on this.
Andrew Bartlett
(This used to be commit
1a2738937e3d80b378bd0ed33cd8d395fba2d3c3)
Jelmer Vernooij [Sat, 1 Feb 2003 11:00:39 +0000 (11:00 +0000)]
NetBSD also supports dynamic libs
(This used to be commit
dbb29495e7cd94b4ad07efd656d021d9551f5eb6)
Andrew Bartlett [Sat, 1 Feb 2003 06:30:12 +0000 (06:30 +0000)]
Bitmap offsets and counts are always positive.
(This used to be commit
8f495e8634a1777c4b03d3ec07c76f905ff2fb98)
Andrew Bartlett [Sat, 1 Feb 2003 06:26:16 +0000 (06:26 +0000)]
Makefile.in change for ldap escaping fixes
(This used to be commit
9f3525967d3a55a0156544733a1e83711bf4be78)
Andrew Bartlett [Sat, 1 Feb 2003 06:25:08 +0000 (06:25 +0000)]
One more signed/unsigned fix
(This used to be commit
013fa874733566169ecefb25458d26065190f302)
Andrew Bartlett [Sat, 1 Feb 2003 06:24:07 +0000 (06:24 +0000)]
Non-error connection numbers are always positive
(This used to be commit
69e94440cd89a19bbcebc49d87836153b452da47)
Andrew Bartlett [Sat, 1 Feb 2003 06:17:32 +0000 (06:17 +0000)]
Prompted by RedHat bugzilla bug #77999, convert the user's username and
password from 'display' to 'unix' before we check them.
Andrew Bartlett
(This used to be commit
98a4ebf55cfce9da2c187d89a4f9c7b34e5f999e)
Andrew Bartlett [Sat, 1 Feb 2003 06:13:33 +0000 (06:13 +0000)]
More ldap parinoia - if we ever get more than one result, bail. The order we
get them in should be indeterminate, so just picking the first one would be
bad...
Andrew Bartlett
(This used to be commit
21da8c3bb39c507eb90865549c3bb3538dcea138)
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
(This used to be commit
34b2e558a4b3cfd753339bb228a9799e27ed8170)
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
(This used to be commit
9494c1e153a2a515841fb57506b7b9bff3eee7a6)
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
(This used to be commit
0944c69636eb60bc1a4b2a2257dd05f6d385bd4d)
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
(This used to be commit
0676b4e35f2ab5b58c44df9fe2eef112425d6013)
Andrew Bartlett [Sat, 1 Feb 2003 04:39:15 +0000 (04:39 +0000)]
A couple more signed/unsigned issues.
(This used to be commit
01d78b828b89f04b70b53ded01a7f4b356979317)
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
(This used to be commit
7fd0c9bd74a8513a0cbf67bb516c6c2642380c7f)
Andrew Bartlett [Sat, 1 Feb 2003 03:28:35 +0000 (03:28 +0000)]
Clarifications for the ADS docs.
(This used to be commit
9931f50b396d7e7188de583e5732781e8bea587d)
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
(This used to be commit
dfe565e6ce7ae724a95ba9f162ab51436cf4b63e)
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.
(This used to be commit
fdc14aa6f67b95350796cd1075a3910e3e5d84b6)
Jeremy Allison [Fri, 31 Jan 2003 18:34:12 +0000 (18:34 +0000)]
Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit
6624fa59d749b0c0d6aacc35b9b6ba2b567d6eb4)
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.
(This used to be commit
4ae130bfa82be60de6a6f357f65207fcb24f45fb)
Jeremy Allison [Thu, 30 Jan 2003 23:27:16 +0000 (23:27 +0000)]
More scalable print tdb fixes.
Jeremy.
(This used to be commit
fa8647eb208a971063039c24da849021c5e25267)
Jeremy Allison [Thu, 30 Jan 2003 20:36:59 +0000 (20:36 +0000)]
Sync up with 3.0 heimdal.
Jeremy.
(This used to be commit
371f4aca9204f3c093af622ec6c9ea7c5145bf85)
Jeremy Allison [Thu, 30 Jan 2003 20:16:18 +0000 (20:16 +0000)]
Fix kerberos compile after the tpot massicre :-).
Jeremy
(This used to be commit
d63849db6d02b1a9430072e6e15a67e1c526e5e7)
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.
(This used to be commit
1fec0f50ed0e750afec5cdf551fcd37ef4858e94)
Gerald Carter [Thu, 30 Jan 2003 17:04:47 +0000 (17:04 +0000)]
Straus VOS detection patches from Paul Green
(This used to be commit
726181537db6bdd299fd9256a5e6def6b4b8ae33)
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.
(This used to be commit
08050a93d9c5b2276c4eaf933974607cf11a1876)
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.
(This used to be commit
6fee7196d695ca813a301b1e6d7da687b7e7bda5)
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.
(This used to be commit
d1e8991a76a57b7d96dd7db3c1d9bbf5b28da88e)
Andrew Bartlett [Wed, 29 Jan 2003 13:13:00 +0000 (13:13 +0000)]
Fix to findsmb by Waider
(This used to be commit
c32c1bccc27f10e2f44f3e7f3778aae38bba8f25)
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
(This used to be commit
dceb7820d71ce624de60ce8f729d5d3711b64152)
Tim Potter [Wed, 29 Jan 2003 06:24:13 +0000 (06:24 +0000)]
Use new interface for cli_samr_query_dispinfo().
(This used to be commit
d3962da61a5717dda7e99996bbeb4735d4373041)
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.
(This used to be commit
2eea2813d9adc414f0a7ea074826b23697f376ee)
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.
(This used to be commit
c3b077f763d94ba063b2d4231cd5d411e44933e7)
Tim Potter [Wed, 29 Jan 2003 05:16:16 +0000 (05:16 +0000)]
Removed duplicate fn to avoid compiler warning.
(This used to be commit
55d268fdd67e42244128dae8614d0e4aa2eb2da2)
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.
(This used to be commit
cdc7c599c72119e96a2a3d392458cd6d52bf56a5)
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()
(This used to be commit
b9c4cc119588d6a564f0aaf12fd2ef867a42aeb8)
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?
(This used to be commit
1e7236371d2b766b161acbb0c950cd3bb4a6ede7)
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.
(This used to be commit
bf99440398db86f46233eb2f5adddffb61280a1b)
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
(This used to be commit
f739a7263d9da6edc2ecba5b942253c22f7cb3f8)
Jelmer Vernooij [Tue, 28 Jan 2003 14:39:01 +0000 (14:39 +0000)]
First step towards XML: Use correct syntax
(This used to be commit
06f641bcb59f932c994e6023d400df18b54c2067)
Jelmer Vernooij [Tue, 28 Jan 2003 13:52:38 +0000 (13:52 +0000)]
First step in converting to XML: use strict syntax
(This used to be commit
89f9a0a0c451a627b70c8373431e691ab964c1ef)
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.
(This used to be commit
d9cf973a466ff684f0867b5d7fd494de6967aa79)
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.
(This used to be commit
0930628bd588096d5e5bc2e68fe78eb893d5f18a)
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.
(This used to be commit
2e5e659e095a94b0716d97f673f993f0af99aabe)
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
(This used to be commit
7cbb194b58a4313497541c1f8153533c5034b928)
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
(This used to be commit
a058960c15944ac5a415307f0b016553ef42e101)
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
(This used to be commit
e5c67a012424e71cee340b16946babe2399c0fa1)
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
(This used to be commit
a8773c9f825539c5bc17e4200b16d7ebbe0b7620)
Gerald Carter [Tue, 28 Jan 2003 02:14:33 +0000 (02:14 +0000)]
performance patch from HP-UX folks (cant remember who)
(This used to be commit
9180e2d062ac18dc5e7e8d0737973dc9e806e412)
Gerald Carter [Tue, 28 Jan 2003 01:58:51 +0000 (01:58 +0000)]
CUPS-PRINTER_CLASS patch from Michael Sweet
(This used to be commit
d74d4fe0b0c64d500367e4969be37f4541227d3e)
Gerald Carter [Mon, 27 Jan 2003 17:57:24 +0000 (17:57 +0000)]
reran autoconf
(This used to be commit
f89a99bf881f691c4fd8063fe0c51b84466a4cf6)
Richard Sharpe [Mon, 27 Jan 2003 07:57:59 +0000 (07:57 +0000)]
One more try to fix the GNU Make dependency
(This used to be commit
84b6f32cff2096ac44778160ed2c17ca271d6d45)
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
(This used to be commit
58a7744f4abebfbf87b9050b98db25c51321defa)
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
(This used to be commit
a96592fb69fdebc5abe97a0b46055bd1486e7b94)
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.
(This used to be commit
5e99472d5b68dc393a5468b8949c3ad962a239f7)
Jeremy Allison [Fri, 24 Jan 2003 19:20:01 +0000 (19:20 +0000)]
Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
Jeremy.
(This used to be commit
af6e4ea640828438fe234db1652dc4c1e10a487e)
Richard Sharpe [Fri, 24 Jan 2003 18:58:52 +0000 (18:58 +0000)]
Commit just a little more infrastructure for HAVE_GETDIRENTRIES
(This used to be commit
fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
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.
(This used to be commit
916c8784d21f566a1fb048301c3e78a9ecc52ea8)
Tim Potter [Fri, 24 Jan 2003 04:04:49 +0000 (04:04 +0000)]
Merge ... increment_smbd_process_count() fix from appliance.
(This used to be commit
c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111)
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.
(This used to be commit
303710c2065850beebef678e657633497e4d8452)
Tim Potter [Thu, 23 Jan 2003 00:21:00 +0000 (00:21 +0000)]
Gerald Carter [Wed, 22 Jan 2003 14:37:50 +0000 (14:37 +0000)]
fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
(This used to be commit
fcf63df8bfae37680ad7af48c65af62abc4e0020)
Jim McDonough [Tue, 21 Jan 2003 14:05:37 +0000 (14:05 +0000)]
revert accidentally committed changes
(This used to be commit
5d43346761cd120c12766536efb0513994d7bace)
Jim McDonough [Tue, 21 Jan 2003 13:58:16 +0000 (13:58 +0000)]
Properly display popt errors. Also fix debug to be -d for consistency with other progs.
(This used to be commit
97133f7168852dc185dbf4492afcaf4b68180f65)
Jeremy Allison [Tue, 21 Jan 2003 13:33:36 +0000 (13:33 +0000)]
Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
(This used to be commit
1684719695acb7168115b032fc1ec672509239ea)
Tim Potter [Tue, 21 Jan 2003 06:30:11 +0000 (06:30 +0000)]
Updated some comments.
(This used to be commit
f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
Jeremy Allison [Tue, 21 Jan 2003 06:23:10 +0000 (06:23 +0000)]
More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit
193cc4f4fc876c66e97ea6b82bae431d0247c1fa)
Tim Potter [Tue, 21 Jan 2003 05:05:10 +0000 (05:05 +0000)]
Keep the list of dead WINS servers in gencache.tdb instead of in
memory. This allows the information to be shared amongst all smbd
processes.
HP CR #1099
(This used to be commit
88d977ecceaec45ab6b238ddd32d92885da19793)
Tim Potter [Tue, 21 Jan 2003 05:01:05 +0000 (05:01 +0000)]
Make the valstr and timeout return pointers optional so a caller can
pass NULL if it doesn't care about the gencache key.
(This used to be commit
9ff4fe7e0d95c0cea94f65c00fea21600308d7d1)
Tim Potter [Tue, 21 Jan 2003 03:45:18 +0000 (03:45 +0000)]
Deleted arguments to help output - they didn't work.
(This used to be commit
8b167a45a6ae041cd35dbf2a25d7a300f86440a2)
Gerald Carter [Tue, 21 Jan 2003 03:42:38 +0000 (03:42 +0000)]
don't free() auto variables; fixes segfault when looking up RefusePasswordChange registry value
(This used to be commit
d89b0bff44fe31244b1835aee0c96c4900d90dc6)
Gerald Carter [Tue, 21 Jan 2003 01:20:48 +0000 (01:20 +0000)]
sanity checks from Ken Cross
(This used to be commit
ec26877f0b4fbe2c651a6069d22b9ac0637aa2d1)
Jim McDonough [Mon, 20 Jan 2003 19:31:01 +0000 (19:31 +0000)]
should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
(This used to be commit
aceaaad1c2efce41fe0e03655b0ca0583788d7ab)
Martin Pool [Mon, 20 Jan 2003 00:53:35 +0000 (00:53 +0000)]
Add FIXME about dodgy argument parser.
(This used to be commit
a58028330849dbb1706793fdc6e36161f7baebed)
Jeremy Allison [Sun, 19 Jan 2003 22:25:34 +0000 (22:25 +0000)]
Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying
to avoid.
Jeremy.
(This used to be commit
77aeb262ef7c7cd3d206afe2d5445caaca943dfd)
Gerald Carter [Sun, 19 Jan 2003 05:04:20 +0000 (05:04 +0000)]
strip any trailing \'s from reg key names in an open
(This used to be commit
03807cd56429e167ca8f3c003a4468461ecb854b)
Gerald Carter [Sun, 19 Jan 2003 03:51:32 +0000 (03:51 +0000)]
only supporting the Net::LDAP module now
(This used to be commit
3e9c970597b190335529e8854f3d2af2c7d8d80e)
Jim McDonough [Sat, 18 Jan 2003 20:41:19 +0000 (20:41 +0000)]
Fix some debug levels (were set to 0 with RPC module patch), and
change one fprintf(stderr,...) to DEBUG.
(This used to be commit
77f8913977343023f8ce123c305dcffc7463357b)
John Terpstra [Sat, 18 Jan 2003 08:14:39 +0000 (08:14 +0000)]
Merge from 3.0.0 tree.
(This used to be commit
7ecd1694dd19cf27ee61be751d81e0ad92f6d531)
Tim Potter [Sat, 18 Jan 2003 05:51:13 +0000 (05:51 +0000)]
Er, I think this is a better spelling. (-:
(This used to be commit
876f0b4d197586c1cd61d6dafb3ba97de8315b55)
Gerald Carter [Sat, 18 Jan 2003 01:51:46 +0000 (01:51 +0000)]
adding docs for rpc plugin libs
(This used to be commit
36ade606e8fc7578f83590de45efbecdbe747011)
Gerald Carter [Sat, 18 Jan 2003 01:41:00 +0000 (01:41 +0000)]
removing extra debug statement
(This used to be commit
657f8c25a585a02b86f4021e38641ee896f098d2)
Jim McDonough [Fri, 17 Jan 2003 21:23:14 +0000 (21:23 +0000)]
dlsym() can return NULL validly, so we can't use that as the error test.
dlerror() is the correct way to test.
(This used to be commit
41b1be15bac271116a7096e511cc029685013e1f)
Jim McDonough [Fri, 17 Jan 2003 20:57:26 +0000 (20:57 +0000)]
Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instructions.
(This used to be commit
d51e12df78ff8fc721d693fedbd1c633f39edd49)
Gerald Carter [Fri, 17 Jan 2003 16:34:25 +0000 (16:34 +0000)]
sync WHATSNEW from SAMBA_3_0
(This used to be commit
41a86bb66b1e48b8410acbfeb68231880d977927)
Gerald Carter [Fri, 17 Jan 2003 14:34:23 +0000 (14:34 +0000)]
connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit
3e9701f34c730783648fb2a666f7b57478e5942d)
Jeremy Allison [Fri, 17 Jan 2003 06:35:33 +0000 (06:35 +0000)]
Fix reference count bug where smbd's would not terminate with no
open resources.
Jeremy.
(This used to be commit
0173d6fe164568a73247fa542895443fad6c20c3)
Andrew Tridgell [Fri, 17 Jan 2003 06:15:18 +0000 (06:15 +0000)]
reverted this patch till I sort out the craziness with UNIHDR
(This used to be commit
e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
Andrew Tridgell [Fri, 17 Jan 2003 04:58:45 +0000 (04:58 +0000)]
This removes the 3rd argument from init_unistr2(). There were 240
calls to init_unistr2() in the code and every one of them got the 3rd
argument incorrect, so I thought it best just to remove the argument.
The incorrect usage was caused by callers using strlen() to determine
the length of the string. The 3rd argument to init_unistr2() was
supposed to be the character length, not the byte length of the
string, so for non-english this could come out wrong.
I also removed the bogus 'always allocate at least 256 bytes'
hack. There may be some code that relies on this, but if there is then
the code is broken and needs fixing.
(This used to be commit
b9eff31b1433c81fbff733e194914a40f25e3bda)
Andrew Tridgell [Fri, 17 Jan 2003 04:12:12 +0000 (04:12 +0000)]
the 'static' keyword here is useless as we are not declaring a
variable or function
(This used to be commit
f2c9c64900c4da24f73b188deb0f57271e3bf3e7)
Andrew Tridgell [Fri, 17 Jan 2003 04:09:23 +0000 (04:09 +0000)]
fix some undefined behaviour with increments in C. In theory a
compiler could have produced complete crap for this code.
(This used to be commit
0e90da0810b60dd1c2b1ec46c1a2993856b919d3)
Tim Potter [Fri, 17 Jan 2003 04:05:28 +0000 (04:05 +0000)]
Let's clean up client side ntlmssp!
Removed a dead function.
(This used to be commit
a1c790b5ea8de120a1d8710ac190955aea28246f)
Tim Potter [Fri, 17 Jan 2003 01:08:09 +0000 (01:08 +0000)]
Remove unused variable in reply_spnego_ntlmssp_ok
(This used to be commit
60c13a767523e3ec4db7ee5f5c6b20ca07d2a00a)
Herb Lewis [Thu, 16 Jan 2003 23:34:24 +0000 (23:34 +0000)]
update for 3.0
(This used to be commit
8b2d19eeaa59c709315062df6d68cf16b2905054)
Richard Sharpe [Thu, 16 Jan 2003 23:27:37 +0000 (23:27 +0000)]
Fix an error where the SK Offset was truncated to 16 bits. Variables needed
to be unsigned int (DWORD) not unsigned int (WORD).
(This used to be commit
e1e9c29c4095405d7031cfd618e06dd841075aad)
Jeremy Allison [Thu, 16 Jan 2003 20:08:33 +0000 (20:08 +0000)]
Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit
3d04872499332ef2d8e7479b924afc8fc1ac29d7)
John Terpstra [Thu, 16 Jan 2003 05:55:47 +0000 (05:55 +0000)]
Adding genlogon (from 3.0.0).
(This used to be commit
b776521ba757f4b4995aff3db87a0da226480a69)
John Terpstra [Thu, 16 Jan 2003 05:35:11 +0000 (05:35 +0000)]
Added NT4 Profile Modification Docs, updated Win2K version.
NOTE: These documents are place holders for a REAL document.
(This used to be commit
393c4a37f3a1729ff92c42becfd066c76deefcda)
Andrew Bartlett [Thu, 16 Jan 2003 04:40:07 +0000 (04:40 +0000)]
(missed in last commit)
Change the 'cookie' to be the ntlmssp_context, and use the 'auth_context' on
that to store the cookie. Ensures that simple callbacks can 'just work'.
Also make it clear that we are doing a pull_string into a pstring, not just
any sized buffer.
Andrew Bartlett
(This used to be commit
c7793f27188e658b7fc6336aa51d367eab36fc17)
Andrew Tridgell [Thu, 16 Jan 2003 04:14:59 +0000 (04:14 +0000)]
allow a couple of LSA functions to take a username instead of a SID,
They still accept a SID, it just can be tedious to have to type SIDs
instead of names all the time.
(This used to be commit
665cc9b1aceb454074e9de9c6e8636b39be29493)
Andrew Bartlett [Thu, 16 Jan 2003 03:32:55 +0000 (03:32 +0000)]
Add LIBSMB_OBJ for the new ntlm_auth functionality.
Andrew Bartlett
(This used to be commit
9128aa3dd2f4bf4a21adac51be1da7c6380d23a0)