kai/samba.git
25 years agoinclude/local.h:
Jeremy Allison [Tue, 10 Nov 1998 20:51:25 +0000 (20:51 +0000)]
include/local.h:
include/smb.h:
param/loadparm.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-).
printing/printing.c: Added J.F.'s latest fix.
rpc_parse/parse_misc.c:
parse_reg.c:
rpcclient/cmd_reg.c:
rpcclient/display.c: SGI compiler signed/unsigned issues.
smbd/reply.c: Made GUEST_SESSSETUP run time selectable. Horror of horrors :-).
utils/testparm.c: Added extra test.
Jeremy.
(This used to be commit 9668a5ef50be2e6b575f9989e87ee2ff8da5ac1d)

25 years agoDone all the ssl docs.
Jeremy Allison [Tue, 10 Nov 1998 20:06:21 +0000 (20:06 +0000)]
Done all the ssl docs.
Jeremy.
(This used to be commit aa2c424f5a2ee2ce3309da6491a149269014fb5f)

25 years agooops!
Luke Leighton [Tue, 10 Nov 1998 19:41:18 +0000 (19:41 +0000)]
oops!
(This used to be commit cad5b1f1fb03e7b064040b7c5bef5cd86dd0e1ba)

25 years agorpcclient registry commands.
Luke Leighton [Tue, 10 Nov 1998 19:05:00 +0000 (19:05 +0000)]
rpcclient registry commands.
(This used to be commit 36fcb4a6e643a05d06a2a273d74318fee7f2c647)

25 years agoutil functions split into relevant modules, first pass.
Luke Leighton [Tue, 10 Nov 1998 18:14:16 +0000 (18:14 +0000)]
util functions split into relevant modules, first pass.
(This used to be commit d448906e68cec5019fa83f7d31b862efff41e2da)

25 years agoUp to "socket options".
Jeremy Allison [Tue, 10 Nov 1998 02:57:37 +0000 (02:57 +0000)]
Up to "socket options".
Jeremy.
(This used to be commit 5ef2e9f911c13940ed4b27d7586dc05216c0e3a7)

25 years agoUpdating the password script and documenting password sync stuff.
John Terpstra [Tue, 10 Nov 1998 01:31:57 +0000 (01:31 +0000)]
Updating the password script and documenting password sync stuff.
(This used to be commit 2479fc2238757a64979903a8d79eeb14d99c7b29)

25 years agoUp to "read size".
Jeremy Allison [Tue, 10 Nov 1998 00:52:00 +0000 (00:52 +0000)]
Up to "read size".
Jeremy.
(This used to be commit 941f1fcdb9d32600c14d1a533fbadda9d9c33cf7)

25 years agoDefault for SMB_PASSWD program was set to smbpasswd ! This explained the problems
Jeremy Allison [Tue, 10 Nov 1998 00:37:14 +0000 (00:37 +0000)]
Default for SMB_PASSWD program was set to smbpasswd ! This explained the problems
John & Andrew were having with smbpasswd. This would cause the smbpasswd
to be changed *twice* - this the second decrypt would fail.
Changed it to be "/bin/passwd" and changed the name of the macro
to PASSWORD_PROGRAM to make it clear this is not an smb password
changer.
Jeremy.
(This used to be commit 8c1625365479f12fa544d83e1a9f72a548398108)

25 years agosmbclient.1.yo: Documented Andrews changes.
Jeremy Allison [Mon, 9 Nov 1998 23:03:03 +0000 (23:03 +0000)]
smbclient.1.yo: Documented Andrews changes.
smb.conf.5.yo: Up to "print command"
Jeremy.
(This used to be commit cb23417503dd2c3e8370757943daca78f3b598b6)

