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

15180 Commits

Author SHA1 Message Date
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
Günther Deschner
60e18904e6 r8402: allow to build with --enable-aio-support.
Guenther
(This used to be commit 49351d91c59b2e96ebddb2d721e660dcd90ec815)
2007-10-10 11:00:04 -05:00
Günther Deschner
40035db926 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
(This used to be commit b532553b064f1e9893b39dda903d458055c11f86)
2007-10-10 11:00:04 -05:00
Günther Deschner
36f0225e5f r8396: fix some compile warnings.
Guenther
(This used to be commit af1aa09cde91078496a29f3a73c69a65ca2c3f6a)
2007-10-10 11:00:04 -05:00
Gerald Carter
1d4eb57323 r8388: fix typo in installman script
(This used to be commit 30b03519c0320bdc85ece51aaf814c4b66896df8)
2007-10-10 11:00:04 -05:00
Volker Lendecke
cfda53db8b 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
(This used to be commit dfa9eef7b6892ceb0e67b0c4bfb56431ead1ac3d)
2007-10-10 10:58:20 -05:00
Volker Lendecke
b4da56ce8d r8360: Some ioctl constants, found by Björn Jacke <bj@sernet.de> with
msbackup&filemon.

Thanks,

Volker
(This used to be commit 2d2c49518b7de63ebab2d52008eb726bde6681bc)
2007-10-10 10:58:20 -05:00
Gerald Carter
bff06d34ca r8330: moving onto 3.0.20rc1-SVN
(This used to be commit ea91ee68adb3bd6c07b2556f23a231786d53312d)
2007-10-10 10:58:20 -05:00
Gerald Carter
b5c7572419 r8327: * don't use unitialized variables
(This used to be commit bd878197954cf4d259dfd01f2d4cb4a663b34121)
2007-10-10 10:58:20 -05:00
Gerald Carter
f2ff8bed26 r8326: factor out the delete printer code to a delete_printer_hook() for reuse
(This used to be commit 0689851a90fbd91ff30f6e2afc05d141f6ce082d)
2007-10-10 10:58:20 -05:00
Gerald Carter
1cb4334fb9 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
(This used to be commit 61f14cdcbd3b183caf6172d5b60b0888fc4363f7)
2007-10-10 10:58:19 -05:00
Gerald Carter
e574081ad9 r8324: * initial cut at creating printers via the registry API
Need to add delete_key support
(This used to be commit 9a27f7181adca10f60c47d342a51dec34321e12b)
2007-10-10 10:58:19 -05:00
Gerald Carter
279a2b48b4 r8323: * convert RegSetValue() calls immediately beneath the printer
key to PRINTER_INFO_2 fields.
(This used to be commit fadda2f240eb3c8eb08198c702a93e23b14f0fcc)
2007-10-10 10:58:19 -05:00
Gerald Carter
18609ce1af r8322: * get RegSetValue() working for printer subkey values
(not immediate values below the <printer name> key yet.
(This used to be commit a872ea5f0e29f7b585574a56b52a5eb44cb92278)
2007-10-10 10:58:19 -05:00
Jeremy Allison
e24397f084 r8292: Tidy up function comments.
Jeremy.
(This used to be commit 8de6b1592ad205f59c44ed30102a56594f65e555)
2007-10-10 10:58:19 -05:00
Jeremy Allison
a5b39d1f74 r8290: Fix for bug in SMBwriteBraw where we incorrectly
returned the number of bytes written. Patch from
Marcel Müller <mueller@maazl.de>.
Jeremy.
(This used to be commit 81e7a4a2cfd2d4764d757702f17635e5007e59de)
2007-10-10 10:58:19 -05:00
Volker Lendecke
a32a7969c5 r8231: Patch from James Peach to fix the IRIX build.
Thanks,

Volker
(This used to be commit 1ebb3aa0d5007c470862e3adca92d2941ffa294c)
2007-10-10 10:58:18 -05:00
Jeremy Allison
af8a691db1 r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture
tests on this as it's very late NY time (just wanted to get this work
into the tree). I'll test this over the weekend....
Jerry - in looking at the difference between the two trees there
seem to be some printing/ntprinting.c and registry changes we might
want to examine to try keep in sync.
Jeremy.
(This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10 10:58:18 -05:00
Günther Deschner
22268d7926 r8207: Fix my NT_STATUS_IS_OK mismatch.
Guenther
(This used to be commit 053e892e07936f6b71a6bb5e31be09c1d2a2c837)
2007-10-10 10:58:18 -05:00
Günther Deschner
d303b0203b r8205: try to improve readability of smbldap_search_domain_info()
Guenther
(This used to be commit ca9acd149a36ca36a9a4e2a35b97cae610b3b5ed)
2007-10-10 10:58:18 -05:00
Jim McDonough
e0ffbfc558 r8189: commit vampire ldif patch, mostly from Don Watson (dwatson@us.ibm.com). Yes,
that's my copyright...that's just how we have to do things at big blue.

Adds subcommand to vampire to allow data to be put into an ldif file instead
of actually writing to the passdb.  See "net rpc help vampire" for usage
info.  This should be added to docs as well.
(This used to be commit cb5634a305256a70daa2fcbd85d9a5459b4aeaa3)
2007-10-10 10:58:18 -05:00
Gerald Carter
38e006fe8b r8184: fix build issue on Solaris in smbclient
(This used to be commit 137d270ee3bec297732380050bb53cf6b5487914)
2007-10-10 10:58:15 -05:00
Günther Deschner
5873b41475 r8155: ops, add missing function.
Guenther
(This used to be commit f3da329fa89fad5b994e46251b43325fa4ea853e)
2007-10-10 10:58:15 -05:00
Gerald Carter
2427e00b1d r8152: * remove commented out structure
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer
  port
(This used to be commit 63bc03536b6d0622005448f0f7be2739e06a432a)
2007-10-10 10:58:12 -05:00
Lars Müller
3ddc4877bd r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
(This used to be commit 07845bb4c5a31cb29bf7b8ff6c50e5da84c329e4)
2007-10-10 10:58:12 -05:00
Günther Deschner
944ecbdbb0 r8145: When inventing a new parameter for SFU-support, be aware of Volker's
upcoming changes for "unixinfo"-pipe.

Therefor (after speaking with Volker) replace "winbind sfu support" with
the list-parameter "winbind nss info" which defaults to "template". For
SFU-support set it to "winbind nss info = template sfu".

Note that nss_info_use() is just a dummy function at the moment.

Guenther
(This used to be commit 91596330ea3c4ba0fb9ddc52ad9d4a7c8e5b2d3f)
2007-10-10 10:58:12 -05:00
Günther Deschner
6659095395 r8144: remove unused parameter leftover.
Guenther
(This used to be commit e79e384eb307c6bbe05e07a87dcc6af42a0c0a32)
2007-10-10 10:58:12 -05:00