summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Make proto.Jeremy Allison2000-02-161-0/+1
|
* tdb_traverse() now takes three arguments.Tim Potter2000-02-161-3/+3
|
* Added "source environment" parameter from Nicolas Williams ↵Jeremy Allison2000-02-161-1/+136
| | | | | | <Nicolas.Williams@wdr.com>. Jeremy.
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-1514-488/+786
| | | | | | | | | 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.
* fix the reply of rpc_alter_contextJean-François Micouleau2000-02-158-1955/+2485
| | | | | | | | | 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.
* Return "Invalid tdb context" instead of crashing when tdb_error calledTim Potter2000-02-151-2/+6
| | | | with NULL tdb context.
* Not enough args to DEBUG statement.Tim Potter2000-02-151-1/+1
|
* Ooops. Fixed stupid typo with missing ! in cli error code.Jeremy Allison2000-02-141-1/+1
| | | | Jeremy.
* damn, masktest now needs the mangle code from smbdAndrew Tridgell2000-02-101-1/+1
| | | | not very clean
* the beginnings of a fnmatch() based wildcard matching routineAndrew Tridgell2000-02-101-20/+66
|
* Fixed wildcard match bug with '****' with smbclient. Found by Andrew (damn ↵Jeremy Allison2000-02-091-2/+3
| | | | | | him! :-). Jeremy.
* Correct for for core dump in smbpasswd with cli_errstr().Jeremy Allison2000-02-091-8/+22
| | | | Jeremy.<F4>plit the test for NetBIOS name being *SMBSERVER.
* Defensive programming for cli_error().Jeremy Allison2000-02-091-1/+7
| | | | Jeremy.
* update masktest for new make_nmb_name() syntaxAndrew Tridgell2000-02-091-3/+3
|
* added masktest to head branch, in preparation for another assault onAndrew Tridgell2000-02-091-0/+435
| | | | the wildcard handling code
* Moved over lib/util_sec (with added fixes) as the HEAD sourceJeremy Allison2000-02-081-4/+50
| | | | | seems to have drifted a little. Jeremy.
* Hum, I should remove my gloves when I'm in front of an xterm :)Jean-François Micouleau2000-02-073-33/+44
| | | | | | fixed a stupid bug in unistr2_to_ascii that I introduced fixed getprinterdata()
* make proto ...Jean-François Micouleau2000-02-072-344/+683
| | | | | | and the Makefile.in file J.F.
* spoolss include definitionsJean-François Micouleau2000-02-075-15/+35
| | | | J.F.
* spoolss definitions.Jean-François Micouleau2000-02-074-15/+128
| | | | | | | also added some prs_struct functions, 'cause I'm handling buffers as prs_struct. J.F.
* Jeremy can you check lib/util_unistr.c for codepages support ?Jean-François Micouleau2000-02-075-2/+124
| | | | | | | I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage support. J.F.
* First commit of the spoolss code to the HEAD branch.Jean-François Micouleau2000-02-076-0/+12124
| | | | | | still needs a lot of cleaning/debuging. J.F.
* Added check for SGI IRIX brokenness with semaphores when using gcc.Jeremy Allison2000-02-077-738/+811
| | | | | Code from Don Badrak <dbadrak@census.gov> Jeremy.
* Fix some more compile warnings.Tim Potter2000-02-071-1/+2
|
* Fixed compile warning in locking.c:traverse_fn()Tim Potter2000-02-072-341/+342
|
* After 3AM, it's getting hard for Luke :-)Jean-François Micouleau2000-02-041-5/+4
|
* Fix some compile warnings.Tim Potter2000-02-042-1/+8
|
* 1) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton2000-02-0412-390/+402
| | | | | | | | | | | | | | | | | | 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.
* Put back lots of missing calls to dos_to_unix(). Thanks toTim Potter2000-02-037-44/+59
| | | | aono@cc.osaka-kyoiku.ac.jp (Tomoki AONO)
* Backed out -rdynamic linker option. It seems to be GNU ld specific.Tim Potter2000-02-032-420/+429
| | | | | Need a platform independant way of exporting symbols for dlopen(). Perhaps this is only needed for certain platforms anyway...
* make protoTim Potter2000-02-031-332/+373
|
* Mega-VFS merge. Yeah baby!Tim Potter2000-02-0314-158/+261
| | | | | Synopsis: change every disk access function to work through a vfs_ops structure contained in the connection_struct.
* Added 'vfs object' and 'vfs options' smb.conf parameters.Tim Potter2000-02-031-0/+25
|
* Comments to use vfs_* functions instead of dos_* unless reallyTim Potter2000-02-034-4/+761
| | | | accessing files on local disk.
* Add -rdynamic to LDFLAGS if libdl found.Tim Potter2000-02-032-653/+736
|
* Added smbd/vfs.o and smbd/vfs-wrap.o to smbd objects.Tim Potter2000-02-031-0/+1
|
* Added .dummy file.Tim Potter2000-02-031-0/+1
|
* Busting up of source/include/smb.h into smaller pieces which can beTim Potter2000-02-036-349/+608
| | | | #included by VFS modules without bringing in too much other junk.
* system_name not server_nameTim Potter2000-02-011-1/+1
|
* Pass arguments to ./configureTim Potter2000-01-311-1/+1
|
* made "enable" and "disable" the default "lpresume" and "lppause" commandsHerb Lewis2000-01-301-4/+1
| | | | | | | | | | 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.
* Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison2000-01-295-2/+11
| | | | | env patch. Jeremy.
* Fix from Motonobu TAKAHASHI to sort code page parameters first.Jeremy Allison2000-01-291-2/+2
| | | | | Needed when reading the rest of smb.conf. Jeremy.
* Modified auto alignment of ud[] struct on stack to be declared as anJeremy Allison2000-01-282-4/+4
| | | | | | array of pointers. This should cause alignment on a correct boundary.. Spotted by Darren Reed <darrenr@telnetmedia.com>. Jeremy.
* Fixed code page conversions of messages outgoing/incoming.Jeremy Allison2000-01-272-0/+17
| | | | Jeremy.
* Added hash-based stat cache code from Ying Chen.Jeremy Allison2000-01-269-83/+502
| | | | Jeremy.
* Second set of inline optimisation fixes from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison2000-01-269-53/+76
| | | | | | Stop makeing function calls for every use of skip_multibyte_char. This function is called several *million* times during a NetBench run :-). Jeremy.
* First set of speed improvements from Ying Chen <ying@almaden.ibm.com>.Jeremy Allison2000-01-257-166/+76
| | | | | Inline several commonly used functions as macros. Jeremy.
* tdb record read error return check fix from Dave Airlie <airlied@samba.org>.Jeremy Allison2000-01-241-1/+1
| | | | Jeremy.
* we need -lc when making shared objects or glibc doesn't do its magicAndrew Tridgell2000-01-241-1/+1
| | | | binding for stat()