1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

8143 Commits

Author SHA1 Message Date
Andrew Tridgell
568e1d7b43 added a LOCK6 test for weird lockingX lock type bits
warning! this test reboots w2k or wxp
-
Andrew Tridgell
72cb43b912 make sure we give an error for unknown lockingX locktype bits -
Andrew Tridgell
136b9752fc added cli_locktype() for testing different lockingX lock types -
Andrew Tridgell
6edb5bea5f a bit more portability for tdbbackup -
Andrew Tridgell
ec71c1a66f failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTED -
Andrew Tridgell
0ae4ba18e5 added -E and -Z options, and allow for the 2 servers to have different
usernames/passwords
-
Andrew Tridgell
e02d736470 this attempts to handle the rather bizarre lock cache semantics in
w2k. It isn't entirely accurate, but its close
-
Andrew Tridgell
56662a75f5 better handling of a zero timeout in cli_lock -
John Terpstra
9c4011d651 Update to build 3.0.0 alphas -
John Terpstra
d61f381044 Initscript from 2.2.4 tree. -
Andrew Tridgell
9cc1dadfb0 make tdbbackup more portable -
Andrew Tridgell
98196e79b7 forgotten file, oops -
Samba Release Account
77fe6a9148 preparing for release of 3.0-alpha16 -
Martin Pool
58c1b11439 Fix typo. -
Andrew Tridgell
6891393b5d 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.
-
Andrew Tridgell
2a42e91397 try to use our workstation account password for ADS leave -
Andrew Tridgell
3db97530b6 add a note about the meaning of global_sam_sid -
Andrew Tridgell
9c44ad4e42 remove an unused variable -
Andrew Tridgell
73b3487daf prevent bogus compiler complaints about comments in comments -
Andrew Tridgell
f56d689497 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
-
Andrew Tridgell
bcd018f07c 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
-
Andrew Tridgell
4cb7b6954b make sure we use consistent keys in secrets.tdb by uppercasing domain
names
-
Andrew Tridgell
0f75b6bd5b removed bogus prepend_domain() call which was screwing up getpwuid()
with the new default domain code
-
Andrew Tridgell
c55737fb25 a more informitive debug message when a SID can't be validated -
Andrew Tridgell
d5b5d3f840 prevent a segv when a trusted domain is unavailable at startup -
Andrew Tridgell
58b79c0dc8 better detection of dead ADS connections, so we have some chance of
reconnecting
-
Tim Potter
b9ab79f30a Doc. -
Andrew Tridgell
4ac4220e2f added a bunch of explanation about tdbbackup -
Andrew Tridgell
18e81a4a5b don't use -pg by default when building standalone -
Andrew Tridgell
8836015467 build tdbbackup by default -
Gerald Carter
66eb969ade merge from 2.2 -
Gerald Carter
4960692e95 merge from 2.2 -
Andrew Tridgell
1438cd8e50 added -v and -s options
-v is used for verify/restore from backup
-
Volker Lendecke
96299b6391 Same as in 2_2 -
Tim Potter
33d49ed68c Added case statment for decoding enumprinters level 0 result. -
Jim McDonough
4081ce40dd 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... -
Jim McDonough
e5e7132e80 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. -
Jeremy Allison
d31d2dcd22 Turns out an Admin user shouldn't always have access on a handle.
Jeremy.
-
Jeremy Allison
39fca711a5 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.
-
Jim McDonough
4b4430f1c5 Update Makefile.in for rpcclient build on machines without libpopt or requested build of included popt. -
Andrew Tridgell
f619330082 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.
-
Jim McDonough
cd34897749 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... -
Andrew Tridgell
91fc5b2de5 get the right return code for batch vs exclusive oplocks -
Tim Potter
bb0ef8bc30 Cosmetic fixup for enum_printers -
Tim Potter
d9df00e2b1 Fixed a bunch of crash bugs for enumprinters at various info levels. -
Jeremy Allison
25dd73be29 Fixed delete on close semantics - preparing for share mode rewrite.
Jeremy.
-
Jeremy Allison
bda1c31da6 Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
Jeremy.
-
Tim Potter
5b195f8bf1 argc == 0 is an impossible condition. -
Jeremy Allison
5ba4ba3633 Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on.
Jeremy.
-
Jeremy Allison
2b3609a7dd 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.
-