sfrench/samba-autobuild/.git
25 years agoglobal change from samba.anu.edu.au to samba.org
Andrew Tridgell [Sat, 21 Nov 1998 13:20:31 +0000 (13:20 +0000)]
global change from samba.anu.edu.au to samba.org
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)

25 years agoAdded changes to smbtar submitted by Sandy Whitesel
Richard Sharpe [Sat, 21 Nov 1998 09:29:35 +0000 (09:29 +0000)]
Added changes to smbtar submitted by Sandy Whitesel

Added some extra documentation for smbclient

Grr, Jeremy beat me to a bug fix in client.c

Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-)
(This used to be commit 8594c4bcae503972679c55a2fcab8eb69faf3ae3)

25 years agomake SWAT obey the global "hosts allow" and "hosts deny" settings.
Andrew Tridgell [Sat, 21 Nov 1998 01:41:14 +0000 (01:41 +0000)]
make SWAT obey the global "hosts allow" and "hosts deny" settings.
any attempt to run swat from a host that is disallowed will give an
error.
(This used to be commit fe4ef4bbef01aed75807c884249ca8efa5de4140)

25 years agotry to use *SMBSERVER to connect to password server if the first
Andrew Tridgell [Sat, 21 Nov 1998 01:28:15 +0000 (01:28 +0000)]
try to use *SMBSERVER to connect to password server if the first
session_request fails.
(This used to be commit ab2370e7ac770f1e32b8d726ab955457fcc8c2d7)

25 years agoadd a error code when failed to get lock
Andrew Tridgell [Sat, 21 Nov 1998 01:26:45 +0000 (01:26 +0000)]
add a error code when failed to get lock
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)

25 years agoformatting change
Andrew Tridgell [Sat, 21 Nov 1998 01:26:18 +0000 (01:26 +0000)]
formatting change
(This used to be commit 94fc7fe3afa1dc5547050248738eb697c1eeef59)

25 years agouse bindir not sbindir in Makefile to ensure that we don't break
Andrew Tridgell [Sat, 21 Nov 1998 00:56:52 +0000 (00:56 +0000)]
use bindir not sbindir in Makefile to ensure that we don't break
existing setups
(This used to be commit e97cbd6912a58d4985c2b8a649cfe6982809892d)

25 years agosmbd/password.c: Added *SMBSERVER fix is name is too long.
Jeremy Allison [Sat, 21 Nov 1998 00:16:28 +0000 (00:16 +0000)]
smbd/password.c: Added *SMBSERVER fix is name is too long.
web/swat.c: Changed '?' to help.
Jeremy.
(This used to be commit 631913ea856926a77304692c74a1bd27faead179)

25 years agoInstrumented hack fix with debug level 10 statements just in case :-).
Jeremy Allison [Fri, 20 Nov 1998 23:22:43 +0000 (23:22 +0000)]
Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy.
(This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)

25 years agoacconfig.h configure configure.in include/config.h.in: Added -lsec and -lsecurity...
Jeremy Allison [Fri, 20 Nov 1998 20:44:21 +0000 (20:44 +0000)]
acconfig.h configure configure.in include/config.h.in: Added -lsec and -lsecurity checks
in a more sane way.
rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC.
rpc_parse/parse_samr.c: Fixed compile warnings.
Jeremy.
(This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)

25 years agoFixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy Allison [Fri, 20 Nov 1998 01:06:09 +0000 (01:06 +0000)]
Fixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy.
(This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)

25 years agowrong directory path for smbd and nmbd
Herb Lewis [Fri, 20 Nov 1998 00:15:26 +0000 (00:15 +0000)]
wrong directory path for smbd and nmbd
(This used to be commit a33b4f623f196ca7e8056454b9212fe0ffa389c2)

25 years agoMakefile.in: Added passing of CPPFLAGS into Makefile.
Jeremy Allison [Thu, 19 Nov 1998 23:42:57 +0000 (23:42 +0000)]
Makefile.in: Added passing of CPPFLAGS into Makefile.
configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
                     enable large file support of *any* description unless
                     either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
                     I chose "-D_LARGE_FILES" as this leads to cleaner code...

Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
(This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)

