1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

7971 Commits

Author SHA1 Message Date
Gerald Carter
588fbe8f0c fix a few defines
(This used to be commit 0a3363ae686205c416c75e16f8d6ee55dc4366b5)
2002-02-27 00:05:00 +00:00
Martin Pool
570cdd8529 FIXME: Use next_token rather than strtok!
(This used to be commit d56b8a30c5ca55b718ad706875aa6579a48a0768)
2002-02-26 23:22:02 +00:00
Herb Lewis
361d0f9f7b merge from 2.2 - fix parsing of options
(This used to be commit c849e93392e3206b010949566a65a339f5064031)
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 330b0df960329bcf4696b8fa4a7357e6c456f74e)
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 d09ae0c667a94fcf870c0fc7f97119266a650d45)
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 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
2002-02-26 03:12:09 +00:00
Tim Potter
2f8452fd49 Merge of printing performance fixes from appliance.
(This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)
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 d1ccdb5d1cb3d624285b13e662153e1e74ba3d71)
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 e69222f0816878e3211e3dedb049de50ca90fed0)
2002-02-25 06:43:31 +00:00
Tim Potter
5cb19078b6 Added error for invalid form size.
(This used to be commit 9a3e127aeacb01f5a642013a46148eaa31f41482)
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 a75a2e9e2f11e27ca8a7fbad8c0108a2aee0a690)
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 8095375623cc19f7aad497bf39d5370d032ebdbf)
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 8220135fd16b4a1778e49f8315f64754924af0d8)
2002-02-23 21:03:21 +00:00
Andrew Bartlett
2a25c0a39b Rerun configure
(This used to be commit a1952415f8c6712be316f2fa77405d06b5e305d7)
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 8c22ff75d732ed588f8e6d8339c7057bb147d2de)
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 cf9cae48e66a14530b5cc5452a4767479de7ef82)
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 b26b6aef64e1042c9867a13761ded0c3c6f9670f)
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 68693ba4e80257bf895b1c8db18c138d5d9919bb)
2002-02-22 03:14:58 +00:00
Andrew Bartlett
27439c53c5 Also add the matching example pdb module.
(This used to be commit fbfb7ee896469e79043fab02481bacd2621a302d)
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 d6d18b70f0c377344b0b3d9df5a11d209793bfe0)
2002-02-22 02:47:53 +00:00
Andrew Bartlett
34b31b529e rerun autoconf
(This used to be commit 0ba24c91bf3f6e56e2bd32a6c4c1bbc23cb48527)
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 2d80ab7122f34d3bf31cddd26a63929f9c2ced77)
2002-02-22 01:54:17 +00:00
Gerald Carter
5dbe33e3ee merge from 2.2
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)
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 81fb8845e5c9a321f113258a737ce5c6e799e505)
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 367358c7389555f413b3c690c012ef067859fc22)
2002-02-21 04:26:32 +00:00
Andrew Tridgell
0cbcf49f6c added cli_qfilename(), used in trans2 torture test
(This used to be commit d37905f20397911e4f74e672ebdee28f1ddf3c2c)
2002-02-21 04:25:17 +00:00
Gerald Carter
84b18178a9 merge from 2.2
(This used to be commit 63ab947fd9dd17a4c370402e74b389458bbd3a60)
2002-02-21 00:55:01 +00:00
Gerald Carter
cef4f9215f merge from 2.2
(This used to be commit 25fb4a8d110bcdcbe7822a833cab9cfdec8a1fb2)
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 67a3135e044b40467d0d06d271ed981768700b95)
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 aeecb7a06b006e69879f00699f4b8b6497553d19)
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 5aed3759d8edbe59df8c1ea70827c4b931393134)
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 029e2b307d91171168040e71d2e5d5e0d01b7633)
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 1ce762e96b8d4c39488b59fa73456fe6f2012567)
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 fa9d3060ff7510e176d7608b49075379500f55c4)
2002-02-19 23:02:39 +00:00
Gerald Carter
6bd2af90cb merge from 2.2 and regenerate
(This used to be commit b1cbc23d82cfca1179d6be1e11b8bea2d0acdc9e)
2002-02-19 16:59:27 +00:00
Gerald Carter
34ab184446 merge from 2.2
(This used to be commit 8b357e6551c3a91aa7017ae8dcf38558f15f1c0b)
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 15b9b63db57901fbfa3d62b64212742f361ee519)
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 fccfa034e92bca145b8e0639e405f6af5bb1a50b)
2002-02-19 02:12:01 +00:00
Tim Potter
25d8d308c8 make proto
(This used to be commit 98d3ea19b0755cf59102c479ddbbfe62bd653d74)
2002-02-19 02:11:01 +00:00
Gerald Carter
2ef886855c merge from 2.2
(This used to be commit 9e96cbe24149c8d0ed4f3a1f1d5ea736ba5dca56)
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 ae38fcf62c4b9503d4df02761dadb1bb7d166a9c)
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 b595c258295ecc4824fe89ba1136c778a1700e28)
2002-02-19 01:06:14 +00:00
Andrew Tridgell
88514f7d1c we definately don't want RCS $id tags in Samba. They make merging much
harder.
(This used to be commit 6d33b30929e323276e7fc21012983d691a4f8827)
2002-02-18 22:12:21 +00:00
Andrew Tridgell
ab02132b6c fixed a memory leak thanks to dleducq@arkoon.net
(This used to be commit e84c7400175c86c4c79922182115ea1f0948186c)
2002-02-18 11:39:36 +00:00
Andrew Tridgell
c2729d59a6 serialise all domain auth requests
this is needed because W2K will send a TCP reset to any open
connections that have not done a negprot when a second connection is
made. This meant that under heavy netlogon load a Samba domain member
would fail authentications.

Jeremy, you may wish to port this to 2.2.x
(This used to be commit eb196070e62b45b113e5712f27198c50c5c95657)
2002-02-18 11:07:57 +00:00
Andrew Tridgell
1736b99a50 reverted tims patch that broke configure
why does anything but smbd care about sec_init() anyway??
(This used to be commit 569505b77140c2688aeab4df058b864464f23c1d)
2002-02-18 10:23:02 +00:00
Tim Potter
606fdc7c5c Whoops, typo.
(This used to be commit e7abb79fb304b34aeb369dc6deafa96dfd1e02f3)
2002-02-17 18:56:30 +00:00
Tim Potter
5536284706 Remove dynconfig.{o,po} in clean target.
(This used to be commit 9c1c25db792d58f451df3736f1b875c493e7d67c)
2002-02-17 18:38:01 +00:00
Tim Potter
d159876d64 Do a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
without before sec_init().  This should avoid the formation of another
magic function club.  (-:
(This used to be commit 1b941e2c637e41049932945607149094342359c5)
2002-02-17 18:32:59 +00:00
Tim Potter
e1a65ecd0d int -> uint32
(This used to be commit 5efe39af0c89e549bb8211a39a949f80f6d1bf78)
2002-02-17 18:30:01 +00:00