1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

3347 Commits

Author SHA1 Message Date
Luke Leighton
f7324464b1 richard got the short request for GETDC right (hooray!) win9x _and_ nt
now work.
(This used to be commit 27ef1789267c7af70071ac9b1d216b4dd745578a)
2000-02-22 21:00:01 +00:00
Jeremy Allison
ed95d8ed4f Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
(This used to be commit 89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)
2000-02-21 18:47:21 +00:00
Jean-François Micouleau
0e004212d2 more rewrite ...
comitting before starting on new functions.

	J.F.
(This used to be commit f9c20801114f72b587a6e8c3177cbab13dbdcc28)
2000-02-21 01:58:13 +00:00
Jeremy Allison
8dcac9f8da Fix for reporting file system attributes correctly.
Jeremy.
(This used to be commit 801ed2389b97f921aa855513696d304c542fda04)
2000-02-18 03:54:26 +00:00
Jeremy Allison
1a27ef121a Fixes for Eastern Europe code page.
Jeremy.
(This used to be commit 0ec82d661a27a02322e5c8da20a18f33bfb24a3e)
2000-02-18 03:11:22 +00:00
Tim Potter
92bf37e21d Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.
(This used to be commit 02f845e54351ec57ee873a8ed887285552c6ecab)
2000-02-17 23:22:26 +00:00
Tim Potter
c988b69dfc Updated docs for tdb_traverse.
(This used to be commit 8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)
2000-02-17 00:16:40 +00:00
Tim Potter
590d92c77a More checks for passing NULL tdb contexts to tdb functions.
(This used to be commit 7faa70d254549e60520de1ed1112d41fe9a4d77c)
2000-02-16 22:57:57 +00:00
Jeremy Allison
8b45838ffc Added support for SO_REUSEPORT for systems that have it.
Jeremy.
(This used to be commit 377515cf9624720362c0b76969b9381d9972a13f)
2000-02-16 22:48:19 +00:00
Jeremy Allison
4feb8540b3 Make proto.
(This used to be commit a12ebc50be4384750b10bf0c391adc967cb096ff)
2000-02-16 17:52:25 +00:00
Tim Potter
f89a1e9999 tdb_traverse() now takes three arguments.
(This used to be commit 2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)
2000-02-16 04:56:11 +00:00
Jeremy Allison
4175061348 Added "source environment" parameter from Nicolas Williams <Nicolas.Williams@wdr.com>.
Jeremy.
(This used to be commit f29847cbeeb0109f1fa61e9851e8cb0689b5228d)
2000-02-16 02:35:53 +00:00
Jeremy Allison
3cf31a194f Added replacement functions sys_popen and sys_pclose. These are based
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
(This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
2000-02-15 19:36:47 +00:00
Jean-François Micouleau
8688933c7f fix the reply of rpc_alter_context
OpenPrinterEx is now decoding correctly the query
most of the EnumXXX use the new_buffer struct.
check the (un)marshalling return code.

conclusion: still a long way to go. all the client code has to be
rewritten, and I still wonder how to implement correctly the notify stuff.
(This used to be commit 3d6d3863751787b08d40268c83221add1487a5c9)
2000-02-15 18:07:45 +00:00
Tim Potter
13ac8fd847 Return "Invalid tdb context" instead of crashing when tdb_error called
with NULL tdb context.
(This used to be commit ba9f24c0964054f22cd8f0de32cfeacb88b4800c)
2000-02-15 06:13:38 +00:00
Tim Potter
74ca35e4ee Not enough args to DEBUG statement.
(This used to be commit 156f438bce607236b2d91c28f3dbe8559e048738)
2000-02-15 05:06:53 +00:00
Jeremy Allison
9d59503d55 Ooops. Fixed stupid typo with missing ! in cli error code.
Jeremy.
(This used to be commit 0babc4baea62aa40e8698ab88b3a95d514c001b6)
2000-02-14 21:52:35 +00:00
Andrew Tridgell
89c3cf8ab6 damn, masktest now needs the mangle code from smbd
not very clean
(This used to be commit 6c09c0fd9e00036f6da9d29801e885ed3b559c42)
2000-02-10 13:45:52 +00:00
Andrew Tridgell
dacbb15e9f the beginnings of a fnmatch() based wildcard matching routine
(This used to be commit ef256de9d9a204cf91fe8b636d07400cd0648d1e)
2000-02-10 13:43:59 +00:00
Tim Potter
181aa19363 file ntdom.c was initially added on branch SAMBA_TNG.
(This used to be commit 1f7964f29b9bcc92517e10c4f47c56fb2de5c9ab)
2000-02-09 23:47:02 +00:00
Jeremy Allison
fe05c85250 Fixed wildcard match bug with '****' with smbclient. Found by Andrew (damn him! :-).
Jeremy.
(This used to be commit c8ca70f99ee2eae5e29ddf0dd4bc231fbcd188f2)
2000-02-09 15:50:44 +00:00
Jeremy Allison
f452de7ed6 Correct for for core dump in smbpasswd with cli_errstr().
Jeremy.<F4>plit the test for NetBIOS name being *SMBSERVER.
(This used to be commit 34b0e2acb050e384c132ddfb50ec84157fb430c6)
2000-02-09 15:43:09 +00:00
Jeremy Allison
2768aecae6 Defensive programming for cli_error().
Jeremy.
(This used to be commit 94ed74d5b09d6f28b47b2855c4e4a1dc5c2108d3)
2000-02-09 14:45:22 +00:00
Andrew Tridgell
94d68eb808 update masktest for new make_nmb_name() syntax
(This used to be commit 3609e835d4f938190f43b958403978c892b4bc9b)
2000-02-09 14:17:12 +00:00
Andrew Tridgell
74f0d16da4 added masktest to head branch, in preparation for another assault on
the wildcard handling code
(This used to be commit 3f77690dade57f4ae9da7196b0aa7a3a43afcc46)
2000-02-09 14:10:08 +00:00
Jeremy Allison
27ce49e3e6 Moved over lib/util_sec (with added fixes) as the HEAD source
seems to have drifted a little.
Jeremy.
(This used to be commit ebcdb4afee04cc3b94e60b1de86c2b534d4e233e)
2000-02-08 11:32:43 +00:00
Jean-François Micouleau
07fd3b392d Hum, I should remove my gloves when I'm in front of an xterm :)
fixed a stupid bug in unistr2_to_ascii that I introduced

fixed getprinterdata()
(This used to be commit 2f544a807714024c0fe2ddc26e11c9ddcb47e81f)
2000-02-07 18:06:54 +00:00
Jean-François Micouleau
cedf91b1f6 make proto ...
and the Makefile.in file

	J.F.
(This used to be commit aa22586aac02c28aaa5f96e1a03a83fc138c840e)
2000-02-07 16:28:41 +00:00
Jean-François Micouleau
b7ef313b31 spoolss include definitions
J.F.
(This used to be commit 853a1a3027dde7608027dc78f6e15789d5fc9152)
2000-02-07 16:27:03 +00:00
Jean-François Micouleau
195e3d44da spoolss definitions.
also added some prs_struct functions, 'cause I'm handling buffers as
prs_struct.

	J.F.
(This used to be commit 81e375bbbe0fb022a44a2aaaa3729a9518b7a854)
2000-02-07 16:25:15 +00:00
Jean-François Micouleau
59ac32c255 Jeremy can you check lib/util_unistr.c for codepages support ?
I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage
support.

	J.F.
(This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca)
2000-02-07 16:22:16 +00:00
Jean-François Micouleau
6a6749d81e First commit of the spoolss code to the HEAD branch.
still needs a lot of cleaning/debuging.

	J.F.
(This used to be commit bd9d4cdde9193c120c6f4e8cf72f87cd67a9387e)
2000-02-07 16:17:59 +00:00
Jeremy Allison
868c81eefa Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
(This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)
2000-02-07 14:27:04 +00:00
Tim Potter
427a3baa9c Fix some more compile warnings.
(This used to be commit 507624dbc0a1a9e1df72a6b8de45038e86a9e5b1)
2000-02-07 00:41:58 +00:00
Tim Potter
ebbb007ed2 Fixed compile warning in locking.c:traverse_fn()
(This used to be commit eefc8972217e5a700b90f13ab040a0919f184d23)
2000-02-07 00:24:04 +00:00
Jean-François Micouleau
c473ca6259 After 3AM, it's getting hard for Luke :-)
(This used to be commit 61c970b10adc37412722a6ee54b166d41ed0a071)
2000-02-04 15:19:28 +00:00
Tim Potter
3b6298b001 Fix some compile warnings.
(This used to be commit ccbd936211d4bfc8687cef78405ae58127289d13)
2000-02-04 05:18:06 +00:00
Tim Potter
1546a4c683 Hopefully these changes will actually stick.
(This used to be commit a2782097db258a164bf43d814e8832a27d0eb3f1)
2000-02-04 05:08:16 +00:00
Luke Leighton
bbe275e95b 1) added void* state argument to tdb_traverse. guess what! there were
two places i found where it was appropriate to _use_ that third argument,
in locking.c and brlock.c!  there was a static traverse_function and
i removed the static variable, typecast it to a void*, passed it to
tdb_traverse and re-cast it back to the traverse_function inside the
tdb_traverse function.  this makes the use of tdb_traverse() reentrant,
which is never going to happen, i know, i just don't like to see
statics lying about when there's no need for them.