25 years agoSync up with 2.0 code.
Jeremy Allison [Thu, 19 Nov 1998 22:37:33 +0000 (22:37 +0000)]
Sync up with 2.0 code.
Added HPUX autoconf changes.
Added "gross hack" printer code.
Jeremy.
(This used to be commit 1ef6d3bd63722afe9c376793a6ea72046d1a0602)

25 years agosmb.conf : explicitly state "printcap name=" and "security=" parameters
Herb Lewis [Thu, 19 Nov 1998 21:30:58 +0000 (21:30 +0000)]
smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl   : change default behaviour for installation of config files.
(This used to be commit 36928da28ca84fa64cd7b0dd66cab879e307911c)

25 years agoupdate testparm with -s option so it doesn't require a carriage return
Herb Lewis [Thu, 19 Nov 1998 21:17:58 +0000 (21:17 +0000)]
update testparm with -s option so it doesn't require a carriage return
also allow specifying [host hostip] without [configfile]
updated man page
(This used to be commit 85fbd401026e7f1464c9a125cbaa505b768f8a10)

25 years agoChanges to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
Jeremy Allison [Thu, 19 Nov 1998 04:15:23 +0000 (04:15 +0000)]
Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
(This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)

25 years agoAdded OSF1 changes to HEAD (-lsecurity etc.)
Jeremy Allison [Wed, 18 Nov 1998 22:04:24 +0000 (22:04 +0000)]
Added OSF1 changes to HEAD (-lsecurity etc.)
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler.
utils/smbpasswd.c: Fixed SunOS optind, optarg problem.
Jeremy.
(This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)

25 years agoFixed crash bug which was assuming that fd_ptr was always non-null
Jeremy Allison [Wed, 18 Nov 1998 19:06:51 +0000 (19:06 +0000)]
Fixed crash bug which was assuming that fd_ptr was always non-null
(which is not the case with open directories).
Jeremy.
(This used to be commit c154b1601f5891d664fc538ec8874fa8ef2061e6)

25 years agoUpdated packaging files in line with restructuring of Makefile.in
John Terpstra [Wed, 18 Nov 1998 12:44:29 +0000 (12:44 +0000)]
Updated packaging files in line with restructuring of Makefile.in
(This used to be commit 05f2d78c8ee1dc0516d9e1076e0954ee2c2cd4b2)

25 years agochange to new prefix path
Herb Lewis [Wed, 18 Nov 1998 02:15:35 +0000 (02:15 +0000)]
change to new prefix path
(This used to be commit 64b2ffc679b39f1654c5dcd36276bcb9e6c553b4)

25 years agoFixed problem with HAVE_NETGROUP being used on platforms
Jeremy Allison [Wed, 18 Nov 1998 01:19:32 +0000 (01:19 +0000)]
Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
(This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)

25 years agoFixed NT modify timestamp issue.
Jeremy Allison [Tue, 17 Nov 1998 23:44:52 +0000 (23:44 +0000)]
Fixed NT modify timestamp issue.
If a client does a modify timestamp on an open file (which will
do no good at all on UNIX :-) then keep the modify request pending
in the files_struct and apply it at close instead.
Jeremy.
(This used to be commit 92a7a86f0e0255e3812dd35bebfcd653091514ae)

25 years agoChanged Makefile.in to use autoconf prefixes.
Jeremy Allison [Tue, 17 Nov 1998 22:06:59 +0000 (22:06 +0000)]
Changed Makefile.in to use autoconf prefixes.

NOTE: The packaging scripts will have to be changed !!!!

Jeremy.
(This used to be commit 79c259f05cf7cd4f2d3d1bb92fff3bde7acd8a50)

25 years agoAdded the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
Jeremy Allison [Tue, 17 Nov 1998 20:50:07 +0000 (20:50 +0000)]
Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.

Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.

