1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

14559 Commits

Author SHA1 Message Date
Jeremy Allison
0e8c2a4133 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)
2003-09-04 23:03:58 +00:00
Gerald Carter
bf0f3be29d 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)
2003-09-04 19:45:04 +00:00
Jeremy Allison
22831019dc 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)
2003-09-04 18:40:55 +00:00
Jeremy Allison
3c1c2ddf9a 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)
2003-09-04 18:02:17 +00:00
Tim Potter
d5bd98dd9a 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)
2003-09-04 03:28:40 +00:00
Tim Potter
c7accf6a72 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)
2003-09-04 02:23:43 +00:00
Tim Potter
fb638ddf99 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)
2003-09-04 02:02:26 +00:00
Jeremy Allison
245fbf7efb 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)
2003-09-04 01:12:39 +00:00
Tim Potter
7da5c6a0e7 Produce an error if --with-pam is specified but no PAM headers can be
found.
(This used to be commit dc43c2dd1b4cd02e996fe10f1684a6571b2fd3de)
2003-09-04 00:51:50 +00:00
Tim Potter
a9a9d170a6 Fix typo, right branch this time.
(This used to be commit 4508e103d0af7fb2bb5d96a86c83b960b738bd03)
2003-09-03 01:27:23 +00:00
Jeremy Allison
9c570af333 Fix up overlapping memcpy -> memmove found by valgrind.
Jeremy.
(This used to be commit e0c1460c6b6af2b83ea205d8abeb37c71ca1d4c1)
2003-09-03 00:56:43 +00:00
Jim McDonough
d517c1d613 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)
2003-09-03 00:45:15 +00:00
Jeremy Allison
a7e8e39b91 Proposed patch for #308. Needs testing.
Jeremy
(This used to be commit e2b73477e772ac2f527719df0d3d64c67649bb1c)
2003-09-02 23:58:39 +00:00
Gerald Carter
1b4c80477f removing debugging statement checked in by mistake
(This used to be commit 01096554110ba243566003a45f88dbaeb513fc73)
2003-09-02 20:38:32 +00:00
Gerald Carter
04c0d440ff another round of changes for build on RedHat
(This used to be commit a8de1f41c9e8465a26d5ce19c5c08efda186e198)
2003-09-02 20:02:45 +00:00
Jim McDonough
7d378e9a11 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)
2003-09-02 18:31:41 +00:00
Jim McDonough
409c6d1407 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)
2003-09-02 17:02:09 +00:00
Jelmer Vernooij
2c4c43325b Fix typo in smbcquotas manpage
(This used to be commit b53d5064f326c0ae8c7a00cd643ee52afec81856)
2003-09-02 12:04:47 +00:00
Gerald Carter
86cd0cd081 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)
2003-09-02 03:34:44 +00:00
Tim Potter
ea7b4b6c32 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)
2003-09-02 00:09:31 +00:00
Jeremy Allison
9b276fc77f Fix comment strings to 43 bytes as per spec.
Jeremy.
(This used to be commit f1ec43fae400455d20931ab2d3ecd8f9a6609050)
2003-09-01 18:28:09 +00:00
Alexander Bokovoy
39abb5cacc 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)
2003-09-01 11:33:42 +00:00
Alexander Bokovoy
bce1fcd76b Fix CP437 and CP850 syntax for old compilers removing ANSI C99-specifics
(This used to be commit 61c671bd69674b9e1c4a8b72453dc6aae24b4323)
2003-09-01 11:26:57 +00:00
Tim Potter
0869073b7b Fix bug 342. Short version of --add now -a instead of -A.
(This used to be commit 233568dd6b08d3dfb48a712b763dfc31c03b229d)
2003-09-01 10:43:21 +00:00
Tim Potter
0548123153 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)
2003-08-31 23:58:55 +00:00
Gerald Carter
3aedaf6819 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)
2003-08-30 15:49:17 +00:00
Gerald Carter
e1231a2493 make changes in the template, not the generated files... :-(
(This used to be commit 9e404772811ab0c88afbface2252df2e75c5e1ba)
2003-08-29 18:55:30 +00:00
Gerald Carter
2ce05b7a3f packaging updates; use rpm -E when possible for spec & src dir; also avoid Net::LDAP dependencies
(This used to be commit 3b31d1aa8ff3baaa48beee86e72e8a6caaf5ac1b)
2003-08-29 18:49:55 +00:00
Gerald Carter
1e5411ca82 updating README file after I removed some scripts
(This used to be commit 90133558073deb96a0e5baf26e44cf1af1acd538)
2003-08-29 16:56:59 +00:00
Gerald Carter
4f89003805 adding smbcquotas to the list of installed tools
(This used to be commit e872c3e4a117090528b2b1c7036e07f30b0a31ca)
2003-08-29 16:43:54 +00:00
Alexander Bokovoy
01e9f9788c Remove cap_set_quota as it is the same as default one
(This used to be commit e123f1a8c8ecc0958e640ed204348d0c831f90f5)
2003-08-29 09:24:24 +00:00
Steve French
78e75d4f6c Update mount helper to take synonyms for file_mode and dir_mode (fmask and dmask)
(This used to be commit 89a0e97094fa85b6339f0ad0884cf55987758263)
2003-08-29 07:31:39 +00:00
Gerald Carter
939c35e384 adding packaging for charset modules
(This used to be commit 8c9ae560b4f61146f8add848337c24b62fa0b9ea)
2003-08-29 06:01:01 +00:00
Gerald Carter
f13957824d bumping version
(This used to be commit e5f091e79511c5dc15f750e81063a962471634f2)
2003-08-29 04:15:59 +00:00
Gerald Carter
d35d0a97e3 fix order of init scripts and remove references to swat/README
(This used to be commit 3ec9e76052e2e5f9f2cf26d1925344497de7c5fb)
2003-08-29 04:09:21 +00:00
Gerald Carter
fc3cc998f3 update change log with recent commit messages
(This used to be commit 88f949f31e51e63ff247737624a40b8283aeadf9)
2003-08-29 03:24:38 +00:00
Gerald Carter
e0d634b6b1 file was checked in by mistake
(This used to be commit 801a074e70e314405e1796ab22d372ab130bcd32)
2003-08-29 03:03:06 +00:00
Tim Potter
48cb8f8d5f Fix some compiler warnings.
(This used to be commit f566de0541373fab97caa6b0f574f79e68ae74dc)
2003-08-29 01:33:00 +00:00
Tim Potter
d425729fd9 Add log2pcap to everything target.
(This used to be commit fb446ba8117c5e24489520aaea6abd25d6396287)
2003-08-29 01:25:17 +00:00
John Terpstra
077a7591ff Adding new files needed for html files.
(This used to be commit da3e840e017cd64366042748d94a18faf772093b)
2003-08-29 01:17:42 +00:00
John Terpstra
04cfbc7854 Update pre-release of RC2. Note: Due to config errors not all manpages
were rebuilt.
(This used to be commit 01fde1a40b11e73cc98f09ab2ebbd14ed0bed4cf)
2003-08-29 01:15:53 +00:00
John Terpstra
cc87f00bdd Relocate CHANGESECRETPW to correct level.
(This used to be commit f65d0d5c361e849eb7247a8ae2722f2e62df3b20)
2003-08-29 01:06:50 +00:00
John Terpstra
857149b120 Add missing markup tag.
(This used to be commit 1b8947e30ff3368788d1ce9e4713dd15afefe352)
2003-08-29 00:41:59 +00:00
John Terpstra
627e065235 Adding docs for the CHANGESECRETPW command.
(This used to be commit c2f354e7dcacdad43deca4cf3f807bfe6a908fad)
2003-08-29 00:10:37 +00:00
Jeremy Allison
fcdebdae6f 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)
2003-08-28 23:57:34 +00:00
Jeremy Allison
afe845235a Fixed warnings in secret code.
Jeremy.
(This used to be commit 86ebf990431903b12ec24a4d9af00d665e828145)
2003-08-28 23:38:13 +00:00
Jelmer Vernooij
cad70ca6ed Regenerate docs
(This used to be commit b78c6ee1d155f255d329899c237281c7cf662260)
2003-08-28 22:13:10 +00:00
Jelmer Vernooij
7e6ad82e54 Commit some old stuff from my laptop; put in Docbook/XML version of mount.cifs manpage
(This used to be commit c442e52488c342ba20bda0ed821d607bdbec1ddb)
2003-08-28 22:00:41 +00:00
Gerald Carter
17cad4ad25 add note about the new edition of Using Samba included in this release
(This used to be commit 4eefa01486ed12c6941f1ced4e45adf0f9b023be)
2003-08-28 21:29:22 +00:00
Gerald Carter
9809c98f24 make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd106898ebfe976facacfe1d079492993)
2003-08-28 21:23:04 +00:00