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

13760 Commits

Author SHA1 Message Date
Volker Lendecke
5f482df169 r1104: get_called_name is used in the printing subsystem. In case of multi-homed
servers we need to make sure that the clients are given back the IP address
they connected to.

Volker
2007-10-10 10:51:55 -05:00
Herb Lewis
d8a545368c r1103: need to leave empty dacl so we can remove last ACE 2007-10-10 10:51:55 -05:00
Volker Lendecke
473dd03833 r1101: Implement 'rpcclient setprintername'.
Thanks to Guenther Deschner <gd@sernet.de>.

This needs to be generalized somewhat. Jerry, which of the parameters in the
printer_info_2 struct are settable via cli_spoolss_setprinter?

Volker
2007-10-10 10:51:55 -05:00
Jeremy Allison
c8a55e92dd r1097: Fix errno being incorrectly set. Noticed by Richard.
Jeremy.
2007-10-10 10:51:54 -05:00
Jeremy Allison
c1b06deb57 r1093: Ensure we clear any cached errors on a deferred open call so
we don't return the wrong error code on the next packet.
Jeremy.
2007-10-10 10:51:54 -05:00
Jeremy Allison
7e2a5c3661 r1089: Removed spurious oplock message in deferred open processing.
Fix smb signing sequence counts.
Jeremy.
2007-10-10 10:51:54 -05:00
Gerald Carter
b0739b073a r1087: BUG 1221: revert old change that used single and double quotes as delimters in next_token(), and change print_parameter() to print out parm values surrounded by double quotes (instead of single quotes) 2007-10-10 10:51:54 -05:00
Jeremy Allison
894cc6d162 r1085: Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.
2007-10-10 10:51:54 -05:00
Gerald Carter
e65564ab4a r1011: fix bad merge (from a few months ago) and ensure that we always use tdb_open_log() instead of tdb_open_ex() 2007-10-10 10:51:53 -05:00
Stefan Metzmacher
98e6c3105d r1007: merge from SAMBA_4_0:
print out the SVN revision by configure,
so that the build farm can use it

