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

18241 Commits

Author SHA1 Message Date
Gerald Carter
2a50872952 r8755: more malloc fixes
(This used to be commit b46546c18a)
2007-10-10 11:00:16 -05:00
Gerald Carter
c03f6b32a3 r8716: adding 'username map script' which if defined takes precendence over
the username map file.
(This used to be commit 46f2897fdc)
2007-10-10 11:00:15 -05:00
Jeremy Allison
07a4d4f114 r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909.
Jeremy.
(This used to be commit 6ea3aadd66)
2007-10-10 11:00:15 -05:00
Gerald Carter
9365669a59 r8697: BUG 2908: make sure to allow for the trailing NULL
(This used to be commit 3b505a8243)
2007-10-10 11:00:15 -05:00
Jeremy Allison
d6973499de r8695: Patch from James Peach for hires timestamps and efficient
notify code. Bugid #2285. The last commit by me on behalf
of James as he will be able to do his own now :-).
Jeremy.
(This used to be commit 524298b3f3)
2007-10-10 11:00:15 -05:00
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 217cc66e46)
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 dccf777f42)
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 a3b89cb5c1)
2007-10-10 11:00:14 -05:00
Günther Deschner
63546f1c79 r8675: fix some compile warnings.
Guenther
(This used to be commit afa8ae831a)
2007-10-10 11:00:14 -05:00
Andrew Tridgell
86ea026edb r8673: merged from samba4
(This used to be commit 57da72d88e)
2007-10-10 11:00:14 -05:00
Lars Müller
042d4b86f5 r8657: Add -fPIC which is the case for all other Samba shared libs.
Fix bug #2060.
(This used to be commit 8c09716c91)
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 a3ceabf7c6)
2007-10-10 11:00:14 -05:00
Gerald Carter
ecafd3754f r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3)
2007-10-10 11:00:14 -05:00
Lars Müller
b0f1c8df16 r8653: Fix bug #2659.
(This used to be commit 2720c82a95)
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 d395ba2d40)
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 86f8368c99)
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 f7b169ed57)
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 99dae22dcf)
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 6415657942)
2007-10-10 11:00:13 -05:00
Gerald Carter
638b694070 r8607: BUG 2900 more compiler warnings
(This used to be commit ed93cc50e1)
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 d6b1f695a0)
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 9f8344e31d)
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 4e91f29621)
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 0a9395bb48)
2007-10-10 11:00:12 -05:00
Tim Potter
9808b5e394 r8595: Delete unused prototypes.
(This used to be commit c525c276c3)
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 26539ddd72)
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 ae6b4df7fe)
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 985dbb47d9)
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 84651aca04)
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 7ff7211b80)
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 99937d99b6)
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 8558001b38)
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 4d69a682b3)
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 b1a94aadf2)
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 9e50d696c3)
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 793c82c017)
2007-10-10 11:00:08 -05:00
Günther Deschner
8449a93928 r8538: honour CC in python build.
Guenther
(This used to be commit d31510d6c5)
2007-10-10 11:00:07 -05:00
Volker Lendecke
411be313dd r8531: Fix a memleak
(This used to be commit ebf0cda797)
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 5f51b72ec7)
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 318fe7ba00)
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 1993e409a5)
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 f617ca33f4)
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 2f5de718a9)
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 d07179de2f)
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 294fdbccba)
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 ed9cb0061d)
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 aa5de7d0b3)
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 f1763c5dec)
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 aab17a7095)
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 3070ec288c)
2007-10-10 11:00:05 -05:00