Tim Potter [Thu, 30 Mar 2000 06:42:34 +0000 (06:42 +0000)]
Fixed spelling of Andrew's name. (-:
(This used to be commit
b912fb7dd239ce18a9b2e4ffaf1785d32899dc9f)
Andrew Tridgell [Thu, 30 Mar 2000 00:34:15 +0000 (00:34 +0000)]
I finally got sick of configure being run automaticaly when I run make
clean or in other situations. That then screws up options I pass to
configure and is generally annoying.
Instead the Makefile now emits a warning if configure needs
rerunning, but doesn't actually run it.
don't re-enable the auto running of configure on pain of death :)
(This used to be commit
ea769a280fa85b09463f6bb6e5fc9eaba5641a62)
Jeremy Allison [Wed, 29 Mar 2000 23:03:48 +0000 (23:03 +0000)]
Added check for LL suffix to long long ints needed by AIX 4.3.x compiler
to allow successful build.
Jeremy.
(This used to be commit
567713a07c089ab3ebb4c9b96087777de154b601)
Jeremy Allison [Wed, 29 Mar 2000 22:19:58 +0000 (22:19 +0000)]
Fixed bug found by JF where if the amount of data to return in the prs_struct
was small enough to pass the SMBtrans max data test we weren't setting the
"more data needed" error. I was fogetting the RPC_HEADER_LEN.... I now
check the correct length (current pdu staging area length). More printer
spool enum stuff works now. This bug does not affect TNG.
Jeremy.
(This used to be commit
1c9d2c016a78b0ed11dc68adeabb709903444837)
Jeremy Allison [Wed, 29 Mar 2000 21:30:52 +0000 (21:30 +0000)]
Cause nmbd to ignore loopback interface when constructing its interface list. This is done by default when interfaces are probed, but if someone
explicitly adds 127.0.0.1 to the interfaces line for smbd, then nmbd would
start to try and register names on it. This was not good :-(.
Jeremy.
(This used to be commit
cc3ad825214686ad03dd4176d0c55290d1de6221)
Jean-François Micouleau [Wed, 29 Mar 2000 14:49:05 +0000 (14:49 +0000)]
split addprinterex in preparation for level 1 support and to stop it
coredump.
J.F.
(This used to be commit
aea47dee7d85310f35309ecfa91d0b87e632a33f)
Jean-François Micouleau [Wed, 29 Mar 2000 12:36:44 +0000 (12:36 +0000)]
rewrote getprinterdriver level 3, now correctly handle the dependent
files.
A number of memleak fixed
some error return values fixed.
J.F.
(This used to be commit
c212fbe009fe556d5329b5d7106159cf21402d82)
Tim Potter [Wed, 29 Mar 2000 07:44:23 +0000 (07:44 +0000)]
More Japanese filename fixes wrt VFS code from
Tomoki AONO <aono@cc.osaka-kyoiku.ac.jp>
(This used to be commit
a9b628ebaa90e464366d0284226753f31439af9f)
Andrew Tridgell [Tue, 28 Mar 2000 03:03:34 +0000 (03:03 +0000)]
damn, the test was the wrong way around for short_resuest
(This used to be commit
1ac46c40118fce9443141ce19506d124a873b73d)
Jeremy Allison [Tue, 28 Mar 2000 02:38:59 +0000 (02:38 +0000)]
Win2k will only accept volume labels in UNICODE. Fixed.... :-(.
Jeremy.
(This used to be commit
676db02f1cd7cb81c58cbbdd3bc94da17dad5227)
Jeremy Allison [Tue, 28 Mar 2000 02:20:57 +0000 (02:20 +0000)]
Moved common code to set parameter offset field correctly oout of 'if'
statement into main function code path.
Jeremy.
(This used to be commit
f15ca0d9273d718534ba2fdd2ccd14ab90a95c8b)
Jeremy Allison [Mon, 27 Mar 2000 20:25:34 +0000 (20:25 +0000)]
Fixed crash bug in new handle_netbios_name code.
Jeremy.
(This used to be commit
26963f2f8ec923991efecf6ac177fb17e7a924b0)
Andrew Tridgell [Mon, 27 Mar 2000 12:38:45 +0000 (12:38 +0000)]
changed the definition of dos_PutUniCode
the previous definition could result is us overflowing a buffer. The
null termination was always added yet the size returned did not
include the null termination.
the new function takes a BOOL null_terminate, and always returns the
total number of bytes consumed by the string.
(This used to be commit
426c90433396a95033eefcc4af97603abc934221)
Andrew Tridgell [Mon, 27 Mar 2000 12:19:58 +0000 (12:19 +0000)]
the final part of the nmbd merge between head and tng - this gets the
GETDC stuff sorted out
(This used to be commit
f6b56ae93e47a54317f2711533ec8208d5cbc8a9)
Andrew Tridgell [Mon, 27 Mar 2000 08:34:26 +0000 (08:34 +0000)]
fixed the hanlding of recursion desired when sending packets from
nmbd. It does NOT follow the rule that packets to the wins server have
rec_des set (I know that we have postulated this in the past). Please
don't screw with this unless you do careful testing from WinXX
clients.
Luke and I spent a couple of hours today getting this right (it was
wrong in both TNG and HEAD)
(This used to be commit
9eda2e27b74d95975e481d92930ef87de7006919)
Luke Leighton [Mon, 27 Mar 2000 01:33:43 +0000 (01:33 +0000)]
moved nmblib-specific code from util.c to nmblib.c.
(This used to be commit
1b9077a1d5295bc8522b83ebed2d41d5dbd28a27)
Luke Leighton [Mon, 27 Mar 2000 00:52:33 +0000 (00:52 +0000)]
rename static reload_services function to reload_nmbd_services because
it clashes with other reload_services definitions.
(This used to be commit
affaf9c5411e533a77621574d356e886eea93465)
Andrew Tridgell [Sun, 26 Mar 2000 23:16:07 +0000 (23:16 +0000)]
when doing a "secure nbns" wack response and check with owner for a
multihomed registration we were sending the packet to the wrong host!
We sent it to the person trying to register rather than to the person
who currently holds the name. That means we were not secure and we
could allow two people to register the same name.
Jeremy, you may wish to merge this change into 2.0.X
(This used to be commit
94ca1d1250d12918311a402cc689050ba1d06e24)
Andrew Tridgell [Sun, 26 Mar 2000 23:13:12 +0000 (23:13 +0000)]
merge from tng ...
reload services can be static
(This used to be commit
b13a903720a6ef789ee7d688c05be2e77584580e)
Andrew Tridgell [Sun, 26 Mar 2000 09:20:47 +0000 (09:20 +0000)]
load smb.conf and interfaces in masktest (to allow for netbios name
resolution)
(This used to be commit
f007531742f5570d5b9b8cb20cab19cd1ab1bfed)
Jeremy Allison [Sat, 25 Mar 2000 01:37:08 +0000 (01:37 +0000)]
rpc_parse/parse_spoolss.c: Added checks on mallocs/overflow checks on all prs_xx
calls.
smbd/connection.c: Fix from David Lee <T.D.Lee@durham.ac.uk>.
Jeremy.
(This used to be commit
53721fbc7d2a986cf999b8f031a2d9003c0dccae)
Jeremy Allison [Wed, 22 Mar 2000 20:39:31 +0000 (20:39 +0000)]
Correctly convert from little-endian UNICODE to dos_codepage when doing
secure file create.
Jeremy.
(This used to be commit
90134dd13721f60d4fb05ce9434b65e95ff09629)
Jeremy Allison [Wed, 22 Mar 2000 19:03:12 +0000 (19:03 +0000)]
acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.
include/byteorder.h: Added alignment macros.
include/nameserv.h: Added defines for msg_type field options - from rfc1002.
lib/time.c: Typo fix.
lib/util_unistr.c: Updates from UNICODE branch.
printing/nt_printing.c: bzero -> memset.
smbd/connection.c: Added check for UT_SYSLEN for utmp code.
Other fixes : Rollback of unapproved commit from Luke.
Please *ask* next time before doing large changes to HEAD.
Jeremy.
(This used to be commit
f02999dbf7971b4ea05050d7206205d7737a78b2)
Luke Leighton [Wed, 22 Mar 2000 11:03:32 +0000 (11:03 +0000)]
disabled the getgrent() code recently added that returns all unix groups
as NT aliases. no allowance is made for possible clashes with some
unix groups that may be mapped to NT groups, not NT aliases.
it is not the place of this code to make decisions about which unix
groups should be mapped to NT aliases or NT groups, or in fact whether
unix groups exist at all (e.g "appliance" mode).
please could the person who wrote this code contact me and i will outline
the architecture and design issues that you need to be aware of when
working in this area: i need your skills and ability -- applied in the
right places.
thank you.
(This used to be commit
67d9b3733f7f3ffab0ff6e78de7638fb469195e6)
Luke Leighton [Wed, 22 Mar 2000 10:55:01 +0000 (10:55 +0000)]
disabled code from HP that replaced get_sampwd_entries() with
get_passwd_entries(). get_sampwd_entries() calls the generic
SAM pwdb API, whereas get_passwd_entries() calls the Unix database
explicitly.
this will result in LDAP, MYSQL, NISPLUS and any other future modules
(e.g "appliance" mode SAM database) failing to operate correctly.
i know what problem was attempted to be fixed, here, but this is
not the right place to attempt to fix it.
(This used to be commit
04fa6a02739671fa02b531ae47e5d24c54753331)
Luke Leighton [Wed, 22 Mar 2000 10:26:09 +0000 (10:26 +0000)]
added the following message to all dce/rpc client/server code, except
the spoolss code (it's cut from TNG) and the smb-dce/rpc interface
code that jeremy has been working up to TNG-functionality.
i also want this message to go into SAMBA_2_0 and SAMBA_2_0_RELEASE,
because it is intolerable that potentially good modifications be made
to code that is going to be thrown away, and people waste their time
fixing bugs and adding enhancements that have already been carried
out already, up to two years ago in the TNG branch.
/*
* THIS CODE IS OUT-OF-DATE BY TWO YEARS, IS LEGACY DESIGN AND VERY, VERY,
* INCOMPLETE. PLEASE DO NOT MAKE ANY FURTHER ENHANCEMENTS TO THIS CODE
* UNLESS THEY ARE ALSO CARRIED OUT IN THE SAMBA_TNG BRANCH.
*
* PLEASE DO NOT TREAT THIS CODE AS AUTHORITATIVE IN *ANY* WAY.
*
* REPEAT, PLEASE DO NOT MAKE ANY MODIFICATIONS TO THIS CODE WITHOUT
* FIRST CHECKING THE EQUIVALENT MODULE IN SAMBA_TNG, UPDATING THAT
* FIRST, *THEN* CONSIDER MAKING THE SAME MODIFICATION IN THIS BRANCH
*
* YOU WILL, ALMOST GUARANTEED, FIND THAT THE BUG-FIX OR ENHANCEMENT THAT
* YOU THINK IS NECESSARY, HAS ALREADY BEEN IMPLEMENTED IN SAMBA_TNG.
* IF IT HAS NOT, YOUR BUG-FIX OR ENHANCEMENT *MUST* GO INTO SAMBA_TNG
* AS THE SAMBA_TNG CODE WILL REPLACE THIS MODULE WITHOUT REFERENCE TO
* ANYTHING IN IT, WITH THE POSSIBLE RISK THAT THE BUG-FIX OR ENHANCEMENT
* MAY BE LOST.
*
* PLEASE OBSERVE AND RESPECT THIS SIMPLE REQUEST.
*
* THANK YOU.
*
* lkcl@samba.org
*/
(This used to be commit
cfaea90529be222f8df0e20a7ca1289f99c29e09)
Luke Leighton [Tue, 21 Mar 2000 21:08:07 +0000 (21:08 +0000)]
indent update to make t easier to see setuid mods in TNG. some
code from these modules i had to leave out (nothing to do withj setuid)
(This used to be commit
96717211edcc389daa4494907251ffb79ffa56d9)
Jeremy Allison [Tue, 21 Mar 2000 18:33:08 +0000 (18:33 +0000)]
Added preliminary user list code from HP. Needs to be made dynamic
and backended with a tdb database so the list can be shared between
multiple smbds. ToDO.
Jermey.
(This used to be commit
171222ce22595743a052e5c3d4428ce916d7c345)
Jeremy Allison [Mon, 20 Mar 2000 21:42:15 +0000 (21:42 +0000)]
Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2
server.
Jeremy.
(This used to be commit
ce1c36541255b51ae429e530c0ebf016009ab84e)
Jeremy Allison [Thu, 16 Mar 2000 20:55:37 +0000 (20:55 +0000)]
Fixes to add "paranoid" option to popen. Checks some basic things.
Jeremy
(This used to be commit
3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
Herb Lewis [Thu, 16 Mar 2000 17:58:08 +0000 (17:58 +0000)]
removed extra arguements from make_nmb_name calls
(This used to be commit
d97f5d57d07b03c1df69099625b9d3faabe3f605)
Jean-François Micouleau [Thu, 16 Mar 2000 16:23:38 +0000 (16:23 +0000)]
fix a bug in enumprinterdrivers
J.F.
(This used to be commit
a8d04c26da601cb97e66c27c7ad21dd672fcec2d)
Herb Lewis [Thu, 16 Mar 2000 06:44:27 +0000 (06:44 +0000)]
use parameters to minimize changes in samba for irix release version
(This used to be commit
2b0d05d81c485707e3e6727a38d5782ec6d9ce7e)
Herb Lewis [Thu, 16 Mar 2000 06:40:07 +0000 (06:40 +0000)]
use proper parameter names instead of alias names
clear lppause and lpresume commands since they don't exist on IRIX
change spool directory
(This used to be commit
f6404f0b55dc0d098c1ad951d84093d3e763b28e)
Jeremy Allison [Wed, 15 Mar 2000 18:00:30 +0000 (18:00 +0000)]
Fix from NAKAJI Hiroyuki for a trailing '\n\ in asctime.
Jeremy.
(This used to be commit
87df97c9365a185e4ea6bac7b832b8cf38144624)
Jeremy Allison [Tue, 14 Mar 2000 22:04:35 +0000 (22:04 +0000)]
Fixed parsing issue with HP printer defs reported by HP.
Jeremy.
(This used to be commit
035272e6bcc8c43bf4521e4a20b0c35b0901e904)
Tim Potter [Mon, 13 Mar 2000 23:20:01 +0000 (23:20 +0000)]
Adding libtool support to HEAD branch. We're going to need this for
various things yet to be merged from TNG. The smbwrapper stuff should
probably be ported across too.
(This used to be commit
b183c24220154b33fbb1c1712d1ef819ef4e1290)
Jeremy Allison [Mon, 13 Mar 2000 20:05:18 +0000 (20:05 +0000)]
include/smb.h:
smbd/negprot.c:
smbd/reply.c: Fixes to recognise Win2k.
param/loadparm.c: Put debug timestamp parameter back to correct default.
smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create.
Jeremy.
(This used to be commit
bb100352ab2f98fab3978008d269920e03efcf6d)
Jean-François Micouleau [Mon, 13 Mar 2000 19:34:04 +0000 (19:34 +0000)]
oops ! forgot smb.h in last commit
added info level 1 parsing code for addprinter(ex)
J.F.
(This used to be commit
4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409)
Shirish Kalele [Mon, 13 Mar 2000 18:18:36 +0000 (18:18 +0000)]
Cleaning up call_trans2getdfsreferral.
Instead of a #ifdef MS_DFS in call_trans2getdfsreferral()... , now using a generic call leading to some #define problems.. hopefully I've corrected the last of them.
(This used to be commit
b5a489fbb808cc7c8ff2338344ef2dae8e351e44)
Shirish Kalele [Mon, 13 Mar 2000 17:38:13 +0000 (17:38 +0000)]
Cleaned up call_trans2getdfsreferral for when MS_DFS is not defined.
(This used to be commit
2b99318341a3f3a3ac138fe96ad271726bf1552c)
Jean-François Micouleau [Mon, 13 Mar 2000 15:53:02 +0000 (15:53 +0000)]
small fix for addprinterex at level 2
I have some network dumps at level 1, but quoting MSDN: "Level [in]
Specifies the version of the structure to which pPrinter points. This
value must be 2."
I like NT so much :-)
J.F.
(This used to be commit
fbf40c6a9140a27e773d59eaf056c9e25659d9b8)
Jean-François Micouleau [Mon, 13 Mar 2000 11:21:03 +0000 (11:21 +0000)]
Interim fix for LPRng. If a lpq parsed line start with a space, we skip
it, to prevent false status return value.
Jeremy, it's a gross hack but you should consider it for 2.0.7 also.
J.F.
(This used to be commit
2b1663ec13d9c481fb535c757744068919201f6a)
Jean-François Micouleau [Mon, 13 Mar 2000 11:09:20 +0000 (11:09 +0000)]
parse correctly getprinterdriver2
found a stupid bug in enumprinters
fixed some memleaks
found a coredump in enumprinterdata
getprinterdriverdir responds correctly now.
J.F.
(This used to be commit
07f2e194ba61e72320636fb7e5d0f041e255868b)
Jean-François Micouleau [Mon, 13 Mar 2000 11:05:59 +0000 (11:05 +0000)]
moved #endif to end of function to compile when dfs is disabled.
J.F.
(This used to be commit
b534fb03b1ef39e5362c29a05cca53782cd157f7)
Tim Potter [Mon, 13 Mar 2000 01:35:09 +0000 (01:35 +0000)]
Added standard shell command thing using '!' as first character.
(This used to be commit
829e645f62ffa16041c0cc126174d6fe8f63a2f0)
Jeremy Allison [Sat, 11 Mar 2000 01:28:57 +0000 (01:28 +0000)]
Fix stupid logic bug in detecting start-of-pdu in writeX on pipe.
Found by JF.
Jeremy.
(This used to be commit
8315583694249278c57948406c1f48e2128f2b08)
Jeremy Allison [Sat, 11 Mar 2000 01:02:45 +0000 (01:02 +0000)]
You *must* use O_EXCL when using mktemp (security issue).
Glad this code never shipped :-).
This is not a problem in 2.0.x.
Jeremy.
(This used to be commit
a0c302f4d03ab07d697115fa8520d0cb0b2ba616)
Shirish Kalele [Fri, 10 Mar 2000 23:13:11 +0000 (23:13 +0000)]
Cleaned up unused variables, returns from non-void functions etc.
(This used to be commit
6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)
Shirish Kalele [Fri, 10 Mar 2000 23:05:53 +0000 (23:05 +0000)]
Cleaning warnings from configure.developer
(This used to be commit
c48579a4fc6c17126712f3a9a9c5212063a6a24d)
Shirish Kalele [Fri, 10 Mar 2000 22:53:36 +0000 (22:53 +0000)]
Cleaning up the warnings from configure.developer.
Found that Jeremy had already made some of the changes.
(This used to be commit
ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
Jeremy Allison [Fri, 10 Mar 2000 22:25:02 +0000 (22:25 +0000)]
Fix for names with spaces and some I18N filename issues from
V. Fyodorov <V.Fyodorov@VAZ.RU>.
Jeremy.
(This used to be commit
4673aa1a4b133338715059174813b8e29d093972)
Jeremy Allison [Fri, 10 Mar 2000 19:50:03 +0000 (19:50 +0000)]
Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
Partially implemented rpc daemon redirect (needs more work).
Jeremy.
(This used to be commit
a462191698fa589ceac4afd14c652adf699eccad)
Luke Leighton [Fri, 10 Mar 2000 18:10:10 +0000 (18:10 +0000)]
you know, when you do a cvs commit, you _really_ expect it to actually work.
this explains why j-f wasn't happy.
(This used to be commit
c51e38214a5323d0aa9b6dcd948a76ddc29f5305)
Jean-François Micouleau [Fri, 10 Mar 2000 17:12:24 +0000 (17:12 +0000)]
getprinter level 0: was to short, found most of the fields, undocumented,
undecoded, nothing in MSDN, but now it works :-)
cleanup of error codes.
fixed some dfs declarations function.
J.F.
(This used to be commit
87da4404aba29a2ebd999886e4c06958c96d3e05)
Jean-François Micouleau [Fri, 10 Mar 2000 17:06:12 +0000 (17:06 +0000)]
removed unused variable
J.F.
(This used to be commit
e2557ae5515ce30d0341ef7785cc4380266d4c94)
Jean-François Micouleau [Fri, 10 Mar 2000 17:03:04 +0000 (17:03 +0000)]
restore the spoolss pipe as Jeremy replaced srv_pipe with the one from
SAMBA_2_0 :-)
J.F.
(This used to be commit
34a3781961a5c41aba9929ec49aacc3bfa14270f)
Luke Leighton [Fri, 10 Mar 2000 00:24:40 +0000 (00:24 +0000)]
indent went wrong. grr.
(This used to be commit
525338e80766fe3dbcc4a64db8e957ae63c5e9d6)
Luke Leighton [Thu, 9 Mar 2000 22:22:38 +0000 (22:22 +0000)]
computer too slow to compile with debug info (100mins), but i need all the
warnings.
(This used to be commit
3f1d5f7c41a69d1249978c84c84ee4c80abf6cdd)
Jeremy Allison [Thu, 9 Mar 2000 21:46:04 +0000 (21:46 +0000)]
Not used. Functionality folded back into rpc_server/srv_pipe.c (where it
originally came from).
Jeremy.
(This used to be commit
b9bc7e8cb6255f2973f680678f93978f17489938)
Jeremy Allison [Thu, 9 Mar 2000 21:45:16 +0000 (21:45 +0000)]
Big update moving the multi-pdu support from 2.0.x into HEAD for JF
and the printer functions.
Also tidied up some header includes and got the order right so you
can now do a :
make proto
make clean
make
Jeremy.
(This used to be commit
833cd9fba92e4ad5297b235d108dd2be8c17079b)
Jeremy Allison [Thu, 9 Mar 2000 20:00:23 +0000 (20:00 +0000)]
Fixups for Win2K security descriptors from the 2.0.x branch.
Jeremy.
(This used to be commit
d22d4482b5e170f352dbfde5b37fc4d4e0eb0a49)
Shirish Kalele [Thu, 9 Mar 2000 18:58:10 +0000 (18:58 +0000)]
Corrected DEBUG messages.
(This used to be commit
a2d62cd30a25e745c4df7ecd6675babc853238f4)
Shirish Kalele [Wed, 8 Mar 2000 22:14:30 +0000 (22:14 +0000)]
dded Microsoft Dfs services.
* added a new msdfs/ directory under source/
* added msdfs sources under this directory.
* modified configure setup to add a --with-msdfs configure time option
Modified Files:
Makefile.in acconfig.h configure configure.in
include/config.h.in include/includes.h include/proto.h
include/smb.h include/smb_macros.h param/loadparm.c
smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c
smbd/server.c smbd/trans2.c
Added Files:
include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c
msdfs/parse_dfs_map.c
----------------------------------------------------------------------
(This used to be commit
4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)
Luke Leighton [Tue, 7 Mar 2000 21:55:42 +0000 (21:55 +0000)]
added a tcon test: make two tconXs with the same user/pass, open a file
with one of them and try to write to the file with the other.
(This used to be commit
f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)
Jean-François Micouleau [Tue, 7 Mar 2000 18:10:20 +0000 (18:10 +0000)]
Enumprinters level 1: reply *exactly* like an NT server
BTW, found a little memleak in it.
J.F.
(This used to be commit
9c37b5df2de9bf8fa6f5536fd75f9c8faf338a52)
Jean-François Micouleau [Tue, 7 Mar 2000 09:06:03 +0000 (09:06 +0000)]
fixed enumprinterdata.
J.F.
(This used to be commit
2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
Jean-François Micouleau [Mon, 6 Mar 2000 11:13:40 +0000 (11:13 +0000)]
changed prs_unistr to parse empty and non-empty strings the same way.
fixed typo in SPOOLSS_SYNT
some cleanup of unused functions
wrote make_spoolss_enumprinter and make_spoolss_openprinterex for
rpcclient as I'm trying to keep in sync the parsing code between HEAD and
TNG.
Will commit changes to TNG after lunch.
J.F.
(This used to be commit
025cdb345f6de287a41d4449b2662dbc5e762bf2)
Jeremy Allison [Thu, 2 Mar 2000 03:04:26 +0000 (03:04 +0000)]
Tidied up fchown code, error reporting.
Jeremy.
(This used to be commit
8e3239440dee6c6f50d26b70f7db46bef2a87a2d)
Jeremy Allison [Thu, 2 Mar 2000 02:58:48 +0000 (02:58 +0000)]
Correctly full buffer smbpasswd i/o streams.
Jeremy.
(This used to be commit
7b222ed713d47241822323970214326b6a8e67ac)
Jeremy Allison [Thu, 2 Mar 2000 02:50:05 +0000 (02:50 +0000)]
Update last changed time for new password entry.
Jeremy.
(This used to be commit
a8ccf1d9532cdf623342c968f51f1d89f89d728a)
Jeremy Allison [Thu, 2 Mar 2000 02:45:02 +0000 (02:45 +0000)]
Fixed bugs with -x smbpasswd entry. Thanks to Bruce Tenison <btenison@dibbs.net>.
Jeremy.
(This used to be commit
c7695c66774225248978ac9ca2615762a0d449aa)
Jeremy Allison [Wed, 1 Mar 2000 23:37:33 +0000 (23:37 +0000)]
Off by one error in detecting Win2k unicode bug.
Jeremy.
(This used to be commit
4971e8b44ac38806f6fc0b3bd22d3ccafd1f5d4e)
Jeremy Allison [Wed, 1 Mar 2000 20:41:26 +0000 (20:41 +0000)]
Added new codepage from Ded Marazm <DedMarazm@mail.lv> - MSDOS baltic rim.
Jeremy.
(This used to be commit
b8b98d50588a68a8001f4f7eeb09d0d19e232d13)
Jeremy Allison [Wed, 1 Mar 2000 18:58:50 +0000 (18:58 +0000)]
Fixed smbpasswd crash bugs found by Giulio.
Jeremy.
(This used to be commit
54440428e5dbf5c1e673e881d3a9364e64ad2ad7)
Jeremy Allison [Wed, 1 Mar 2000 02:42:06 +0000 (02:42 +0000)]
Fix for Win2k unicode bug where doing SMB_NT_TRANSACT_CREATE it uses
unicode filenames whilst *not* bothering to set the unicode bit. Nice :-(.
Jeremy.
(This used to be commit
ccddf4d92e4b1af6076692c21247a838498201fc)
Tim Potter [Wed, 1 Mar 2000 01:10:25 +0000 (01:10 +0000)]
Check for null tdb context in tdb_exists()
(This used to be commit
bbacdb834f9c8f8c34368664def42dabe78d90c9)
Jeremy Allison [Tue, 29 Feb 2000 21:39:54 +0000 (21:39 +0000)]
Fixes from Luke, back-ported from TNG to Win2k. Correctly return FAULT_PDU on
unknown rpc calls. Win2k now correctly shows the owners of files.
Jeremy.
(This used to be commit
066898689f496dc655c3f0a553ac5e884e078022)
Jeremy Allison [Tue, 29 Feb 2000 18:46:45 +0000 (18:46 +0000)]
Fixes for strange Win2K attempts to auto-inherit ACLs.
Jeremy.
(This used to be commit
41e37c51816ec048952ada1513c62f2689589001)
Tim Potter [Mon, 28 Feb 2000 00:51:53 +0000 (00:51 +0000)]
Makefile for tdb directory.
(This used to be commit
60ae73c257e84aa128954f0cf5cf59e7996c68d9)
Tim Potter [Mon, 28 Feb 2000 00:38:45 +0000 (00:38 +0000)]
Oops - put back filename argument to tdb_open().
(This used to be commit
110ec9923bd2ad729d63f129514f3f1de76de9c1)
Tim Potter [Mon, 28 Feb 2000 00:37:13 +0000 (00:37 +0000)]
Modifications to tdb_traverse() arguments to remove compile warnings.
(This used to be commit
d64456b5889f0ee3a8c2108c13789540bfc3d90c)
Tim Potter [Mon, 28 Feb 2000 00:25:37 +0000 (00:25 +0000)]
Allow tdb databases to be created "in memory" without having a file
associated with them. tdb can then be used as a hash table data
structure.
(This used to be commit
b345c0a1058bcde7689bb9566535e9f1c46ee173)
Tim Potter [Mon, 28 Feb 2000 00:22:45 +0000 (00:22 +0000)]
Added tdbtool to .cvsignore list.
(This used to be commit
2892f6e534d5084b50287bf3859be74d52978cb7)
Jean-François Micouleau [Sat, 26 Feb 2000 23:01:02 +0000 (23:01 +0000)]
added enumprintprocessordatatypes
now NT is happy and the "always send data in RAW mode" is checked
J.F.
(This used to be commit
d7bcfe17cee64a513595d7c44456e93e88f2448b)
Jean-François Micouleau [Sat, 26 Feb 2000 22:22:24 +0000 (22:22 +0000)]
rewrote enumprinterdata. still a bug in it but reproducing it hard and
borring.
I need a client test program urgently!!!
rewrote setprinter, doesn't coredump anymore, and no memleak.
J.F.
(This used to be commit
b76ae1f92f4f12b38c4245456cdd2db970724077)
Jeremy Allison [Fri, 25 Feb 2000 22:25:25 +0000 (22:25 +0000)]
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.
(This used to be commit
9f6ad046761adecafba59040baa3abc9f0959e65)
Jean-François Micouleau [Thu, 24 Feb 2000 23:01:24 +0000 (23:01 +0000)]
made dynamic the Printer struct. No more limits :-)
J.F.
(This used to be commit
b59233b3b61b17e85f5d5b44cc6f2ced9d27b497)
Jean-François Micouleau [Thu, 24 Feb 2000 16:27:06 +0000 (16:27 +0000)]
converted a couple of bzero() to memset()
rewrote the printer notify code, so now it's compatible with SP5 and fully
dynamic. No more limits on printers and job lists.
removed the make_xxx() functions as they are not used and broken
fixed a bug in the open handle function.
J.F.
(This used to be commit
aa9054d14bc940f251639ab897d9f356814f5fc0)
Jeremy Allison [Wed, 23 Feb 2000 22:29:27 +0000 (22:29 +0000)]
Multiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy.
(This used to be commit
693a582c23599bbdd45adb30401b1162e44fd274)
Jeremy Allison [Wed, 23 Feb 2000 02:02:33 +0000 (02:02 +0000)]
lib/system.c: Fixed gcc warnings.
nmbd/nmbd_processlogon.c: Use "True" and "False" instead of 1 and 0.
Others - preparing for multiple pdu write code.
Jeremy.
(This used to be commit
9f879ec396230deba34fbe5e82d8a65f92137c54)
Luke Leighton [Tue, 22 Feb 2000 21:00:01 +0000 (21:00 +0000)]
richard got the short request for GETDC right (hooray!) win9x _and_ nt
now work.
(This used to be commit
27ef1789267c7af70071ac9b1d216b4dd745578a)
Jeremy Allison [Mon, 21 Feb 2000 18:47:21 +0000 (18:47 +0000)]
Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
(This used to be commit
89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)
Jean-François Micouleau [Mon, 21 Feb 2000 01:58:13 +0000 (01:58 +0000)]
more rewrite ...
comitting before starting on new functions.
J.F.
(This used to be commit
f9c20801114f72b587a6e8c3177cbab13dbdcc28)
Jeremy Allison [Fri, 18 Feb 2000 03:54:26 +0000 (03:54 +0000)]
Fix for reporting file system attributes correctly.
Jeremy.
(This used to be commit
801ed2389b97f921aa855513696d304c542fda04)
Jeremy Allison [Fri, 18 Feb 2000 03:11:22 +0000 (03:11 +0000)]
Fixes for Eastern Europe code page.
Jeremy.
(This used to be commit
0ec82d661a27a02322e5c8da20a18f33bfb24a3e)
Tim Potter [Thu, 17 Feb 2000 23:22:26 +0000 (23:22 +0000)]
Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.
(This used to be commit
02f845e54351ec57ee873a8ed887285552c6ecab)
Tim Potter [Thu, 17 Feb 2000 00:16:40 +0000 (00:16 +0000)]
Updated docs for tdb_traverse.
(This used to be commit
8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)
Tim Potter [Wed, 16 Feb 2000 22:57:57 +0000 (22:57 +0000)]
More checks for passing NULL tdb contexts to tdb functions.
(This used to be commit
7faa70d254549e60520de1ed1112d41fe9a4d77c)
Jeremy Allison [Wed, 16 Feb 2000 22:48:19 +0000 (22:48 +0000)]
Added support for SO_REUSEPORT for systems that have it.
Jeremy.
(This used to be commit
377515cf9624720362c0b76969b9381d9972a13f)