samba.git
20 years agoRemoved {OLD,NEW}_NTDOMAIN cruft from mkproto.awk
Tim Potter [Thu, 4 Sep 2003 23:55:44 +0000 (23:55 +0000)]
Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awk
(This used to be commit 061decb608a3c881e646617b623277895fc0c13e)

20 years agoFastpath strchr_m for ASCII.
Jeremy Allison [Thu, 4 Sep 2003 23:26:13 +0000 (23:26 +0000)]
Fastpath strchr_m for ASCII.
Jeremy.
(This used to be commit b3176f2ec246441dd483dc9757a487535b1656e6)

20 years agoMore hand-tuning of the fastpath. Don't do strlen() when we're doing
Jeremy Allison [Thu, 4 Sep 2003 23:03:58 +0000 (23:03 +0000)]
More hand-tuning of the fastpath. Don't do strlen() when we're doing
to walk to the end anyway.
Jeremy.
(This used to be commit 467cafdb1f7ddfb4278824f385b732975246a4f5)

20 years agoCheck in Andrew's fix for bug #305 (always use lp_realm() )
Gerald Carter [Thu, 4 Sep 2003 19:45:04 +0000 (19:45 +0000)]
Check in Andrew's fix for bug #305 (always use lp_realm() )

Also make sure thet ads_startup uses lp_realm instead of
just relying on the workgroup name.  Fixes bug in net ads join
when the workgroup defaults to "WORKGROUP" and we ignore the
realm name.
(This used to be commit b1763ace4e85f41574894e3807cabb5196fec661)

20 years agoRemove convert_string_internal completely from fast path when processing
Jeremy Allison [Thu, 4 Sep 2003 18:40:55 +0000 (18:40 +0000)]
Remove convert_string_internal completely from fast path when processing
NBENCH calls. Requires fixed buffer size for strdup_upper().
Jeremy.
(This used to be commit e98fbfaf384bd2d3ebb002b0b981366377fb5ac0)

20 years agoFix UNIX passwd sync properly. I've finally understood
Jeremy Allison [Thu, 4 Sep 2003 18:02:17 +0000 (18:02 +0000)]
Fix UNIX passwd sync properly. I've finally understood
the as_root parameter has bugger all to do with who you *currently*
are, and everything to do with who you run the script as. Doh !
Jeremy.
(This used to be commit 17a241d9f788b63fec091001cb72d34c09cf32a4)

20 years agoMore FreeBSD PAM compile fixes. Don't redefine PAM_AUTHTOK_RECOVER_ERR
Tim Potter [Thu, 4 Sep 2003 03:28:40 +0000 (03:28 +0000)]
More FreeBSD PAM compile fixes.  Don't redefine PAM_AUTHTOK_RECOVER_ERR
if it already exists.  FreeBSD 4.8 doesn't need the redefinition, 5.0 does.
(This used to be commit 4a3727b03b0488fa82687014cb476b1971a78be8)

20 years agoProduce an error if --with-pam_smbpass is specified and we can't
Tim Potter [Thu, 4 Sep 2003 02:23:43 +0000 (02:23 +0000)]
Produce an error if --with-pam_smbpass is specified and we can't
find libpam or security/pam_appl.h

Also change the warnings when we can't do --with-pam_smbpass when
is was requested to errors.
(This used to be commit fe3fb58623c27472d54722b780af43c3e272abaf)

20 years agoQuieten level 0 debug when probing for modules. We shouldn't display so loud
Tim Potter [Thu, 4 Sep 2003 02:02:26 +0000 (02:02 +0000)]
Quieten level 0 debug when probing for modules.  We shouldn't display so loud
an error when a smb_probe_module() fails.  Also tidy up debugs a bit.

Bug 375.
(This used to be commit 24a1720472f1340778dea76a88770520dca26f12)

20 years agoUsed cachegrind to track down some bottlenecks.
Jeremy Allison [Thu, 4 Sep 2003 01:12:39 +0000 (01:12 +0000)]
Used cachegrind to track down some bottlenecks.
Removed calls to clobber_region when not compiling with developer as
they were hiding speed problems.
Added fast path to convert_string() when dealing with ascii -> ascii,
ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This
gives a speedup of 22% on my nbench tests.
Next I will do this on convert_string_allocate.
Jeremy.
(This used to be commit ef140d15ea0d76a3e7cdcadbfd3e917c210a9411)