This code still needs surgery :-(.

Jeremy.
(This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)

25 years agolookup_alias_name() %s not %d for sid_str
Luke Leighton [Tue, 17 Nov 1998 19:32:06 +0000 (19:32 +0000)]
lookup_alias_name() %s not %d for sid_str
(This used to be commit 2a98135bbc759ab334d76cce98ea673871445db1)

25 years agosomehow this file got missed in the groupdb commit.
Luke Leighton [Tue, 17 Nov 1998 18:50:14 +0000 (18:50 +0000)]
somehow this file got missed in the groupdb commit.
(This used to be commit 06da8e49f1cf5d6b954f586f6720ade1c5b8de74)

25 years agomake_uni_hdr() reverted accidentally with a -1 on username length
Luke Leighton [Tue, 17 Nov 1998 18:01:43 +0000 (18:01 +0000)]
make_uni_hdr() reverted accidentally with a -1 on username length
(This used to be commit 7da1b0bb511e6c5e44ab83759914134cf91f6f78)

25 years agoswapped username:uid:[groupridlist]:[aliasridlist] to
Luke Leighton [Tue, 17 Nov 1998 17:38:13 +0000 (17:38 +0000)]
swapped username:uid:[groupridlist]:[aliasridlist] to
u:u:a:g
(This used to be commit 2f456ed92ffbf596945a9ec800c373495fc4e38a)

25 years ago- group database API. oops and oh dear, the threat has been carried out:
Luke Leighton [Tue, 17 Nov 1998 16:19:04 +0000 (16:19 +0000)]
- group database API.  oops and oh dear, the threat has been carried out:
  the pre-alpha "domain group" etc parameters have disappeared.

- interactive debug detection

- re-added mem_man (andrew's memory management, detects memory corruption)

- american spellings of "initialise" replaced with english spelling of
  "initialise".

- started on "lookup_name()" and "lookup_sid()" functions.  proper ones.

- moved lots of functions around.  created some modules of commonly used
  code.  e.g the password file locking code, which is used in groupfile.c
  and aliasfile.c and smbpass.c

- moved RID_TYPE_MASK up another bit.  this is really unfortunate, but
  there is no other "fast" way to identify users from groups from aliases.
  i do not believe that this code saves us anything (the multipliers)
  and puts us at a disadvantage (reduces the useable rid space).
  the designers of NT aren't silly: if they can get away with a user-
  interface-speed LsaLookupNames / LsaLookupSids, then so can we.  i
  spoke with isaac at the cifs conference, the only time for example that
  they do a security context check is on file create.  certainly not on
  individual file reads / writes, which would drastically hit their
  performance and ours, too.

- renamed myworkgroup to global_sam_name, amongst other things, when used
  in the rpc code.  there is also a global_member_name, as we are always
  responsible for a SAM database, the scope of which is limited by the role
  of the machine (e.g if a member of a workgroup, your SAM is for _local_
  logins only, and its name is the name of your server.  you even still
  have a SID.  see LsaQueryInfoPolicy, levels 3 and 5).

- updated functionality of groupname.c to be able to cope with names
  like DOMAIN\group and SERVER\alias.  used this code to be able to
  do aliases as well as groups.  this code may actually be better
  off being used in username mapping, too.

- created a connect to serverlist function in clientgen.c and used it
  in password.c

- initialisation in server.c depends on the role of the server.  well,
  it does now.

- rpctorture.  smbtorture.  EXERCISE EXTREME CAUTION.
(This used to be commit 0d21e1e6090b933f396c764af535ca3388a562db)

25 years agoFixed missing NULL check in tar op.
Jeremy Allison [Tue, 17 Nov 1998 01:44:25 +0000 (01:44 +0000)]
Fixed missing NULL check in tar op.
Jeremy.
(This used to be commit 6db04cd4622289dbdbd0c6d4d084baa8f84c40c2)

25 years agoMoved PRINTCAP_NAME from smb.h to includes to allow it to
Jeremy Allison [Tue, 17 Nov 1998 00:31:39 +0000 (00:31 +0000)]
Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type.
Jeremy.
(This used to be commit c1a3346547d887bfd2402a6b0bcc185680eb4470)

25 years agoMakefile.in: Re-added quotes round ROFF call for DGUX.
Jeremy Allison [Mon, 16 Nov 1998 23:28:59 +0000 (23:28 +0000)]
Makefile.in: Re-added quotes round ROFF call for DGUX.
script/installman.sh: Make installman ignore ROFF argument if it is "".
smbd/oplock.c: Move location of oplock test file to lockdir.
Jeremy.
(This used to be commit 6c25a3314243997508b0b2da4bfa10bb979e9c10)

25 years agoO_EXCL fixes for printing files & oplocks.
Jeremy Allison [Mon, 16 Nov 1998 21:38:13 +0000 (21:38 +0000)]
O_EXCL fixes for printing files & oplocks.
Jeremy.
(This used to be commit 4ca71c90985b1c88d92bdd0f9079a4afc263dc46)

25 years agoAdded fixes for machine accounts.
Jeremy Allison [Mon, 16 Nov 1998 20:19:57 +0000 (20:19 +0000)]
Added fixes for machine accounts.
Jeremy.
(This used to be commit 7aa644c2f996433f8ec125bfd4221aec49bece2b)

25 years agoadd some more comments and clean it up a little more.
Herb Lewis [Mon, 16 Nov 1998 16:36:57 +0000 (16:36 +0000)]
add some more comments and clean it up a little more.
(This used to be commit 73e4b91a9d152eb3d56997c9108d536d38e3c07e)

25 years agosome fixes for IRIX 5.3 builds
Herb Lewis [Mon, 16 Nov 1998 13:47:22 +0000 (13:47 +0000)]
some fixes for IRIX 5.3 builds
(This used to be commit c2b63b90825316151f3ffc8dbae45609062c0a73)

25 years agoSet sticky bit on /var/spool/samba.
John Terpstra [Mon, 16 Nov 1998 13:31:53 +0000 (13:31 +0000)]
Set sticky bit on /var/spool/samba.
Further security review.
(This used to be commit e31c61c29eb126680c78d6d02dc11827b39a064b)

25 years agoReviewed file permissions and removed other execute on samba start/stop script.
John Terpstra [Mon, 16 Nov 1998 12:25:50 +0000 (12:25 +0000)]
Reviewed file permissions and removed other execute on samba start/stop script.
(This used to be commit 2dde295da0e387cdd5c20a0bec72f9316f4d80f2)

25 years agoRemoved smbwrappers from build specs and from installation specs.
John Terpstra [Mon, 16 Nov 1998 12:23:47 +0000 (12:23 +0000)]
Removed smbwrappers from build specs and from installation specs.
(This used to be commit c444cba3bef6cdf80dd33b3b5f23ba0a34d5482a)

25 years agoAdded Example binary packaging instructions.
John Terpstra [Mon, 16 Nov 1998 12:21:02 +0000 (12:21 +0000)]
Added Example binary packaging instructions.
(This used to be commit 4c60314b050324b356f38f648f2730cb1d39be4c)

25 years agoUpdated packaging files (new for Caldera).
John Terpstra [Mon, 16 Nov 1998 12:03:16 +0000 (12:03 +0000)]
Updated packaging files (new for Caldera).
(This used to be commit 721a257c941a62508015c0939df40662f8da9a93)

25 years agofixed lmhosts parsing. We were using sizeof(name) where name was char*
Andrew Tridgell [Mon, 16 Nov 1998 01:27:51 +0000 (01:27 +0000)]
fixed lmhosts parsing. We were using sizeof(name) where name was char*
(This used to be commit 67ba0b1ce335bc80e1c33fa28458ec9ebe5f446a)

25 years agoUpdates to handle glob.h - was causing problems on SCO 5.0.4
John Terpstra [Mon, 16 Nov 1998 01:12:36 +0000 (01:12 +0000)]
Updates to handle glob.h - was causing problems on SCO 5.0.4
(This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3)

25 years agochange ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macros
Andrew Tridgell [Sun, 15 Nov 1998 23:07:54 +0000 (23:07 +0000)]
change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macros
(This used to be commit d9d44d98ec719b7fc6d5b0fc35bf8727f4cd0372)

25 years agocompile with optimisation by default on all compilers
Andrew Tridgell [Sat, 14 Nov 1998 23:52:49 +0000 (23:52 +0000)]
compile with optimisation by default on all compilers

this has 2 effects:

1) non gcc platforms get some optimisation
2) it disables -g by default which means the samba binaries won't be
   so huge (they were over 60MB on some systems)
