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

13744 Commits

Author SHA1 Message Date
Jeremy Allison
ac5f0785c8 r984: Ensure memmove & memcpy aren't called with len == 0.
Jeremy.
(This used to be commit 40c77dddc6)
2007-10-10 10:51:52 -05:00
Volker Lendecke
e707189db3 r979: Implement the 'cups server' option. This makes it possible to have virtual
smbd's connect to different cups daemons.

Volker
(This used to be commit 148dc71ea5)
2007-10-10 10:51:52 -05:00
Volker Lendecke
47af5445f3 r977: Implement 'net rpc group rename' -- rename domain groups.
Volker
(This used to be commit 9ceff80327)
2007-10-10 10:51:52 -05:00
Jeremy Allison
efc96df3d5 r974: Fix open code to pass more torture tests. We now pass the Samba4
oplock test. We do this be changing the algorithm when breaking
oplocks slightly. Previously we broke an oplock, then re-loaded
the share modes and re-iterated. Now we break all oplocks, then
re-load the share modes and check the share details - then iterate.
This seems to match the way Win2k3 does it.
Jeremy.
(This used to be commit 5ec4f4e4e6)
2007-10-10 10:51:51 -05:00
Jeremy Allison
03d4344432 r971: Auto remove store dos attributes if underlying filesystem
doesn't support EA's.
Jeremy.
(This used to be commit 9de6b25c9e)
2007-10-10 10:51:51 -05:00
Volker Lendecke
92cb49de77 r964: The max_size field in cli_samr_enum_als_groups is more like an account_control
field with indiviual bits what to retrieve. Set this to 0xffff as NT4
usrmgr.exe does to get everything. I'm too lazy (sorry) to get this through to
rpc_parse/ etc.

Volker
(This used to be commit d7239c2611)
2007-10-10 10:51:51 -05:00
Jeremy Allison
6798fd8e3c r957: Fixup moribund unix extensions mknod code path. Don't add in
configure test yet. Also allow unix domain socket create.
Jeremy.
(This used to be commit 2db0c4ca7b)
2007-10-10 10:51:51 -05:00
Jelmer Vernooij
e4952bf590 r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows you
to specify a port in the device URL.
(This used to be commit e6dcda2b10)
2007-10-10 10:51:51 -05:00
Jeremy Allison
e003407584 r945: "Correct" (as in, more correct) way to handle stat opens. Doesn't regress
the torture tester. Passes OPEN tests in Samba3 and Samba4 and oplock tests
in Samba4. Last thing to check, can an "attribute only" open actually create
a file. I think it can....
Jeremy.
(This used to be commit d8177a42d4)
2007-10-10 10:51:50 -05:00
Volker Lendecke
004618ffcc r942: If using DOS error codes, we need to return ERRDOS/ERRbadpath for chkpth even
if only the last component failed. I'm not sure if all the other cases of
NT_STATUS_OBJECT_NAME_NOT_FOUND also need to be fixed, this at least helps
with 'copy test1.txt test2.txt' from DOS within a subdirectory.

Yes, I do have someone who needs this :-)

Jeremy, could you take a look at this?

Thanks,

Volker
(This used to be commit 3093ab1006)
2007-10-10 10:51:50 -05:00
Herb Lewis
81c497b38b r938: on an error save the original errno before calling iconv to reset
the conversion state
(This used to be commit 4a5a122b3a)
2007-10-10 10:51:50 -05:00
Andrew Bartlett
fe8977e12c r936: Fix a rather weird error that crippled my site, when we upgraded to
Samba 3.0.4.

If we fail a query for the members of the 'administrators' group (and we may well just have the IDL wrong), this destroys later parts of the domain logon process.

For reasons I can't understand, the client-side 'heck, what happened'
bailout causes the connection to the DC to be dropped, and causes the
mandetory profile not to be loaded.  (This also only occours after a reboot)

Return the members of 'administrators', and it all works fine.

The reason we hit this is because we run winbindd (to support
pam_winbind) on our DC, and the winbindd lookup in sid_to_gid was
messing things up.  As we don't care what type of thing this is,
provided it exists in the group mapping db, we should not bother
winbindd here.

