24 years agoFixed typo. "Browsable is an acronym for browseable.
John Terpstra [Sat, 28 Nov 1998 03:01:32 +0000 (03:01 +0000)]
Fixed typo. "Browsable is an acronym for browseable.
(This used to be commit 8de177b05a1043d4416e8f673e499cd403bb3522)

24 years agoNow uninstalls man pages from correct source location.
Tim Potter [Fri, 27 Nov 1998 21:32:08 +0000 (21:32 +0000)]
Now uninstalls man pages from correct source location.
Fix by Andrej Borsenkow <>
(This used to be commit 5c0e31982e8eb1c93bc77925e59be65798f2dbad)

24 years agomake the help links appear in a separate window, so you can read the
Andrew Tridgell [Fri, 27 Nov 1998 06:36:56 +0000 (06:36 +0000)]
make the help links appear in a separate window, so you can read the
docs and do configuration at the same time.
(This used to be commit 386a3bfd337f4b248f6c88b9c98b9d6471cc9b25)

24 years ago- removed smb.conf.5.html as it now comes as part of htmldocs
Andrew Tridgell [Fri, 27 Nov 1998 06:11:03 +0000 (06:11 +0000)]
- removed smb.conf.5.html as it now comes as part of htmldocs
- changed swat welcome screen to have links to all Samba html docs instead
  of just singing the praises of swat :)
(This used to be commit c830d893f1f7eb176dc1fb7de0a4efc748fd1423)

24 years agobetter layout of password options.
Andrew Tridgell [Fri, 27 Nov 1998 06:09:25 +0000 (06:09 +0000)]
better layout of password options.
(This used to be commit d3fa0dd7a80a8d20e2d9db0b5ca24988059280fb)

24 years agoinstall all html docs in yodl help directory
Andrew Tridgell [Fri, 27 Nov 1998 06:09:03 +0000 (06:09 +0000)]
install all html docs in yodl help directory
(This used to be commit ed4d1062b2655d59f6904344e708aa53af235ad5)

24 years agore-ran yodl
Andrew Tridgell [Fri, 27 Nov 1998 06:04:28 +0000 (06:04 +0000)]
re-ran yodl
(This used to be commit 98b72722c8c221047d890f9b7b1d51f16fdac705)

24 years agogot rid of a dangerous message command example
Andrew Tridgell [Fri, 27 Nov 1998 05:15:55 +0000 (05:15 +0000)]
got rid of a dangerous message command example
(This used to be commit bfca6e6a9d06742ea4ef36f1faac57eb0419b2d6)

24 years agoReplaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
Tim Potter [Thu, 26 Nov 1998 06:35:25 +0000 (06:35 +0000)]
Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
Fix by Matt Chapman <>
(This used to be commit c44b418d6fd16a257af21f6b5b29b1cdf26015b7)

24 years agoupdated SWAT README to remove cgi-bin instructions
Andrew Tridgell [Thu, 26 Nov 1998 04:18:11 +0000 (04:18 +0000)]
updated SWAT README to remove cgi-bin instructions
(This used to be commit baa43fb17b04b7945456514e01682e5dca5dfe99)

24 years agowe have a problem: resolution of "Primary Group RID" which we assumed
Luke Leighton [Thu, 26 Nov 1998 00:48:31 +0000 (00:48 +0000)]
we have a problem: resolution of "Primary Group RID" which we assumed
would only be a domain group rid.  it can also be a local group rid,
which causes us problems in attempting to turn a unix gid into the
correct rid (domain group or local group).

sooo.... the fix is _in_ there, we just can't use it because it causes
link / knock-on problems in nmbd.
(This used to be commit e4ee6538709c33000774eb1676608f2dd67d5a30)

24 years agoyeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.
Luke Leighton [Wed, 25 Nov 1998 23:54:30 +0000 (23:54 +0000)]
yeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.
now need search capability on S-1-5-20, which will need argh, a
"group database API" on S-1-5-20, and the ability to add BUILTIN\Admins
etc to "local group map" argh.
(This used to be commit a24f6eb00ba7486479cbcf7fadf5456521c56179)

24 years agofixing group database issues
Luke Leighton [Wed, 25 Nov 1998 23:11:25 +0000 (23:11 +0000)]
fixing group database issues
(This used to be commit 591c63e3e1e3201ddcd7582585b652fb848d80ca)

24 years Added maintainer mode fixes.
Jeremy Allison [Wed, 25 Nov 1998 21:17:20 +0000 (21:17 +0000)] Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC. Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.

(This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)

24 years agoLsaLookupNames client call (first used as lookupnames command in rpcclient).
Luke Leighton [Wed, 25 Nov 1998 19:57:04 +0000 (19:57 +0000)]
LsaLookupNames client call (first used as lookupnames command in rpcclient).
(This used to be commit 68342a29a892e515cf2b22d759476d61944bcd59)

24 years agoadded file from 2.0 branch
Herb Lewis [Wed, 25 Nov 1998 18:11:42 +0000 (18:11 +0000)]
added file from 2.0 branch
(This used to be commit 8ec972ba6c274076b46081502acef256a70d1a38)