metze
2007-10-10 10:51:53 -05:00
Jeremy Allison
7ac7cd4162 r998: Arrrgggh. Do it right this time :-(.
Jeremy.
2007-10-10 10:51:53 -05:00
Jeremy Allison
6bd6359090 r996: Fix error in change to queuing code (dlink).
Jeremy.
2007-10-10 10:51:53 -05:00
Gerald Carter
82f3fee595 r993: BUG 703 -- finishing patch by Eric Boehm <boehm@nortelnetworks.com> for netgroup case lookups 2007-10-10 10:51:53 -05:00
Gerald Carter
e9f109d1b3 r991: Allow winbindd to use the domain trust account password
for setting up an schannel connection.  This solves the problem
of a Samba DC running winbind, trusting a native mode AD domain,
and needing to enumerate AD users via wbinfo -u.
2007-10-10 10:51:53 -05:00
Volker Lendecke
5070c1b68f r989: Calling sid_to_gid from within winbind makes no sense, as this calls
winbind_sid_to_gid. For the consistency check, local_sid_to_gid must set the
name_type it found.

Volker
2007-10-10 10:51:52 -05:00
Volker Lendecke
98e10d1497 r988: When adding local aliases' gids to the user token, don't do a idmap_sid_to_gid
on the user sid. This might lead to a user SID entered as a GID in the idmap.

Volker
2007-10-10 10:51:52 -05:00
Jeremy Allison
40c77dddc6 r984: Ensure memmove & memcpy aren't called with len == 0.
Jeremy.
2007-10-10 10:51:52 -05:00
Volker Lendecke
148dc71ea5 r979: Implement the 'cups server' option. This makes it possible to have virtual
smbd's connect to different cups daemons.

Volker
2007-10-10 10:51:52 -05:00
Volker Lendecke
9ceff80327 r977: Implement 'net rpc group rename' -- rename domain groups.
Volker
2007-10-10 10:51:52 -05:00
Jeremy Allison
5ec4f4e4e6 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.
2007-10-10 10:51:51 -05:00
Jeremy Allison
9de6b25c9e r971: Auto remove store dos attributes if underlying filesystem
doesn't support EA's.
Jeremy.
2007-10-10 10:51:51 -05:00
Volker Lendecke
d7239c2611 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
2007-10-10 10:51:51 -05:00
Jeremy Allison
2db0c4ca7b r957: Fixup moribund unix extensions mknod code path. Don't add in
configure test yet. Also allow unix domain socket create.
Jeremy.
2007-10-10 10:51:51 -05:00
Jelmer Vernooij
e6dcda2b10 r947: Patch from Fabian Franz <FabianFranz@gmx.de> that allows you
to specify a port in the device URL.
2007-10-10 10:51:51 -05:00
Jeremy Allison
d8177a42d4 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.
2007-10-10 10:51:50 -05:00
Volker Lendecke
3093ab1006 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
2007-10-10 10:51:50 -05:00
Herb Lewis
4a5a122b3a r938: on an error save the original errno before calling iconv to reset
the conversion state
2007-10-10 10:51:50 -05:00
Andrew Bartlett
d626b5c6d4 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
2007-10-10 10:51:50 -05:00
Jeremy Allison
b562fe9fbc 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.
2007-10-10 10:51:50 -05:00
Jeremy Allison
1d3fd1a58e r931: Ensure we push 16 bytes (including null termination)
not 15.
2007-10-10 10:51:50 -05:00
Jeremy Allison
409eef2be7 r928: Ensure we're calling send_mailslot() with a UNIX charset
target name.
Jeremy.
2007-10-10 10:51:50 -05:00
Gerald Carter
066b9c4276 r925: add changes frpm trunk (r841 and r842) -- enable background queue update process and allow printers to have different sharenames from printernames 2007-10-10 10:51:49 -05:00
John Terpstra
c5dc3da340 r923: Fixes so tdbtool and tdbtest can be built. Added build specs for tdbdump and tdbbackup. 2007-10-10 10:51:49 -05:00
Jeremy Allison
c336ccf4e8 r916: Memory leak fix from kawasa_r@itg.hitachi.co.jp.
Jeremy.
2007-10-10 10:51:49 -05:00
Jeremy Allison
14cf55abb8 r914: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure
correct sid type returned for builtin sids.
Jeremy.
2007-10-10 10:51:48 -05:00
Jeremy Allison
735e49ddc3 r911: Patch from "Jerome Borsboom" <j.borsboom@erasmusmc.nl>, don't
overwrite error code.
Jeremy.
2007-10-10 10:51:48 -05:00
Jeremy Allison
455ed258b3 r910: Fix for bug #1385 found by Jason Mader <jason@ncac.gwu.edu>.
Don't use non-consts in a structure initialization.
Jeremy.
2007-10-10 10:51:48 -05:00
Gerald Carter
c9bef86b8b 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 2007-10-10 10:51:48 -05:00
Gerald Carter
9b69451ff2 r844: bumping version 2007-10-10 10:51:47 -05:00
Stefan Metzmacher
fd94bdaef5 r840: use quota debug class
metze
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
7cc35ba066 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
2007-10-10 10:51:47 -05:00
Stefan Metzmacher
f72cf069f2 r817: - fix a configure logic bug for linux/XFS quotas
when using --with-sys-quotas

metze
2007-10-10 10:51:47 -05:00
Herb Lewis
61da0bb1f6 r814: conn is 0 during ioctl (at least during smbtorture IOCTL test)
fix smbd panic
2007-10-10 10:51:47 -05:00
Jeremy Allison
c179451b07 r810: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure error status
codes don't get overwritten.
Jeremy.
2007-10-10 10:51:46 -05:00
Jeremy Allison
d5fb5ba9df r805: Fix to stop smbd hanging on missing group member from "Jianliang Lu" <j.lu@tiesse.com>.
Jeremy.
2007-10-10 10:51:46 -05:00
Jeremy Allison
d97b9146a1 r801: Fix from "Jianliang Lu" <j.lu@tiesse.com> to return correct group
types.
Jeremy.
2007-10-10 10:51:46 -05:00
Gerald Carter
fac9074113 r799: BUG 1259 -- add 'printcap cache time' patch from Lars 2007-10-10 10:51:46 -05:00
Jeremy Allison
538b66f4e9 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.
2007-10-10 10:51:38 -05:00
Jeremy Allison
4695cc95fe 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.
2007-10-10 10:51:38 -05:00
Gerald Carter
fdc1633c34 r783: fix bug in reading printer data from disk; all ow valuenames with embedded '\'s 2007-10-10 10:51:38 -05:00