1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

16908 Commits

Author SHA1 Message Date
Volker Lendecke
c66be874d8 r1295: To be able to send a message to the background queue updated, we need to be
root. Otherwise the USR1 signal will not be delivered.

Volker
2007-10-10 10:52:04 -05:00
Jeremy Allison
e6ff6d95d2 r1290: Ensure we remove DNS and DNSFAIL records immediately on timeout.
Fix for #607.
Jeremy.
2007-10-10 10:52:04 -05:00
Volker Lendecke
43020cf459 r1287: Attempt to fix the build for systems without kerberos headers.
Volker
2007-10-10 10:52:04 -05:00
Volker Lendecke
e8786506b8 r1285: Put variable definitions into a block before the statements...
Volker
2007-10-10 10:52:04 -05:00
Volker Lendecke
3af4348faf r1283: Fix typo 2007-10-10 10:52:04 -05:00
Volker Lendecke
b491e76625 r1282: gcc 3.2 on SuSE 8.2 does not like #ifdefs inside a macro argument (DEBUG).
Volker
2007-10-10 10:52:04 -05:00
Jeremy Allison
42cdeccc36 r1263: Make "defer sharing violations" a global parameter.
Jeremy.
2007-10-10 10:52:04 -05:00
Jeremy Allison
bee0619cc4 r1260: Added new parameter in the protocol section. "defer sharing violations",
by default set to "yes" (to correctly emulate Windows). I've added this to
ensure if we find a critical problem with this new code when 3.0.5 ships
it can be turned off to test for bugs.
Jeremy.
2007-10-10 10:52:03 -05:00
Jeremy Allison
756a004311 r1259: Ensure we pass Samba4 RAW-RENAME test.
Jeremy.
2007-10-10 10:52:03 -05:00
Jeremy Allison
b52a04a5cd r1257: Ensure we deferr a sharing violation on rename correctly.
Jeremy.
2007-10-10 10:52:03 -05:00
Jeremy Allison
f17382ad8a r1255: Ensure we check attributes correctly on rename request. Gets us further with
Samba4 RAW-RENAME test.
Jeremy.
2007-10-10 10:52:03 -05:00
Jeremy Allison
c892545960 r1248: Fix from Nick Wellnhofer <wellnhofer@aevum.de> to prevent
lp_interfaces() list from being corrupted.
Jeremy.
2007-10-10 10:52:03 -05:00
Jeremy Allison
b462b8fa2f r1247: Final fix to make this compile on Heimdal.
Jeremy.
2007-10-10 10:52:02 -05:00
Jeremy Allison
d4abeefe3e r1245: I think the parameter for "password" and "data" was reversed.
CHECK THIS !
Jeremy.
2007-10-10 10:52:02 -05:00
Jeremy Allison
92a5dc1880 r1244: More Heimdal compile fixes.
Jeremy.
2007-10-10 10:52:02 -05:00
Jeremy Allison
940f893d48 r1243: Fix so this compiles with Heimdal (in Heimdal krb5_kt_cursor is a struct not a pointer).
Jeremy.
2007-10-10 10:52:02 -05:00
Jeremy Allison
a535a05975 r1241: Fix incorrect type in printer publishing (struct uuid, not UUID_FLAT).
Jeremy.
2007-10-10 10:52:02 -05:00
Jeremy Allison
464d2e9048 r1240: Ensure we don't shadow Heimdal globals.
Jeremy.
2007-10-10 10:52:02 -05:00
Volker Lendecke
fece76cfc2 r1237: Correctly honor infolevel argument. Thanks to Guenther Deschner <gd@sernet.de>.
Volker
2007-10-10 10:52:01 -05:00
Jeremy Allison
dd07278b89 r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come before
it compiles with Heimdal.
Jeremy.
2007-10-10 10:52:01 -05:00
Gerald Carter
e3d4fea780 r1230: (merges from HP PSA) fixing a couple of caching bugs in the printing code. (a) make sure to clear jobs_changed list when deleting a job and, (b) invalidate the printer handle cache when we get a notification that something has changed on that printer 2007-10-10 10:52:01 -05:00
Jeremy Allison
c378f3c325 r1224: Fix longstanding memleak bug with logfile name being set before lp_load()
loads the initial config file and overwrites the written logfile name with
zeros in init_globals(). Ensure we do a string_free() on Globals.szLogFile
if it isn't NULL.
Jeremy.
2007-10-10 10:52:01 -05:00
Jeremy Allison
5a1d8c3c9b r1223: Fix valgrind error with realm manipulation.... Damn macros :-(.
Jeremy.
2007-10-10 10:52:01 -05:00
Jeremy Allison
ad440213aa r1222: Valgrind memory leak fixes. Still tracking down a strange one...
Can't fix the krb5 memory leaks inside that library :-(.
Jeremy.
2007-10-10 10:52:00 -05:00
Jeremy Allison
286f4c809c r1221: Added the last of the system keytab patch from "Dan Perry" <dperry@pppl.gov>,
fixed valgrind detected mem corruption in libads/kerberos_keytab.c.
Jeremy.
2007-10-10 10:52:00 -05:00
Jelmer Vernooij
0ca894d5cf r1220: Revert last change. Apparently, NOTPARALLEL blocks all parallel builds 2007-10-10 10:52:00 -05:00
Jelmer Vernooij
d08ce198b5 r1219: Don't make proto parallel 2007-10-10 10:52:00 -05:00
Jeremy Allison
f0f2e28958 r1215: Intermediate checkin of the new keytab code. I need to make sure I
haven't broken krb5 ticket verification in the mainline code path,
also need to check with valgrind. Everything now compiles (MIT, need
to also check Heimdal) and the "net keytab" utility code will follow.
Jeremy.
2007-10-10 10:52:00 -05:00
Jeremy Allison
be8a2dc00d r1214: Now compiles. Changed krb5_kt_free_entry to krb5_free_keytab_entry_contents
Jeremy.
2007-10-10 10:52:00 -05:00
Gerald Carter
951a885194 r1212: small change to prevent home directories added during the SMBsesssetup&X tfrom being removed as unused services 2007-10-10 10:51:59 -05:00
Volker Lendecke
af251f4ea6 r1202: This hopefully fixes our memory use when unmarshalling strings. The test case
was 'rpcclient -c "enumprinters 2"' with 4000 printers. At some point this
completely exploded in memory usage. For every string we talloc'ed memory up
to the end of the buffer. -> O(n^2).

This survives valgrind with this number of printers. It might also have
influence on winbind with a large number of users.

All those who dare to look at samba3 rpc code, could you please take a look? I
know this is a burden, but I would like comments ;-)))

