samba.git
23 years agoscript that defines some useful developer compiler options (gcc)
Luke Leighton [Wed, 14 Oct 1998 06:38:40 +0000 (06:38 +0000)]
script that defines some useful developer compiler options (gcc)
and then runs ./configure.

dunno what rpcclient's doing in this commit, but i'm tired, so who cares.

23 years agodce/rpc
Luke Leighton [Wed, 14 Oct 1998 06:29:20 +0000 (06:29 +0000)]
dce/rpc

23 years agouse level 0 for DEBUG() of malformed password entry in smbpasswd
Andrew Tridgell [Tue, 13 Oct 1998 14:14:09 +0000 (14:14 +0000)]
use level 0 for DEBUG() of malformed password entry in smbpasswd

23 years agosmbsh launch program is now in C
Andrew Tridgell [Tue, 13 Oct 1998 08:27:28 +0000 (08:27 +0000)]
smbsh launch program is now in C

23 years agomade smbsh a standard binary
Andrew Tridgell [Tue, 13 Oct 1998 08:26:48 +0000 (08:26 +0000)]
made smbsh a standard binary

23 years agoTry to make smbprint a better behaved citizen.
Richard Sharpe [Sun, 11 Oct 1998 21:42:49 +0000 (21:42 +0000)]
Try to make smbprint a better behaved citizen.

Removed a -x on the first line that causes lots of output to the console
and added a command line parameter handling flag for the tranlate case.

The problem is that smbprint is being overwritten/replaced when you upgrade
a RedHat rpm.  If you had modified smbprint to include translation, you
loose it, and you have to go and repatch etc.

Now, we have a -t flag on smbprint, so we should have fewer problems in
this regard.

Untested as yet, but soon will be ...

23 years agodce/rpc
Luke Leighton [Sat, 10 Oct 1998 00:58:12 +0000 (00:58 +0000)]
dce/rpc

23 years agodce/rpc
Luke Leighton [Sat, 10 Oct 1998 00:46:28 +0000 (00:46 +0000)]
dce/rpc

23 years agodce/rpc
Luke Leighton [Fri, 9 Oct 1998 23:31:50 +0000 (23:31 +0000)]
dce/rpc

23 years agosigned / unsigned issues spotted by herb
Luke Leighton [Fri, 9 Oct 1998 20:31:52 +0000 (20:31 +0000)]
signed / unsigned issues spotted by herb

23 years agodce/rpc.
Luke Leighton [Fri, 9 Oct 1998 20:17:11 +0000 (20:17 +0000)]
dce/rpc.

23 years agobasic client-side ntcreateX function (hard-wired values except filename)
Luke Leighton [Fri, 9 Oct 1998 19:34:57 +0000 (19:34 +0000)]
basic client-side ntcreateX function (hard-wired values except filename)

23 years agodce/rpc
Luke Leighton [Fri, 9 Oct 1998 19:05:19 +0000 (19:05 +0000)]
dce/rpc

23 years agoanders blomdell spotted an unititialised fstring causing strlen to go
Luke Leighton [Fri, 9 Oct 1998 14:02:59 +0000 (14:02 +0000)]
anders blomdell spotted an unititialised fstring causing strlen to go
awry (ascii_p16)

23 years agoAdded code to convert empty file names to "." so we avoid
Richard Sharpe [Fri, 9 Oct 1998 10:03:19 +0000 (10:03 +0000)]
Added code to convert empty file names to "." so we avoid
searching the cache, but only if we are not on a print share.

This code is known to work on at least one site!

23 years agoAdd a DEBUG to unix_convert
Richard Sharpe [Fri, 9 Oct 1998 06:47:22 +0000 (06:47 +0000)]
Add a DEBUG to unix_convert

23 years agodce/rpc
Luke Leighton [Thu, 8 Oct 1998 23:57:46 +0000 (23:57 +0000)]
dce/rpc

23 years agopreparing for release of 2.0.0 alpha 11
Samba Release Account [Thu, 8 Oct 1998 22:49:33 +0000 (22:49 +0000)]
preparing for release of 2.0.0 alpha 11

23 years agofixed bug pointed out by Herb.
Andrew Tridgell [Thu, 8 Oct 1998 22:48:46 +0000 (22:48 +0000)]
fixed bug pointed out by Herb.