25 years agoMakefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.
Jeremy Allison [Mon, 9 Nov 1998 20:33:37 +0000 (20:33 +0000)]
Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.
client/client.c:
client/clitar.c:
include/client.h:
smbwrapper/smbw_dir.c:
smbwrapper/smbw_stat.c:
smbwrapper/smbw.c:
lib/util.c: Converted all use of 'mode' to uint16.
smbd/quotas.c: Fixed stupid comment bug I put in there :-(.
printing/printing.c: Fix from J.F. to new code.
Jeremy.
(This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)

25 years agosplit socket util functions into util_sock.c. util.c NOT committed
Luke Leighton [Mon, 9 Nov 1998 16:40:38 +0000 (16:40 +0000)]
split socket util functions into util_sock.c.  util.c NOT committed
and util_sock.c NOT included in Makefile.in.

registry commands added to rpcclient.

waiting for 2_0_0 split before committing modified files.  these files
are new modules, and are not referenced in the Makefile.in
(This used to be commit 373f60256fc6dc800f73d88ea9a302933a4a3246)

25 years agoI talked to Dave Miller and he thinks that we should have TCP_NODELAY
Andrew Tridgell [Mon, 9 Nov 1998 04:17:11 +0000 (04:17 +0000)]
I talked to Dave Miller and he thinks that we should have TCP_NODELAY
on by default on OSes that support it, given the network IO pattern
that Samba uses. He doesn't think it will cause problems.
(This used to be commit 15016aa024854ca56ef20d1f29f54f9698a1911b)

25 years agoconverted smbclient to use clientgen.c rather than clientutil.c
Andrew Tridgell [Mon, 9 Nov 1998 03:45:49 +0000 (03:45 +0000)]
converted smbclient to use clientgen.c rather than clientutil.c

I did this when I saw yet another bug report complaining about
smbclient intermittently missing files. Rather than applying more
patches to smbclient it was better to move to the more robust
clientgen.c code.

The conversion wasn't perfect, I probably lost some features of
smbclient while doing it, but at least smbclient should be consistent
now. It if fails it should _always_ fail rather than giving people the
false impression of a reliable utility.

the tar stuff seems to work, but hasn't had much testing as I never
use it myself. I'm sure someone will find bugs in my conversion of
smbtar.c. It was quite tricky as it did a lot of its own SMB calls. It
now uses clientgen.c exclusively.

smbclient is still quite messy, but at least it doesn't build its own
SMB packets.

I haven't touched smbmount as I never use it. Mike, do you want to
convert smbmount to use clientgen.c?
(This used to be commit e14ca7765ace1b721dad8eca4a527a4e4a8f1ab8)

25 years agocodepages/codepage_def.936: Updated comment.
Jeremy Allison [Sat, 7 Nov 1998 05:32:37 +0000 (05:32 +0000)]
codepages/codepage_def.936: Updated comment.
param/loadparm.c: Removed "networkstation user login", "domain controller", and "domain sid" parameters.
passdb/passdb.c: Removed "networkstation user login" code and changed bug test code
                 to only check once for a bad password server. This will stop the
                 complaints of many "bad login" audit records in NT PDC logs.
utils/smbpasswd.c: Removed check for "domain controller".
Jeremy.
(This used to be commit d6e6e936b5dd90dd8fc38d9404efbe5c546c15e5)

25 years agoFixed lppause and lpresume docs.
Jeremy Allison [Sat, 7 Nov 1998 05:20:32 +0000 (05:20 +0000)]
Fixed lppause and lpresume docs.
Jeremy
(This used to be commit 92a46856f4133f17739c1c813be2da61498c1276)

25 years agoPacking it in for the evening..
Jeremy Allison [Sat, 7 Nov 1998 05:04:43 +0000 (05:04 +0000)]
Packing it in for the evening..
Jeremy.
(This used to be commit 1362ee3b5ffce865343043096a4ee8c27a927e1b)

25 years agoUp to ole locking compat..
Jeremy Allison [Sat, 7 Nov 1998 04:56:04 +0000 (04:56 +0000)]
Up to ole locking compat..
Jeremy.
(This used to be commit c03d5b746115da33e0a736c50d74a2de047f6bc3)

25 years agoUp to "magic script".
Jeremy Allison [Sat, 7 Nov 1998 03:13:03 +0000 (03:13 +0000)]
Up to "magic script".
Jeremy.
(This used to be commit 74d675202d7354bb0327bb13c6e8cff60a4530d7)

25 years agoSave your work as you go... :-).
Jeremy Allison [Sat, 7 Nov 1998 01:12:31 +0000 (01:12 +0000)]
Save your work as you go... :-).
Jeremy.
(This used to be commit f733534147c332f35d44f1f427d70dafe7225340)

25 years agoUp to "domain master" and still going...
Jeremy Allison [Fri, 6 Nov 1998 23:38:55 +0000 (23:38 +0000)]
Up to "domain master" and still going...
Jeremy.
(This used to be commit 1037bf6bb778bc54bad67f367de37bfba303bd53)

25 years agoKeeping it safe. NB. This is *not* yet finished and will *NOT*
Jeremy Allison [Fri, 6 Nov 1998 20:55:05 +0000 (20:55 +0000)]
Keeping it safe. NB. This is *not* yet finished and will *NOT*
yodlize correctly yet.
Jeremy.
(This used to be commit a240cd458df93140b00cb3dd0254f4bd8c8bb133)

25 years agogrumble, grumble off-by-one unicode string fixes, gonna stuff my other
Luke Leighton [Fri, 6 Nov 1998 18:46:42 +0000 (18:46 +0000)]
grumble, grumble off-by-one unicode string fixes, gonna stuff my other
tree with cvs clashes when i cvs update on the group code grumble grumble
(This used to be commit f8b229d187cea2e3820d71697346fc9f0cd8bf88)

25 years agolib/charcnv.c: Improved debug comment.
Jeremy Allison [Fri, 6 Nov 1998 18:40:51 +0000 (18:40 +0000)]
lib/charcnv.c: Improved debug comment.
libsmb/namequery.c: Fix to remove 2 second wait is we are doing a unicast
                    and got a reply.
