1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

3343 Commits

Author SHA1 Message Date
Jeremy Allison
0ec82d661a Fixes for Eastern Europe code page.
Jeremy.
-
Tim Potter
02f845e543 Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.
-
Tim Potter
8cbc7dfa03 Updated docs for tdb_traverse. -
Tim Potter
7faa70d254 More checks for passing NULL tdb contexts to tdb functions. -
Jeremy Allison
377515cf96 Added support for SO_REUSEPORT for systems that have it.
Jeremy.
-
Jeremy Allison
a12ebc50be Make proto. -
Tim Potter
2d3e2f8877 tdb_traverse() now takes three arguments. -
Jeremy Allison
f29847cbee Added "source environment" parameter from Nicolas Williams <Nicolas.Williams@wdr.com>.
Jeremy.
-
Jeremy Allison
b52e92b09d 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.
-
Jean-François Micouleau
3d6d386375 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.
-
Tim Potter
ba9f24c096 Return "Invalid tdb context" instead of crashing when tdb_error called
with NULL tdb context.
-
Tim Potter
156f438bce Not enough args to DEBUG statement. -
Jeremy Allison
0babc4baea Ooops. Fixed stupid typo with missing ! in cli error code.
Jeremy.
-
Andrew Tridgell
6c09c0fd9e damn, masktest now needs the mangle code from smbd
not very clean
-
Andrew Tridgell
ef256de9d9 the beginnings of a fnmatch() based wildcard matching routine -
Tim Potter
1f7964f29b file ntdom.c was initially added on branch SAMBA_TNG. -
Jeremy Allison
c8ca70f99e Fixed wildcard match bug with '****' with smbclient. Found by Andrew (damn him! :-).
Jeremy.
-
Jeremy Allison
34b0e2acb0 Correct for for core dump in smbpasswd with cli_errstr().
Jeremy.<F4>plit the test for NetBIOS name being *SMBSERVER.
-
Jeremy Allison
94ed74d5b0 Defensive programming for cli_error().
Jeremy.
-
Andrew Tridgell
3609e835d4 update masktest for new make_nmb_name() syntax -
Andrew Tridgell
3f77690dad added masktest to head branch, in preparation for another assault on
the wildcard handling code
-
Jeremy Allison
ebcdb4afee Moved over lib/util_sec (with added fixes) as the HEAD source
seems to have drifted a little.
Jeremy.
-
Jean-François Micouleau
2f544a8077 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()
-
Jean-François Micouleau
aa22586aac make proto ...
and the Makefile.in file

	J.F.
-
Jean-François Micouleau
853a1a3027 spoolss include definitions
J.F.
-
Jean-François Micouleau
81e375bbbe spoolss definitions.
also added some prs_struct functions, 'cause I'm handling buffers as
prs_struct.

	J.F.
-
Jean-François Micouleau
b81dc7b7f8 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.
-
Jean-François Micouleau
bd9d4cdde9 First commit of the spoolss code to the HEAD branch.
still needs a lot of cleaning/debuging.

	J.F.
-
Jeremy Allison
773d6e504b Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
-
Tim Potter
507624dbc0 Fix some more compile warnings. -
Tim Potter
eefc897221 Fixed compile warning in locking.c:traverse_fn() -
Jean-François Micouleau
61c970b10a After 3AM, it's getting hard for Luke :-) -
Tim Potter
ccbd936211 Fix some compile warnings. -
Tim Potter
a2782097db Hopefully these changes will actually stick. -
Luke Leighton
49d7f0afbc 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.
-
Tim Potter
176c405d27 Put back lots of missing calls to dos_to_unix(). Thanks to
aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO)
-
Tim Potter
8b26be1e82 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...
-
Tim Potter
8855d7346d make proto -
Tim Potter
3aad500c0f Mega-VFS merge. Yeah baby!
Synopsis: change every disk access function to work through a vfs_ops
structure contained in the connection_struct.
-
Tim Potter
f872518972 Added 'vfs object' and 'vfs options' smb.conf parameters. -
Tim Potter
b55f63da7e Comments to use vfs_* functions instead of dos_* unless really
accessing files on local disk.
-
Tim Potter
4c14a343d1 Add -rdynamic to LDFLAGS if libdl found. -
Tim Potter
d91bfec537 Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects. -
Tim Potter
71fc4dc791 Added .dummy file. -
Tim Potter
13a2cf80f6 Busting up of source/include/smb.h into smaller pieces which can be
#included by VFS modules without bringing in too much other junk.
-
Tim Potter
bb07eceddb 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.  )-:
-
Luke Leighton
f25bffada9 file srv_netlogond_nt.c was initially added on branch SAMBA_TNG. -
Tim Potter
e9da530120 system_name not server_name -
Tim Potter
6e9ab51578 Pass arguments to ./configure -
Herb Lewis
d3557b7f72 made "enable" and "disable" the default "lpresume" and "lppause" commands
for SYSV instead of the lpc commands (since these are BSD commands)

I still don't like the default "lppause" and "lpresume" commands for
SYSV since these seem to be SUN specific additions to the lp command
(at least I don't find them in IRIX and HPUX). I think this should be
inside an ifdef SUN??? but I'm not sure what the define should be so
I have left it for now.
-