20 years agoProduce an error if --with-pam is specified but no PAM headers can be
Tim Potter [Thu, 4 Sep 2003 00:51:50 +0000 (00:51 +0000)]
Produce an error if --with-pam is specified but no PAM headers can be
found.
(This used to be commit dc43c2dd1b4cd02e996fe10f1684a6571b2fd3de)

20 years agoFix typo, right branch this time.
Tim Potter [Wed, 3 Sep 2003 01:27:23 +0000 (01:27 +0000)]
Fix typo, right branch this time.
(This used to be commit 4508e103d0af7fb2bb5d96a86c83b960b738bd03)

20 years agoFix up overlapping memcpy -> memmove found by valgrind.
Jeremy Allison [Wed, 3 Sep 2003 00:56:43 +0000 (00:56 +0000)]
Fix up overlapping memcpy -> memmove found by valgrind.
Jeremy.
(This used to be commit e0c1460c6b6af2b83ea205d8abeb37c71ca1d4c1)

20 years agoTry to add memory keytab support. It also includes much of the generic
Jim McDonough [Wed, 3 Sep 2003 00:45:15 +0000 (00:45 +0000)]
Try to add memory keytab support.  It also includes much of the generic
keytab support code, but it won't be enabled until we add that to smb.conf.
Adapted from the work of Guenther Deschner (gd@suse.com).

Please hammer on this...
(This used to be commit a26fa5bee24c73cd835f59bb18162ab07760d76a)

20 years agoProposed patch for #308. Needs testing.
Jeremy Allison [Tue, 2 Sep 2003 23:58:39 +0000 (23:58 +0000)]
Proposed patch for #308. Needs testing.
Jeremy
(This used to be commit e2b73477e772ac2f527719df0d3d64c67649bb1c)

20 years agoremoving debugging statement checked in by mistake
Gerald Carter [Tue, 2 Sep 2003 20:38:32 +0000 (20:38 +0000)]
removing debugging statement checked in by mistake
(This used to be commit 01096554110ba243566003a45f88dbaeb513fc73)

20 years agoanother round of changes for build on RedHat
Gerald Carter [Tue, 2 Sep 2003 20:02:45 +0000 (20:02 +0000)]
another round of changes for build on RedHat
(This used to be commit a8de1f41c9e8465a26d5ce19c5c08efda186e198)