24 years agofixing domain join and domain login problems
Luke Leighton [Wed, 25 Nov 1998 14:54:23 +0000 (14:54 +0000)]
fixing domain join and domain login problems
(This used to be commit 90a24664318da97a6e8cfe4622a8573c0e3cbe5e)

24 years agoclearer debug comments
Luke Leighton [Tue, 24 Nov 1998 18:58:56 +0000 (18:58 +0000)]
clearer debug comments
(This used to be commit 06b9100c1c1590bad392a8d9bdd79a6c554a3cac)

24 years agooops, forgot to rename smbfilegrp to smbunixgrp.
Luke Leighton [Tue, 24 Nov 1998 18:43:59 +0000 (18:43 +0000)]
oops, forgot to rename smbfilegrp to smbunixgrp.
(This used to be commit 6de2b03d1c6714d63c6dbe7a417fb442e95ee0d9)

24 years agoupdated from yodl
Luke Leighton [Tue, 24 Nov 1998 17:21:12 +0000 (17:21 +0000)]
updated from yodl
(This used to be commit f057b2e7a2e6d6d1a2e9e24f4bb20d38bf6af9a2)

24 years agoadded "domain group map" and "local group map" explanations.
Luke Leighton [Tue, 24 Nov 1998 17:18:07 +0000 (17:18 +0000)]
added "domain group map" and "local group map" explanations.
(This used to be commit 6c4cf9ea4ac9bc441236d4e823d5fa1e7a487c26)

24 years agosorting out difference between aliases and groups in the cases where
Luke Leighton [Tue, 24 Nov 1998 16:47:49 +0000 (16:47 +0000)]
sorting out difference between aliases and groups in the cases where
unix groups are not explicitly mapped.

i.e as a PDC or BDC you can have domain groups, as a member of a domain
you cannot.

as a member of a domain, unmapped unix groups are assumed to be aliases,
and as a PDC or BDC, unmapped unix groups are assumed to be unix groups.

there is _one_ other check needed with aliases to be added: unmapped unix
groups that have the same name as an NT group on the PDC (for which i will
need to write an LsaLookupNames call) should be assumed to be domain groups
on the PDC.
(This used to be commit 53b49b44e13a4ca9818ebc947372b1374831b568)

24 years agojean-francois pointed out problem with "lp_domain_role()" code, you
Luke Leighton [Tue, 24 Nov 1998 14:42:42 +0000 (14:42 +0000)]
jean-francois pointed out problem with "lp_domain_role()" code, you
could never be a PDC.
(This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)

24 years agoinitialise not initialize...
Luke Leighton [Tue, 24 Nov 1998 14:36:49 +0000 (14:36 +0000)]
initialise not initialize...
(This used to be commit b67d66a1e9d879cd5960380c94422c0af8dedaad)

24 years agoFixed oplock test path spec bug.
Jeremy Allison [Tue, 24 Nov 1998 00:40:27 +0000 (00:40 +0000)]
Fixed oplock test path spec bug.
(This used to be commit 252dd8b8929adbdff9917395d4f8caad2d7882b2)

24 years agoFixed -Wall -Wshadow warning.
Jeremy Allison [Mon, 23 Nov 1998 23:55:33 +0000 (23:55 +0000)]
Fixed -Wall -Wshadow warning.
(This used to be commit 81b90208910528a4ace683f30e39c54d8cfa12b7)

24 years agouninitialised counter
Luke Leighton [Mon, 23 Nov 1998 23:44:09 +0000 (23:44 +0000)]
uninitialised counter
(This used to be commit 403f53d696d17f34dd1afc035a72eda792dd20ea)

24 years agoyp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...
Luke Leighton [Mon, 23 Nov 1998 23:29:07 +0000 (23:29 +0000)]
yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...
(This used to be commit c89642ff3fa0c0bc2bca62304db0282676e0b649)

24 years agore-added ypprot.h and yp_clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:09:26 +0000 (23:09 +0000)]
re-added ypprot.h and yp_clnt.h
(This used to be commit d50238823411f07d5db112843d9a1e3a84c7dbd7)

24 years agore-added includes for yp_prot.h and yp_clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:07:38 +0000 (23:07 +0000)]
re-added includes for yp_prot.h and yp_clnt.h
(This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)

24 years agoget rid of __wait boring warning, caused by rpc/clnt.h
Luke Leighton [Mon, 23 Nov 1998 23:02:16 +0000 (23:02 +0000)]
get rid of __wait boring warning, caused by rpc/clnt.h
(This used to be commit 0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)

24 years agocvs being STUPID
Luke Leighton [Mon, 23 Nov 1998 22:45:36 +0000 (22:45 +0000)]
cvs being STUPID
(This used to be commit 22802195ed544b6042d791b34e704d608bbdfd84)

24 years agoremove unused variable
Luke Leighton [Mon, 23 Nov 1998 22:33:08 +0000 (22:33 +0000)]
remove unused variable
(This used to be commit 30b3f339f8d55c2d3a4cbc380b7f12eb040bf381)

24 years agounused variable removed
Luke Leighton [Mon, 23 Nov 1998 22:21:19 +0000 (22:21 +0000)]
unused variable removed
(This used to be commit 16ac5c89b7417a6aa2596c5c7fbb1fa7542accfd)

