1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

7923 Commits

Author SHA1 Message Date
Andrew Tridgell
02a601b98c rewrote the machine sid storage code to store the SID in secrets.tdb
rather than MACHINE.SID. We try to load MACHINE.SID only if we can't
fetch the SID from secrets.tdb

This also fixes the value of global_sam_sid for the DC/non-DC case
(This used to be commit bcd018f07c2e2c0aabdb4574d199d7f5f199a264)
2002-03-10 01:44:21 +00:00
Andrew Tridgell
e7d5f890f5 make sure we use consistent keys in secrets.tdb by uppercasing domain
names
(This used to be commit 4cb7b6954b96e6964743e65413e122f7b4d39052)
2002-03-10 01:43:04 +00:00
Andrew Tridgell
391db465c6 removed bogus prepend_domain() call which was screwing up getpwuid()
with the new default domain code
(This used to be commit 0f75b6bd5b42f745f17e2e6624d5d541a30ee897)
2002-03-09 21:12:25 +00:00
Andrew Tridgell
e69f020d3d a more informitive debug message when a SID can't be validated
(This used to be commit c55737fb25dfed4697b93a600e3bd770f84bf464)
2002-03-09 19:38:47 +00:00
Andrew Tridgell
b9becd752c prevent a segv when a trusted domain is unavailable at startup
(This used to be commit d5b5d3f8400a80c943809db9578a2d7317aa6d2d)
2002-03-09 19:37:57 +00:00
Andrew Tridgell
e1aed4f49c better detection of dead ADS connections, so we have some chance of
reconnecting
(This used to be commit 58b79c0dc882fa402423e44a594e30c27177f490)
2002-03-09 19:36:53 +00:00
Tim Potter
d0f80d2c41 Doc.
(This used to be commit b9ab79f30a931c694b1c181b1c2abd38186692ae)
2002-03-09 09:48:35 +00:00
Andrew Tridgell
a47e103b85 added a bunch of explanation about tdbbackup
(This used to be commit 4ac4220e2f60dfac35dc80dcf1830a6a6352ace0)
2002-03-09 00:12:19 +00:00
Andrew Tridgell
d65228687f don't use -pg by default when building standalone
(This used to be commit 18e81a4a5b986aa8e14ae868a04caf8b1be413f0)
2002-03-09 00:11:48 +00:00
Andrew Tridgell
487c0f051b build tdbbackup by default
(This used to be commit 8836015467158de6947689300ead74f1e9044805)
2002-03-09 00:09:18 +00:00
Gerald Carter
8fa6b34e08 merge from 2.2
(This used to be commit 66eb969ade0dfde355df3e308dccbc9522087eef)
2002-03-08 22:07:18 +00:00
Gerald Carter
c3e813945c merge from 2.2
(This used to be commit 4960692e958c986ca7f71e091333300310b0e0b2)
2002-03-08 21:57:53 +00:00
Andrew Tridgell
6bf9b6e702 added -v and -s options
-v is used for verify/restore from backup
(This used to be commit 1438cd8e5042f1ce6aef0d6be5a8285fbfe79158)
2002-03-08 18:14:35 +00:00
Volker Lendecke
7db31acaa2 Same as in 2_2
(This used to be commit 96299b6391512079b53f1593206b6cd7ecaacb2f)
2002-03-08 14:38:54 +00:00
Tim Potter
7d24b502c0 Added case statment for decoding enumprinters level 0 result.
(This used to be commit 33d49ed68c4d6a66217558b13d960764c235089a)
2002-03-08 04:43:10 +00:00
Jim McDonough
bc6959c6f6 Swap order of close brace and done: tag to appease AIX compiler. Order shouldn't matter for logic...if anyone disagrees whack me over the head and explain why...
(This used to be commit 4081ce40dda886aeb01f590f00bfe50e0e4e8ae4)
2002-03-08 03:36:03 +00:00
Jim McDonough
f3df73c0cf One more fix to get popt to work for some compilers...this is the downside to popt. Every option has to be in fixed storage.
(This used to be commit e5e7132e80bfe599d56809bf47a13d2028ee9c86)
2002-03-08 03:31:01 +00:00
Jeremy Allison
194e39b179 Turns out an Admin user shouldn't always have access on a handle.
Jeremy.
(This used to be commit d31d2dcd22e1be2c26ea315e1b0e8442822a9a0f)
2002-03-08 00:26:18 +00:00
Jeremy Allison
024e69da0b Fix for machines that have their time changed forward, then back. Ensure
that any cached lpq information gathered during that time doesn't
stay around for longer than 1 hour.
Jeremy.
(This used to be commit 39fca711a5cf15a03d6c79639b202712d1749a64)
2002-03-07 21:51:59 +00:00
Jim McDonough
f920d9e3c5 Update Makefile.in for rpcclient build on machines without libpopt or requested build of included popt.
(This used to be commit 4b4430f1c56a5c9a0d53dd8b624022644d8061e1)
2002-03-07 19:55:35 +00:00
Andrew Tridgell
cb6c9ef475 added a tdb backup utility
when complete, this will be used to backup critical tdbs at samba
startup and possibly periodically while Samba is running so that if
tdb corruption is caused by a power failure Samba can restore from the
backup.
(This used to be commit f619330082712cab72ec2d2ab76d67b8e9f3194c)
2002-03-07 18:58:33 +00:00
Jim McDonough
6e6318525a Convert rpcclient to use popt instead of getopt. Includes changing of got_pass from BOOL to int. Also includes long option names...anyone want those different before I update the doc? Please try this out. I've tried to test all the flags, but the more times we kick the tires...
(This used to be commit cd34897749dc5819dd7239269fbd5dcef5bea5c0)
2002-03-07 18:56:51 +00:00
Andrew Tridgell
39e14916e4 get the right return code for batch vs exclusive oplocks
(This used to be commit 91fc5b2de577019d7646f3c29173b27605d9ba12)
2002-03-07 18:53:37 +00:00
Tim Potter
fd7cdf6da4 Cosmetic fixup for enum_printers
(This used to be commit bb0ef8bc305da7490a19a6f4efd2aa60bf14aef1)
2002-03-07 04:29:13 +00:00
Tim Potter
6fbd44c77a Fixed a bunch of crash bugs for enumprinters at various info levels.
(This used to be commit d9df00e2b1764619491900b7dbd7d5af34feed1b)
2002-03-07 04:22:16 +00:00
Jeremy Allison
11c0e88d9e Fixed delete on close semantics - preparing for share mode rewrite.
Jeremy.
(This used to be commit 25dd73be29bbf0a080fe0bcbe5c478545d1e8db7)
2002-03-07 04:21:12 +00:00
Jeremy Allison
c960578ba0 Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
Jeremy.
(This used to be commit bda1c31da68aa75aba780727e9aeaad17207668d)
2002-03-07 04:15:40 +00:00
Tim Potter
b89b7d4d12 argc == 0 is an impossible condition.
(This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d)
2002-03-07 04:03:21 +00:00
Jeremy Allison
0876fb4113 Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on.
Jeremy.
(This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
2002-03-07 02:16:25 +00:00
Jeremy Allison
43ca6e3ef8 Merge in the change to do per-handle access checks on setdata/setform etc.
Should allow the buggy spoolss code on NT to work against us.
Jeremy.
(This used to be commit 2b3609a7dd55d96f5aafe137fff1ac2da0434867)
2002-03-07 01:02:48 +00:00
Tim Potter
ede95f0b57 Compile fixes for the pdb nisplus module.
(This used to be commit d4d2f3bd8922aa88f4940e5079f7157ea674b317)
2002-03-07 00:55:43 +00:00
Tim Potter
87a3a0952c Removed duplicate \n from debug message.
Small tidyups.
(This used to be commit 252da94ebb279c47263dfae36fd016d0a29a6dbf)
2002-03-06 22:55:45 +00:00
Herb Lewis
86a9be69d3 fixed NBENCH test on IRIX (tridge)
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
2002-03-06 21:05:26 +00:00
Herb Lewis
99c4646a19 fixed the upper/lower case table generation on big-endian machines
(tridge, using Herbs console)
(This used to be commit e5d80779a384c9a806fc545032330f760d8c11cb)
2002-03-06 20:38:51 +00:00
Andrew Tridgell
8e7e1fe9f8 nicer message for --sequence when the server is disconnected
(This used to be commit 233e8b7d447b7efb0227c6c7a6cd2f9e034719fa)
2002-03-06 19:48:09 +00:00
Jim McDonough
37a9d2a9c2 Fix SIGSEGV on error message when trying to add a user to smbpasswd file without a unix account.
(This used to be commit 2fdd601f2efaf3515f0e4c30fa176651eb4bb387)
2002-03-06 19:14:37 +00:00
Herb Lewis
b9998ace1f make error codes match W2k advanced server sp2
(This used to be commit c644ca6a663b615416cd809be4921688f85e84cf)
2002-03-06 18:55:01 +00:00
Jeremy Allison
9361708b20 Reformat preparing for changes to come...
Jeremy.
(This used to be commit b56df25d48a7adaa49b0bd44f8ff7be81b970da2)
2002-03-06 03:50:09 +00:00
Jeremy Allison
095b903325 Added Herb's fix to override log level from command line.
Jeremy.
(This used to be commit 439839be99e6e418eb5782a2fe0630d0ef5fb3c5)
2002-03-05 21:37:50 +00:00
Andrew Tridgell
d160b35240 accept the 0/0 lock but don't treat it in any sort of special way
(This used to be commit 8f7bf38de16a1f5316aa6a413fb697c43862c4c6)
2002-03-05 19:54:45 +00:00
Andrew Tridgell
457112e9e4 show a progress bar during the deny tests
(This used to be commit c2c8c4e713c362d0c6864c6359d90cf6b218e545)
2002-03-05 19:52:14 +00:00
Andrew Tridgell
7f35a045fc added -M option for minimum lock size
(This used to be commit 6acd98cbb92ec5c78686d23d2e05c1c98b5127fe)
2002-03-05 19:51:37 +00:00
Andrew Tridgell
ced46b906b fixed NBENCH code for NT4 server ntcreatex semantics
(This used to be commit b71a729e14e928fae288daeab4226d7e1f8b1dc5)
2002-03-05 19:51:05 +00:00
Jeremy Allison
a4ff0924d6 Found the mp3 problem - it's a generic class bug w.r.t. renaming.
Added a rename torture test to illustrate the problem.
Jeremy.
(This used to be commit 509ac24525a0d1aaecc819a99590425a164aaf44)
2002-03-05 19:45:16 +00:00
Jeremy Allison
7b07ecb750 Fix error return.
Jeremy.
(This used to be commit 3bec83cbe9b863176ca087fd45efa6d1457b502c)
2002-03-05 02:54:02 +00:00
Jeremy Allison
aa78524943 Fix the NTSTATUS -> WERROR for srvsvc pipe.
Jeremy.
(This used to be commit 2b85d3570c2b149049482c3878c50cf8f5bfca61)
2002-03-05 02:12:00 +00:00
Jeremy Allison
5d1db25abd Mask off the aDIR on setfileinfo.
Jeremy.
(This used to be commit d9cb1bf20ac8a739102b03d9a70e34fe5cb2f0f7)
2002-03-05 01:43:50 +00:00
Tim Potter
308b222ffd Spelling fixes.
(This used to be commit a7fa0733badad66ae610eac5e01569cf264976f3)
2002-03-05 00:53:46 +00:00
Tim Potter
db4dd16d8d Removed unused static function.
(This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
2002-03-05 00:46:41 +00:00
Tim Potter
1d5fb7865d Fixed compiler warning about unused variables.
(This used to be commit 7bb0dda8ee1d61a0e8448070f1a71fcd13be5d40)
2002-03-05 00:41:01 +00:00