20 years agoDisable rc4-hmac on broken heimdal setups. Pre-0.7 heimdal (or at least up
Jim McDonough [Tue, 2 Sep 2003 18:31:41 +0000 (18:31 +0000)]
Disable rc4-hmac on broken heimdal setups.  Pre-0.7 heimdal (or at least up
to a very recent snapshot) has arcfour-hmac code that doesn't work with
windows.  Love suggested detecting it via the existence of KEYTYPE_ARCFOUR_56
which only exists in working versions.
(This used to be commit e039a61e51c50a1999ed8e375c4d5df8b622e310)

20 years agoCheck for support for in-memory keytabs, which are needed to make heimdal
Jim McDonough [Tue, 2 Sep 2003 17:02:09 +0000 (17:02 +0000)]
Check for support for in-memory keytabs, which are needed to make heimdal
work properly.  MIT does not support them, so this check will be used to
decide whether to use them.  First part of fixing bug #372.
(This used to be commit 85737fc9371d8208f3dd55d408958e357c48266e)

20 years agoFix typo in smbcquotas manpage
Jelmer Vernooij [Tue, 2 Sep 2003 12:04:47 +0000 (12:04 +0000)]
Fix typo in smbcquotas manpage
(This used to be commit b53d5064f326c0ae8c7a00cd643ee52afec81856)

20 years agoI think this will gracefully get around issues between different rpm
Gerald Carter [Tue, 2 Sep 2003 03:34:44 +0000 (03:34 +0000)]
I think this will gracefully get around issues between different rpm
versions.  Particularly the long standing problem with Net::LDAP
dependencies in examples/LDAP.  I'll build new packages tomorrow
as the final test.
(This used to be commit cca0f603506b2e3c20eff5e1dd235354363d7a86)

20 years agoFix for bug 261. Create a configure #define for FreeBSD and a check in
Tim Potter [Tue, 2 Sep 2003 00:09:31 +0000 (00:09 +0000)]
Fix for bug 261.  Create a configure #define for FreeBSD and a check in
nsswitch/pam_winbind.h so we can compile properly on this platform.
(This used to be commit 75411005fcab7ecf31940c5f7b87fd407166f98a)

20 years agoFix comment strings to 43 bytes as per spec.
Jeremy Allison [Mon, 1 Sep 2003 18:28:09 +0000 (18:28 +0000)]
Fix comment strings to 43 bytes as per spec.
Jeremy.
(This used to be commit f1ec43fae400455d20931ab2d3ecd8f9a6609050)

20 years agoProper fix for #380 -- use different algorithm to generate codepages
Alexander Bokovoy [Mon, 1 Sep 2003 11:33:42 +0000 (11:33 +0000)]
Proper fix for #380 -- use different algorithm to generate codepages
source code which allows to take gaps into account thus making unneccessary
extended [index] = value, syntax in to_ucs2 array
(This used to be commit 4ab08a4bb8dbd023eb85d16a594d3c4ed066f9ac)

20 years agoFix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
Alexander Bokovoy [Mon, 1 Sep 2003 11:26:57 +0000 (11:26 +0000)]
Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
(This used to be commit 61c671bd69674b9e1c4a8b72453dc6aae24b4323)

20 years agoFix bug 342. Short version of --add now -a instead of -A.
Tim Potter [Mon, 1 Sep 2003 10:43:21 +0000 (10:43 +0000)]
Fix bug 342.  Short version of --add now -a instead of -A.
(This used to be commit 233568dd6b08d3dfb48a712b763dfc31c03b229d)

20 years agoWe don't need to #include memory.h here. It's a BSD'ism and just includes
Tim Potter [Sun, 31 Aug 2003 23:58:55 +0000 (23:58 +0000)]
We don't need to #include memory.h here.  It's a BSD'ism and just includes
string.h anyways.
(This used to be commit 71034cede83b5605b25a4d3b640086294244c239)

20 years agoi know there is an specfile macro for determing the RPM version
Gerald Carter [Sat, 30 Aug 2003 15:49:17 +0000 (15:49 +0000)]
i know there is an specfile macro for determing the RPM version
but I can't seem to find it right now.  This should get us around
all problems with RPM adding Net::LDAP to the list of requirements.
(This used to be commit 3c2bcc5804f3809221219b24be53a19e03b58535)

20 years agomake changes in the template, not the generated files... :-(
Gerald Carter [Fri, 29 Aug 2003 18:55:30 +0000 (18:55 +0000)]
make changes in the template, not the generated files... :-(
(This used to be commit 9e404772811ab0c88afbface2252df2e75c5e1ba)

20 years agopackaging updates; use rpm -E when possible for spec & src dir; also avoid Net::LDAP...
Gerald Carter [Fri, 29 Aug 2003 18:49:55 +0000 (18:49 +0000)]
packaging updates; use rpm -E when possible for spec & src dir; also avoid Net::LDAP dependencies
(This used to be commit 3b31d1aa8ff3baaa48beee86e72e8a6caaf5ac1b)

20 years agoupdating README file after I removed some scripts
Gerald Carter [Fri, 29 Aug 2003 16:56:59 +0000 (16:56 +0000)]
updating README file after I removed some scripts
(This used to be commit 90133558073deb96a0e5baf26e44cf1af1acd538)

20 years agoadding smbcquotas to the list of installed tools
Gerald Carter [Fri, 29 Aug 2003 16:43:54 +0000 (16:43 +0000)]
adding smbcquotas to the list of installed tools
(This used to be commit e872c3e4a117090528b2b1c7036e07f30b0a31ca)

20 years agoRemove cap_set_quota as it is the same as default one
Alexander Bokovoy [Fri, 29 Aug 2003 09:24:24 +0000 (09:24 +0000)]
Remove cap_set_quota as it is the same as default one
(This used to be commit e123f1a8c8ecc0958e640ed204348d0c831f90f5)

20 years agoUpdate mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
Steve French [Fri, 29 Aug 2003 07:31:39 +0000 (07:31 +0000)]
Update mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
(This used to be commit 89a0e97094fa85b6339f0ad0884cf55987758263)

20 years agoadding packaging for charset modules
Gerald Carter [Fri, 29 Aug 2003 06:01:01 +0000 (06:01 +0000)]
adding packaging for charset modules
(This used to be commit 8c9ae560b4f61146f8add848337c24b62fa0b9ea)

20 years agobumping version
Gerald Carter [Fri, 29 Aug 2003 04:15:59 +0000 (04:15 +0000)]
bumping version
(This used to be commit e5f091e79511c5dc15f750e81063a962471634f2)

20 years agofix order of init scripts and remove references to swat/README
Gerald Carter [Fri, 29 Aug 2003 04:09:21 +0000 (04:09 +0000)]
fix order of init scripts and remove references to swat/README
(This used to be commit 3ec9e76052e2e5f9f2cf26d1925344497de7c5fb)

20 years agoupdate change log with recent commit messages
Gerald Carter [Fri, 29 Aug 2003 03:24:38 +0000 (03:24 +0000)]
update change log with recent commit messages
(This used to be commit 88f949f31e51e63ff247737624a40b8283aeadf9)

20 years agofile was checked in by mistake
Gerald Carter [Fri, 29 Aug 2003 03:03:06 +0000 (03:03 +0000)]
file was checked in by mistake
(This used to be commit 801a074e70e314405e1796ab22d372ab130bcd32)

20 years agoFix some compiler warnings.
Tim Potter [Fri, 29 Aug 2003 01:33:00 +0000 (01:33 +0000)]
Fix some compiler warnings.
(This used to be commit f566de0541373fab97caa6b0f574f79e68ae74dc)

20 years agoAdd log2pcap to everything target.
Tim Potter [Fri, 29 Aug 2003 01:25:17 +0000 (01:25 +0000)]
Add log2pcap to everything target.
(This used to be commit fb446ba8117c5e24489520aaea6abd25d6396287)

20 years agoAdding new files needed for html files.
John Terpstra [Fri, 29 Aug 2003 01:17:42 +0000 (01:17 +0000)]
Adding new files needed for html files.
(This used to be commit da3e840e017cd64366042748d94a18faf772093b)

20 years agoUpdate pre-release of RC2. Note: Due to config errors not all manpages
John Terpstra [Fri, 29 Aug 2003 01:15:53 +0000 (01:15 +0000)]
Update pre-release of RC2. Note: Due to config errors not all manpages
were rebuilt.
(This used to be commit 01fde1a40b11e73cc98f09ab2ebbd14ed0bed4cf)

20 years agoRelocate CHANGESECRETPW to correct level.
John Terpstra [Fri, 29 Aug 2003 01:06:50 +0000 (01:06 +0000)]
Relocate CHANGESECRETPW to correct level.
(This used to be commit f65d0d5c361e849eb7247a8ae2722f2e62df3b20)

20 years agoAdd missing markup tag.
John Terpstra [Fri, 29 Aug 2003 00:41:59 +0000 (00:41 +0000)]
Add missing markup tag.
(This used to be commit 1b8947e30ff3368788d1ce9e4713dd15afefe352)

20 years agoAdding docs for the CHANGESECRETPW command.
John Terpstra [Fri, 29 Aug 2003 00:10:37 +0000 (00:10 +0000)]
Adding docs for the CHANGESECRETPW command.
(This used to be commit c2f354e7dcacdad43deca4cf3f807bfe6a908fad)

20 years agoFix bug found by tridge in 2.2.x. Ensure that %U substitution is
Jeremy Allison [Thu, 28 Aug 2003 23:57:34 +0000 (23:57 +0000)]
Fix bug found by tridge in 2.2.x. Ensure that %U substitution is
restored on next valid packet if a logon fails. This has relevence
if people are using su.exe within logon scripts !
Jeremy.
(This used to be commit d405a93a9d3f9a1d93bb3289b00683fba3160bbe)

20 years agoFixed warnings in secret code.
Jeremy Allison [Thu, 28 Aug 2003 23:38:13 +0000 (23:38 +0000)]
Fixed warnings in secret code.
Jeremy.
(This used to be commit 86ebf990431903b12ec24a4d9af00d665e828145)

20 years agoRegenerate docs
Jelmer Vernooij [Thu, 28 Aug 2003 22:13:10 +0000 (22:13 +0000)]
Regenerate docs
(This used to be commit b78c6ee1d155f255d329899c237281c7cf662260)

20 years agoCommit some old stuff from my laptop; put in Docbook/XML version of mount.cifs manpage
Jelmer Vernooij [Thu, 28 Aug 2003 22:00:41 +0000 (22:00 +0000)]
Commit some old stuff from my laptop; put in Docbook/XML version of mount.cifs manpage
(This used to be commit c442e52488c342ba20bda0ed821d607bdbec1ddb)

20 years agoadd note about the new edition of Using Samba included in this release
Gerald Carter [Thu, 28 Aug 2003 21:29:22 +0000 (21:29 +0000)]
add note about the new edition of Using Samba included in this release
(This used to be commit 4eefa01486ed12c6941f1ced4e45adf0f9b023be)

20 years agomake sure using_samba 2ed. files get installed ok
Gerald Carter [Thu, 28 Aug 2003 21:23:04 +0000 (21:23 +0000)]
make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd106898ebfe976facacfe1d079492993)

20 years agogetting rid of copmpiler warning
Gerald Carter [Thu, 28 Aug 2003 20:48:04 +0000 (20:48 +0000)]
getting rid of copmpiler warning
(This used to be commit d3f5c5c22026b2e1e4f02617a823505ae88eab24)

20 years agofixing typos pointed out by Vance in WHATSNEW
Gerald Carter [Thu, 28 Aug 2003 20:24:25 +0000 (20:24 +0000)]
fixing typos pointed out by Vance in WHATSNEW

Include patch to manually set the machine trust account
password (on request from jht) to mimic 2.2. behavior.

last changes before RC2 (not counting syncing the docs).
(This used to be commit ce090371449097d4e5010e1219d449db8b0ccac5)

20 years agosync
Gerald Carter [Thu, 28 Aug 2003 19:03:19 +0000 (19:03 +0000)]
sync
(This used to be commit 3fcb31599984c0a3a2d2307edf0f91009bc17ef6)

20 years agofix link and author information for Using Samab 2ed (in SWAT front page)
Gerald Carter [Thu, 28 Aug 2003 18:24:25 +0000 (18:24 +0000)]
fix link and author information for Using Samab 2ed (in SWAT front page)
(This used to be commit c79840994c1f3067d268c0db6dc3166572e688eb)

20 years agoAdd length warning on register name.
Jeremy Allison [Thu, 28 Aug 2003 18:23:05 +0000 (18:23 +0000)]
Add length warning on register name.
Jeremy.
(This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)

20 years agoFixed off-by-one bugs in workgroup name comparisons. Complain when a
Jeremy Allison [Thu, 28 Aug 2003 18:12:59 +0000 (18:12 +0000)]
Fixed off-by-one bugs in workgroup name comparisons. Complain when a
workgroup name is >15 characters.
Jeremy.
(This used to be commit 35a0b3c035d50474eda97b015676885722737a95)

20 years agoFix rename of struct gap. ab - LOOK AT THIS. You changed one module
Jeremy Allison [Thu, 28 Aug 2003 18:11:11 +0000 (18:11 +0000)]
Fix rename of struct gap. ab - LOOK AT THIS. You changed one module
but not the other. This now compiles but I need verification.
Jeremy.
(This used to be commit 787c9764b300651af83a6e54f3090cfcf078a8a9)

20 years agoRefactor charset plugins a bit and add CP437 module.
Alexander Bokovoy [Thu, 28 Aug 2003 17:16:27 +0000 (17:16 +0000)]
Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0f349370e93e4bed37d8fa371013247)

20 years agoremove rcs tag
Gerald Carter [Thu, 28 Aug 2003 17:00:36 +0000 (17:00 +0000)]
remove rcs tag
(This used to be commit 7105f4bcabb29126999b5494f6d60d6f766ab5cc)

20 years agoremoving outdated scripts and adding comments about 'ldap password syc'
Gerald Carter [Thu, 28 Aug 2003 16:38:59 +0000 (16:38 +0000)]
removing outdated scripts and adding comments about 'ldap password syc'
(This used to be commit 29885eae591bdbb899d18ac2e7ae355751cd4be6)

20 years agorevert a change to r1.397.2.91 because to operate like the docs; browseable for new...
Gerald Carter [Thu, 28 Aug 2003 16:13:16 +0000 (16:13 +0000)]
revert a change to r1.397.2.91 because to operate like the docs; browseable for new home directories should be inheritied from the global defaults, not [homes]
(This used to be commit ea54bfc211f874c23b79572d8fb89bac73ec21a3)

20 years agoFix email address in copyright statement
Jim McDonough [Thu, 28 Aug 2003 14:57:23 +0000 (14:57 +0000)]
Fix email address in copyright statement
(This used to be commit ffc82460f2b6b703739d9f95dc878d31bc9b3367)

20 years agoskel_ -> cap_
Alexander Bokovoy [Thu, 28 Aug 2003 12:30:35 +0000 (12:30 +0000)]
skel_ -> cap_
(This used to be commit 8bb033273a0fa20ba88ad6797c9a6ba092224e3b)

20 years agoRemove what looks like gcc-isms.
Jeremy Allison [Wed, 27 Aug 2003 23:23:17 +0000 (23:23 +0000)]
Remove what looks like gcc-isms.
Jeremy.
(This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)

20 years agoTypo fix.
Rafal Szczesniak [Wed, 27 Aug 2003 22:05:52 +0000 (22:05 +0000)]
Typo fix.
(This used to be commit 934fb418a3a3628ee4cde699df872bc1035fc769)

20 years agoremove 'ldap trust ids' since there was no way for it to work now
Gerald Carter [Wed, 27 Aug 2003 21:17:10 +0000 (21:17 +0000)]
remove 'ldap trust ids' since there was no way for it to work now
(This used to be commit 3724063f1518c25e33ba6b65cd3bb1e36cec51fa)

20 years agoFix bug 327 (again and I think for the last time). Make sure that
Gerald Carter [Wed, 27 Aug 2003 20:52:56 +0000 (20:52 +0000)]
Fix bug 327 (again and I think for the last time).  Make sure that
pam_smbpass.so will load ok.  Had to move some functions around to work
around dependency problems (hence the new passdb/lookup_sid.c)

Also make sure that libsmbclient.a is built and installed when
we support shared libraries.
(This used to be commit 780055f4422f11fb0524ac1f003cdc5f317f8b19)

20 years agorenaming some functions for consistency
Gerald Carter [Wed, 27 Aug 2003 20:50:24 +0000 (20:50 +0000)]
renaming some functions for consistency
(This used to be commit f4ca4aae8ad0496b76c710cf79c791724bdaa4ec)

20 years agoFix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, but
Jim McDonough [Wed, 27 Aug 2003 20:22:12 +0000 (20:22 +0000)]
Fix to properly set AP_OPTS_SUBKEY in heimdal.  In MIT it is a #define, but
in heimdal it is an enum.  Thanks to Guenther Deschner (gd@suse.de).

With this join will work, but without a keytab, cifs connections will still
fail with heimdal.  Fix to come later.
(This used to be commit d30bef4c37e8203c273eb3852215a89348bece7a)

20 years agoAdd CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compa...
Alexander Bokovoy [Wed, 27 Aug 2003 20:04:23 +0000 (20:04 +0000)]
Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV
(This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)

20 years agoCheck for embedded mb chars when testing for illegal characters like /.
Jeremy Allison [Wed, 27 Aug 2003 19:01:55 +0000 (19:01 +0000)]
Check for embedded mb chars when testing for illegal characters like /.
Should fix mangling for Japanese language.
Jeremy.
(This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)

20 years agoFix initial debug.
Jeremy Allison [Wed, 27 Aug 2003 18:21:26 +0000 (18:21 +0000)]
Fix initial debug.
Jeremy.
(This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)

20 years agoIgnore smbiconv binary as well
Alexander Bokovoy [Wed, 27 Aug 2003 18:19:52 +0000 (18:19 +0000)]
Ignore smbiconv binary as well
(This used to be commit eea27b9a9cc749b3a67f2ced36ab72586a3905a1)

20 years agoRemove completely unneeded malloc/free out of this codepath.
Jeremy Allison [Wed, 27 Aug 2003 18:17:33 +0000 (18:17 +0000)]
Remove completely unneeded malloc/free out of this codepath.
Jeremy.
(This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)

20 years agoEnsure we use correct length nstrings for workgroup and browser names.
Jeremy Allison [Wed, 27 Aug 2003 18:00:09 +0000 (18:00 +0000)]
Ensure we use correct length nstrings for workgroup and browser names.
Jeremy.
(This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)

20 years agofix segfault on empty wins server name registration reply
Gerald Carter [Wed, 27 Aug 2003 15:07:46 +0000 (15:07 +0000)]
fix segfault on empty wins server name registration reply
(This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)

20 years agoBe consistent about using capital letters in the function names. (The only
Paul Green [Wed, 27 Aug 2003 15:05:05 +0000 (15:05 +0000)]
Be consistent about using capital letters in the function names. (The only
one that really matters is the init entrypoint, but I changed the others
to remain consistent).
(This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)

20 years agoadd --help to script
Gerald Carter [Wed, 27 Aug 2003 14:44:36 +0000 (14:44 +0000)]
add --help to script
(This used to be commit 5b20494aff3da9414ac0100220de96750c3f06a3)

20 years agofix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks...
Gerald Carter [Wed, 27 Aug 2003 14:37:24 +0000 (14:37 +0000)]
fix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks for shared library support (move the IRIX define as well)
(This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2)

20 years agoFix typo in configure.in for libsmbclient
Alexander Bokovoy [Wed, 27 Aug 2003 10:42:16 +0000 (10:42 +0000)]
Fix typo in configure.in for libsmbclient
(This used to be commit 302da352a2f7f23c39ab97076505b5297ffdbe8d)

20 years agoPrint an error instead of crashing if no argument is specified for
Tim Potter [Wed, 27 Aug 2003 07:39:26 +0000 (07:39 +0000)]
Print an error instead of crashing if no argument is specified for
smbclient -T

Fixes bug 345.
(This used to be commit a46e58e2b6e3d9526012d6a2d903163a3373fa59)

20 years agoUpdate last scan time in rescan_trusted_domains().
Tim Potter [Wed, 27 Aug 2003 07:26:02 +0000 (07:26 +0000)]
Update last scan time in rescan_trusted_domains().

Fix from Ken Cross.
(This used to be commit 45775b48a0d91390aa698b750d59cda0150cfbd0)

20 years agoUndo SYSV define for Solaris. Things are more complicated than they
Tim Potter [Wed, 27 Aug 2003 06:32:22 +0000 (06:32 +0000)]
Undo SYSV define for Solaris.  Things are more complicated than they
appear.  (-:

I've closed bug 355 as a duplicate of bug 230 which is still a going
concern.
(This used to be commit dfb5050b7732836ade12beba27a88c5e8c1a1b95)

20 years agoFollow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fix
Tim Potter [Wed, 27 Aug 2003 05:07:25 +0000 (05:07 +0000)]
Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fix
vendor supplied lp printing (bug #355).

For some reason this is not being set in Samba 3.  In Samba 2.2 the
SYSV define was only set from include/includes.h in a haphazard
fashion.  It's probably better to explicitly define it on a per-operating
system basis anyway.
(This used to be commit e653e13f45c3fa3c2cac792d78e47a2ee0df2b5a)

20 years agopatch from Guenther Deschner <gd@suse.de>
John Terpstra [Wed, 27 Aug 2003 02:31:06 +0000 (02:31 +0000)]
patch from Guenther Deschner <gd@suse.de>
(This used to be commit 2e23491bb3bbf638ef37bace4e2fd22ade637618)

20 years agoFix the character set handling properly in nmbd. Also fix bug where
Jeremy Allison [Wed, 27 Aug 2003 01:25:01 +0000 (01:25 +0000)]
Fix the character set handling properly in nmbd. Also fix bug where
iconv wasn't re-initialised on reading of "charset" parameters. This
caused workgroup name to be set incorrectly if it contained an
extended character.
Jeremy.
(This used to be commit 84ae44678a6c59c999bc1023fdd9b7ad87f4ec18)

20 years agoFix for #150.
Alexander Bokovoy [Tue, 26 Aug 2003 19:48:16 +0000 (19:48 +0000)]
Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
(This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)

20 years agosync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount...
Gerald Carter [Tue, 26 Aug 2003 04:36:27 +0000 (04:36 +0000)]
sync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount schema
(This used to be commit 5f41cd76b793305e1e9e4da76d58daa2d8438c63)

20 years agoinclude enhancements from Buchan Milne to generate LDIF modify output in addition...
Gerald Carter [Tue, 26 Aug 2003 04:17:05 +0000 (04:17 +0000)]
include enhancements from Buchan Milne to generate LDIF modify output in addition to add
(This used to be commit 49457669f32ed1d8122633e2d0abdebaf05790da)

20 years agoadding some debugs while tracking down a bug
Gerald Carter [Tue, 26 Aug 2003 03:13:39 +0000 (03:13 +0000)]
adding some debugs while tracking down a bug
(This used to be commit 627ff578613b8762415cc03cbbaff68e70f96dbf)

20 years agomake sure we keep the trusted domain cache up to date
Gerald Carter [Mon, 25 Aug 2003 21:45:57 +0000 (21:45 +0000)]
make sure we keep the trusted domain cache up to date
(This used to be commit 3324adcaceb9191b5d4d671ac9b51c85c6714598)

20 years agoupdate python libraries for new cli_spoolss_getprinterdriver() call
Gerald Carter [Mon, 25 Aug 2003 21:16:17 +0000 (21:16 +0000)]
update python libraries for new cli_spoolss_getprinterdriver() call
(This used to be commit 331a69919c3d4457e4c700b1fd4033f338d0ec98)

20 years agorun autogen when making a tarball
Gerald Carter [Mon, 25 Aug 2003 21:08:46 +0000 (21:08 +0000)]
run autogen when making a tarball
(This used to be commit d9d50b6cfe6525ccd0173394fd17e545440ecfa8)

20 years agoignore generated smbadduser
Gerald Carter [Mon, 25 Aug 2003 21:08:06 +0000 (21:08 +0000)]
ignore generated smbadduser
(This used to be commit bef5ad0dea18fd1aea3421adc3de2609b1cf2eb1)

20 years agofix bug 289; make sure to reset the offset into a string when reallocating space
Gerald Carter [Mon, 25 Aug 2003 20:42:24 +0000 (20:42 +0000)]
fix bug 289; make sure to reset the offset into a string when reallocating space
(This used to be commit 66dd20c7eaa66abdf99fa57475ccc4c9f978f1b5)

20 years agofix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary...
Gerald Carter [Mon, 25 Aug 2003 19:09:24 +0000 (19:09 +0000)]
fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary files & libs
(This used to be commit e52f95d681ef2263166f5468f2a3f068b67915b7)

20 years agofix bug #39; save the -W value and restore it after lp_load()
Gerald Carter [Mon, 25 Aug 2003 17:55:33 +0000 (17:55 +0000)]
fix bug #39; save the -W value and restore it after lp_load()
(This used to be commit 79efe7d72ba503b58c8ad3b9b1c711f5ebb33521)

20 years agomake sure the printer data value exists before saying you deleted it
Gerald Carter [Mon, 25 Aug 2003 13:05:48 +0000 (13:05 +0000)]
make sure the printer data value exists before saying you deleted it
(This used to be commit 017133ea0c3eb0579710727379585df2b585614d)