1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

10566 Commits

Author SHA1 Message Date
Jeremy Allison
e0762fe08d Fixup proto generation to not include krb5 specific symbols
if no kerberos selected. Noticed by Metze.
Jeremy.
(This used to be commit 1684719695acb7168115b032fc1ec672509239ea)
2003-01-21 13:33:36 +00:00
Tim Potter
aeaa901a72 Updated some comments.
(This used to be commit f150af98a77ebcfa848735b7a67bbb95bd6d5b57)
2003-01-21 06:30:11 +00:00
Jeremy Allison
e97e51f5fd More fixes getting us closer to full Heimdal compile....
Jeremy.
(This used to be commit 193cc4f4fc876c66e97ea6b82bae431d0247c1fa)
2003-01-21 06:23:10 +00:00
Tim Potter
4d3ec0020d 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)
2003-01-21 05:05:10 +00:00
Tim Potter
4d6535dc1a 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)
2003-01-21 05:01:05 +00:00
Tim Potter
7b69c6a48c Deleted arguments to help output - they didn't work.
(This used to be commit 8b167a45a6ae041cd35dbf2a25d7a300f86440a2)
2003-01-21 03:45:18 +00:00
Gerald Carter
2bdcf68ab6 don't free() auto variables; fixes segfault when looking up RefusePasswordChange registry value
(This used to be commit d89b0bff44fe31244b1835aee0c96c4900d90dc6)
2003-01-21 03:42:38 +00:00
Gerald Carter
3b35519857 sanity checks from Ken Cross
(This used to be commit ec26877f0b4fbe2c651a6069d22b9ac0637aa2d1)
2003-01-21 01:20:48 +00:00
Jim McDonough
ebe53e592a should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the build
(This used to be commit aceaaad1c2efce41fe0e03655b0ca0583788d7ab)
2003-01-20 19:31:01 +00:00
Martin Pool
115f3d8470 Add FIXME about dodgy argument parser.
(This used to be commit a58028330849dbb1706793fdc6e36161f7baebed)
2003-01-20 00:53:35 +00:00
Jeremy Allison
a45db02a82 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)
2003-01-19 22:25:34 +00:00
Gerald Carter
52b65f70ca strip any trailing \'s from reg key names in an open
(This used to be commit 03807cd56429e167ca8f3c003a4468461ecb854b)
2003-01-19 05:04:20 +00:00
Gerald Carter
ea5ffa0371 only supporting the Net::LDAP module now
(This used to be commit 3e9c970597b190335529e8854f3d2af2c7d8d80e)
2003-01-19 03:51:32 +00:00
Jim McDonough
e2f2558753 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)
2003-01-18 20:41:19 +00:00
John Terpstra
85a8304c42 Merge from 3.0.0 tree.
(This used to be commit 7ecd1694dd19cf27ee61be751d81e0ad92f6d531)
2003-01-18 08:14:39 +00:00
Tim Potter
7bfdc6bd8e Er, I think this is a better spelling. (-:
(This used to be commit 876f0b4d197586c1cd61d6dafb3ba97de8315b55)
2003-01-18 05:51:13 +00:00
Gerald Carter
1df98db6e9 adding docs for rpc plugin libs
(This used to be commit 36ade606e8fc7578f83590de45efbecdbe747011)
2003-01-18 01:51:46 +00:00
Gerald Carter
8c6790b6f0 removing extra debug statement
(This used to be commit 657f8c25a585a02b86f4021e38641ee896f098d2)
2003-01-18 01:41:00 +00:00
Jim McDonough
1793c8f143 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)
2003-01-17 21:23:14 +00:00
Jim McDonough
9eb368e068 Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instructions.
(This used to be commit d51e12df78ff8fc721d693fedbd1c633f39edd49)
2003-01-17 20:57:26 +00:00
Gerald Carter
8305409e79 sync WHATSNEW from SAMBA_3_0
(This used to be commit 41a86bb66b1e48b8410acbfeb68231880d977927)
2003-01-17 16:34:25 +00:00
Gerald Carter
edbc2a174f connect to the actual netbios name in smb.conf and not LOCALHOST
(This used to be commit 3e9701f34c730783648fb2a666f7b57478e5942d)
2003-01-17 14:34:23 +00:00
Jeremy Allison
074c99a852 Fix reference count bug where smbd's would not terminate with no
open resources.
Jeremy.
(This used to be commit 0173d6fe164568a73247fa542895443fad6c20c3)
2003-01-17 06:35:33 +00:00
Andrew Tridgell
96c795cea7 reverted this patch till I sort out the craziness with UNIHDR
(This used to be commit e3d00fa47d38cd214f5e350e1d6b30d90ed8a52c)
2003-01-17 06:15:18 +00:00
Andrew Tridgell
ec879eacc2 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)
2003-01-17 04:58:45 +00:00
Andrew Tridgell
ba51d1d888 the 'static' keyword here is useless as we are not declaring a
variable or function
(This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)
2003-01-17 04:12:12 +00:00
Andrew Tridgell
31482b2c6b 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)
2003-01-17 04:09:23 +00:00
Tim Potter
5183aada24 Let's clean up client side ntlmssp!
Removed a dead function.
(This used to be commit a1c790b5ea8de120a1d8710ac190955aea28246f)
2003-01-17 04:05:28 +00:00
Tim Potter
f1ffe1b1dc Remove unused variable in reply_spnego_ntlmssp_ok
(This used to be commit 60c13a767523e3ec4db7ee5f5c6b20ca07d2a00a)
2003-01-17 01:08:09 +00:00
Herb Lewis
03d6b8400b update for 3.0
(This used to be commit 8b2d19eeaa59c709315062df6d68cf16b2905054)
2003-01-16 23:34:24 +00:00
Richard Sharpe
2ff1d60bdc 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)
2003-01-16 23:27:37 +00:00
Jeremy Allison
effbd70c21 Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.
Jeremy.
(This used to be commit 3d04872499332ef2d8e7479b924afc8fc1ac29d7)
2003-01-16 20:08:33 +00:00
John Terpstra
815dcc082a Adding genlogon (from 3.0.0).
(This used to be commit b776521ba757f4b4995aff3db87a0da226480a69)
2003-01-16 05:55:47 +00:00
John Terpstra
0d0886aac4 Added NT4 Profile Modification Docs, updated Win2K version.
NOTE: These documents are place holders for a REAL document.
(This used to be commit 393c4a37f3a1729ff92c42becfd066c76deefcda)
2003-01-16 05:35:11 +00:00
Andrew Bartlett
30ddea1f05 (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)
2003-01-16 04:40:07 +00:00
Andrew Tridgell
70bf249cfb 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)
2003-01-16 04:14:59 +00:00
Andrew Bartlett
5b076fe30b Add LIBSMB_OBJ for the new ntlm_auth functionality.
Andrew Bartlett
(This used to be commit 9128aa3dd2f4bf4a21adac51be1da7c6380d23a0)
2003-01-16 03:32:55 +00:00
Andrew Bartlett
d92b21280e Updates to the NTLMSSP code again - moving the base64 decode fuctionality out
of the SWAT code, and adding a base64 encoder.

