1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

8083 Commits

Author SHA1 Message Date
Andrew Tridgell
9cc1dadfb0 make tdbbackup more portable 0001-01-01 00:00:00 +00:00
Andrew Tridgell
98196e79b7 forgotten file, oops 0001-01-01 00:00:00 +00:00
Samba Release Account
77fe6a9148 preparing for release of 3.0-alpha16 0001-01-01 00:00:00 +00:00
Martin Pool
58c1b11439 Fix typo. 0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2a42e91397 try to use our workstation account password for ADS leave 0001-01-01 00:00:00 +00:00
Andrew Tridgell
3db97530b6 add a note about the meaning of global_sam_sid 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9c44ad4e42 remove an unused variable 0001-01-01 00:00:00 +00:00
Andrew Tridgell
73b3487daf prevent bogus compiler complaints about comments in comments 0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4cb7b6954b make sure we use consistent keys in secrets.tdb by uppercasing domain
names
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0f75b6bd5b removed bogus prepend_domain() call which was screwing up getpwuid()
with the new default domain code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c55737fb25 a more informitive debug message when a SID can't be validated 0001-01-01 00:00:00 +00:00
Andrew Tridgell
d5b5d3f840 prevent a segv when a trusted domain is unavailable at startup 0001-01-01 00:00:00 +00:00
Andrew Tridgell
58b79c0dc8 better detection of dead ADS connections, so we have some chance of
reconnecting
0001-01-01 00:00:00 +00:00
Tim Potter
b9ab79f30a Doc. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
4ac4220e2f added a bunch of explanation about tdbbackup 0001-01-01 00:00:00 +00:00
Andrew Tridgell
18e81a4a5b don't use -pg by default when building standalone 0001-01-01 00:00:00 +00:00
Andrew Tridgell
8836015467 build tdbbackup by default 0001-01-01 00:00:00 +00:00
Gerald Carter
66eb969ade merge from 2.2 0001-01-01 00:00:00 +00:00
Gerald Carter
4960692e95 merge from 2.2 0001-01-01 00:00:00 +00:00
Andrew Tridgell
1438cd8e50 added -v and -s options
-v is used for verify/restore from backup
0001-01-01 00:00:00 +00:00
Volker Lendecke
96299b6391 Same as in 2_2 0001-01-01 00:00:00 +00:00
Tim Potter
33d49ed68c Added case statment for decoding enumprinters level 0 result. 0001-01-01 00:00:00 +00:00
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... 0001-01-01 00:00:00 +00:00
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. 0001-01-01 00:00:00 +00:00
Jeremy Allison
d31d2dcd22 Turns out an Admin user shouldn't always have access on a handle.
Jeremy.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Jim McDonough
4b4430f1c5 Update Makefile.in for rpcclient build on machines without libpopt or requested build of included popt. 0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
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... 0001-01-01 00:00:00 +00:00
Andrew Tridgell
91fc5b2de5 get the right return code for batch vs exclusive oplocks 0001-01-01 00:00:00 +00:00
Tim Potter
bb0ef8bc30 Cosmetic fixup for enum_printers 0001-01-01 00:00:00 +00:00
Tim Potter
d9df00e2b1 Fixed a bunch of crash bugs for enumprinters at various info levels. 0001-01-01 00:00:00 +00:00
Jeremy Allison
25dd73be29 Fixed delete on close semantics - preparing for share mode rewrite.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
bda1c31da6 Added another 2 delete on close tests. Now 10. Had to fix smbd to match...
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
5b195f8bf1 argc == 0 is an impossible condition. 0001-01-01 00:00:00 +00:00
Jeremy Allison
5ba4ba3633 Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on.
Jeremy.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Tim Potter
d4d2f3bd89 Compile fixes for the pdb nisplus module. 0001-01-01 00:00:00 +00:00
Tim Potter
252da94ebb Removed duplicate \n from debug message.
Small tidyups.
0001-01-01 00:00:00 +00:00
Herb Lewis
d3c593b120 fixed NBENCH test on IRIX (tridge) 0001-01-01 00:00:00 +00:00
Herb Lewis
e5d80779a3 fixed the upper/lower case table generation on big-endian machines
(tridge, using Herbs console)
0001-01-01 00:00:00 +00:00
Andrew Tridgell
233e8b7d44 nicer message for --sequence when the server is disconnected 0001-01-01 00:00:00 +00:00
Jim McDonough
2fdd601f2e Fix SIGSEGV on error message when trying to add a user to smbpasswd file without a unix account. 0001-01-01 00:00:00 +00:00
Herb Lewis
c644ca6a66 make error codes match W2k advanced server sp2 0001-01-01 00:00:00 +00:00
Jeremy Allison
b56df25d48 Reformat preparing for changes to come...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
439839be99 Added Herb's fix to override log level from command line.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8f7bf38de1 accept the 0/0 lock but don't treat it in any sort of special way 0001-01-01 00:00:00 +00:00