Tim Potter
9fd3d3963e
Check for null tdb context in tdb_exists()
...
(This used to be commit bbacdb834f
)
2000-03-01 01:10:25 +00:00
Jeremy Allison
4fb014372e
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 066898689f
)
2000-02-29 21:39:54 +00:00
Jeremy Allison
f429162313
Fixes for strange Win2K attempts to auto-inherit ACLs.
...
Jeremy.
(This used to be commit 41e37c5181
)
2000-02-29 18:46:45 +00:00
Tim Potter
1f6f8c2241
Makefile for tdb directory.
...
(This used to be commit 60ae73c257
)
2000-02-28 00:51:53 +00:00
Tim Potter
0a77ae3f14
Oops - put back filename argument to tdb_open().
...
(This used to be commit 110ec9923b
)
2000-02-28 00:38:45 +00:00
Tim Potter
79691801f4
Modifications to tdb_traverse() arguments to remove compile warnings.
...
(This used to be commit d64456b588
)
2000-02-28 00:37:13 +00:00
Tim Potter
676df39cc7
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 b345c0a105
)
2000-02-28 00:25:37 +00:00
Tim Potter
e4de0e523c
Added tdbtool to .cvsignore list.
...
(This used to be commit 2892f6e534
)
2000-02-28 00:22:45 +00:00
Jean-François Micouleau
fd3acf437a
added enumprintprocessordatatypes
...
now NT is happy and the "always send data in RAW mode" is checked
J.F.
(This used to be commit d7bcfe17ce
)
2000-02-26 23:01:02 +00:00
Jean-François Micouleau
badee62bca
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 b76ae1f92f
)
2000-02-26 22:22:24 +00:00
Jeremy Allison
0f1eee5c7a
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 9f6ad04676
)
2000-02-25 22:25:25 +00:00
Jean-François Micouleau
66018871c7
made dynamic the Printer struct. No more limits :-)
...
J.F.
(This used to be commit b59233b3b6
)
2000-02-24 23:01:24 +00:00
Jean-François Micouleau
f3319f7963
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 aa9054d14b
)
2000-02-24 16:27:06 +00:00
Jeremy Allison
1f28a34552
Multiple-dot scope handling fix from Greg Bowering gb@pobox.com
...
Jeremy.
(This used to be commit 693a582c23
)
2000-02-23 22:29:27 +00:00
Jeremy Allison
9db96b7646
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 9f879ec396
)
2000-02-23 02:02:33 +00:00
Luke Leighton
f7324464b1
richard got the short request for GETDC right (hooray!) win9x _and_ nt
...
now work.
(This used to be commit 27ef178926
)
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 89aa4d8ca9
)
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 f9c2080111
)
2000-02-21 01:58:13 +00:00
Jeremy Allison
8dcac9f8da
Fix for reporting file system attributes correctly.
...
Jeremy.
(This used to be commit 801ed2389b
)
2000-02-18 03:54:26 +00:00
Jeremy Allison
1a27ef121a
Fixes for Eastern Europe code page.
...
Jeremy.
(This used to be commit 0ec82d661a
)
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 02f845e543
)
2000-02-17 23:22:26 +00:00
Tim Potter
c988b69dfc
Updated docs for tdb_traverse.
...
(This used to be commit 8cbc7dfa03
)
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 7faa70d254
)
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 377515cf96
)
2000-02-16 22:48:19 +00:00
Jeremy Allison
4feb8540b3
Make proto.
...
(This used to be commit a12ebc50be
)
2000-02-16 17:52:25 +00:00
Tim Potter
f89a1e9999
tdb_traverse() now takes three arguments.
...
(This used to be commit 2d3e2f8877
)
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 f29847cbee
)
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 b52e92b09d
)
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 3d6d386375
)
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 ba9f24c096
)
2000-02-15 06:13:38 +00:00
Tim Potter
74ca35e4ee
Not enough args to DEBUG statement.
...
(This used to be commit 156f438bce
)
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 0babc4baea
)
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 6c09c0fd9e
)
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 ef256de9d9
)
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 1f7964f29b
)
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 c8ca70f99e
)
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 34b0e2acb0
)
2000-02-09 15:43:09 +00:00
Jeremy Allison
2768aecae6
Defensive programming for cli_error().
...
Jeremy.
(This used to be commit 94ed74d5b0
)
2000-02-09 14:45:22 +00:00
Andrew Tridgell
94d68eb808
update masktest for new make_nmb_name() syntax
...
(This used to be commit 3609e835d4
)
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 3f77690dad
)
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 ebcdb4afee
)
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 2f544a8077
)
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 aa22586aac
)
2000-02-07 16:28:41 +00:00
Jean-François Micouleau
b7ef313b31
spoolss include definitions
...
J.F.
(This used to be commit 853a1a3027
)
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 81e375bbbe
)
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 b81dc7b7f8
)
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 bd9d4cdde9
)
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 773d6e504b
)
2000-02-07 14:27:04 +00:00
Tim Potter
427a3baa9c
Fix some more compile warnings.
...
(This used to be commit 507624dbc0
)
2000-02-07 00:41:58 +00:00
Tim Potter
ebbb007ed2
Fixed compile warning in locking.c:traverse_fn()
...
(This used to be commit eefc897221
)
2000-02-07 00:24:04 +00:00