Andrew Tridgell
cfbbf73677
yipee! Finally put in the patch from Alexey Kotovich
...
<a.kotovich@sam-solutions.net> that adds the security decsriptor code
for ADS workstation accounts
thanks for your patience Cat, and thanks to Andrew Bartlett for
extensive reviews and suggestions about this code.
(This used to be commit 6891393b5d
)
2002-03-10 01:54:44 +00:00
Andrew Tridgell
9b9d681870
try to use our workstation account password for ADS leave
...
(This used to be commit 2a42e91397
)
2002-03-10 01:52:09 +00:00
Andrew Tridgell
683ba419ff
add a note about the meaning of global_sam_sid
...
(This used to be commit 3db97530b6
)
2002-03-10 01:51:15 +00:00
Andrew Tridgell
b84c24092e
remove an unused variable
...
(This used to be commit 9c44ad4e42
)
2002-03-10 01:47:12 +00:00
Andrew Tridgell
34623e023a
prevent bogus compiler complaints about comments in comments
...
(This used to be commit 73b3487daf
)
2002-03-10 01:46:56 +00:00
Andrew Tridgell
664fa8e572
return the correct SID and domain name for the samr enum_domain and
...
lookup_domain calls. We were incorrectly returning the PDCs domain
nameand SID when we are a domain member. We should only do that when
we are the DC
(This used to be commit f56d689497
)
2002-03-10 01:45:49 +00:00
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 bcd018f07c
)
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 4cb7b6954b
)
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 0f75b6bd5b
)
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 c55737fb25
)
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 d5b5d3f840
)
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 58b79c0dc8
)
2002-03-09 19:36:53 +00:00
Tim Potter
d0f80d2c41
Doc.
...
(This used to be commit b9ab79f30a
)
2002-03-09 09:48:35 +00:00
Andrew Tridgell
a47e103b85
added a bunch of explanation about tdbbackup
...
(This used to be commit 4ac4220e2f
)
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 18e81a4a5b
)
2002-03-09 00:11:48 +00:00
Andrew Tridgell
487c0f051b
build tdbbackup by default
...
(This used to be commit 8836015467
)
2002-03-09 00:09:18 +00:00
Gerald Carter
8fa6b34e08
merge from 2.2
...
(This used to be commit 66eb969ade
)
2002-03-08 22:07:18 +00:00
Gerald Carter
c3e813945c
merge from 2.2
...
(This used to be commit 4960692e95
)
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 1438cd8e50
)
2002-03-08 18:14:35 +00:00
Volker Lendecke
7db31acaa2
Same as in 2_2
...
(This used to be commit 96299b6391
)
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 33d49ed68c
)
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 4081ce40dd
)
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 e5e7132e80
)
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 d31d2dcd22
)
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 39fca711a5
)
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 4b4430f1c5
)
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 f619330082
)
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 cd34897749
)
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 91fc5b2de5
)
2002-03-07 18:53:37 +00:00
Tim Potter
fd7cdf6da4
Cosmetic fixup for enum_printers
...
(This used to be commit bb0ef8bc30
)
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 d9df00e2b1
)
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 25dd73be29
)
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 bda1c31da6
)
2002-03-07 04:15:40 +00:00
Tim Potter
b89b7d4d12
argc == 0 is an impossible condition.
...
(This used to be commit 5b195f8bf1
)
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 5ba4ba3633
)
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 2b3609a7dd
)
2002-03-07 01:02:48 +00:00
Tim Potter
ede95f0b57
Compile fixes for the pdb nisplus module.
...
(This used to be commit d4d2f3bd89
)
2002-03-07 00:55:43 +00:00
Tim Potter
87a3a0952c
Removed duplicate \n from debug message.
...
Small tidyups.
(This used to be commit 252da94ebb
)
2002-03-06 22:55:45 +00:00
Herb Lewis
86a9be69d3
fixed NBENCH test on IRIX (tridge)
...
(This used to be commit d3c593b120
)
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 e5d80779a3
)
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 233e8b7d44
)
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 2fdd601f2e
)
2002-03-06 19:14:37 +00:00
Herb Lewis
b9998ace1f
make error codes match W2k advanced server sp2
...
(This used to be commit c644ca6a66
)
2002-03-06 18:55:01 +00:00
Jeremy Allison
9361708b20
Reformat preparing for changes to come...
...
Jeremy.
(This used to be commit b56df25d48
)
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 439839be99
)
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 8f7bf38de1
)
2002-03-05 19:54:45 +00:00
Andrew Tridgell
457112e9e4
show a progress bar during the deny tests
...
(This used to be commit c2c8c4e713
)
2002-03-05 19:52:14 +00:00
Andrew Tridgell
7f35a045fc
added -M option for minimum lock size
...
(This used to be commit 6acd98cbb9
)
2002-03-05 19:51:37 +00:00
Andrew Tridgell
ced46b906b
fixed NBENCH code for NT4 server ntcreatex semantics
...
(This used to be commit b71a729e14
)
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 509ac24525
)
2002-03-05 19:45:16 +00:00