1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

8029 Commits

Author SHA1 Message Date
Jeremy Allison
2da4d64cfc Added "nt status support" parameter. Fix offline synchronisation.
Jeremy.
(This used to be commit 9243a9778e)
2002-02-27 21:46:53 +00:00
Tim Potter
9e2a06611d Fixed usage of uninitialised variable in strict_allocate_ftruncate()
(This used to be commit b1d56956fe)
2002-02-27 18:06:47 +00:00
Jeremy Allison
b06749d73c Memory leak on error condition fixed by Kian Win <codegrunt@rubbercookie.com>.
Jeremy.
(This used to be commit 9dae1398b4)
2002-02-27 17:48:45 +00:00
Jeremy Allison
c72d16a105 Fixed dumb typo caught by Herb.
Jeremy.
(This used to be commit f7c980d614)
2002-02-27 17:28:22 +00:00
Andrew Bartlett
14c6277840 This should fix up the level 0 'convert_string' debug messages that we have
been seing since the unicode conversion.  It looks like a simple oversight in
the move away from StrnCpy (which takes amount of space -1 as an arg) to
push_ascii etc which take the absolute amount of space.

Andrew Bartlett
(This used to be commit 4447c6bd4d)
2002-02-27 13:18:51 +00:00
Andrew Bartlett
90d264fa76 "user doesn't exist" isn't worthy of a level 1 debug. Make it level 3.
(This used to be commit 339e3982bc)
2002-02-27 12:59:05 +00:00
Andrew Bartlett
b07cdd68b5 This apparently makes winbind work on Solaris again
(This used to be commit b179a5d85f)
2002-02-27 11:50:24 +00:00
Andrew Bartlett
f8711444cf Make this function static
(This used to be commit 85974e6c43)
2002-02-27 11:47:33 +00:00
Gerald Carter
588fbe8f0c fix a few defines
(This used to be commit 0a3363ae68)
2002-02-27 00:05:00 +00:00
Martin Pool
570cdd8529 FIXME: Use next_token rather than strtok!
(This used to be commit d56b8a30c5)
2002-02-26 23:22:02 +00:00
Herb Lewis
361d0f9f7b merge from 2.2 - fix parsing of options
(This used to be commit c849e93392)
2002-02-26 20:04:54 +00:00
Jeremy Allison
62299aa747 bcopy must DIE ! Stop people creeping use of bcopy back into the code
(and yes I know who you are..... :-).
Jeremy.
(This used to be commit 330b0df960)
2002-02-26 17:40:43 +00:00
Andrew Tridgell
97d96862ca This is a nasty hack to fix "xcopy /o" from win2000 on a Samba share
The hack passes the true ntcreate desired_access down to open_file_shared1()
from the ntcreatex function. This is used to determine if share modes
should be used in denying this open.

This hack will become unnecessary when we redo open.c to use the proper
NTCreateX semantics rather than trying to jam the ntcreate semantics into
openX semantics.
(This used to be commit d09ae0c667)
2002-02-26 05:45:33 +00:00
Jeremy Allison
2ff9390245 Fixup the sending of printer change messages from job changes.
Jeremy.
(This used to be commit 28d4e7a3e2)
2002-02-26 03:12:09 +00:00
Tim Potter
2f8452fd49 Merge of printing performance fixes from appliance.
(This used to be commit c8dc59dfe8)
2002-02-25 23:18:05 +00:00
Herb Lewis
f4ab3072a6 add required flags to "nt acl support" so it will show up in SWAT
(This used to be commit d1ccdb5d1c)
2002-02-25 22:17:53 +00:00
Tim Potter
bb117fdca7 Implemented client side functions for SPOOLSS addform, getform, setform and
enumforms.
(This used to be commit e69222f081)
2002-02-25 06:43:31 +00:00
Tim Potter
5cb19078b6 Added error for invalid form size.
(This used to be commit 9a3e127aea)
2002-02-25 06:14:50 +00:00
Andrew Tridgell
c75396cf49 This fixes 4 info levels in a trans2 find_first that should not be null
terminated for the filenames.

