1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

4342 Commits

Author SHA1 Message Date
Jeremy Allison
f2f373df67 Fixes for the fact that UNICODE sizes are no always 2*no of chars when
in multibyte codepages. Fix from Hiroshi MIURA, Samba User Group Japan staff.
Jeremy.
-
Jeremy Allison
d9d3668fa3 Fixes from Herb - compiler warnings.
Jeremy.
-
Jeremy Allison
b40191d271 utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.
mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>.
jeremy.
-
Jeremy Allison
1ebe54666b Memleak fix for cache code.
Jeremy.
-
Jeremy Allison
c1de97f96b Added debug so if zero length messages get sent we successfully remove
them (this can happen if smbd processes are shut down at the wrong time).
Jeremy.
-
Jeremy Allison
3733d29ce6 Missing null termination on printer changenotify message caused insure
error.
Jeremy.
-
Jeremy Allison
dd9f668108 utils/smbcontrol.c: Fixes from Herb for interactive use.
printing/nt_printing.c: No C++ comments please :-).
Jeremy.
-
Herb Lewis
8a7d6c8e91 new man pages -
Andrew Tridgell
3e77bf2117 new prototypes -
Andrew Tridgell
d8b9ec741c added a hack to get 64 bit locking working with the broken fcntl()
call in glibc 2.1.95. This hack only gets enabled if you define
GLIBC_HACK_FCNTL64
-
Andrew Tridgell
1ece7f1ffd use the 64 bit locking interface in locktest -
Andrew Tridgell
0e0f3dc577 fixed a harmess mixup of bitops and a boolean -
Andrew Tridgell
91f0a3cc2f added cli_lock64() and cli_unlock64() -
Jeremy Allison
f5b5b9f287 Missing from HEAD and 2.2 - terminal server reg config.
Jeremy.
-
Jeremy Allison
837839eb3d Fix from John Reilly for forms ordering problems.
Jeremy.
-
Jeremy Allison
dcbdff7a4d Removed a line by mistake...
Jeremy.
-
Jeremy Allison
1a3f7ecde2 Added comment on JF's new code. Removed ifdef in passdb/smbpass.c as this
was not correct.
Jeremy.
-
Jean-François Micouleau
416be1b64f fixed samr_create_user(). we now correctly parse the query and the reply.
And we create the disabled account. That means we can create user and
trust accounts remotely !

ifdef out a return in passdb/smbpass.c. I think I didn't break any
security. Jeremy could you check if I didn't make any mistakes ???

	J.F.
-
Tim Potter
b1a893b741 Removed annoying unecessary debug message. -
Jeremy Allison
563f8b09a8 Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" <jmcd@us.ibm.com>.
Jeremy.
-
Jeremy Allison
f96625ec12 Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
-
Jean-François Micouleau
0f707ac1fb samr unknown 0x32 is in fact samr create user.
so renamed and tidy up of the server function.

	J.F.
-
Jean-François Micouleau
d56cc6ebe7 ignore smbcontrol in bin directory
J.F.
-
Herb Lewis
eecee22bf1 fix for IRIX 6.2 compiler error -
Herb Lewis
f2549db1ce fix for IRIX compiler error messages -
Herb Lewis
908da12d5f fixed IRIX compiller error message -
Jean-François Micouleau
0374bc4b5f broadcast printer notify message to all clients. We now have printer
notification as on NT.

Andrew, your message passing code is cool :-)

	J.F.
-
Luke Leighton
b211793318 added NEGNOWAIT. sent to secure@microsoft.com -
Jeremy Allison
0a9ccc99b3 Changes from John Reilly to add a parameter "show add printer wizard" that
allows Samba to turn off the display of APW (hmmm. This should probably
be a share specific parameter, I'll fix that in another commit).
Also a few small changes to JF's code to fix compiler warnings about
missing return statements and also change '//' comments (C++) to /* .. */
comments (C).
Jeremy.
-
Jean-François Micouleau
4c63c91858 printer notify code.
It only sends notifies to one client. The broadcasting notify code will
code soon.

	J.F.
-
Jeremy Allison
915152ed98 Optimization (noticed by bloody Andrew :-) to stop directory scan ever
being done if any of the directory timestamps were changed.
Jeremy.
-
Jeremy Allison
f0c16f7228 Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs are
closed before a printer is closed/deleted.
Jeremy.
-
Jeremy Allison
f0aa8f9314 Some code moved back from TNG - updates to LSA stuff. Not yet used but
will be needed soon.
Jeremy.
-
Jeremy Allison
07dffc4ee9 Fix to allow a timestamp of zero to cause an instantaneous changenotify
scan - then call this from renames. This allows instantaneous update for
W2k renames.
Jeremy.
-
Jeremy Allison
d666b958bc param/loadparm.c: Fix based on Damian's code to stop printer scripts getting overwritten.
rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays.
Win2000 now does "Add Printer" successfully !!!!!

Jeremy.
-
Tim Potter
ce70fb5800 Modified test.h generator to return error if structure passed to vluke
doesn't match any known structure names.
-
Tim Potter
807f22412e Removed emacs backup file from repository. -
Jean-François Micouleau
cd41d7a354 in a printer_info_6, driver version is 64 bits long and there is a 32 bit
padding before.

	J.F.
-
Jeremy Allison
63a7d0fc35 Fixes from JF as I didn't understand the string array sizing code correctly.
Jeremy.
-
Jeremy Allison
e5d98ba9e9 Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -
not sure why (JF - a glance at this would be appreciated). Removed code
that JF objected to with enumprinterdata. Added translations to/from
level 6 - but Win2k still not happy... hmmm...
Jeremy.
-
Gerald Carter
d4a60f2233 Placeholder for some forthcoming documentation
jerry
-
Gerald Carter
d2949468dc fixed typo
jerry
-
Gerald Carter
d675a6bd14 Added a gew more mods by Patrick Powell (lprng guy)
jerry
-
Gerald Carter
c9a76a2e10 First draft of new printing doc describing the SPOOLSS support in the
upcoming 2.2.0 release.

Needs some other eyes to review it.  :-)



jerry
-
Jeremy Allison
29f41d0d95 Ensure old DACL and SACL are preserved if the new SD is a 'set' only.
Jeremy.
-
Jeremy Allison
79c94f37d0 Added SIGHUP when printer deleted as well as added.
Jeremy.
-
Andrew Tridgell
5207496097 don't show equivalent enum options in swat -
Andrew Tridgell
5f91c24636 first cut at smbcontrol program. It currently allows syntax like:
smbcontrol nmbd debug 7
  smbcontrol smbd debug 9
  smbcontrol 3278 debug 1
  smbcontrol nmbd force-election
-
Tim Potter
a15e610bb3 When creating a print job entry for the printing backend, use the Windows
username rather than the Unix username.  The Windows username will then be
shown in the port monitor regardless of the Unix username used to spool the
job.
-
Jeremy Allison
0249de4cd9 Added time check test before allowing print job.
Jeremy.
-