(This used to be commit 263b13222c14db7ddec1430132c6362be4442147)

25 years agoAdded first cut of the new packaging scripts for Digital Unix.
John Terpstra [Sat, 14 Nov 1998 13:01:34 +0000 (13:01 +0000)]
Added first cut of the new packaging scripts for Digital Unix.
Note: This will be extended for all other OS's so that it can be
maintained by the samba release scripts.
(This used to be commit 0f98a2fd58aee1dac4d0f4098a2e690dfaf5ba27)

25 years agosupport.txt is now maintained solely on the web pages
Andrew Tridgell [Sat, 14 Nov 1998 06:34:57 +0000 (06:34 +0000)]
support.txt is now maintained solely on the web pages
(This used to be commit 73b662069cb12bd77eae13a36a8b855abc01594f)

25 years agoFixed swat packaging & man page packaging.
Jeremy Allison [Sat, 14 Nov 1998 04:22:31 +0000 (04:22 +0000)]
Fixed swat packaging & man page packaging.
Jeremy.
(This used to be commit 178d1bd61b3a622adc48b6423fae1db815cae3da)

25 years agoautomatically uppercase server and share names (win95 won't handle
Andrew Tridgell [Sat, 14 Nov 1998 04:16:07 +0000 (04:16 +0000)]
automatically uppercase server and share names (win95 won't handle
lowercase share names!)
(This used to be commit dddf1d8522707b828cac466c4a9ab2807d098573)

25 years agofixed setmode in smbclient
Andrew Tridgell [Sat, 14 Nov 1998 04:08:19 +0000 (04:08 +0000)]
fixed setmode in smbclient
(This used to be commit c58f4965100692d8edcd613a341df9e2ad88cfa0)

25 years agoFixes to get the manpages from the right place.
Jeremy Allison [Sat, 14 Nov 1998 04:03:58 +0000 (04:03 +0000)]
Fixes to get the manpages from the right place.
Jeremy.
(This used to be commit 0e3bfe5f2860066aa07bce7a691f7af682c73949)

25 years ago- handle servers that don't support getattrE (ie. NT)
Andrew Tridgell [Sat, 14 Nov 1998 03:53:24 +0000 (03:53 +0000)]
- handle servers that don't support getattrE (ie. NT)
- use * in clitar instead of *.*
(This used to be commit 2d9335fe2a6fc3bb6687360c99d8fc69cb2d555a)

25 years ago(Hopefully) correct patch files for RedHat & TurboLinux.
Jeremy Allison [Sat, 14 Nov 1998 03:48:26 +0000 (03:48 +0000)]
(Hopefully) correct patch files for RedHat & TurboLinux.
In fixing this I have learned more about RPM than I *ever*
wanted to know....
Jeremy.
(This used to be commit 765989e4151a5f8dd48353d7c1b175092717947e)

25 years agoFixed problem with smbclient issuing '*.*' to NT server when an
Jeremy Allison [Sat, 14 Nov 1998 03:34:44 +0000 (03:34 +0000)]
Fixed problem with smbclient issuing '*.*' to NT server when an
NT server needs '*'. Win95/98 doesn't care either way :-).
Jeremy.
(This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)

25 years agoUpdated from smb.conf.5.html
Jeremy Allison [Sat, 14 Nov 1998 03:13:08 +0000 (03:13 +0000)]
Updated from smb.conf.5.html
Jeremy.
(This used to be commit 6f37d151d87d7ab4475ef552abb9183464203093)

25 years agoUpdate for 2.0beta1.
Jeremy Allison [Sat, 14 Nov 1998 03:01:40 +0000 (03:01 +0000)]
Update for 2.0beta1.
Jeremy.
(This used to be commit 598d0255d40da29ebab3d1a3c9eb66ba654db7b5)

25 years agoprompt for password on smbclient -L
Andrew Tridgell [Sat, 14 Nov 1998 02:34:19 +0000 (02:34 +0000)]
prompt for password on smbclient -L
(This used to be commit 1558f34a878d6fea0cc745a7fcec04f79f7e50ff)

25 years ago- new prototypes
Andrew Tridgell [Sat, 14 Nov 1998 02:29:38 +0000 (02:29 +0000)]
- new prototypes
- much as I hate doing it I've removed the "commit changes" button for
  users that don't have write access to smb.conf (Jeremy insisted)
(This used to be commit 8e8ab4df1fe77dfcae73a34f4de174afe09cd695)

25 years agoallow all user to view the config
Andrew Tridgell [Sat, 14 Nov 1998 02:14:30 +0000 (02:14 +0000)]
allow all user to view the config
(This used to be commit ab35d99e52225b0e9f519903ae99e575075187e7)

25 years agoremove code that allows installation via cgi
Andrew Tridgell [Sat, 14 Nov 1998 02:10:55 +0000 (02:10 +0000)]
remove code that allows installation via cgi

swat will now give an error message if run via cgi
(This used to be commit 55377e3cdd5d8428e89b40946f0535b8cf5247ae)

25 years agoremoved information on installing via cgi
Andrew Tridgell [Sat, 14 Nov 1998 02:10:07 +0000 (02:10 +0000)]
removed information on installing via cgi
(This used to be commit 08fd7032584bf93a92b71ea7d5f73d2da75c8bb0)

25 years agomissed a .B
Herb Lewis [Sat, 14 Nov 1998 01:57:25 +0000 (01:57 +0000)]
missed a .B
(This used to be commit f213352c3de6a23d1b5c92fda6404a3116db1279)

25 years agoRemoved acconfig.h configure configure.in include/config.h.in: Made smbwrapper not...
Jeremy Allison [Sat, 14 Nov 1998 01:04:13 +0000 (01:04 +0000)]
Removed acconfig.h configure configure.in include/config.h.in: Made smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
   file problem...sigh.
Jeremy.
(This used to be commit 9ee8f39aed8772a05c203161b4ae6b7d90d67481)

25 years agoFixed munging of sample file in man pages.
Jeremy Allison [Sat, 14 Nov 1998 01:02:38 +0000 (01:02 +0000)]
Fixed munging of sample file in man pages.
Jeremy.
(This used to be commit 9e1ff71faf558addfabe038e3bf45ee694ea4a0b)

25 years agoFixed makefile problem due to change from SMB_PASSWD to PASSWD_PROGRAM.
Jeremy Allison [Sat, 14 Nov 1998 00:50:41 +0000 (00:50 +0000)]
Fixed makefile problem due to change from SMB_PASSWD to PASSWD_PROGRAM.
Thanks to Michael H. Warfield <mhw@wittsend.com> for that.
Jeremy.
(This used to be commit 6c2a234ac9b4bbef3886c9aa4a198776a0bee6c8)

25 years agoAdded --with-smbwrapper to configure lines in spec files so JohnT's
Jeremy Allison [Sat, 14 Nov 1998 00:29:38 +0000 (00:29 +0000)]
Added --with-smbwrapper to configure lines in spec files so JohnT's
scripts work ok.
Jeremy.
(This used to be commit 9dc2502382f17c2bd1794c92ad0f4862a76b84e8)

25 years agoran spell check and other minor tweaks
Herb Lewis [Sat, 14 Nov 1998 00:14:47 +0000 (00:14 +0000)]
ran spell check and other minor tweaks
(This used to be commit 7d8ec97b451721cddbb859415490d65c41e8afe2)

25 years agoAdded packing release script.
John Terpstra [Fri, 13 Nov 1998 23:10:32 +0000 (23:10 +0000)]
Added packing release script.
(This used to be commit a77d40ee7147207174cde4c7a0f775e588e5a6ba)

25 years agoUpdated for 2.0beta1.
Jeremy Allison [Fri, 13 Nov 1998 22:43:28 +0000 (22:43 +0000)]
Updated for 2.0beta1.
(This used to be commit 566e92027f0c7d61a7de7a25ed9469ca801846a8)

25 years agoChange to beta1.
Jeremy Allison [Fri, 13 Nov 1998 21:49:19 +0000 (21:49 +0000)]
Change to beta1.
(This used to be commit 26c3ff2bcb225f65002620fec07aa6423477e6d9)

25 years agoMakefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
Jeremy Allison [Fri, 13 Nov 1998 21:41:01 +0000 (21:41 +0000)]
Makefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
(This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)

25 years agoreverted includes change for FreeBSD as it breaks IRIX
Andrew Tridgell [Fri, 13 Nov 1998 21:26:58 +0000 (21:26 +0000)]
reverted includes change for FreeBSD as it breaks IRIX
(This used to be commit 24b2bf1741366045eca02cbd09e3283531d28422)

25 years agoneed 32 bit status codes to be negotiated because of STUPID dos "error more
Luke Leighton [Fri, 13 Nov 1998 20:39:25 +0000 (20:39 +0000)]
need 32 bit status codes to be negotiated because of STUPID dos "error more
data needed" message gets treated as a serious error code (which it isn't)
so the client code terminates.
(This used to be commit d9b59580dcd5076d3027e364964dcd624300fe45)

25 years agoFixed timing window created by daemonize function. Smbmount was going daemon
Michael Warfield [Fri, 13 Nov 1998 20:32:22 +0000 (20:32 +0000)]
Fixed timing window created by daemonize function.  Smbmount was going daemon
before the mount was actually completed.  This caused weird problems when
used with autofs such as empty directories on first listing or files which
would appear in "ls" but would return "no such file or directory" under
"ls -l".  Note to Volker:  Initial attempt from CIFS conference didn't work.
Had to move daemonize function inside of loop after ioctl.
(This used to be commit 2f456be660b4bbf22c618b506062f812f35e368a)

25 years agoLOCAL_GRP and DOMAIN_GRP are return types
Luke Leighton [Fri, 13 Nov 1998 20:19:06 +0000 (20:19 +0000)]
LOCAL_GRP and DOMAIN_GRP are return types
(This used to be commit 887063e421d476fe2c2f6809750af3bfb020a85c)

25 years agoZERO_STRUCTP not PN
Luke Leighton [Fri, 13 Nov 1998 19:07:28 +0000 (19:07 +0000)]
ZERO_STRUCTP not PN
(This used to be commit ff8667c8801a59c80c33b43f033d23f3a0fd8313)

25 years agooops - ZERO_STRUCTP() issues again...
Luke Leighton [Fri, 13 Nov 1998 19:03:07 +0000 (19:03 +0000)]
oops - ZERO_STRUCTP() issues again...
(This used to be commit 2908ccd14d1aa4ffb7d09714bae78cebb7eee755)

25 years agoProblems found by Herb.
Jeremy Allison [Fri, 13 Nov 1998 18:19:36 +0000 (18:19 +0000)]
Problems found by Herb.
Jeremy.
(This used to be commit a5555bd3b744417674d62d5891e1d5dbe32008ff)

25 years agouse ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)
Luke Leighton [Fri, 13 Nov 1998 17:36:42 +0000 (17:36 +0000)]
use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)
(This used to be commit 70ac9dbcecdf4be92638a24f096e4a8807997498)