smbd/dfree.c:
smbd/noquotas.c:
smbd/quotas.c: Fixes from Dejan Ilic <svedja@lysator.liu.se> for the quota
               code.
utils/smbpasswd.c: Fixes to allow smbpasswd to be called from swat.
Jeremy.
(This used to be commit b5981c0149ad8c6f13ea87db450080616538b5d5)

25 years agoMore updates...
Jeremy Allison [Fri, 6 Nov 1998 02:48:11 +0000 (02:48 +0000)]
More updates...
Jeremy.
(This used to be commit 222829885cba9ccb8af0e9df232fd5d614cec1ad)

25 years agoUseful script to extract all parameters out of the loadparm.c file
Jeremy Allison [Thu, 5 Nov 1998 22:08:47 +0000 (22:08 +0000)]
Useful script to extract all parameters out of the loadparm.c file
and sort them into global (G) and service (S) parameters. Useful
for keeping the smb.conf docs up to date.
Jeremy.
(This used to be commit e8c5e033083440818cb559c61bcf5f9baec511ea)

25 years agoThe start of a long and ugly process... :-).
Jeremy Allison [Thu, 5 Nov 1998 20:34:27 +0000 (20:34 +0000)]
The start of a long and ugly process... :-).
Jeremy.
(This used to be commit 9722a98f8f24ef528b02bfb42f53ef9d07e62aa1)

25 years agothe start of the start of the SAM database API
Luke Leighton [Thu, 5 Nov 1998 16:54:07 +0000 (16:54 +0000)]
the start of the start of the SAM database API
(This used to be commit 3eacd3013cc909e6e731a1a42f0aa7f202673bb9)

25 years agoutil_file.c:
Luke Leighton [Thu, 5 Nov 1998 16:51:34 +0000 (16:51 +0000)]
util_file.c:

split some routines out of various places (e.g smbpass.c) because
they now get used in more than one location.

util_sid.c:

need sid_copy, compare, split rid, append rid etc etc...
(This used to be commit 71dfaa307ec954041c09ed157594a46503fb6db8)

25 years agosplit string and unicode string routines into these files.
Luke Leighton [Thu, 5 Nov 1998 16:48:35 +0000 (16:48 +0000)]
split string and unicode string routines into these files.
these are *not* going to be added into the Makefile.in yet
so they still also exist in util.c.
(This used to be commit 3f5feda6749dace6bc51fb0e02b16d2b72a930b8)

25 years agodon't bother trying QFILEINFO/QUERY_FILE_ALL_INFO with win95 as it
Andrew Tridgell [Thu, 5 Nov 1998 12:42:16 +0000 (12:42 +0000)]
don't bother trying QFILEINFO/QUERY_FILE_ALL_INFO with win95 as it
totally screws it up, giving garbage for the size fields.
(This used to be commit 86f98e0607e8a05ec026b919cc974c1c934b6882)

25 years agocheck return value of locking_init()
Andrew Tridgell [Thu, 5 Nov 1998 12:40:37 +0000 (12:40 +0000)]
check return value of locking_init()
(This used to be commit 0efac70f756dce4c92744fc59b68b528f6984dee)

25 years agoChanged build root to launch off /var/tmp instead of /tmp.
John Terpstra [Thu, 5 Nov 1998 11:26:19 +0000 (11:26 +0000)]
Changed build root to launch off /var/tmp instead of /tmp.
(This used to be commit c16f051a40ff9d2ce15539ff7d4d177e0cb6de97)

25 years agoSync up changes to smbd.8.yo and nmbd.8.yo.
Jeremy Allison [Thu, 5 Nov 1998 03:23:23 +0000 (03:23 +0000)]
Sync up changes to smbd.8.yo and nmbd.8.yo.
Jeremy.
(This used to be commit 889f26a5bceb99dc0c703060e8dbb51776b06492)

25 years agoFinished smbpasswd.5.yo.
Jeremy Allison [Thu, 5 Nov 1998 03:00:47 +0000 (03:00 +0000)]
Finished smbpasswd.5.yo.
Only "the beast" - smb.conf.5.yo left to do... :-).
Jeremy.
(This used to be commit eee9bb5e026730dbf60946ac2145658546ad379b)

25 years agoAdded scripts/convert_smbpasswd to SCRIPTS
Jeremy Allison [Thu, 5 Nov 1998 02:58:37 +0000 (02:58 +0000)]
Added scripts/convert_smbpasswd to SCRIPTS
Jeremy.
(This used to be commit 60553b3dc295d0df3ce42ad81a26edb45e234021)

25 years agoRealise this needs to be without the '.sh' ending as we will be
Jeremy Allison [Thu, 5 Nov 1998 02:50:17 +0000 (02:50 +0000)]
Realise this needs to be without the '.sh' ending as we will be
installing it in the BIN directory.
Jeremy.
(This used to be commit 75c79db9bec68b74d3b244f3d8184bd890ff33fa)