as i had to do in samba-tng, all uses of tdb_traverse modified to take
the new void* state argument.

2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient.
i don't know how the other samba team members would react if i deleted
rpcclient from cvs main.  damn, that code's so old, it's unreal.
20 rpcclient commands, instead of about 70 in SAMBA_TNG.
(This used to be commit 49d7f0afbc1c5425d53019e234d54ddf205c8e9a)
2000-02-04 04:59:31 +00:00
Tim Potter
ae7696117e Put back lots of missing calls to dos_to_unix(). Thanks to
aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO)
(This used to be commit 176c405d2702a4245561ff56c8eac3c754a0dea3)
2000-02-03 23:08:24 +00:00
Tim Potter
79601327cb Backed out -rdynamic linker option. It seems to be GNU ld specific.
Need a platform independant way of exporting symbols for dlopen().
Perhaps this is only needed for certain platforms anyway...
(This used to be commit 8b26be1e82d329c9ea8a1d6a71e5e9f440eb93ac)
2000-02-03 05:55:11 +00:00
Tim Potter
bc48e6d9e9 make proto
(This used to be commit 8855d7346d0c15ecada2fc092e360b58ccf161fe)
2000-02-03 05:18:26 +00:00
Tim Potter
16bb009dbb Mega-VFS merge. Yeah baby!
Synopsis: change every disk access function to work through a vfs_ops
structure contained in the connection_struct.
(This used to be commit 3aad500c0fb61232ed3431ff4b743b5d18ec852f)
2000-02-03 05:17:25 +00:00
Tim Potter
6df7bfbd9f Added 'vfs object' and 'vfs options' smb.conf parameters.
(This used to be commit f872518972e7942e31b5ac5150d7ed8b0fbcf641)
2000-02-03 05:11:26 +00:00
Tim Potter
3d9a9cbe96 Comments to use vfs_* functions instead of dos_* unless really
accessing files on local disk.
(This used to be commit b55f63da7e6a3c306ce668c77ed63a41d33240db)
2000-02-03 05:10:09 +00:00
Tim Potter
71604bb213 Add -rdynamic to LDFLAGS if libdl found.
(This used to be commit 4c14a343d10bbddd69a1dc5abc9d4f64cf75dacc)
2000-02-03 05:07:06 +00:00
Tim Potter
f3772fe91d Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects.
(This used to be commit d91bfec537cf9959b47ad1cd470e18a6ddcbda6f)
2000-02-03 05:05:29 +00:00
Tim Potter
0696c8cef7 Added .dummy file.
(This used to be commit 71fc4dc7917d5c4782f61640c5b7681732742766)
2000-02-03 04:49:11 +00:00
Tim Potter
04f7d80ac3 Busting up of source/include/smb.h into smaller pieces which can be
#included by VFS modules without bringing in too much other junk.
(This used to be commit 13a2cf80f65156e725a5716e62a4c44e70f5340f)
2000-02-03 04:47:50 +00:00
Tim Potter
18b31bce97 Some strange CVS weirdness happening here. I had SAMBA_TNG tags in my
head branch CVS/Entries file leading to lots of fun and games.  )-:
(This used to be commit bb07eceddb0552ff17ba9db94ae81f58226be4b5)
2000-02-03 04:40:56 +00:00