23 years agopreparing for release of 2.0.0 alpha 10
Samba Release Account [Thu, 8 Oct 1998 22:12:49 +0000 (22:12 +0000)]
preparing for release of 2.0.0 alpha 10

23 years agofixed a bug in the readline support
Andrew Tridgell [Thu, 8 Oct 1998 22:12:13 +0000 (22:12 +0000)]
fixed a bug in the readline support

23 years agoreally fixed the warning this time :)
Andrew Tridgell [Thu, 8 Oct 1998 21:58:24 +0000 (21:58 +0000)]
really fixed the warning this time :)

23 years agofixed a warning
Andrew Tridgell [Thu, 8 Oct 1998 21:54:26 +0000 (21:54 +0000)]
fixed a warning

23 years agoadd missing targets that were added to makefile
Herb Lewis [Thu, 8 Oct 1998 20:43:29 +0000 (20:43 +0000)]
add missing targets that were added to makefile

23 years agoadded "permission obtained from John Erickson <jerickson@ddj.com> ...."
Luke Leighton [Thu, 8 Oct 1998 14:11:19 +0000 (14:11 +0000)]
added "permission obtained from John Erickson <jerickson@ddj.com> ...."

23 years ago- don't generate 0 params in torture
Andrew Tridgell [Thu, 8 Oct 1998 06:49:00 +0000 (06:49 +0000)]
- don't generate 0 params in torture
- handle 0 params in ipc.c

23 years ago- fixed a bunch of warnings and minor errors
Andrew Tridgell [Thu, 8 Oct 1998 06:21:33 +0000 (06:21 +0000)]
- fixed a bunch of warnings and minor errors
- got smbtorture to compile
- removed %D from some of lukes code - Luke, what is %D? it ain't
  portable anyway

23 years agoadd "smbtorture" alias for building smbtorture
Andrew Tridgell [Thu, 8 Oct 1998 06:19:29 +0000 (06:19 +0000)]
add "smbtorture" alias for building smbtorture

