1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

17442 Commits

Author SHA1 Message Date
Tim Potter
85b094801e r5645: Add an autoconf test for -Wdeclaration-after-statement so we don't add it
to the configure.developer CFLAGS if it's not supported.
(This used to be commit ce0dedea8d95f07745ba3e945dc88bceb97989d7)
2007-10-10 10:55:53 -05:00
Jeremy Allison
b6211e0262 r5641: Fix from James Peach @ SGI for oplock2 test.
Jeremy.
(This used to be commit 69e99d97d1547ec8f8e7f9756b87f211c90557b6)
2007-10-10 10:55:53 -05:00
Steve French
73d7fb0fd0 r5640: On failed mount (ENXIO) retry share name in uppercase (fix mount to FastConnect AIX SMB server)
(This used to be commit 8bd98b643d097cbd5e1650ec63a2f3176c3879d7)
2007-10-10 10:55:53 -05:00
Steve French
7f697e6da1 r5639: update smb.h with missing defines
(This used to be commit 0f188da8578165077b6d6df58c6e82be11943d40)
2007-10-10 10:55:52 -05:00
Jeremy Allison
c56d5cd4c4 r5637: Actually test and fix the crash bugs (sorry:-).
Jeremy.
(This used to be commit 4348ca48549ded8c056877befa216f0e768cb2c1)
2007-10-10 10:55:52 -05:00
Jeremy Allison
02fdabc2a7 r5636: Re-add the allocation size - parameterized by share as
"allocation roundup size", by default set as 1Mb. From
advice by BlueArc about Windows client behaviour. VC++
people can set this to zero to turn it off.
Jeremy.
(This used to be commit 833ca101772bfab65dbd79eb64f63464177f144e)
2007-10-10 10:55:52 -05:00
Jeremy Allison
8dddd763d8 r5634: Fix 64-bit overflow problems found by BlueArc torture tester.
We still have a few strange bugs with 64-bit locking values. I will
get traces.
Jeremy.
(This used to be commit ff4c201d93e1f59ce61e9341f7f94ce92389ed7b)
2007-10-10 10:55:51 -05:00
Jeremy Allison
5713c65a82 r5632: Fix infinite looping bug found by nasty BlueArc test :-).
When finding a singleton directory remember that we're
at the end and don't continuously return the same name.
Jeremy.
(This used to be commit 3da50060279609f534aeffe6338b0a2b07d0e8f1)
2007-10-10 10:55:51 -05:00
Jeremy Allison
a4deaac09f r5630: This may be a mistake ... needs more cthon investigation.
Jeremy.
(This used to be commit 0322c5884666bf62a37de069a1cd0ae888ac4285)
2007-10-10 10:55:51 -05:00
Jeremy Allison
f0a683ec34 r5628: Deprecate the write cache parameter - this code will go away soon.
Jeremy.
(This used to be commit 743cd4a53627cc2be5271fa78f6b0980a4407862)
2007-10-10 10:55:51 -05:00
Jeremy Allison
c4591307aa r5625: Reformat (tidy).
(This used to be commit b94db3a75806f1b09a8a0366029812ba2195727c)
2007-10-10 10:55:51 -05:00
Jeremy Allison
02bce09010 r5623: Horrible band-aid patch to fix Blue-Arc torture tester.
I know this isn't right but will work until I can refactor
the deny mode code with the Samba4 algorithm.
Jeremy.
(This used to be commit f38f464c722a441402e2d6e2622bcce9227c33b5)
2007-10-10 10:55:51 -05:00
Jeremy Allison
e9d360aae9 r5616: Forgot about the sticky bit on directories (commonly set on /tmp). If this is set
then only the owner or root can delete a file. We now use
the same algorithm to check file delete.
Jeremy.
(This used to be commit eb18104d10428a5daef2316088edc3dbaff58708)
2007-10-10 10:55:50 -05:00
Gerald Carter
6b06ba4a87 r5614: fix proto for copy_fn() after changes to cli_list()
(This used to be commit fb8e746ed65fa3aacda3d6be0e3f28f690fbdacb)
2007-10-10 10:55:50 -05:00
Tim Potter
8193036e61 r5612: Add -Wdeclaration-after-statement to CFLAGS for --enable-developer.
(This used to be commit f952da9efbd11d2c84d9fe4993f70e4ceda7d9ae)
2007-10-10 10:55:50 -05:00
Gerald Carter
a5e671e867 r5608: BUG 2399 - removing dead code (not finished with bug yet).
(This used to be commit 48353c199cfbfd56760b34ccf99b089bb627e2ed)
2007-10-10 10:55:50 -05:00
Jeremy Allison
09f5aa4269 r5607: Fix for bug #2399 - ensure we use SMB_VFS_STAT instead of stat
when checking for existance of a pathname.
Jeremy.
(This used to be commit 08aac40e3ac0911673ea7e6ef35ba7fe9822d2fd)
2007-10-10 10:55:50 -05:00
Gerald Carter
5ba59da467 r5605: only display the publish check box on printer if
we are a member of an AD domain

