Richard Sharpe
cefc3a20ce
One more fix ... Things link now if you don't use dynamic RPC stuff
...
(This used to be commit 58a7744f4abebfbf87b9050b98db25c51321defa)
2003-01-27 07:12:20 +00:00
Richard Sharpe
e5e456a66c
One more try to get rid of the dependency on GNU MAKE
...
(This used to be commit a96592fb69fdebc5abe97a0b46055bd1486e7b94)
2003-01-27 06:15:27 +00:00
Richard Sharpe
45d481fa7e
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)
2003-01-27 05:54:30 +00:00
Jeremy Allison
012f7aae4e
Fix memory leak found my Leo Qiu <leoxqiu@yahoo.com>.
...
Jeremy.
(This used to be commit af6e4ea640828438fe234db1652dc4c1e10a487e)
2003-01-24 19:20:01 +00:00
Richard Sharpe
c924528c86
Commit just a little more infrastructure for HAVE_GETDIRENTRIES
...
(This used to be commit fdd449fe7b4e858765f485cbbe2cc1b91a4e0c53)
2003-01-24 18:58:52 +00:00
Richard Sharpe
3a9beef2b7
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)
2003-01-24 18:35:22 +00:00
Tim Potter
bb3bf8d3f4
Merge of increment_smbd_process_count() fix from appliance.
...
(This used to be commit c39c54e6b6adcdab7647e36e6c1b0acbdeeaf111)
2003-01-24 04:04:49 +00:00
Tim Potter
644d31ae25
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)
2003-01-23 03:02:08 +00:00
Tim Potter
1c4eacafba
Fixed typo.
...
(This used to be commit 9b11ede90129fab8311344ce8621556fd6cff7dc)
2003-01-23 00:21:00 +00:00
Gerald Carter
069ac15942
fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLE
...
(This used to be commit fcf63df8bfae37680ad7af48c65af62abc4e0020)
2003-01-22 14:37:50 +00:00
Jim McDonough
e47fbbd37f
revert accidentally committed changes
...
(This used to be commit 5d43346761cd120c12766536efb0513994d7bace)
2003-01-21 14:05:37 +00:00
Jim McDonough
19938c0d2c
Properly display popt errors. Also fix debug to be -d for consistency with other progs.
...
(This used to be commit 97133f7168852dc185dbf4492afcaf4b68180f65)
2003-01-21 13:58:16 +00:00
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
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
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
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
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
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
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
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