The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for
use with Squid.  Unfortunetly the squid side doesn't quite support what we need
yet.

Changes to winbind to get us the info we need, and a couple of consequential
changes/cleanups in the rest of the code.

Andrew Bartlett
(This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-16 03:29:54 +00:00
Jeremy Allison
e4af5eaca6 More Heimdal changes. Still not compiling with Heimdal yet...
Jeremy.
(This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)
2003-01-16 02:58:25 +00:00
Jeremy Allison
4375fe73ba Fist part of fixes to make us compile with Heimdal. Don't explicitly
detect for now, I still have vague hopes of hiding the differences
between MIT and Heimdal with a compatibility layer....
Jeremy.
(This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)
2003-01-16 02:39:58 +00:00
Gerald Carter
f0e282ebf3 * merge fixes for SGML syntax errors (does no one ever regenerate the docs?)
* regenerate the docs
* add some files from SAMBA_3_0
(This used to be commit 1af74785f334bd84b2d62e7fc2975f9477386acb)
2003-01-16 02:20:27 +00:00
Andrew Bartlett
078468a147 Fix a signed/unsigned warning.
(This used to be commit b5ae49544d8e389595a3b076466498912de42081)
2003-01-16 02:02:23 +00:00
Jeremy Allison
1e19c4a609 Add mutex protection around auth calls.
Jeremy.
(This used to be commit af8a5d79682410482646eea075dff2d344d60e31)
2003-01-16 00:27:30 +00:00
Gerald Carter
523e406daf s/WIFSIGNALLED/WIFSIGNALED/g
(This used to be commit 251585142bb5d13951160a76f65bb2bf32f209bf)
2003-01-15 23:11:45 +00:00
Gerald Carter
34533c7a1c do not use RCS variables in file
(This used to be commit 88d673e1a14b5c91843bd64a516555b6f1f77d7f)
2003-01-15 22:37:16 +00:00
Gerald Carter
5e8789acbd add ntlogon directory and files from 3.0
(This used to be commit 3ae66807d86753b840b674e76a27b9f6133cca98)
2003-01-15 22:19:03 +00:00
Tim Potter
9184bf744b Removed level 0 DEBUG leftover from testing.
(This used to be commit 7ed8046d043743d1a7af70eaa1d215e8c04e7700)
2003-01-15 22:15:07 +00:00
Andrew Bartlett
d456bec06e Missed auth_ntlmssp.c in last night's checkin. Also keep track of the current
challenge in the NTLMSSP context.

Andrew Bartlett
(This used to be commit ba13e058d4533b1ffba723b9e98e95090ad63d85)
2003-01-15 20:39:33 +00:00
Gerald Carter
d344a009ef remove torture tools on make clean
(This used to be commit dfeab6ff24e87e3459d28aa4bbaa5187505c199c)
2003-01-15 19:00:44 +00:00
Gerald Carter
5fb5950258 small merges from SAMBA_3_0; mostly typos, renames, etc...
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15 18:31:46 +00:00