25 years agoVery simple awk script to convert a 1.9.18 password file into Samba 2.0
Jeremy Allison [Thu, 5 Nov 1998 02:47:50 +0000 (02:47 +0000)]
Very simple awk script to convert a 1.9.18 password file into Samba 2.0
password file format.
Jeremy.
(This used to be commit 5a5dc248b5fc4f1b9234a15dbedd4e0c9068b15a)

25 years agoFinally a man page for the smbpasswd file.
Jeremy Allison [Thu, 5 Nov 1998 01:27:45 +0000 (01:27 +0000)]
Finally a man page for the smbpasswd file.
Not finished but on the way... :-).
Jeremy.
(This used to be commit a5362b774df3ea30086e93c82fc773b52b1e5ca0)

25 years agoAdded internal cross references for all man pages.
Jeremy Allison [Wed, 4 Nov 1998 23:22:45 +0000 (23:22 +0000)]
Added internal cross references for all man pages.
Jeremy.
(This used to be commit 9dd09fdb643b70e5b46aeb9f6580128b7a68fe4e)

25 years agoCross linked all the command line options.
Jeremy Allison [Wed, 4 Nov 1998 22:08:15 +0000 (22:08 +0000)]
Cross linked all the command line options.
Jeremy.
(This used to be commit d239790fa704c9a385d7e9e055ca7454467d8bb0)

25 years agoIt turns out that yodl strips all spaces from link() and url() commands.
Jeremy Allison [Wed, 4 Nov 1998 21:48:13 +0000 (21:48 +0000)]
It turns out that yodl strips all spaces from link() and url() commands.
This is a *massive* pain when doing cross referencing and will mean a
change to SWAT when generating the help URLs. Herb is looking at that.
Jeremy.
(This used to be commit 1f39207a8e16efe2199bef6a4851f3fe41d443ac)

25 years agoFixed up cross references into smb.conf.5 man page. Still working
Jeremy Allison [Wed, 4 Nov 1998 18:58:58 +0000 (18:58 +0000)]
Fixed up cross references into smb.conf.5 man page. Still working
on smbpasswd.8.yo.
Jeremy.
(This used to be commit 0993db2240379a91c44894ef3d5f978a3aa00816)

25 years agoupdated this file a bit...
Luke Leighton [Wed, 4 Nov 1998 18:23:43 +0000 (18:23 +0000)]
updated this file a bit...
(This used to be commit 2422100e857e1f540ba7afa2cc220ec6e13b9dda)

25 years agoAdded Xrefs to smb.conf.5.html file.
Jeremy Allison [Wed, 4 Nov 1998 02:41:30 +0000 (02:41 +0000)]
Added Xrefs to smb.conf.5.html file.
First cut at smbpasswd (not yet finished).
Jeremy.
(This used to be commit 15be62a66b836fc01387ad0084e52ef5894c36bf)

25 years agoAdded scripting option (-s) to smbpasswd.
Jeremy Allison [Wed, 4 Nov 1998 00:57:00 +0000 (00:57 +0000)]
Added scripting option (-s) to smbpasswd.
Jeremy.
(This used to be commit 4f87a8cf994d7f3287b0fd1720624bf705cfa1da)

25 years agoMore docs...
Jeremy Allison [Tue, 3 Nov 1998 21:20:31 +0000 (21:20 +0000)]
More docs...
Jeremy.
(This used to be commit 6a328b15420c4472398a754cb256ee172317bb0f)

25 years agoAnother one bites the dust....
Jeremy Allison [Tue, 3 Nov 1998 20:23:57 +0000 (20:23 +0000)]
Another one bites the dust....
Jeremy.
(This used to be commit 24106d28fb6d49e4da85077982f3259a6d1326b3)

25 years agofix to some of the unicode string handling. there are others pending
Luke Leighton [Tue, 3 Nov 1998 18:37:05 +0000 (18:37 +0000)]
fix to some of the unicode string handling.  there are others pending
in non-critical areas.
(This used to be commit 6da2e15272e4a6a9994c36fc465b6115f95ac5bd)

25 years agoMakefile.in configure configure.in include/proto.h smbd/noquotas.c smbd/quotas.c:
Jeremy Allison [Tue, 3 Nov 1998 02:25:28 +0000 (02:25 +0000)]
Makefile.in configure configure.in include/proto.h smbd/noquotas.c smbd/quotas.c:
   Added quotas patch for autoconf from Dejan Ilic <svedja@lysator.liu.se>.
printing/printing.c: Filenames with spaces patch from Allan Bjorklund <allan@umich.edu>
utils/nmblookup.c: Fix usage() function.
smbd/reply.c: Split out the security=server and security=domain checks into
              check_server_security() and check_domain_security() to aid the
              writing of the 'hack' appliance mode invented by John Schimmel.
Jeremy.
(This used to be commit f09ab9b52251087a58af92ec753537ca34a970fc)

25 years agoTidied up references to samba (7).
Jeremy Allison [Tue, 3 Nov 1998 02:04:27 +0000 (02:04 +0000)]
Tidied up references to samba (7).
Added smbtar.1.yo.
Jeremy.
(This used to be commit f55cc67dadc3c2ea3076755e308e3467083f1001)