Andrew Bartlett
(This used to be commit d626b5c6d4)
2007-10-10 10:51:50 -05:00
Jeremy Allison
cb03592c06 r933: When using widelinks = no, use realpath to canonicalize the
connection path on connection create for the user. We'll be
checking all symlinked paths are below this directory.
Jeremy.
(This used to be commit b562fe9fbc)
2007-10-10 10:51:50 -05:00
Jeremy Allison
0823cb3517 r931: Ensure we push 16 bytes (including null termination)
not 15.
(This used to be commit 1d3fd1a58e)
2007-10-10 10:51:50 -05:00
Jeremy Allison
16452d54f7 r928: Ensure we're calling send_mailslot() with a UNIX charset
target name.
Jeremy.
(This used to be commit 409eef2be7)
2007-10-10 10:51:50 -05:00
Gerald Carter
7959cba656 r925: add changes frpm trunk (r841 and r842) -- enable background queue update process and allow printers to have different sharenames from printernames
(This used to be commit 066b9c4276)
2007-10-10 10:51:49 -05:00
John Terpstra
73b9376e26 r923: Fixes so tdbtool and tdbtest can be built. Added build specs for tdbdump and tdbbackup.
(This used to be commit c5dc3da340)
2007-10-10 10:51:49 -05:00
Jeremy Allison
6b5f46c245 r916: Memory leak fix from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit c336ccf4e8)
2007-10-10 10:51:49 -05:00
Jeremy Allison
bafcb57f11 r914: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure
correct sid type returned for builtin sids.
Jeremy.
(This used to be commit 14cf55abb8)
2007-10-10 10:51:48 -05:00
Jeremy Allison
7ea0be80de r911: Patch from "Jerome Borsboom" <j.borsboom@erasmusmc.nl>, don't
overwrite error code.
Jeremy.
(This used to be commit 735e49ddc3)
2007-10-10 10:51:48 -05:00
Jeremy Allison
e8681c225f r910: Fix for bug #1385 found by Jason Mader <jason@ncac.gwu.edu>.
Don't use non-consts in a structure initialization.
Jeremy.
(This used to be commit 455ed258b3)
2007-10-10 10:51:48 -05:00
Gerald Carter
5a3bc12683 r907: fixing browse.dat bug -- don't include the resouce byte from the netbios name when pulling a string from a packet (jra, please double check this
(This used to be commit c9bef86b8b)
2007-10-10 10:51:48 -05:00
Gerald Carter
23dd702fe2 r844: bumping version
(This used to be commit 9b69451ff2)
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
3a6d5a3ab3 r840: use quota debug class
metze
(This used to be commit fd94bdaef5)
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
b4594cec6e r824: merge from: SAMBA_4_0:
use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 7cc35ba066)
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
130cc39567 r817: - fix a configure logic bug for linux/XFS quotas
when using --with-sys-quotas