Volker
2007-10-10 10:51:59 -05:00
Jeremy Allison
7067e274dc r1195: Ensure libsmb/clikrb5.c compiles.
Jeremy.
2007-10-10 10:51:59 -05:00
Jeremy Allison
82c219ea02 r1194: Definition of krb5_free_unparsed_name() if we do't have it.
Jeremy.
2007-10-10 10:51:59 -05:00
Jeremy Allison
af5a08f5ad r1193: Ensure we check for and use krb5_free_unparsed_name().
Jeremy.
2007-10-10 10:51:59 -05:00
Jeremy Allison
0d982956f6 r1192: Fixed all memleaks/error code return path leaks I can find. Not sure if compiles yet,
but will soon :-).
Jeremy.
2007-10-10 10:51:59 -05:00
Jeremy Allison
57c037c6c9 r1184: Keep latest changes... not compilable yet.
Jeremy.
2007-10-10 10:51:59 -05:00
Jeremy Allison
786a440c18 r1183: Updates to the code cleanup so I don't lose my changes...
Jeremy.
2007-10-10 10:51:58 -05:00
Jeremy Allison
03f8c8bc07 r1182: Partial re-write of keytab code to clean up, remove memory leaks etc. Work in progress !
It seems the krb5 interfaces are so horrible it's impossible to write good error checking
code :-(.
Jeremy.
2007-10-10 10:51:58 -05:00
Jeremy Allison
858e849af6 r1180: New file - basis of new system keytab code.
Jeremy.
2007-10-10 10:51:58 -05:00
Jeremy Allison
730d750c04 r1179: Start of system keytab merge. Config tests.
Jeremy.
2007-10-10 10:51:58 -05:00
Volker Lendecke
2f9143dee9 r1175: Nowadays we actually do have local groups, so add the corresponding SIDs to
the NT token we build.

Thanks to Guenther Deschner <gd@sernet.de>.

Volker
2007-10-10 10:51:58 -05:00
Jeremy Allison
6fb64d8b36 r1171: Patch from "Lu, Jianliang" <Jianliang.Lu@getronics.com> to
reset password counts when account is reset.
Jeremy.
2007-10-10 10:51:58 -05:00
Jeremy Allison
33fa4b8b27 r1156: Ensure new remote arch of CIFSFS is seen.
Jeremy.
2007-10-10 10:51:57 -05:00
Jeremy Allison
cf84c0fe1a r1154: Change default setting for case sensitivity to "auto". If set to auto
then is the client supports it (current clients supported are Samba and
CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare
"NT LM 0.12" string) then the setting of the per packet flag smb_flag
FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows
the linux CIFS client to use Samba in a case sensitive manner.
Additional command in smbclient "case_sensitive", toggles the
flag in subsequent packets.
Docs to follow.
Jeremy.
2007-10-10 10:51:57 -05:00
Andrew Bartlett
4da976dbd0 r1128: The end-of-file is not the end of the world, so don't make a load DEBUG() about it.
Andrew Bartlett
2007-10-10 10:51:57 -05:00
Andrew Bartlett
999b2501a1 r1127: Finding trusted domains is not so important as to require a DEBUG(1).
Andrew Bartlett
2007-10-10 10:51:57 -05:00
Andrew Bartlett
feccc3daca r1126: Allow more flexible GSS-SPENGO client and server operation. The
client now falls back to NTLMSSP, and the server allows the client to
start, without first asking for a mech list.

Andrew Bartlett
2007-10-10 10:51:57 -05:00
Andrew Bartlett
61768f4cb3 r1125: Remove bougus comments. (The real fix was to the sealed pipe padding)
Andrew Bartlett
2007-10-10 10:51:56 -05:00
Andrew Bartlett
94c0827ce2 r1124: ntlm_auth memory leak fixes by James Wilkinson - jwilk@alumni.cse.ucsc.edu
Andrew Bartlett
2007-10-10 10:51:56 -05:00
Andrew Bartlett
9d5821d5ee r1122: As spotted by lha@stacken.kth.se we don't actually use this variable any more.
Andrew Bartlett
2007-10-10 10:51:56 -05:00