25 years agoMore yodl-docs.
Jeremy Allison [Tue, 3 Nov 1998 00:58:34 +0000 (00:58 +0000)]
More yodl-docs.
Jeremy.
(This used to be commit fc37a8852cacf4f80b571015c6e9adb2205f8587)

25 years agomemory leak in SAM group code: need these to track it down.
Luke Leighton [Mon, 2 Nov 1998 23:45:36 +0000 (23:45 +0000)]
memory leak in SAM group code: need these to track it down.
(This used to be commit 4e6b548b04b2ff982baf49ebd08e22180cd521b1)

25 years agoTidied up VERSION section. Added testparm.1.yo
Jeremy Allison [Mon, 2 Nov 1998 23:09:44 +0000 (23:09 +0000)]
Tidied up VERSION section. Added testparm.1.yo
Jeremy.
(This used to be commit 30591654cd7a3e84ded379788c62b1b259136844)

25 years agoFixed up html links - docs look better now (getting the hang of this).
Jeremy Allison [Mon, 2 Nov 1998 21:25:00 +0000 (21:25 +0000)]
Fixed up html links - docs look better now (getting the hang of this).
Added nmblookup.1.yo.
Jeremy.
(This used to be commit 8eb78a1fe5ff65f575cc1773b301e18be714d652)

25 years agoclient/client.c: Patch to tidy up file size output.
Jeremy Allison [Mon, 2 Nov 1998 18:12:28 +0000 (18:12 +0000)]
client/client.c: Patch to tidy up file size output.
nmbd/nmbd.c: Someone (a "yank" no doubt :-) Changed instances of "initialise" to
             "initialize". Someone get that man an *English* dictionary.... :-) :-).
Jeremy.
(This used to be commit 6279be7f96802bb132e5e18dd8c6912652296e70)

25 years agoremoved comment line at end of file
Luke Leighton [Mon, 2 Nov 1998 16:20:25 +0000 (16:20 +0000)]
removed comment line at end of file
(This used to be commit 5e2fc8b7ccf4a9c8b0a2acf4bd752531ac6fa775)

25 years agodon't core dump in smbstatus if we can't open the shmem system
Andrew Tridgell [Sat, 31 Oct 1998 09:31:29 +0000 (09:31 +0000)]
don't core dump in smbstatus if we can't open the shmem system
(This used to be commit ef9749798ab72a5e26f9cb5d0904266d6df70f8c)

25 years agotook out Lukes change as it breaks domain logons for Win95 clients
Andrew Tridgell [Sat, 31 Oct 1998 07:38:50 +0000 (07:38 +0000)]
took out Lukes change as it breaks domain logons for Win95 clients
(ie. it breaks Sues machine).

Luke, your comment was:

  put unicode strings after SAMLOGON query regardless of whether it's
  an NT mailslot or a non-NT mailslot, after having observed this behaviour
  out of NT machines.

perhaps you could post the relevant tcpdump or netmon capture so we
can see what is going on? I suspect that what you saw isn't exactly
what the win95 boxes are generating. Maybe you saw a GETDCxxx instead
of a GETDC000 ? Maybe we need a switch based on the GETDC request
type?

We won't know unless we see sniffs.
(This used to be commit a2bacc08955ba61aac4b45b63a54b279e5776261)

25 years agoadded copyright notice from Patrick Powell
Andrew Tridgell [Sat, 31 Oct 1998 04:35:03 +0000 (04:35 +0000)]
added copyright notice from Patrick Powell
(This used to be commit d398ae487a3edbfefb980fe0abddca1e95f6f3d5)

25 years agoMode doc work (smbclient was *nasty*).
Jeremy Allison [Sat, 31 Oct 1998 03:16:07 +0000 (03:16 +0000)]
Mode doc work (smbclient was *nasty*).
Jeremy.
(This used to be commit 866f47a7418b6fbad5ea0ad38ec950da9ef1d70d)

25 years agoFix suggested by Nicholas.S.Jenkins@cdc.com - connect to the
Jeremy Allison [Fri, 30 Oct 1998 23:53:04 +0000 (23:53 +0000)]
Fix suggested by Nicholas.S.Jenkins@cdc.com - connect to the
password change server as anonymous - you don't need to have
logged on as the user to do the password change. Doh ! (Why
didn't *I* think of that one.... :-).
Jeremy.
(This used to be commit dd3bb250a6fb6020d32ea35d7a3d3301d7f9764b)

25 years agodo not print garbage just because someone does not want dependencies :-)
Alexandre Oliva [Fri, 30 Oct 1998 16:37:39 +0000 (16:37 +0000)]
do not print garbage just because someone does not want dependencies :-)
(This used to be commit 7f3c96c5dae19b203bf79a88225768003d2f7516)

