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

3698 Commits

Author SHA1 Message Date
Jeremy Allison
0811d080ab Inlined many of the vfs_XXX calls as macros for speed.
Jeremy.
-
Jeremy Allison
b07611f815 Restructuring of vfs layer to include a "this" pointer - can be an fsp or
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
Andrew gets credit for this one :-) :-).

In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
-
Jeremy Allison
d4d5548839 Fix for null passwords being allowed bug.
Jeremy.
-
Jeremy Allison
623bfa6c93 Fixes from Damian at Cisco to tidy up some tdbtool issues.
Jeremy.
-
Jeremy Allison
b90af886a9 Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be added
above this layer.
Jeremy.
-
Jeremy Allison
7914e9351a Herb's fixes for profiling & compiler warnings.
Jeremy.
-
Jean-François Micouleau
3664e80fcd someone forgot to update proto.h :-)
J.F.
-
Jean-François Micouleau
83bfe94771 fixing prs_unistr2(). For the special case of an empty (but existing)
string.

	J.F.
-
Tim Potter
178e697100 Spelling flames. (-: -
Tim Potter
2817b6cc8a Added uid and gid to push_sec_ctx() debug. -
Tim Potter
ec7f7e350d Fixed compiler warnings. -
Jeremy Allison
b0c40236bb Made re-init of stat cache explicit rather than being hidden.
Jeremy.
-
Jeremy Allison
d131ad1ce3 Adding Herb's compile warning fixes to HEAD.
Jeremy.
-
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.
-
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
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.
-