25 years agoZERO_STRUCTP does not check argument for NULL.
Luke Leighton [Fri, 13 Nov 1998 17:26:44 +0000 (17:26 +0000)]
ZERO_STRUCTP does not check argument for NULL.
ZERO_STRUCTPN _does_ check argument for NULL.
(This used to be commit 0be34ca1402f95506680caa3461e94d4ae54bb7d)

25 years agofixes for OSF1 compilation
Andrew Tridgell [Fri, 13 Nov 1998 03:37:01 +0000 (03:37 +0000)]
fixes for OSF1 compilation
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)

25 years agoinclude/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.
Jeremy Allison [Fri, 13 Nov 1998 02:07:07 +0000 (02:07 +0000)]
include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.
lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment).
rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection.
smbd/quotas.c: Fixed typo.
Jeremy.
(This used to be commit b62f008974c96e0302d6c146cf49bc2045bef005)

25 years agosecurity descriptors
Luke Leighton [Fri, 13 Nov 1998 01:38:41 +0000 (01:38 +0000)]
security descriptors
(This used to be commit 9412edfd4c11a26e4ef290839375e3959cf70a7e)

25 years agosids in rpctorture changed from fstrings to DOM_SID
Luke Leighton [Fri, 13 Nov 1998 01:08:28 +0000 (01:08 +0000)]
sids in rpctorture changed from fstrings to DOM_SID
(This used to be commit bd09e00112fd371aa070b5b47f1d4e27137a7f2e)

