1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00
Commit Graph

15213 Commits

Author SHA1 Message Date
Jeremy Allison
871c647bc3 r8762: Attempt to fix the winbindd crashing bug on Solaris (can't remember
the bugid). Make the functions in lib/util_unistr.c odd-alignment
safe using some evil macros. Needs testing on bigendian.
Jeremy.
2007-10-10 11:00:16 -05:00
Jeremy Allison
8132072054 r8757: Add debug messages so we can see what attributes and values are being
set/deleted/modified in an ldap query.
Jeremy.
2007-10-10 11:00:16 -05:00
Gerald Carter
b46546c18a r8755: more malloc fixes 2007-10-10 11:00:16 -05:00
Gerald Carter
46f2897fdc r8716: adding 'username map script' which if defined takes precendence over
the username map file.
2007-10-10 11:00:15 -05:00
Jeremy Allison
6ea3aadd66 r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909.
Jeremy.
2007-10-10 11:00:15 -05:00
Gerald Carter
3b505a8243 r8697: BUG 2908: make sure to allow for the trailing NULL 2007-10-10 11:00:15 -05:00
Jeremy Allison
524298b3f3 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.
2007-10-10 11:00:15 -05:00
Jeremy Allison
217cc66e46 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.
2007-10-10 11:00:15 -05:00
Günther Deschner
dccf777f42 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
2007-10-10 11:00:15 -05:00
Simo Sorce
a3b89cb5c1 r8682: fix vfstest, thanks to Rainer Link for spotting this one 2007-10-10 11:00:14 -05:00
Günther Deschner
afa8ae831a r8675: fix some compile warnings.
Guenther
2007-10-10 11:00:14 -05:00
Andrew Tridgell
57da72d88e r8673: merged from samba4 2007-10-10 11:00:14 -05:00
Jeremy Allison
a3ceabf7c6 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.
2007-10-10 11:00:14 -05:00
Gerald Carter
cd961e50a3 r8654: merging cli_spoolss_XX() updates from trunk 2007-10-10 11:00:14 -05:00
Lars Müller
2720c82a95 r8653: Fix bug #2659. 2007-10-10 11:00:13 -05:00
Lars Müller
d395ba2d40 r8641: Fix bug #2262. Now we accept freebsd 5 till 9 as suggested by Timur
Bakeyev.
2007-10-10 11:00:13 -05:00
Jeremy Allison
86f8368c99 r8617: Be very explicit if addprinterex is called that the "addprinter command"
must be defined in smb.conf.
Jeremy.
2007-10-10 11:00:13 -05:00
Jeremy Allison
f7b169ed57 r8615: Added "acl group control". Defaults to off. Docs to follow.
Jeremy.
2007-10-10 11:00:13 -05:00
Jeremy Allison
99dae22dcf r8610: If I'm going to do a debug level zero, at least make it useful.
Jeremy.
2007-10-10 11:00:13 -05:00
Jeremy Allison
6415657942 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.
2007-10-10 11:00:13 -05:00
Gerald Carter
ed93cc50e1 r8607: BUG 2900 more compiler warnings 2007-10-10 11:00:12 -05:00
Gerald Carter
d6b1f695a0 r8606: BUG 2899: fix compiler warning in regfio routine 2007-10-10 11:00:12 -05:00
Gerald Carter
9f8344e31d r8604: BUG 2890: fix unitialized variable reported by Jason Mader <jason@ncac.gwu.edu> 2007-10-10 11:00:12 -05:00
Tim Potter
4e91f29621 r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a
#define) to quieten a warning.  Bugzilla #2892.
2007-10-10 11:00:12 -05:00
Tim Potter
0a9395bb48 r8596: Don't wrap non-existent functions. Bugzilla #2895. 2007-10-10 11:00:12 -05:00
Tim Potter
c525c276c3 r8595: Delete unused prototypes. 2007-10-10 11:00:12 -05:00
Tim Potter
26539ddd72 r8592: I'm pretty sure this should be != instead of =!. Bugzilla #2893. 2007-10-10 11:00:12 -05:00
Tim Potter
ae6b4df7fe r8573: Fix set but not used warning in srvsvc server-side code.
Another bugzilla (#2891) from Jason Mader.
2007-10-10 11:00:11 -05:00
Tim Potter
985dbb47d9 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore. 2007-10-10 11:00:11 -05:00
Jeremy Allison
84651aca04 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.
2007-10-10 11:00:09 -05:00
Jeremy Allison
7ff7211b80 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.
2007-10-10 11:00:09 -05:00
Jeremy Allison
99937d99b6 r8553: Another compile warning fix from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 11:00:08 -05:00
Jeremy Allison
8558001b38 r8552: Warning fix from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 11:00:08 -05:00
Jeremy Allison
4d69a682b3 r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy.
2007-10-10 11:00:08 -05:00
Jeremy Allison
b1a94aadf2 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.
2007-10-10 11:00:08 -05:00
Gerald Carter
9e50d696c3 r8543: merge volker's nt_printing_init() fix from trunk (r8526)
but make sure to write the new version to the ntdrivers.tdb.
2007-10-10 11:00:08 -05:00
Günther Deschner
793c82c017 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
2007-10-10 11:00:08 -05:00
Günther Deschner
d31510d6c5 r8538: honour CC in python build.
Guenther
2007-10-10 11:00:07 -05:00
Volker Lendecke
ebf0cda797 r8531: Fix a memleak 2007-10-10 11:00:07 -05:00
Volker Lendecke
5f51b72ec7 r8521: Another micro-step: Don't pass down a flag where not necessary.
Volker
2007-10-10 11:00:07 -05:00
Gerald Carter
318fe7ba00 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.
2007-10-10 11:00:07 -05:00
Volker Lendecke
1993e409a5 r8508: Rename EXCLUSIVE_BREAK_SENT to BREAK_TO_NONE_SENT.
Volker
2007-10-10 11:00:07 -05:00
Gerald Carter
f617ca33f4 r8507: BUG 2557: don't give and rpc fault when you get an unsupported SetPrinter() level 2007-10-10 11:00:07 -05:00
Gerald Carter
2f5de718a9 r8506: BUG 2853: don't strip out characters like '$' from printer names
when substituting for the lpq command.
2007-10-10 11:00:07 -05:00
Gerald Carter
d07179de2f 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
2007-10-10 11:00:06 -05:00
Günther Deschner
294fdbccba r8493: According to MSKB 141714 the %LOGONSERVER% variable should be
substituted like our %L-variable.

Guenther
2007-10-10 11:00:06 -05:00
Volker Lendecke
ed9cb0061d r8492: open_mode_check does not use the parameter p_flags, so remove it.
Volker
2007-10-10 11:00:06 -05:00
Gerald Carter
aa5de7d0b3 r8478: remove unused printmode command from smbclient (noticed by kalim@samba.org) 2007-10-10 11:00:06 -05:00
Gerald Carter
f1763c5dec r8475: BUG 2872: fix cut-n-paste error when checking pointer value in ntlmssp_set_workstation() 2007-10-10 11:00:06 -05:00
Gerald Carter
aab17a7095 r8472: abartlet's patch for parallel ntlmssp supporttrunk/source/smbd/sesssetup.c 2007-10-10 11:00:06 -05:00