Andrew Bartlett
a2781ba60d
Oops, forgot the header file changes.
...
(This used to be commit 5492fc1144abac74959b7e0938ce1bb387fa7429)
2003-02-14 23:34:32 +00:00
Andrew Bartlett
3ca3e92376
NTLMSSP parinoia - we really don't want to run over the end of our blob,
...
and make sure we can never get an 'authenticate' packet without a challenge.
Andrew Bartlett
(This used to be commit 4d94f8e6912c1339515cd1f68d1b698e7c699626)
2003-02-14 23:13:05 +00:00
Jeremy Allison
4cd6e31bd3
Ensure that only parse_prs.c access internal members of the prs_struct.
...
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit 4c3ee228fcdb089eaeead95e79532a9cf6cb0de6)
2003-02-14 23:04:03 +00:00
Gerald Carter
4f6c2ab895
off by one bug in string length; CR 1159
...
(This used to be commit 4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
2003-02-14 22:24:49 +00:00
Jim McDonough
bfdf6c9053
Put dynrpc modules as part of make all, when specified in configure.
...
(This used to be commit b44be1c7c4b8c7a8c1d35fe8b24aeff0ff0af32b)
2003-02-14 20:10:43 +00:00
Andrew Bartlett
938fd5652d
Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
...
NTLMSSP client code.
Andrew Bartlett
(This used to be commit eaa8e7d1f82b30e7af14a0a58d7ca3eb66a06053)
2003-02-14 10:47:07 +00:00
Martin Pool
dc75b89bfc
Doc
...
(This used to be commit 11c1e712d48438bd80c4f347a2f31e308bd54d7a)
2003-02-14 06:34:59 +00:00
Tim Potter
3b23695db6
Simplify some return values in gencache functions:
...
- return ret == 0 ? True : False;
+ return ret == 0;
and
- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;
(This used to be commit 026b988b132ec76fdd3821639960658e1d36cd43)
2003-02-14 05:07:05 +00:00
Tim Potter
afb9105c3d
Fix for trusted domains scan not working inspired by Ken Cross.
...
(Sorry - I should have checked this in yesterday but forgot)
(This used to be commit 7420ddcda8e7189cedacb2c60f5ea265b8c35bda)
2003-02-14 00:23:31 +00:00
Rafal Szczesniak
ce306f8b08
A few typo fixes Andrew eventually let off to me.
...
Rafal
(This used to be commit 16a66cf17a544a214b7c5b483c81c7568a18a779)
2003-02-13 21:40:35 +00:00
Jeremy Allison
db937d3965
Removed unused variable.
...
Jeremy.
(This used to be commit c9654c8ec71903c59ff5f66c3fd6ea1baa599133)
2003-02-13 19:42:50 +00:00
Alexander Bokovoy
ff1db7b4f7
Fix typo in WIFSIGNALED (as per Waider's report)
...
(This used to be commit 4463ffeed91163314d2d903a271b29e87edaadcf)
2003-02-13 16:29:12 +00:00
Jeremy Allison
f4092b90bf
Merge JohnR's patch.
...
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
(This used to be commit d079edf7327acba7f00b5868e7e6ce91ddc1eb14)
2003-02-13 06:52:45 +00:00
Martin Pool
1f2a901d78
Add FIXME about checking exit code for popen'd commands.
...
Fix typo.
(This used to be commit 2b5664823e05e328c86051fb607182ad20d786d4)
2003-02-13 04:46:55 +00:00
Martin Pool
404a3f34c8
waitstatus audit: Correctly handle case where smbmnt is killed by a
...
signal. Previously this was incorrectly treated as success.
(This used to be commit fe5582c1b2e1c6a6ed5e048dd169a1fcf908069c)
2003-02-13 04:45:40 +00:00
Martin Pool
11f07557bf
Doc
...
Set HTML output directory
(This used to be commit 38b5a219eeec128db4630a9fb8d0615324cc74e7)
2003-02-13 01:05:56 +00:00
Martin Pool
e93038c88b
Update towards automatic building on dp.samba.org:
...
Remove features not supported by Doxygen 1.2.14 on RH7.3.
Remove dependence on dot tool, which is apparently not in Redhat, and
doesn't produce very interesting results for C code anyhow.
Make Doxygen --quiet to support running from cron.
Remove references to files which are gone from Samba
(CodingSuggestions).
Put HTML output in the right directory.
(This used to be commit 5904260f4842adb36e30b36b37cf7e6ed1bc03f2)
2003-02-13 00:37:35 +00:00
Jeremy Allison
bf6dfb26e9
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
...
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.
(This used to be commit 19f577e23ba3dd9101fb3e77a729906fdb8f5df7)
2003-02-12 23:51:05 +00:00
Jeremy Allison
fbdda574d8
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
...
Jeremy.
(This used to be commit ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
2003-02-12 20:38:02 +00:00
Gerald Carter
8e5585a20f
adding more descriptions for nt status codes
...
(This used to be commit dfceb0aab5d97df5b6b744143db254656398f0e9)
2003-02-12 16:43:47 +00:00
Andrew Bartlett
749d90dfc7
Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
...
back working again.
Andrew Bartlett
(This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f)
2003-02-12 11:17:35 +00:00
Andrew Tridgell
faf30e69ae
initial server side privileges implementation, using a tdb. This needs to be hooked into pdb, and we need some access control on changing privileges. That's next
...
(This used to be commit f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e)
2003-02-12 09:14:35 +00:00
Andrew Bartlett
ce7db9bdcc
Prevent NULL-pointer induced segfaults.
...
Is tdb_pack in appliance_head different for some reason?
Andrew Bartlett
(This used to be commit 9deb14a2e63fa71a05915b5ab865b8d0c11df098)
2003-02-12 06:38:18 +00:00
Jeremy Allison
b792454963
Correctly return access denied on share mode deny when we can't open the
...
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 5cdc957ea6335d8bb4248065a3b60a0a26e766a8)
2003-02-12 01:12:33 +00:00
Andrew Tridgell
0e42cf2460
setup the %U substitution in winbindd for the homedir template
...
(This used to be commit 6186c10ceb2e61cd684968b56d3f32d9916538f8)
2003-02-12 00:56:14 +00:00
Andrew Tridgell
8c60a408e1
add a note about relative opens with blank paths - its a re-open!
...
(not implemented yet)
(This used to be commit bceac9cdde04a57d661b6a7ece329fa6d5a169bd)
2003-02-12 00:41:35 +00:00
Andrew Tridgell
3b562efcbd
add a note about a better method for finding netbios name of workgroup
...
(not implemented yet)
(This used to be commit 8a8cca78adebba640c6ce971d8888515bf0ea4be)
2003-02-12 00:40:41 +00:00
Andrew Tridgell
c713b6aaf5
pull_ucs2_talloc() should pull to a char**, not a void**
...
(This used to be commit 3cf539421fa2a5c276baeedbdbf42ced29d9f1e4)
2003-02-12 00:39:36 +00:00
Andrew Tridgell
5b70946744
removed a duplicate copy of smb_io_sid_array()
...
(This used to be commit 2ef72f95003cebf2ff56e47f16fb8be0e8032042)
2003-02-11 22:53:57 +00:00
Andrew Tridgell
8ddccd47c7
added server stubs for lsa_enum_acct_with_right
...
(This used to be commit aa2abacaf48924797b6803786c14c9f303185e4a)
2003-02-11 21:55:48 +00:00
Andrew Bartlett
2d220ef00d
Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
...
madness.
Andrew Bartlett
(This used to be commit 7836b9a58d158a54a7326b3de5d2fa757a9bb5b6)
2003-02-11 21:54:36 +00:00
Jim McDonough
270631338d
remove trailing 'a' from VFS_MODULES targets...fix build
...
(This used to be commit fa4961b1fc9f0ab2a1c32c56c6200d86a61093c9)
2003-02-11 19:57:17 +00:00
Jeremy Allison
4689a33497
Fixup delete on close torture.
...
Jeremy.
(This used to be commit b031e81f4f4d5dc10e792c216d269b49569f5af9)
2003-02-11 02:29:04 +00:00
Jeremy Allison
cc99ea0ef0
Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
...
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit c98ebb3031649203e607264ecb15722adf55af58)
2003-02-11 02:24:45 +00:00
Shirish Kalele
f687e95377
Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
...
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into HEAD]
(This used to be commit 9307942a89600004ae3467b1bbf0dc536698ecdf)
2003-02-11 01:45:15 +00:00
Gerald Carter
a9f1ec0d6b
autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
...
findsmb - use @PERL@
(This used to be commit 15853857299c0de37b9cb736bb99928526924608)
2003-02-10 17:30:20 +00:00
Richard Sharpe
0ad56b68a2
Fix a mistake spotted by Metze
...
(This used to be commit cf167e9249fee0ea871c0dac28e9a21aeeebd614)
2003-02-10 16:42:24 +00:00
Andrew Bartlett
bb9c664622
Clean up our NTLMv2 code by moving the grunt work into a helper function.
...
Andrew Bartlett
(This used to be commit 6789e237d7b070624ba09e7ed43680b838337b74)
2003-02-10 12:22:57 +00:00
Andrew Tridgell
6c66e42d2c
added the 'lsaenumacctwithright' command to rpcclient. This allows you
...
to lookup what SIDs have a particular privilege (that is how
privileges are stored).
(This used to be commit 3ddb5fb0dd33992b7db54a661752551a3fefc0b4)
2003-02-10 11:31:23 +00:00
Andrew Bartlett
baff308f16
As metze mentioned, this is the proper way to find perl...
...
Andrew Bartlett
(This used to be commit f364921864bf4c33580c432f0d328c7ffc48a7df)
2003-02-10 10:36:09 +00:00
Andrew Bartlett
6fa61ac2a8
perl might not be in /usr/bin/perl, so try and find it in the path.
...
Perhaps this generated file should be autobuilt on samba.org for the
build farm and the tarballs.
Andrew Bartlett
(This used to be commit b8a07da68053b3eebb4f8c9ca9e620a67c878d15)
2003-02-10 09:23:30 +00:00
Andrew Bartlett
c46f8a0249
Use safe_strcpy() instead of pstrcpy() for malloced strings.
...
Andrew Bartlett
(This used to be commit 333d313c9d047697d7a8a519fdbc2b7da06745c2)
2003-02-10 09:20:09 +00:00
Andrew Bartlett
a9d598d6bb
Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
...
Andrew Bartlett
(This used to be commit 79650e08c9f1cbf66979adf2575d8b04e06fe4e7)
2003-02-10 09:18:04 +00:00
Andrew Bartlett
ec7a1994b0
Some cleanups:
...
- Don't use pstrcpy into an allocated string - use safe_strcpy() directly
instead.
- Keep a copy of the 'server_info' attached to the vuid. In future use this
for things like the session key, homedir and full name instead of current
copies.
- Try to avoid memory leak/segfault on Realloc failure
- clear up #endif comments
Andrew Bartlett
(This used to be commit 162477bb086827950b6cb71afa9bef62c2753c2e)
2003-02-10 09:16:05 +00:00
Andrew Bartlett
868d169a40
(only for HEAD at the moment).
...
Add NTLMv2 support to our client, used when so configured ('client use NTLMv2 =
yes') and only when 'client use spengo = no'. (A new option to allow the
client and server ends to chose spnego seperatly).
NTLMv2 signing doesn't yet work, and NTLMv2 is not done for NTLMSSP yet.
Also some parinoia checks in our input parsing.
Andrew Bartlett
(This used to be commit 85e9c060eab59c7692198f14a447ad59f05af437)
2003-02-09 12:26:58 +00:00
Jeremy Allison
d05322efce
Ensure we return NOSPACE if we can't fast allocate a print job.
...
Jeremy.
(This used to be commit 9cd29f2bacd7c61f82f799e97f93d88f98f9ece6)
2003-02-08 01:04:26 +00:00
Andrew Bartlett
99f9caebe4
One more fix for the difference between FILE and X_FILE.
...
(This used to be commit 7e56014b2877cde489913310edbfd16c267d9859)
2003-02-08 01:00:55 +00:00
Andrew Bartlett
315e4f513b
Ensure we don't get problems between FILE and X_FILE buffers - always use the
...
x_ varient of the command.
Andrew Bartlett
(This used to be commit 6a028507f0d5eadd2ec0a5b45c35e3a019a56f0b)
2003-02-07 23:39:47 +00:00
Jeremy Allison
5bc835c188
Samba janitors: applying mbp's redundant umask fix.
...
Jeremy.
(This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-02-07 22:52:35 +00:00
Jeremy Allison
5bff9ad142
Samba janitor: adding mbp's umask patch :-).
...
Jeremy.
(This used to be commit babbbd9c651e044832a78aa0fbcee5afd73770e2)
2003-02-07 21:59:42 +00:00