23 years agoremoved extra comma (some compilers don't like it).
Andrew Tridgell [Thu, 8 Oct 1998 04:57:59 +0000 (04:57 +0000)]
removed extra comma (some compilers don't like it).

Luke, I fixed this yesterday as well! grumble.

23 years agoauto-detect the right flag for the compiler to produce PIC code
Andrew Tridgell [Thu, 8 Oct 1998 04:52:11 +0000 (04:52 +0000)]
auto-detect the right flag for the compiler to produce PIC code

23 years agouse 1 second resolution calls if possible
Andrew Tridgell [Thu, 8 Oct 1998 02:28:21 +0000 (02:28 +0000)]
use 1 second resolution calls if possible

23 years agofixed a problem with fchdir() that broke "cvs -d" in smbsh
Andrew Tridgell [Thu, 8 Oct 1998 01:23:33 +0000 (01:23 +0000)]
fixed a problem with fchdir() that broke "cvs -d" in smbsh

23 years agoadded some comments
Andrew Tridgell [Thu, 8 Oct 1998 00:23:08 +0000 (00:23 +0000)]
added some comments

23 years agoremoved lukes acl check in configure (not needed)
Andrew Tridgell [Thu, 8 Oct 1998 00:02:43 +0000 (00:02 +0000)]
removed lukes acl check in configure (not needed)

23 years agodon't prototype the acl() functions
Andrew Tridgell [Wed, 7 Oct 1998 23:57:02 +0000 (23:57 +0000)]
don't prototype the acl() functions

23 years agodce/rpc
Luke Leighton [Wed, 7 Oct 1998 21:42:24 +0000 (21:42 +0000)]
dce/rpc

23 years agoadded aclent_t autoconf test (defines as an int if it doesn't exist).
Luke Leighton [Wed, 7 Oct 1998 16:49:32 +0000 (16:49 +0000)]
added aclent_t autoconf test (defines as an int if it doesn't exist).
this is to stop a compilation error caused by make proto putting
functions that are wrapped in #if HAVE_ACLxxx code.

maybe a better fix would be to have mkproto.awk exclude any functions
wrapped in #if HAVEs that don't exist.

23 years agoreturn False _and_ a break in a switch statement.
Luke Leighton [Wed, 7 Oct 1998 16:45:44 +0000 (16:45 +0000)]
return False _and_ a break in a switch statement.

23 years agomake proto required
Luke Leighton [Wed, 7 Oct 1998 15:24:48 +0000 (15:24 +0000)]
make proto required

23 years agodce/rpc
Luke Leighton [Wed, 7 Oct 1998 15:22:49 +0000 (15:22 +0000)]
dce/rpc

23 years agocompile to .po.o first then mv to .po in order to make the sun
Andrew Tridgell [Wed, 7 Oct 1998 13:27:54 +0000 (13:27 +0000)]
compile to .po.o first then mv to .po in order to make the sun
compilers happy

23 years agorestore errno after smbw initialisation
Andrew Tridgell [Wed, 7 Oct 1998 11:07:24 +0000 (11:07 +0000)]
restore errno after smbw initialisation

23 years agowe need realcalls.h in realcalls.c
Andrew Tridgell [Wed, 7 Oct 1998 10:58:12 +0000 (10:58 +0000)]
we need realcalls.h in realcalls.c

23 years agoSunOS doesn't need any ld flags
Andrew Tridgell [Wed, 7 Oct 1998 10:57:51 +0000 (10:57 +0000)]
SunOS doesn't need any ld flags

23 years agofixed a warning on SunOS
Andrew Tridgell [Wed, 7 Oct 1998 10:49:27 +0000 (10:49 +0000)]
fixed a warning on SunOS

23 years agouse double for dummy arrays to ensure alignment
Andrew Tridgell [Wed, 7 Oct 1998 10:44:12 +0000 (10:44 +0000)]
use double for dummy arrays to ensure alignment

23 years agofixed fork() on SunOS4
Andrew Tridgell [Wed, 7 Oct 1998 10:41:38 +0000 (10:41 +0000)]
fixed fork() on SunOS4

23 years agomore solaris acl fixes
Andrew Tridgell [Wed, 7 Oct 1998 10:37:09 +0000 (10:37 +0000)]
more solaris acl fixes

23 years ago- updated docs to say OSF1 works
Andrew Tridgell [Wed, 7 Oct 1998 10:35:18 +0000 (10:35 +0000)]
- updated docs to say OSF1 works
- more solaris acl fixes

23 years agofixed facl() bug for solaris
Andrew Tridgell [Wed, 7 Oct 1998 10:27:40 +0000 (10:27 +0000)]
fixed facl() bug for solaris

23 years agofixed __xstat() under linux
Andrew Tridgell [Wed, 7 Oct 1998 10:12:29 +0000 (10:12 +0000)]
fixed __xstat() under linux

23 years agoremoevd a misplaced comma
Andrew Tridgell [Wed, 7 Oct 1998 10:08:08 +0000 (10:08 +0000)]
remoevd a misplaced comma

23 years agoreturn type cleanups for IRIX
Andrew Tridgell [Wed, 7 Oct 1998 10:06:28 +0000 (10:06 +0000)]
return type cleanups for IRIX

23 years agoyet another attempt at making this stuff portable. This time I use
Andrew Tridgell [Wed, 7 Oct 1998 09:57:22 +0000 (09:57 +0000)]
yet another attempt at making this stuff portable. This time I use
minimal includes in wrapped.c

23 years agonot needed any more
Andrew Tridgell [Wed, 7 Oct 1998 09:48:21 +0000 (09:48 +0000)]
not needed any more

23 years agofix the SEEKDIR_RETURNS_VOID test
Andrew Tridgell [Wed, 7 Oct 1998 08:39:37 +0000 (08:39 +0000)]
fix the SEEKDIR_RETURNS_VOID test

23 years agodetect __sys_llseek()
Andrew Tridgell [Wed, 7 Oct 1998 08:12:04 +0000 (08:12 +0000)]
detect __sys_llseek()

23 years agopossibly use __sys_llseek()
Andrew Tridgell [Wed, 7 Oct 1998 08:11:12 +0000 (08:11 +0000)]
possibly use __sys_llseek()

23 years agowon't need wrapper.h anymore
Andrew Tridgell [Wed, 7 Oct 1998 08:10:48 +0000 (08:10 +0000)]
won't need wrapper.h anymore

23 years agomore OSF1 changes as well as changes to allow us to use the standard
Andrew Tridgell [Wed, 7 Oct 1998 07:55:14 +0000 (07:55 +0000)]
more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler

23 years agotest whether seekdir() returns void or not
Andrew Tridgell [Wed, 7 Oct 1998 06:15:08 +0000 (06:15 +0000)]
test whether seekdir() returns void or not

23 years ago- no getdents on OSF1
Andrew Tridgell [Wed, 7 Oct 1998 05:58:09 +0000 (05:58 +0000)]
- no getdents on OSF1
- try a new method of handling prototype mismatches in wrapped.c. We
  now try to disable prototypes!

23 years agoreran autoconf
Andrew Tridgell [Wed, 7 Oct 1998 05:02:37 +0000 (05:02 +0000)]
reran autoconf

23 years agofix typo
Andrew Tridgell [Wed, 7 Oct 1998 04:54:42 +0000 (04:54 +0000)]
fix typo

23 years agofixed a bug in real_seekdir()
Andrew Tridgell [Wed, 7 Oct 1998 04:52:12 +0000 (04:52 +0000)]
fixed a bug in real_seekdir()

23 years agosome changes for OSF1 support in smbwrapper (just preliminary changes,
Andrew Tridgell [Wed, 7 Oct 1998 04:44:31 +0000 (04:44 +0000)]
some changes for OSF1 support in smbwrapper (just preliminary changes,
doesn't work yet)

23 years agoadded a document on how to port smbwrapper to a new system
Andrew Tridgell [Wed, 7 Oct 1998 04:24:42 +0000 (04:24 +0000)]
added a document on how to port smbwrapper to a new system

23 years agoadded some comments
Andrew Tridgell [Wed, 7 Oct 1998 04:24:04 +0000 (04:24 +0000)]
added some comments

23 years agosomehow "in_client" got included twice in two places.
Andrew Tridgell [Wed, 7 Oct 1998 01:03:35 +0000 (01:03 +0000)]
somehow "in_client" got included twice in two places.

23 years agoput #if BROKEN_CODE around all the bits of code in rpc_parse.c that
Andrew Tridgell [Wed, 7 Oct 1998 01:01:26 +0000 (01:01 +0000)]
put #if BROKEN_CODE around all the bits of code in rpc_parse.c that
don't compile.

Luke, you'll need to remove these when you've fixed the code.

23 years agodo an anonymous login if the username/password is rejected.
Andrew Tridgell [Wed, 7 Oct 1998 00:40:18 +0000 (00:40 +0000)]
do an anonymous login if the username/password is rejected.

23 years agoAdded capability for smbclient to use the local WINS server on the same
Richard Sharpe [Tue, 6 Oct 1998 23:46:01 +0000 (23:46 +0000)]
Added capability for smbclient to use the local WINS server on the same
machine if WINSsupport configured

23 years agodce/rpc
Luke Leighton [Tue, 6 Oct 1998 22:03:04 +0000 (22:03 +0000)]
dce/rpc

23 years agocrc32 algorithm. obtained from dr dobb's journal
Luke Leighton [Tue, 6 Oct 1998 21:43:58 +0000 (21:43 +0000)]
crc32 algorithm.  obtained from dr dobb's journal
http://www.ddj.com/ftp/1992/1992.05/crcman.zip.
copyright 1992 mark r nelson.

23 years agousing wrong cli_state in "security = domain" call.
Luke Leighton [Tue, 6 Oct 1998 16:25:24 +0000 (16:25 +0000)]
using wrong cli_state in "security = domain" call.

23 years agofixed rename error code from NT servers
Andrew Tridgell [Tue, 6 Oct 1998 13:20:06 +0000 (13:20 +0000)]
fixed rename error code from NT servers

23 years agoimplemented unix semantics for rename in smbwrapper
Andrew Tridgell [Tue, 6 Oct 1998 13:10:06 +0000 (13:10 +0000)]
implemented unix semantics for rename in smbwrapper

23 years agoadded a wrapper for fork()
Andrew Tridgell [Tue, 6 Oct 1998 12:23:37 +0000 (12:23 +0000)]
added a wrapper for fork()

in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.

23 years agofixed a bug in time setting (utime() call)
Andrew Tridgell [Tue, 6 Oct 1998 11:56:44 +0000 (11:56 +0000)]
fixed a bug in time setting (utime() call)

23 years agoimplemented attribute mapping and chmod. file attributes are mapped in
Andrew Tridgell [Tue, 6 Oct 1998 11:14:52 +0000 (11:14 +0000)]
implemented attribute mapping and chmod. file attributes are mapped in
the same manner as smbd. See the README for a full explanation.

23 years agoadded SMBW_PREFIX environment variable (allowing you to specify root
Andrew Tridgell [Tue, 6 Oct 1998 10:24:22 +0000 (10:24 +0000)]
added SMBW_PREFIX environment variable (allowing you to specify root
of smb filesystem)

fixed "cd /smb" bug

updated README with full list of environment variables.

23 years agoremoved unused variable
Andrew Tridgell [Tue, 6 Oct 1998 03:20:56 +0000 (03:20 +0000)]
removed unused variable

23 years agoremove unused arguments from some static functions.
Andrew Tridgell [Tue, 6 Oct 1998 03:20:43 +0000 (03:20 +0000)]
remove unused arguments from some static functions.

23 years agouse smbw_errno() not smbw_error()
Andrew Tridgell [Tue, 6 Oct 1998 03:12:40 +0000 (03:12 +0000)]
use smbw_errno() not smbw_error()

23 years agoset HOST_OS after canonical system test
Andrew Tridgell [Mon, 5 Oct 1998 23:44:13 +0000 (23:44 +0000)]
set HOST_OS after canonical system test

23 years agoclean needs to delete po32 and .so files
Andrew Tridgell [Mon, 5 Oct 1998 23:34:50 +0000 (23:34 +0000)]
clean needs to delete po32 and .so files

23 years agotell the user we are producing -32 code for the .32.so library
Andrew Tridgell [Mon, 5 Oct 1998 23:31:55 +0000 (23:31 +0000)]
tell the user we are producing -32 code for the .32.so library

23 years agothe IRIX make is very fussy amount comment lines. If a comment line
Andrew Tridgell [Mon, 5 Oct 1998 23:30:27 +0000 (23:30 +0000)]
the IRIX make is very fussy amount comment lines. If a comment line
has a trailing \ then it continues the comment and wipes out the next
non-blank line!

be careful when commenting out bits of the Makefile

23 years agorpcclient srvsvc commands.
Luke Leighton [Mon, 5 Oct 1998 15:41:41 +0000 (15:41 +0000)]
rpcclient srvsvc commands.

23 years ago- fixed errno return in smbw_open()
Andrew Tridgell [Mon, 5 Oct 1998 13:51:19 +0000 (13:51 +0000)]
- fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()

23 years agoMore yuck changes for Red Hat RPM production.
John Terpstra [Mon, 5 Oct 1998 12:58:07 +0000 (12:58 +0000)]
More yuck changes for Red Hat RPM production.

23 years ago- keep IRIX cc -64 happy
Andrew Tridgell [Mon, 5 Oct 1998 12:43:05 +0000 (12:43 +0000)]
- keep IRIX cc -64 happy
- fixed a chdir bug

23 years agoignore *.po32 files
Andrew Tridgell [Mon, 5 Oct 1998 12:36:44 +0000 (12:36 +0000)]
ignore *.po32 files

23 years agofixed some cast warnings from "cc -64" on IRIX
Andrew Tridgell [Mon, 5 Oct 1998 12:36:23 +0000 (12:36 +0000)]
fixed some cast warnings from "cc -64" on IRIX

23 years ago- fixed cast warnings
Andrew Tridgell [Mon, 5 Oct 1998 12:35:30 +0000 (12:35 +0000)]
- fixed cast warnings
- ignore *.po32 files

23 years agonew prototypes
Andrew Tridgell [Mon, 5 Oct 1998 12:34:57 +0000 (12:34 +0000)]
new prototypes

23 years agofixed a cast warning
Andrew Tridgell [Mon, 5 Oct 1998 12:34:43 +0000 (12:34 +0000)]
fixed a cast warning

23 years agoreran autoconf for IRIX changes
Andrew Tridgell [Mon, 5 Oct 1998 12:34:22 +0000 (12:34 +0000)]
reran autoconf for IRIX changes

23 years agogot smbwrapper working on IRIX 6.4. Things got a bit tricky,
Andrew Tridgell [Mon, 5 Oct 1998 12:17:01 +0000 (12:17 +0000)]
got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!

23 years agofixed Makefile for IRIX make (it doesn't know %.o=%.po, leaving off
Andrew Tridgell [Mon, 5 Oct 1998 10:53:07 +0000 (10:53 +0000)]
fixed Makefile for IRIX make (it doesn't know %.o=%.po, leaving off
the % works)