1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

15206 Commits

Author SHA1 Message Date
Jeremy Allison
58a3749e9c r8689: Fixes bugid #2889 for sure. Turns out the OS/2 dos box doesn't like two offsets
to be identical. Make offsets for . and .. different (and explicit).
Jeremy.
(This used to be commit 217cc66e46b3df35a66fed4055bd5032aab4d73f)
2007-10-10 11:00:15 -05:00
Günther Deschner
0b98400cc0 r8686: Revert %LOGONSERVER%-substitution. The substition is done on the client,
not on the server.

We now preserve this windows variable (important for vampired setups)
and correctly substitute only the "%L"s in strings like:

        "%LOGONSERVER% %L %lOgOnSeRvEr% %L".

Guenther
(This used to be commit dccf777f42ce1d3f788548842fb8a606bed5708c)
2007-10-10 11:00:15 -05:00
Simo Sorce
728dbab082 r8682: fix vfstest, thanks to Rainer Link for spotting this one
(This used to be commit a3b89cb5c13b7e51f27b74b87c03002f537154d5)
2007-10-10 11:00:14 -05:00
Günther Deschner
63546f1c79 r8675: fix some compile warnings.
Guenther
(This used to be commit afa8ae831a8d9cde8c6474c5fc807a9ca8155273)
2007-10-10 11:00:14 -05:00
Andrew Tridgell
86ea026edb r8673: merged from samba4
(This used to be commit 57da72d88e0bef0d234651ad45e422e8ca8bd4b4)
2007-10-10 11:00:14 -05:00
Jeremy Allison
aa63997c23 r8655: Still trying to fix #2889. We don't need the DPTR_MASK after
all, now thinking it might be to do with flags2...
Jeremy.
(This used to be commit a3ceabf7c678b5e7f77cc073cf535498ffc67eb6)
2007-10-10 11:00:14 -05:00
Gerald Carter
ecafd3754f r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
2007-10-10 11:00:14 -05:00
Lars Müller
b0f1c8df16 r8653: Fix bug #2659.
(This used to be commit 2720c82a950a0afded25c2c161cda47ea412fea3)
2007-10-10 11:00:13 -05:00
Lars Müller
dc1246e4d4 r8641: Fix bug #2262. Now we accept freebsd 5 till 9 as suggested by Timur
Bakeyev.
(This used to be commit d395ba2d40fdb5df04f0b6fbe9b4893002a3fcae)
2007-10-10 11:00:13 -05:00
Jeremy Allison
ae64b2f2aa r8617: Be very explicit if addprinterex is called that the "addprinter command"
must be defined in smb.conf.
Jeremy.
(This used to be commit 86f8368c997f0eece20724a0a7158832c66da9f7)
2007-10-10 11:00:13 -05:00
Jeremy Allison
21cd4ee355 r8615: Added "acl group control". Defaults to off. Docs to follow.
Jeremy.
(This used to be commit f7b169ed57de81229c3b9089a05f4e73ea39010c)
2007-10-10 11:00:13 -05:00
Jeremy Allison
78e3b4f04b r8610: If I'm going to do a debug level zero, at least make it useful.
Jeremy.
(This used to be commit 99dae22dcf4050b5aacbb2cd4d2a08a183611402)
2007-10-10 11:00:13 -05:00
Jeremy Allison
87801bc387 r8609: Fix for bugid #2889. I think the problem is that the top 16 bits of the "server state" field must be
non-zero. As we're using the 32 bit field as an offset then normally this field
will be zero. W2K3 fills this field with a counter enumerating the number of
SMBsearch calls on this directory - starting at 1. Add back the 1<<31 bit flag
DPTR_MASK to ensure this is non-zero - with better checks on use.
Jeremy.
(This used to be commit 6415657942c49ea51d4e4f4ee2189c7d70b9c5fa)
2007-10-10 11:00:13 -05:00
Gerald Carter
638b694070 r8607: BUG 2900 more compiler warnings
(This used to be commit ed93cc50e1064dc5a3145d97555715b0b2915db4)
2007-10-10 11:00:12 -05:00
Gerald Carter
6ac01319b4 r8606: BUG 2899: fix compiler warning in regfio routine
(This used to be commit d6b1f695a0baf2042ce121702cdcbbf59e94bd94)
2007-10-10 11:00:12 -05:00
Gerald Carter
7a51eb50d4 r8604: BUG 2890: fix unitialized variable reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit 9f8344e31d3628338b434ee3e530b7f7322e6fe1)
2007-10-10 11:00:12 -05:00
Tim Potter
46e7935d25 r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a
#define) to quieten a warning.  Bugzilla #2892.
(This used to be commit 4e91f29621d5ab9fa748dd1077f8efd1dab45522)
2007-10-10 11:00:12 -05:00
Tim Potter
982bc5f569 r8596: Don't wrap non-existent functions. Bugzilla #2895.
(This used to be commit 0a9395bb486c80799ea14f0ebe7a371da34628b5)
2007-10-10 11:00:12 -05:00
Tim Potter
9808b5e394 r8595: Delete unused prototypes.
(This used to be commit c525c276c3bebd97f2c86684bd248ed00e889349)
2007-10-10 11:00:12 -05:00
Tim Potter
44b93eec71 r8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893.
(This used to be commit 26539ddd7290860831e0bda62e1126945420b06f)
2007-10-10 11:00:12 -05:00
Tim Potter
99478cd59b r8573: Fix set but not used warning in srvsvc server-side code.
Another bugzilla (#2891) from Jason Mader.
(This used to be commit ae6b4df7fed2516c5236755f75300ec0d95c35b3)
2007-10-10 11:00:11 -05:00
Tim Potter
ab398643a4 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10 11:00:11 -05:00
Jeremy Allison
263a51cd62 r8564: Sometimes we're too dumb to live... Fix samr calls where we were
using USER_INFO_XX structs and functions where XX was sometimes
in hex and sometimes in decimal. Now it's all in decimal (should
be no functionality change).
Jeremy.
(This used to be commit 84651aca04cbcbf50ab2e78333cc9d9e49dd92f5)
2007-10-10 11:00:09 -05:00
Jeremy Allison
01822a7e05 r8556: Fix bug #2878 - Norton commander not running on OS/2 client - we were
not correctly returning the requested open mode. Thanks to alex@infobit.ru
for reporting this.
Jeremy.
(This used to be commit 7ff7211b808e708c00a3b0f57be8d1af3c632bd7)
2007-10-10 11:00:09 -05:00
Jeremy Allison
be964085d2 r8553: Another compile warning fix from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 99937d99b6d893689e0471b20a605af3591c2703)
2007-10-10 11:00:08 -05:00
Jeremy Allison
a747f1b87a r8552: Warning fix from jason@ncac.gwu.edu.
Jeremy.
(This used to be commit 8558001b38786b7ff16d90d80d183b0277d74e16)
2007-10-10 11:00:08 -05:00
Jeremy Allison
023d2162d9 r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy.
(This used to be commit 4d69a682b3ab4f660455e6ea5a2970481a6ccffc)
2007-10-10 11:00:08 -05:00
Jeremy Allison
8ebef3f4c8 r8545: Fix oplock bug introduced by oplock code "simplification" :-).
We *always* reply to an exclusive oplock break message even if
we have no record of the oplock (and we always did before 3.0.20pre2).
Jeremy.
(This used to be commit b1a94aadf25e94dcc168ea3a5ae008f4e84ff296)
2007-10-10 11:00:08 -05:00
Gerald Carter
ef0e98b757 r8543: merge volker's nt_printing_init() fix from trunk (r8526)
but make sure to write the new version to the ntdrivers.tdb.
(This used to be commit 9e50d696c3e101174670c47ecbd6401bec2ab3d3)
2007-10-10 11:00:08 -05:00
Günther Deschner
235bece8ff r8542: - (re-)add better search-semantics: look for Interdomain trust accounts
below the machine-suffix (this is where we create them)) to avoid
  digging through thousands of user-accounts just to find a handful of
  trust-accounts in the enumdomusers-samr-call.