25 years agoLearned about the label() and link() commands and how to use url()
Jeremy Allison [Thu, 29 Oct 1998 22:12:00 +0000 (22:12 +0000)]
Learned about the label() and link() commands and how to use url()
to do cross ref links.
Jeremy.
(This used to be commit 783c32d08a4857f2e4f209473c30f9073a07b503)

25 years agolooks like someone forgot to commit these...
Alexandre Oliva [Thu, 29 Oct 1998 22:02:08 +0000 (22:02 +0000)]
looks like someone forgot to commit these...
(This used to be commit 93b195d1e9490fb0e4310532fd15ab376f08aba5)

25 years agoAdded html label() macros to man page sections allowing them to be
Jeremy Allison [Thu, 29 Oct 1998 21:48:07 +0000 (21:48 +0000)]
Added html label() macros to man page sections allowing them to be
linked to externally.
Jeremy.
(This used to be commit cc78a9ea31dae72c872b53a290dcf686a372df2a)

25 years agoFixed bug (that I introduced when doing the "delete on close" work
Jeremy Allison [Thu, 29 Oct 1998 20:17:02 +0000 (20:17 +0000)]
Fixed bug (that I introduced when doing the "delete on close" work
that caused NetBench to fail as the wrong error code was being
returned from a getatr call. Change was not to set the
unix_ERR_class global when you are not returning an error. This
is a big of Samba internal folklore that is *important*.
Jeremy.
(This used to be commit a1923d465be4c63a40d55abb800cc9b16a4b87d0)

25 years agomodify dependency tracking code so that it:
Alexandre Oliva [Thu, 29 Oct 1998 17:55:58 +0000 (17:55 +0000)]
modify dependency tracking code so that it:
1) inserts the pathname of the object file in the dependency file
   (currently, gcc will only generate the basename)
2) the directory tree within .deps mirrors the source tree, so that we use
   shorter filenames
problem 1 was reported to me by Tom Angert <angert@bellsouth.net>
(This used to be commit 274a2cff30f7325d1bc1647075a6c4f887e42e4f)

25 years agoAdded description of reason for failure of test 3 due to blockage of the
John Terpstra [Thu, 29 Oct 1998 10:44:54 +0000 (10:44 +0000)]
Added description of reason for failure of test 3 due to blockage of the
loopback address.
(This used to be commit 32bc55c09562cbc3560a42ddc3dbe3fad3f1b010)

25 years agoPath change only.
John Terpstra [Thu, 29 Oct 1998 10:29:07 +0000 (10:29 +0000)]
Path change only.
(This used to be commit 356e049a42ab5c72c7bc82ac17c3565d996ddc2d)

25 years agoFixed spec file entry that was causing the CDRom installer to generate
John Terpstra [Thu, 29 Oct 1998 10:17:00 +0000 (10:17 +0000)]
Fixed spec file entry that was causing the CDRom installer to generate
a message claiming that package installation had failed when it really
did work. The error was caused by the killall command being used where
there is no /proc for it to work on.
(This used to be commit 7eaf47853ea2f48702847c81a9ec7cd351a3079b)

25 years agonmbd.8.yo: More tweaks.
Jeremy Allison [Thu, 29 Oct 1998 04:54:51 +0000 (04:54 +0000)]
nmbd.8.yo: More tweaks.
smbclient.1.yo: Partially done...
Jeremy.
(This used to be commit 00c83ea4ab474c67e853dbf998710367b9272467)

25 years agoTidied up option processing in smbclient - usage message now actually
Jeremy Allison [Thu, 29 Oct 1998 02:18:17 +0000 (02:18 +0000)]
Tidied up option processing in smbclient - usage message now actually
reflects the real options. Removed '-S' option - couldn't see what
this was doing (seemed to have something to do with nt_domain_logon ?).
Luke please check if you needed this code (code is only #ifdef'ed out
and can be re-instated).
Did this to make writing of yodl smbclient man page possible :-).
Jeremy.
(This used to be commit 97a14db75634b09dd272e9f59bc39c2b1eb52544)

25 years agoclean up steps for making distribution
Herb Lewis [Thu, 29 Oct 1998 01:15:14 +0000 (01:15 +0000)]
clean up steps for making distribution
(This used to be commit 3b2d25035e2f718532b4cfe2fd3342ddfcdb54c3)

25 years agosome versions of Irix pass the HAVE__ACL test but don't have acl.h
Herb Lewis [Thu, 29 Oct 1998 01:13:46 +0000 (01:13 +0000)]
some versions of Irix pass the HAVE__ACL test but don't have acl.h
test for both before including ACL support.
(This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)

25 years agoyet another person asked me where the name Samba came from, so I put
Andrew Tridgell [Thu, 29 Oct 1998 01:00:21 +0000 (01:00 +0000)]
yet another person asked me where the name Samba came from, so I put
it in the history file.
(This used to be commit 14927fa5da24aebcd015d07d5e3fb8b721aee829)