clean up some hardcoded constands with the REG_XXX constant.
(This used to be commit a1d0be740d9ea8c9ea8c04950da826dd84bbc51b)
2007-10-10 10:55:50 -05:00
Jim McDonough
a3ee24ec7f r5600: Bring IBM Directory Server schema up to date with openldap schema
(This used to be commit 639de6afc09709774fbcce1a8149bde172bd542e)
2007-10-10 10:55:49 -05:00
Gerald Carter
640eb81e06 r5597: full fix for BUG 2394 (unresolved symbols on IRIX)
(This used to be commit cb08dd5f9087ac2e965dec8ba24c9e908fd6fcd3)
2007-10-10 10:55:49 -05:00
Gerald Carter
ec5ea58179 r5596: BUG 2394: fix nmbd linking issue on IRIX
(This used to be commit 0a07f2b1d91e071618e67c4e9ee8274763eaf5aa)
2007-10-10 10:55:49 -05:00
Jim McDonough
7f5611ce55 r5594: Fix comment to read "remove" instead of "add"
(This used to be commit 6884a2fa6e3d19a436edfb428056978ae127f442)
2007-10-10 10:55:49 -05:00
Jim McDonough
bd0e666503 r5593: More reversal of accidental commit.
(This used to be commit ec78c3f2a2e38abe96132475a22bfd52c850b001)
2007-10-10 10:55:49 -05:00
Jim McDonough
de1c756430 r5592: Oops, accidentally committed test version of rpcclient. Reverting changes.
(This used to be commit a5fe34ca7d57c18f510b9cc68e75c4db370fe052)
2007-10-10 10:55:49 -05:00
Jim McDonough
ac1cc87122 r5591: Implement "net rpc trustdom del", including client side of
samr_remove_sid_from_foreign_domain.
(This used to be commit 8360695fc02dfb09aff92a434bf9d411e65c478c)
2007-10-10 10:55:49 -05:00
Jeremy Allison
2f158e1565 r5589: Ensure the torture code that uses cli_list and cli_list_old
matches the new MS-DFS function prototypes. Should fix the
build farm tests.
Jeremy.
(This used to be commit 3d4d8bb6544abc4959f75bb962d8e1fb3d37a55e)
2007-10-10 10:55:48 -05:00
Jim McDonough
180fa12026 r5580: Fix "net rpc trustdom add". Much closer to what windows does. Also stop
referencing unknown_6 from sam, because it's just fixed at 1260, the max
len of LOGON_HRS.  Need to go in and mark it as "remove me" from passdb.
(This used to be commit ffac752875938d510446ebbeba6fc983f65cda1e)
2007-10-10 10:55:48 -05:00
Gerald Carter
fb84318c34 r5578: get 'recurse; dir' working across multiple levels of dfs referrals
note that this does not handle the situation where the same \\server\share
is mounted mutliple times in the dfs tree since I store a single mount
path per struct cli_state *
(This used to be commit 52c82b51ba9729cc53a049d8e9fbb7365d652c51)
2007-10-10 10:55:48 -05:00
Gerald Carter
96572957fc r5577: get recurse; dir working across single level dfs referrals
(This used to be commit d4443807bc7a5a8615c69517365a92709db7ce29)
2007-10-10 10:55:48 -05:00
Gerald Carter
76d72a6bc6 r5571: fix another breakage on gcc 2.96
(This used to be commit cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10)
2007-10-10 10:55:48 -05:00
Gerald Carter
40d738f509 r5568: fix more breakage on gcc 2.96
(This used to be commit 3eeecff05efec9310cf2bed7c6fe9a6d80dd6d0d)
2007-10-10 10:55:48 -05:00
Gerald Carter
b03c74446a r5565: fix breakage on gcc 2.96
(This used to be commit 67f8a1e3bc545d4ebbe0f7d05ea16c6231f2e82c)
2007-10-10 10:55:47 -05:00
Gerald Carter
c7a00987e3 r5562: * bump version to 3.0.12pre2
* change special character in gd's valid workstation
  check to a '+' to be more in line with the characters
  used by valid users
(This used to be commit 8bff0486508b9952c192345302b9313ac0b2270e)
2007-10-10 10:55:47 -05:00
Gerald Carter
d8b85fa12b r5560: make sure session setup message is displayed after changes to client.c
(This used to be commit 3f5e52e90861d071870a369fac246a822f4ff2ce)
2007-10-10 10:55:47 -05:00
Günther Deschner
f823e8c411 r5556: Fix the build on AIX.
use AF_UNIX instead of AF_LOCAL (thanks to Doug VanLeuven
<roamdad-at-sonic.net>) and make smbldap_open() a bit more readable.