25 years agofixed compile for FreeBSD
Andrew Tridgell [Fri, 13 Nov 1998 01:05:25 +0000 (01:05 +0000)]
fixed compile for FreeBSD
(This used to be commit 78e63e17c59de68200308641dce7c413520a2980)

25 years ago%\ is an interesting printf argument, but I prefer %s
Andrew Tridgell [Thu, 12 Nov 1998 23:59:59 +0000 (23:59 +0000)]
%\ is an interesting printf argument, but I prefer %s
(This used to be commit b93f686655e871d7bfec9c7601cf3c175008041a)

25 years agowe don't have any jpeg images any more
Andrew Tridgell [Thu, 12 Nov 1998 23:57:18 +0000 (23:57 +0000)]
we don't have any jpeg images any more
(This used to be commit ae5f174ef163734c61c0d30b32f5564cfba02666)

25 years agoRemoved code that used printf/fprintf in password changin libraries.
Herb Lewis [Thu, 12 Nov 1998 23:49:32 +0000 (23:49 +0000)]
Removed code that used printf/fprintf in password changin libraries.
Now passes strings instead.
(This used to be commit 48af29bcc9e8094de6ba057a52dbae3c80ea7a05)

25 years agono longer needed
Andrew Tridgell [Thu, 12 Nov 1998 23:36:03 +0000 (23:36 +0000)]
no longer needed
(This used to be commit 275d22f81c9b8a04dd11ccc8733c62f48f270965)