25 years agoFinished nmbd docs, small changes to smbd docs.
Jeremy Allison [Wed, 28 Oct 1998 21:37:00 +0000 (21:37 +0000)]
Finished nmbd docs, small changes to smbd docs.
Jeremy.
(This used to be commit e7c754d38cf137be15b5b1109e6561eb9900f43e)

25 years agoThis should have gone with the last batch.
Christopher R. Hertel [Wed, 28 Oct 1998 20:35:27 +0000 (20:35 +0000)]
This should have gone with the last batch.

Again, to compile debug2html, you need to do a 'make debug2html'.

Chris -)-----
(This used to be commit bd0c5ee8e796bc624bf51fbca1c894ca6190b4ea)

25 years agoI've moved the debugparse module files into the ubiqx directory because I
Christopher R. Hertel [Wed, 28 Oct 1998 20:33:35 +0000 (20:33 +0000)]
I've moved the debugparse module files into the ubiqx directory because I
know that 'make proto' will ignore them there.  The debugparse.h header
file is included in includes.h, and includes.h is included in debugparse.c,
so all of the pieces "see" each other.  I've compiled and tested this,
and it does seem to work.  It's the same compromise model I used when
adding the ubiqx modules into the system, which is why I put it all into
the same directory.

Chris -)-----
(This used to be commit b6888faacdba035e1b608a404a71d93791de2d52)

25 years agoStill moving things around. debugparse.h will be removed from the include
Christopher R. Hertel [Wed, 28 Oct 1998 20:24:41 +0000 (20:24 +0000)]
Still moving things around.  debugparse.h will be removed from the include
directory in the next batch.  Chris -)-----
(This used to be commit 81f64d89924523279a2dcbe53d5355f3dd56b5ff)

25 years agoJust moving things around a bit.
Christopher R. Hertel [Wed, 28 Oct 1998 20:15:07 +0000 (20:15 +0000)]
Just moving things around a bit.

Chris -)-----
(This used to be commit a1aa808d5b85d150ec21d09e301aa0211658e021)

25 years agoAdded Cybernet systems. Also made it clear that USA is *North* America,
Jeremy Allison [Wed, 28 Oct 1998 19:24:16 +0000 (19:24 +0000)]
Added Cybernet systems. Also made it clear that USA is *North* America,
and not the whole of North America (apologies to the bloke from Mexico
who got upset).
Jeremy.
(This used to be commit f81f27d3fa4eee962d0c8e2d221905ca7c56e6d8)

25 years agoMove man page section from (1) to (8) for smbd.
Jeremy Allison [Wed, 28 Oct 1998 18:41:06 +0000 (18:41 +0000)]
Move man page section from (1) to (8) for smbd.
Jeremy.
(This used to be commit 83aa193439253bdd8e5ad7961c1db5c9328f1780)

25 years agoAdded clear-out-structure fix for make_unistr2.
Jeremy Allison [Wed, 28 Oct 1998 18:32:34 +0000 (18:32 +0000)]
Added clear-out-structure fix for make_unistr2.
Jeremy.
(This used to be commit 2bce2cf6d83d9889d8b116f9d2ee254b7ceb4828)