metze
(This used to be commit f72cf069f2)
2007-10-10 10:51:47 -05:00
Herb Lewis
99d8aa8b17 r814: conn is 0 during ioctl (at least during smbtorture IOCTL test)
fix smbd panic
(This used to be commit 61da0bb1f6)
2007-10-10 10:51:47 -05:00
Jeremy Allison
331d4fc58c r810: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure error status
codes don't get overwritten.
Jeremy.
(This used to be commit c179451b07)
2007-10-10 10:51:46 -05:00
Jeremy Allison
74a81e6ba6 r805: Fix to stop smbd hanging on missing group member from "Jianliang Lu" <j.lu@tiesse.com>.
Jeremy.
(This used to be commit d5fb5ba9df)
2007-10-10 10:51:46 -05:00
Jeremy Allison
52ddd54083 r801: Fix from "Jianliang Lu" <j.lu@tiesse.com> to return correct group
types.
Jeremy.
(This used to be commit d97b9146a1)
2007-10-10 10:51:46 -05:00
Gerald Carter
67d474861d r799: BUG 1259 -- add 'printcap cache time' patch from Lars
(This used to be commit fac9074113)
2007-10-10 10:51:46 -05:00
Jeremy Allison
0f5e40b14e r788: Inspired by patch from "Jianliang Lu" <j.lu@tiesse.com>. Correct
sid type is WKN_GROUP, not alias. Added some more known types.
Jeremy.
(This used to be commit 538b66f4e9)
2007-10-10 10:51:38 -05:00
Jeremy Allison
8c0db1bbc4 r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
(This used to be commit 4695cc95fe)
2007-10-10 10:51:38 -05:00
Gerald Carter
509c71fef5 r783: fix bug in reading printer data from disk; all ow valuenames with embedded '\'s
(This used to be commit fdc1633c34)
2007-10-10 10:51:38 -05:00
Andrew Bartlett
9d084af77c r780: Fix segfault in ntlm_auth --diagnostics
Andrew Bartlett
(This used to be commit 5cdc7f0cd6)
2007-10-10 10:51:37 -05:00
Jeremy Allison
28cbc5f8f9 r779: Fix specific case of open that doesn't cause oplock break, or share mode check.
Test case provided by Volker will be added later. There may be other tests
needed.
Jeremy.
(This used to be commit 1f8e7946ed)
2007-10-10 10:51:37 -05:00
Herb Lewis
84cea46162 r776: I should have just cut and pasted from my build area and I would
have gotten this right :-)
(This used to be commit 548070274e)
2007-10-10 10:51:37 -05:00
Herb Lewis
bb8a4a7991 r775: merge trunk 774 to samba 3_0 - fix bad compare in for loop
(This used to be commit 3cb8f1d535)
2007-10-10 10:51:37 -05:00
Herb Lewis
a30e1a4277 r772: fix cut and paste error in comment
(This used to be commit a3bb4909c3)
2007-10-10 10:51:37 -05:00
Jeremy Allison
05bc327990 r764: More memleak fixes in error code path from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit 9647394e7c)
2007-10-10 10:51:37 -05:00
Jeremy Allison
49f95e6d27 r762: Fix for #1319 when security > share.
Jeremy.
(This used to be commit 9fe2240d6b)
2007-10-10 10:51:36 -05:00
Jeremy Allison
8b9a044b58 r742: Volker discovered that we can truncate a locked file. Well I never ! :-).
Jeremy
(This used to be commit 1099d60113)
2007-10-10 10:51:36 -05:00
Richard Sharpe
80f72a6300 r740: Fix Bug #1301. Return NT_STATUS_SHARING_VIOLATION when share mode locking
requests fail.
(This used to be commit 5082eb30d0)
2007-10-10 10:51:36 -05:00
Steve French
e476cc5903 r737: Handle -S and user mount parms
(This used to be commit ea597e7523)
2007-10-10 10:51:36 -05:00
Jeremy Allison
400bed7a68 r716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after upgrade to 3.0.4).
Cause was premature optimization in unix_convert(). My fault, sorry.
Jeremy.
(This used to be commit e5438f0a84)
2007-10-10 10:51:35 -05:00
Jeremy Allison
5cc86fe405 r710: Fix smbclient symlink command when widelinks = no.
Jeremy.
(This used to be commit ed699a73f8)
2007-10-10 10:51:35 -05:00
Jeremy Allison
d7af7a2619 r706: Fix erroneous commit... I've not finished testing the
symlink stuff yet. Noticed by Stefan (metze).
Jeremy.
(This used to be commit 389ad1a05b)
2007-10-10 10:51:34 -05:00
Gerald Carter
41db2016ad r704: BUG 1315: fix for schannel client connections to server's that don't support 128 bit encryption
(This used to be commit 316ba5ad89)
2007-10-10 10:51:34 -05:00
Jeremy Allison
8fd6298df0 r698: Now wb pipe is non-blocking remember to read in non-blocking mode...
Jeremy.
(This used to be commit 3399727864)
2007-10-10 10:51:34 -05:00
Gerald Carter
0f462790a3 r689: removed unneeded forward declarations
(This used to be commit ae0a770d60)
2007-10-10 10:51:34 -05:00