this is what caused win2k to go into a loop sending 20000 packets to set
an acl on a directory. It didn't recognise ".." with a null termination as
being ".."
(This used to be commit a75a2e9e2f)
2002-02-25 02:12:38 +00:00
Andrew Tridgell
80592054fb added a "XCOPY" test that simulates the open calls made by xcopy /O
we currently fail this test
(This used to be commit 8095375623)
2002-02-24 08:38:11 +00:00
Jeremy Allison
de494520b0 Only set smb_read_error if not already set.
Jeremy.
(This used to be commit 8220135fd1)
2002-02-23 21:03:21 +00:00
Andrew Bartlett
2a25c0a39b Rerun configure
(This used to be commit a1952415f8)
2002-02-22 04:39:02 +00:00
Andrew Bartlett
06a31c9b3b We can't build shared libs on sco, so no point attempting to export dynamic
symbols.  In any case, it broke the build :-(

Andrew Bartlett
(This used to be commit 8c22ff75d7)
2002-02-22 04:38:28 +00:00
Andrew Bartlett
1d3560bd4c Get rid of the unused WL variable from the previous patch. I think these were
meant to be DYNEXP, but I'll confirm that with the original contributor.

Thanks to vance for spotting this!

Andrew Bartlett
(This used to be commit cf9cae48e6)
2002-02-22 03:29:13 +00:00
Andrew Tridgell
488b01f79a made the domain secret key in secrets.tdb domain specific. This allows
you to join a 2nd domain then leave the old domain rather than the other way
around
(This used to be commit b26b6aef64)
2002-02-22 03:18:37 +00:00
Andrew Tridgell
566fafdb25 don't do an ADS init when not in ADS mode
(This used to be commit 68693ba4e8)
2002-02-22 03:14:58 +00:00
Andrew Bartlett
27439c53c5 Also add the matching example pdb module.
(This used to be commit fbfb7ee896)
2002-02-22 02:57:49 +00:00
Andrew Bartlett
527aaf6def Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.
This allow the user to select
'passdb backend = plugin : /path/to/plugin.so : pluging args'

And load any arbitary plugin.  Apparently Jelmer has a mysql plugin in the
works - hence this patch.

We probably need to rework the interface a bit before 3.0 (add versioning of
some kind) but this is a good start.

Andrew Bartlett
(This used to be commit d6d18b70f0)
2002-02-22 02:47:53 +00:00
Andrew Bartlett
34b31b529e rerun autoconf
(This used to be commit 0ba24c91bf)
2002-02-22 01:54:54 +00:00
Andrew Bartlett
5f65fc0318 Try to catch the compilers that don't handle immidiate structures as well as we
would like.  We use them to initialise other struct (lookup) tables, so test
that as well.

Also try not to segfault during our snprintf tests - test both with a 0 len
buffer and without any buffer at all.

Andrew Bartlett
(This used to be commit 2d80ab7122)
2002-02-22 01:54:17 +00:00
Gerald Carter
5dbe33e3ee merge from 2.2
(This used to be commit 505119f0a7)
2002-02-21 17:30:58 +00:00
Andrew Tridgell
1f6d48f56d added a cli_qfilename() test to the trans2 tests
(This used to be commit 81fb8845e5)
2002-02-21 04:27:16 +00:00
Andrew Tridgell
93ea482597 this fixes the security tab on mapped drives for unicode clients.
Jeremy, this is wrong in 2.2.x
(This used to be commit 367358c738)
2002-02-21 04:26:32 +00:00
Andrew Tridgell
0cbcf49f6c added cli_qfilename(), used in trans2 torture test
(This used to be commit d37905f203)
2002-02-21 04:25:17 +00:00
Gerald Carter
84b18178a9 merge from 2.2
(This used to be commit 63ab947fd9)
2002-02-21 00:55:01 +00:00
Gerald Carter
cef4f9215f merge from 2.2
(This used to be commit 25fb4a8d11)
2002-02-20 23:36:23 +00:00
Andrew Tridgell
aa56d46a0d enable large readwrite by default
this should improve performance with w2k clients and seems to work
fine
(This used to be commit 67a3135e04)
2002-02-20 22:54:23 +00:00
Andrew Bartlett
dc3584b417 This fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)
where we pass the client's name.  We should pass the servers name.

Andrew Bartlett
(This used to be commit aeecb7a06b)
2002-02-20 22:34:35 +00:00
Andrew Bartlett
5294b48bb8 Thanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spotting
this!

(groupname and domain name paramaters swapped, giving 'interesting' results...)

Andrew Bartlett
(This used to be commit 5aed3759d8)
2002-02-20 21:36:12 +00:00
Tim Potter
e026103a97 Converted remaining spoolss rpcclient functions to werror/needed/offered.
I couldn't test some of these because I didn't know the right magic
arguments to pass to rpcclient (familiar anyone? (-:) so there may be some
bugs lurking.
(This used to be commit 029e2b307d)
2002-02-20 18:41:07 +00:00
Andrew Tridgell
287d8da0a0 fixed the gssapi lib configure test to not do the test twice
(This used to be commit 1ce762e96b)
2002-02-20 05:33:47 +00:00
Andrew Bartlett
efa1571b8b Patch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
character set for conversion.  To be used in Winbind and the 'net ads'
commands.

Andrew Bartlett
(This used to be commit fa9d3060ff)
2002-02-19 23:02:39 +00:00
Gerald Carter
6bd2af90cb merge from 2.2 and regenerate
(This used to be commit b1cbc23d82)
2002-02-19 16:59:27 +00:00
Gerald Carter
34ab184446 merge from 2.2
(This used to be commit 8b357e6551)
2002-02-19 16:47:59 +00:00
Andrew Bartlett
d04aeaace9 in dos_unmangle() the only function call was to *mangle()*. Adding the
'un' dramaticly increses the functionality of this code :-).

Andrew Bartlett
(This used to be commit 15b9b63db5)
2002-02-19 06:13:16 +00:00
Tim Potter
902cc03807 Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.
(This used to be commit fccfa034e9)
2002-02-19 02:12:01 +00:00
Tim Potter
25d8d308c8 make proto
(This used to be commit 98d3ea19b0)
2002-02-19 02:11:01 +00:00
Gerald Carter
2ef886855c merge from 2.2
(This used to be commit 9e96cbe241)
2002-02-19 02:10:08 +00:00
Tim Potter
9a0a35d09a Converted cmd_spoolss_enumprinterdrivers() to use new
cli_spoolss_enumprinterdrivers() function.
(This used to be commit ae38fcf62c)
2002-02-19 01:06:55 +00:00
Tim Potter
e13465b19a Added cli_spoolss_initialise() function.
Converted cli_spoolss_enumprinterdrivers() to pass offered and *needed as
parameters and return a WERROR.
(This used to be commit b595c25829)
2002-02-19 01:06:14 +00:00