25 years agoFixes to allow this to pass SGI compiler in -fullwarn mode (with one
Jeremy Allison [Wed, 28 Oct 1998 18:26:04 +0000 (18:26 +0000)]
Fixes to allow this to pass SGI compiler in -fullwarn mode (with one
annoying exception I'm still looking at :-).
Jeremy.
(This used to be commit 9cade656e2db743cb6ee67bbb8b0f50e8e4c39f9)

25 years agoQuick fixes to fix the broken tree. Needed for my morning compiles.
Jeremy Allison [Wed, 28 Oct 1998 17:51:49 +0000 (17:51 +0000)]
Quick fixes to fix the broken tree. Needed for my morning compiles.
Chris - feel free to fix these things differently if these fixes don't
work for you.
Jeremy.
(This used to be commit 1f225abfbe6b021b589711c2e4c599a63050c5b2)

25 years agoFix from thwartedefforts@wonky.org (slightly modified) to
Jeremy Allison [Wed, 28 Oct 1998 17:15:28 +0000 (17:15 +0000)]
Fix from thwartedefforts@wonky.org (slightly modified) to
fix username overwriting problem in security=share.
Jeremy.
(This used to be commit 17621964344336c6303386c3c9e8a3e23b9e46e1)

25 years agofixed problem with snprintf.c and mkproto
Andrew Tridgell [Wed, 28 Oct 1998 12:04:34 +0000 (12:04 +0000)]
fixed problem with snprintf.c and mkproto
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)

25 years agouse abort() instead of exit() in smb_panic()
Andrew Tridgell [Wed, 28 Oct 1998 06:05:34 +0000 (06:05 +0000)]
use abort() instead of exit() in smb_panic()

the reason we don't return() here is that smb_panic() is used not just
for segv but also for detected errors (such as buffer overflows)
(This used to be commit 7a50ca81a5842f7139e67c0ff9de79518599f445)

25 years agofixed handling of %.0f in replacement snprintf.c
Andrew Tridgell [Wed, 28 Oct 1998 04:07:51 +0000 (04:07 +0000)]
fixed handling of %.0f in replacement snprintf.c
(This used to be commit 177b7b6b190c78ab59e19187d3221d23bb280911)

25 years agoNot finished yet - added so I can check it out at home
Jeremy Allison [Wed, 28 Oct 1998 02:35:07 +0000 (02:35 +0000)]
Not finished yet - added so I can check it out at home
and work on it tonight (I hate my life :-( ).
Jeremy.
(This used to be commit 12cb7caa9a1161cb8135d7d8e9f345a5589d2578)

25 years agoFixed a small bug in debug2html. It wasn't properly checking EOF. The
Christopher R. Hertel [Tue, 27 Oct 1998 23:28:29 +0000 (23:28 +0000)]
Fixed a small bug in debug2html.  It wasn't properly checking EOF.  The
current status is "it works".  I need to add some syntax error recovery
and a usage message.  Basic stuff.

I've also modified Makefile.in.  If you want to compile it you'll have to
do a 'make debug2html', as I used smbtorture as a model.  We can decide
later if this tool is useful enough to be compiled always.

BTW, a 'make realclean' fails because the bin directory isn't empty.
That's because it doesn't delete optionally compiled files such as
smbtorture and debug2html (and because of the CVS subdirectory, but I
think that's only a problem for developers).

Chris -)-----
(This used to be commit e86fd87a3806f4c161a8f887bbdd4d400ae56ac2)

25 years agoAdded info about parsing debug messages.
Christopher R. Hertel [Tue, 27 Oct 1998 21:07:52 +0000 (21:07 +0000)]
Added info about parsing debug messages.

Chris -)-----
(This used to be commit 26fcdfd082e84df675ad06c7ba8c0cdbf07eed98)

25 years agoFixed a few doc bugs in make_smbcodepage.1.yo samba.7.yo
Jeremy Allison [Tue, 27 Oct 1998 19:33:20 +0000 (19:33 +0000)]
Fixed a few doc bugs in make_smbcodepage.1.yo samba.7.yo
Added smbd.8.yo.
Jeremy.
(This used to be commit 695b31d0664f2c52704c49b49e56223b793dfc00)

25 years agodebug string with no %s parameter. oops
Luke Leighton [Tue, 27 Oct 1998 15:08:02 +0000 (15:08 +0000)]
debug string with no %s parameter.  oops
(This used to be commit 22721b027139ffb7ff2625741b68701ba15fbb98)

25 years agoamazing. the improvements to NT continue, evidence for which shows up
Luke Leighton [Tue, 27 Oct 1998 15:03:47 +0000 (15:03 +0000)]
amazing.  the improvements to NT continue, evidence for which shows up
now as "RPC fault" if the UNIHDR structure lengths do not exactly
match up to the length of the data stream.

so, all versions of samba prior to this one have an off-by-one bug
in unicode string lengths.

all versions of NT prior to NT 5 beta 2 could possibly have buffer
problems when receiving badly formatted UNICODE strings.
(This used to be commit 161eb6f511e161b63c1fa90a08c562fcf208344a)

25 years agoYODL conversion of make_smbcodepage.1
Jeremy Allison [Tue, 27 Oct 1998 01:54:33 +0000 (01:54 +0000)]
YODL conversion of make_smbcodepage.1
Jeremy.
(This used to be commit 7ad30c43ba3108631ac1fb98a96a0d5d66fca36c)

25 years agoadd ifdef for "long double"
Andrew Tridgell [Tue, 27 Oct 1998 00:07:06 +0000 (00:07 +0000)]
add ifdef for "long double"
(This used to be commit ae1888529b00f1a98d2b76fec7f19684efca90c7)

25 years agoadded a vsnprintf() implementation from cvslock. See the notes on the
Andrew Tridgell [Mon, 26 Oct 1998 23:40:33 +0000 (23:40 +0000)]
added a vsnprintf() implementation from cvslock. See the notes on the
license at the top of lib/snprintf.c

I've always been slightly uneasy about our half-baked vslprintf()
implementation and the risks on platforms that don't have vsnprintf()
so when I saw this code in another GPLd package I wanted it for Samba.
(This used to be commit e2cb50af45be6683d02ab48a6648816ee3d52ab1)

25 years agoHere is the simple debug parser and the debug2html converter. Still to do:
Christopher R. Hertel [Mon, 26 Oct 1998 23:21:37 +0000 (23:21 +0000)]
Here is the simple debug parser and the debug2html converter.  Still to do:

  * Debug message filtering.
  * I need to add all this to Makefile.in
    (If it looks at all strange I'll ask for help.)

If you want to compile debug2html, you'll need to do it by hand until I
make the changes to Makefile.in.  Sorry.

Chris -)-----
(This used to be commit fae161b9051c3ea8aa129bdb3df11d215007723d)