24 years agocvs being STUPID
Luke Leighton [Mon, 23 Nov 1998 22:16:37 +0000 (22:16 +0000)]
cvs being STUPID
(This used to be commit ba78b5932a1ed3f7c07720703b9131234f035689)

24 years agocvs is acting wierd.
Luke Leighton [Mon, 23 Nov 1998 22:07:05 +0000 (22:07 +0000)]
cvs is acting wierd.
(This used to be commit 10e4cbd2647eb629b60b0060fa184212a89e54f2)

24 years agosomeone had added code to convert rids to rids, assuming that the rids
Luke Leighton [Mon, 23 Nov 1998 22:04:23 +0000 (22:04 +0000)]
someone had added code to convert rids to rids, assuming that the rids
in the file were gids: they are not.
(This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)

24 years agoremove / add / attempt to stop remove didn't work.
Luke Leighton [Mon, 23 Nov 1998 21:54:19 +0000 (21:54 +0000)]
remove / add / attempt to stop remove didn't work.
(This used to be commit 82b6292dff38f4e22ee8feab1b54504b95d705fa)

24 years agounix instance of group database API
Luke Leighton [Mon, 23 Nov 1998 21:51:05 +0000 (21:51 +0000)]
unix instance of group database API
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)

24 years agoreplace ' with _ as well
Andrew Tridgell [Mon, 23 Nov 1998 03:46:51 +0000 (03:46 +0000)]
replace ' with _ as well
(This used to be commit e93491953a2555401a372de74ac2aee0cc44cb88)

24 years agochanged string_sub() to replace " ; and ` in the inserted string with _
Andrew Tridgell [Mon, 23 Nov 1998 03:36:10 +0000 (03:36 +0000)]
changed string_sub() to replace " ; and ` in the inserted string with _

use all_string_sub() if you don't want this.
(This used to be commit a3357ab49335106674fe7a7481cd0f146d74fbe5)

24 years agodeleted some old DEBUG() code that wasn't used
Andrew Tridgell [Sun, 22 Nov 1998 09:44:46 +0000 (09:44 +0000)]
deleted some old DEBUG() code that wasn't used
(This used to be commit bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5)

24 years agouse not
Andrew Tridgell [Sun, 22 Nov 1998 00:06:44 +0000 (00:06 +0000)]
use not
(This used to be commit 7cb1470eb3db60c37dc108e8537634d08b1cf740)

24 years agoglobal change from to
Andrew Tridgell [Sat, 21 Nov 1998 13:20:31 +0000 (13:20 +0000)]
global change from to
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)

24 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)

24 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
(This used to be commit fe4ef4bbef01aed75807c884249ca8efa5de4140)

24 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)

24 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)

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

24 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)

24 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.
(This used to be commit 631913ea856926a77304692c74a1bd27faead179)

24 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 :-).
(This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)

24 years agoacconfig.h configure include/ Added -lsec and -lsecurity...
Jeremy Allison [Fri, 20 Nov 1998 20:44:21 +0000 (20:44 +0000)]
acconfig.h configure include/ 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.
(This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)

24 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.
(This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)

24 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)

24 years Added passing of CPPFLAGS into Makefile.
Jeremy Allison [Thu, 19 Nov 1998 23:42:57 +0000 (23:42 +0000)] Added passing of CPPFLAGS into Makefile.
include/ 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
(This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)

24 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.
(This used to be commit 1ef6d3bd63722afe9c376793a6ea72046d1a0602)

24 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   : change default behaviour for installation of config files.
(This used to be commit 36928da28ca84fa64cd7b0dd66cab879e307911c)

24 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)

24 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 include/ Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
(This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)

24 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.
(This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)

24 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).
(This used to be commit c154b1601f5891d664fc538ec8874fa8ef2061e6)

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

24 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)

24 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.
(This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)

24 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.
(This used to be commit 92a7a86f0e0255e3812dd35bebfcd653091514ae)

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

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

(This used to be commit 79c259f05cf7cd4f2d3d1bb92fff3bde7acd8a50)

24 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 :-(.

(This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)

24 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)

24 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)

24 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)

24 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
(This used to be commit 2f456ed92ffbf596945a9ec800c373495fc4e38a)

24 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

- 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)

24 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.
(This used to be commit 6db04cd4622289dbdbd0c6d4d084baa8f84c40c2)

24 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.
(This used to be commit c1a3346547d887bfd2402a6b0bcc185680eb4470)

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

24 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.
(This used to be commit 4ca71c90985b1c88d92bdd0f9079a4afc263dc46)

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

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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)

24 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.
(This used to be commit 178d1bd61b3a622adc48b6423fae1db815cae3da)

24 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)

24 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)

24 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.
(This used to be commit 0e3bfe5f2860066aa07bce7a691f7af682c73949)

24 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)

24 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....
(This used to be commit 765989e4151a5f8dd48353d7c1b175092717947e)

24 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 :-).
(This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)

24 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
(This used to be commit 6f37d151d87d7ab4475ef552abb9183464203093)

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