1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

15190 Commits

Author SHA1 Message Date
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
Jeremy Allison
3070ec288c 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.
2007-10-10 11:00:05 -05:00
Günther Deschner
fd91378925 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
2007-10-10 11:00:05 -05:00
Lars Müller
22acd49368 r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN. 2007-10-10 11:00:05 -05:00
Jim McDonough
0446319a3b 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.
2007-10-10 11:00:05 -05:00
Lars Müller
cd2c467cc4 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().
2007-10-10 11:00:05 -05:00
Günther Deschner
25fa0e82c1 r8428: some more old printerdb stuff.
Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
9dc4e4f012 r8427: Printerdb has been moved into a tmp branch.
Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
49351d91c5 r8402: allow to build with --enable-aio-support.
Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
b532553b06 r8398: Fix segfault in the client addprinterex-call. Found with "net rpc
printer"-functions.

Thanks to Thomas Di Naro (Novell) for the detailed debug-logs.

Guenther
2007-10-10 11:00:04 -05:00
Günther Deschner
af1aa09cde r8396: fix some compile warnings.
Guenther
2007-10-10 11:00:04 -05:00
Gerald Carter
30b03519c0 r8388: fix typo in installman script 2007-10-10 11:00:04 -05:00
Volker Lendecke
dfa9eef7b6 r8366: Root-level files don't have a slash, but acls need to be settable on
them. Thanks to Brent Trotter for reminding me to commit this :-)

Volker
2007-10-10 10:58:20 -05:00
Volker Lendecke
2d2c49518b r8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
msbackup&filemon.

Thanks,

Volker
2007-10-10 10:58:20 -05:00
Gerald Carter
ea91ee68ad r8330: moving onto 3.0.20rc1-SVN 2007-10-10 10:58:20 -05:00
Gerald Carter
bd87819795 r8327: * don't use unitialized variables 2007-10-10 10:58:20 -05:00
Gerald Carter
0689851a90 r8326: factor out the delete printer code to a delete_printer_hook() for reuse 2007-10-10 10:58:20 -05:00
Gerald Carter
61f14cdcbd r8325: * punt....don't normalize the printer name in the RegCreateKey().
Print Migrator now works as long as the addprinter command can
  handle the name
2007-10-10 10:58:19 -05:00
Gerald Carter
9a27f7181a r8324: * initial cut at creating printers via the registry API
Need to add delete_key support
2007-10-10 10:58:19 -05:00
Gerald Carter
fadda2f240 r8323: * convert RegSetValue() calls immediately beneath the printer
key to PRINTER_INFO_2 fields.
2007-10-10 10:58:19 -05:00
Gerald Carter
a872ea5f0e r8322: * get RegSetValue() working for printer subkey values
(not immediate values below the <printer name> key yet.
2007-10-10 10:58:19 -05:00
Jeremy Allison
8de6b1592a r8292: Tidy up function comments.
Jeremy.
2007-10-10 10:58:19 -05:00
Jeremy Allison
81e7a4a2cf r8290: Fix for bug in SMBwriteBraw where we incorrectly
returned the number of bytes written. Patch from
Marcel Müller <mueller@maazl.de>.
Jeremy.
2007-10-10 10:58:19 -05:00
Volker Lendecke
1ebb3aa0d5 r8231: Patch from James Peach to fix the IRIX build.
Thanks,

Volker
2007-10-10 10:58:18 -05:00