25 years agochanged the fonts in the images a bit to be readable at a higher
Andrew Tridgell [Thu, 12 Nov 1998 23:35:11 +0000 (23:35 +0000)]
changed the fonts in the images a bit to be readable at a higher
resolution
(This used to be commit 688a7e5751109eec5d52ed67710502d43db6800d)

25 years agosecurity descriptors.
Luke Leighton [Thu, 12 Nov 1998 23:35:05 +0000 (23:35 +0000)]
security descriptors.
kanji const char* warnings.
(This used to be commit 06abdfd68e1d7fa8741afc3f56ec7a13b5fa4ccc)

25 years agoplease remember to check that code compiles before checkin!
Andrew Tridgell [Thu, 12 Nov 1998 23:10:48 +0000 (23:10 +0000)]
please remember to check that code compiles before checkin!
(This used to be commit 88c90ec65c1a764dd7b13d9fb5ce700027f40cfd)

25 years agomissed one
Herb Lewis [Thu, 12 Nov 1998 22:49:55 +0000 (22:49 +0000)]
missed one
(This used to be commit 6bc94f08cc927fc4901464f982b3300b631eb945)

25 years agosmaller images so they fit on one line of a 640/480 display
Herb Lewis [Thu, 12 Nov 1998 22:47:17 +0000 (22:47 +0000)]
smaller images so they fit on one line of a 640/480 display
(This used to be commit aa47ef998abf713ec44187592c91d7a5335bb814)