Guenther
(This used to be commit 526d6a9493cd091f2a9b8e072f11e673133fe5c1)
2007-10-10 10:55:47 -05:00
Jeremy Allison
f95e9fc45b r5548: Stop lying about allocation sizes to Windows clients. It was a nice
idea, and aparently improved performance in some circumstances, but it
breaks the VC++ compiler :-(. Not cool. Fix bug #2146.
Jeremy.
(This used to be commit b9f147634df0126320ffe3b9a23068e76f6c1681)
2007-10-10 10:55:47 -05:00
Günther Deschner
4ef6976c58 r5547: Fix compile warning.
Guenther
(This used to be commit a5e215650e09f087f8aede96475bd26649aa244e)
2007-10-10 10:55:47 -05:00
Günther Deschner
4b03bd3b18 r5546: Fix some comments in "net rpc printer migrate settings"
Guenther
(This used to be commit 67552103ee77013d08e06ed651f6ca6b3b76813e)
2007-10-10 10:55:46 -05:00
Gerald Carter
038d939c2a r5545: move cli_cm_XXX() connection handling code to clidfs and out of client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
(This used to be commit d6a05ffd664e2e304f6e481af34a4c5d640fc3f9)
2007-10-10 10:55:46 -05:00
Jeremy Allison
413eb87493 r5543: Fix for bug #962 - using MB sharenames containing a ']' character.
Processing a share name is now MB safe so long as the correct
unix charset is in scope.
Jeremy.
(This used to be commit 5bd027e9ed095c01fc176178ff51b5839fe0c140)
2007-10-10 10:55:46 -05:00
Gerald Carter
584c412e0a r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs root
shares.
(This used to be commit 5d2624c453b0bc961302edd9f2421a7c3d504d1f)
2007-10-10 10:55:46 -05:00
Günther Deschner
c3a5d90db4 r5541: Fix crash bug in the client-spoolss enumdataex-call.
With Windows2003 it's perfectly legal to receive no data when querying a
value-less subkey. Found while migrating printer settings.

Guenther
(This used to be commit 3e04def03377b2eae2987c87b18ccadf5b48a6fe)
2007-10-10 10:55:46 -05:00
Andrew Bartlett
8d06233d11 r5536: Avoid intermediate copy of NT and LM responses in NETLOGON client.
This copy was length-limited, which broke when the NTLMv2 response was
more than 128 bytes in length.

Andrew Bartlett
(This used to be commit bae18aaaff7f9eff90db566b9a254a11d281aa01)
2007-10-10 10:55:45 -05:00
Jeremy Allison
26d81332de r5535: Reformat so I can actually maintain this code and eventually convert to MB safe.
Jeremy.
(This used to be commit 0285754c1408b4155e115a5f76b1f5ff481c9d7e)
2007-10-10 10:55:45 -05:00
Jeremy Allison
f7decc6b23 r5532: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
(This used to be commit f997c28bb8ca253dca943a578a617b3c20ccfa5e)
2007-10-10 10:55:45 -05:00
Jeremy Allison
cb203b2d1e r5530: Keep the TRANS call up to date with the NTCreateX call.
Jeremy.
(This used to be commit 98a07e1520d6fb1f6f5320bc70ac33d4c5052ea6)
2007-10-10 10:55:45 -05:00
Günther Deschner
051d9d7894 r5528: Expand the invalid-workstation-scheme. Workstation-Names with leading
'@'-sign are expanded on-the-fly as posix-groups of workstations. This
allows optional, more flexible login-control in larger networks.

Guenther
(This used to be commit 8f143b6800e0b6964c8ba4ba9607dc74da12ae59)
2007-10-10 10:55:45 -05:00
Günther Deschner
9fa9ca4f8b r5527: Allow own netbios name to be set in smbclient's session setup.
Guenther
(This used to be commit 3660b7e64d9a17bcaa4f43c6d782b0b1d52ed6ab)
2007-10-10 10:55:45 -05:00
Jeremy Allison
9150205f98 r5525: Add extra case to torture to test this (we currently fail with the wrong
error message but we correctly deny the open).
Jeremy.
(This used to be commit 99b89867c33a2209c42b6610d62ead0cf2af05af)
2007-10-10 10:55:45 -05:00
Jeremy Allison
e2cc3f4816 r5524: Don't do share mode checks on can_delete if open, the rest of the open
code will do this correctly. More for bug #2201.
Jeremy.
(This used to be commit faecf639efdecf949e91184d041489aa54e8664f)
2007-10-10 10:55:44 -05:00