- don't access freed data in DEBUG-statement

Guenther
(This used to be commit 793c82c0172c4f834e43d04bf3f9d39858761e88)
2007-10-10 11:00:08 -05:00
Günther Deschner
8449a93928 r8538: honour CC in python build.
Guenther
(This used to be commit d31510d6c56954030759e97ab8cdfc51e0abca92)
2007-10-10 11:00:07 -05:00
Volker Lendecke
411be313dd r8531: Fix a memleak
(This used to be commit ebf0cda797da2c63aa0033f034573f6d5485b57a)
2007-10-10 11:00:07 -05:00
Volker Lendecke
3c6e5f6d47 r8521: Another micro-step: Don't pass down a flag where not necessary.
Volker
(This used to be commit 5f51b72ec7abea3588f76d22a8daa434cdf90eb0)
2007-10-10 11:00:07 -05:00
Gerald Carter
f5bf5765af r8510: Don't include the valgrind headers on 64bit linux systems.
Several incarnations of gcc bork with

Compiling dynconfig.c
/tmp/ccXd94O5.s: Assembler messages:
/tmp/ccXd94O5.s:1202: Error: suffix or operands invalid for `mov'
/tmp/ccXd94O5.s:1289: Error: suffix or operands invalid for `mov'`

Thanks to Bent Vangli for the the leg work and suggestions.
(This used to be commit 318fe7ba0093c4a94e9f4f5c8ce7a2f5d1078e26)
2007-10-10 11:00:07 -05:00
Volker Lendecke
787e526652 r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.
Volker
(This used to be commit 1993e409a53908d299f0b2b0e8e5546236fd580b)
2007-10-10 11:00:07 -05:00
Gerald Carter
a5868d58c7 r8507: BUG 2557: don't give and rpc fault when you get an unsupported SetPrinter() level
(This used to be commit f617ca33f45fbc779356c52664c1e689114accdd)
2007-10-10 11:00:07 -05:00
Gerald Carter
eb1123e500 r8506: BUG 2853: don't strip out characters like '$' from printer names
when substituting for the lpq command.
(This used to be commit 2f5de718a98e56fe55d8905b12505dfc3e432544)
2007-10-10 11:00:07 -05:00
Gerald Carter
6fe5451543 r8501: * disable printer handle object cache (was mostly used
for NT4 clients enumerating printer data on slow CPUs)
* fix pinter and secdesc record upgrade to normalize the key
  (rev'd printer tdb version)
* fixed problem that was normalizing the printername name field

in general, this should fix the issues upgrading print servers
from 3.0.14a to 3.0.20
(This used to be commit d07179de2f2a6eb1d13d0e25ac10de1a21475559)
2007-10-10 11:00:06 -05:00
Günther Deschner
63b3898a73 r8493: According to MSKB 141714 the %LOGONSERVER% variable should be
substituted like our %L-variable.

Guenther
(This used to be commit 294fdbccba9835b6abe5f26f22a0a05adb27564e)
2007-10-10 11:00:06 -05:00
Volker Lendecke
4fffd271d0 r8492: open_mode_check does not use the parameter p_flags, so remove it.
Volker
(This used to be commit ed9cb0061dbbc7677d5968581fde46c89febb6c0)
2007-10-10 11:00:06 -05:00
Gerald Carter
d8601c4a37 r8478: remove unused printmode command from smbclient (noticed by kalim@samba.org)
(This used to be commit aa5de7d0b35b07dfb32aa43df00f73de80de9fdd)
2007-10-10 11:00:06 -05:00
Gerald Carter
a3a8517216 r8475: BUG 2872: fix cut-n-paste error when checking pointer value in ntlmssp_set_workstation()
(This used to be commit f1763c5decd14eb71ee3d7ea71859a85d5ee0dc1)
2007-10-10 11:00:06 -05:00
Gerald Carter
dae78e57e2 r8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c
(This used to be commit aab17a7095a18b243a271f8f3f824facd6932f23)
2007-10-10 11:00:06 -05:00
Jeremy Allison
0d8ef1cec4 r8457: Fix from Marcel Müller <mueller@maazl.de> to ensure
we correctly set the return packet size to include
the pad bytes in reply_readbmpx().
Jeremy.
(This used to be commit 3070ec288c64880485ed159d512e91346f5d1b4e)
2007-10-10 11:00:05 -05:00
Günther Deschner
200ff9c1e9 r8454: Fix Bug #2502
Removing deprecated lp_min_password_length (the same functionality is
provided by the account policy).

Note that we now allow to set passwords less then 5 chars (if the admins
decides to do so by setting the account policy).

Thanks to Daniel Beschorner <db@unit-netz.de>

Guenther
(This used to be commit fd91378925f7e3541df4f31bd461dabc1da523a9)
2007-10-10 11:00:05 -05:00
Lars Müller
1b148896a1 r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN.
(This used to be commit 22acd4936875e3c98ce7e26cde05f0ce69d8cb63)
2007-10-10 11:00:05 -05:00
Jim McDonough
e7c48884a5 r8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
scripts to be executed.

We were filling in our name as the server which processed the login, even
when it was done by a trusted DC.

Thanks to John Janosik <jpjanosi@us.ibm.com> for the fix.
(This used to be commit 0446319a3b8096df385978449ffaa231bc5cfd0c)
2007-10-10 11:00:05 -05:00
Lars Müller
07e58e0542 r8431: Ensure to use dev_private and not private after Jeremy's CPP reserved
names rename.

Jerry: I'm not sure if we have to use the string 'dev_private' instead
of 'private' as second arg to PyDict_SetItemString().
(This used to be commit cd2c467cc46db1958aba7660f0ef7fd8af14bd63)
2007-10-10 11:00:05 -05:00
Günther Deschner
9dcfaf01a1 r8428: some more old printerdb stuff.
Guenther
(This used to be commit 25fa0e82c1ee1a568ffe201fbabb95cc809162b6)
2007-10-10 11:00:04 -05:00
Günther Deschner
1c3e9aff2a r8427: Printerdb has been moved into a tmp branch.
Guenther
(This used to be commit 9dc4e4f0127b3f59ccc455bdba419a9d35eaa12e)
2007-10-10 11:00:04 -05:00