25 years agoCommiting tt fix.
Herb Lewis [Thu, 12 Nov 1998 22:42:07 +0000 (22:42 +0000)]
Commiting tt fix.
(This used to be commit 10093ae5fc6e375340fd904e41a37bcdc1191d93)

25 years agoFixed missing parens in tt entry.
Herb Lewis [Thu, 12 Nov 1998 22:38:12 +0000 (22:38 +0000)]
Fixed missing parens in tt entry.
(This used to be commit 86dfde31d966ba44cb554036a6232faa05e3a9f4)

25 years ago.cvsignore: Removed old entries.
Herb Lewis [Thu, 12 Nov 1998 22:17:51 +0000 (22:17 +0000)]
.cvsignore: Removed old entries.
client/client.c:
include/client.h: Added some debug messages that the old client used to
  generate. These are needed to make scripts such as
  'findsmb' work - there may be other changes to keep
  backwards output compatibility. Do we need a -old-client-compat
  argument ?
libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being
    cleared - corrupted malloc chains.
web/swat.c: John's changes to get rid of "ghost" table entries.
(This used to be commit 3c45a3503ea57d17e98eb3e57514161a5c82e45e)

25 years agoUse spaces not tabs.
Jeremy Allison [Thu, 12 Nov 1998 20:41:36 +0000 (20:41 +0000)]
Use spaces not tabs.
Jeremy.
(This used to be commit 6fbf01471d8dc76f8909d851c531fec3d79521d3)

25 years agoFixed smbpasswd so that enabling a user who already has a password
Jeremy Allison [Thu, 12 Nov 1998 20:22:11 +0000 (20:22 +0000)]
Fixed smbpasswd so that enabling a user who already has a password
doesn't require a new password entry. Sets the 'enable/disable' code
back to being symmetrical.
Jeremy.
(This used to be commit fa068a6db8da154903fb97a843f261592fcb684a)