ira/wip.git
20 years agoremoving unneeded files
Gerald Carter [Tue, 9 Sep 2003 03:44:44 +0000 (03:44 +0000)]
removing unneeded files
(This used to be commit 40795992b8d8082bc164978ab8d97c326c012367)

20 years agobumping new version to CVS 3.01pre1; optmistic about RC3
Gerald Carter [Tue, 9 Sep 2003 02:02:33 +0000 (02:02 +0000)]
bumping new version to CVS 3.01pre1; optmistic about RC3
(This used to be commit fb69ca974db9aca4aa88952f7872369ce6274e8b)

20 years agoDon't double-increment p in hash calculation. Found by valgrind.
Jeremy Allison [Mon, 8 Sep 2003 21:33:18 +0000 (21:33 +0000)]
Don't double-increment p in hash calculation. Found by valgrind.
Jeremy.
(This used to be commit 514d9361c7be8cb8ef1a1309773baab1d982eea6)

20 years agoFix valgrind-found read of uninit variable (ensure length is right).
Jeremy Allison [Mon, 8 Sep 2003 21:26:30 +0000 (21:26 +0000)]
Fix valgrind-found read of uninit variable (ensure length is right).
Jeremy.
(This used to be commit 6fc0e529f70253244628017a372257e8dc053294)

20 years agoTidy up some formatting. Get ready for allowing bad password lockout. (based
Jeremy Allison [Mon, 8 Sep 2003 20:42:33 +0000 (20:42 +0000)]
Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <rrenard@idealx.com>.
Jeremy.
(This used to be commit abf54b58e95a949cb883d4485853dc560489c03f)

20 years agoProtect against core dump if ioctl for print job sends invalid fid. Found
Jeremy Allison [Mon, 8 Sep 2003 20:27:28 +0000 (20:27 +0000)]
Protect against core dump if ioctl for print job sends invalid fid. Found
by Iskantharajah T <is@tracetec.com.my>.
Jeremy.
(This used to be commit a9f9dd71da41801c975303a385ff229788c9498a)

20 years agoRemove inaccurate notation.
John Terpstra [Mon, 8 Sep 2003 19:18:54 +0000 (19:18 +0000)]
Remove inaccurate notation.
(This used to be commit 8e0478fd1afd872acd247e2a74244abd6f12f266)

20 years agoFix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy Allison [Mon, 8 Sep 2003 18:41:42 +0000 (18:41 +0000)]
Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.
(This used to be commit 28631ef23f855ce91740fd144e3dc235a3ae7af6)

20 years agoBumping up version number of the Debian packages.
Eloy Paris [Mon, 8 Sep 2003 17:34:17 +0000 (17:34 +0000)]
Bumping up version number of the Debian packages.
(This used to be commit 65a5b32f8e9eb1ca19ed9444c42d722800bac809)

20 years agoWhoops, fix type in comment.
Eloy Paris [Mon, 8 Sep 2003 17:30:14 +0000 (17:30 +0000)]
Whoops, fix type in comment.
(This used to be commit a1b2852eaa1c4caa03fe92acbb49a4ff67c790d2)

20 years agoFix problem with the python-samba Debian package.
Eloy Paris [Mon, 8 Sep 2003 17:28:55 +0000 (17:28 +0000)]
Fix problem with the python-samba Debian package.
(This used to be commit fa88ba4315b5ae318fe069c9453f3c77481fca50)

20 years agosamba 3.0 schema filr netscape DS 5.x from Darren Chew
Gerald Carter [Mon, 8 Sep 2003 15:59:45 +0000 (15:59 +0000)]
samba 3.0 schema filr netscape DS 5.x from Darren Chew
(This used to be commit 3f97a5ce47bbdd3010dd8e234a7aa5838b524b46)

20 years agocopy from 3.0 release
Gerald Carter [Mon, 8 Sep 2003 15:35:09 +0000 (15:35 +0000)]
copy from 3.0 release
(This used to be commit 55d712feb0cb3957e08166ecd5e989451ec49e33)

20 years agoOk, this should put packaging/Debian/ in sync. with rc3.
Eloy Paris [Mon, 8 Sep 2003 15:27:50 +0000 (15:27 +0000)]
Ok, this should put packaging/Debian/ in sync. with rc3.
(This used to be commit b5fd2e75ba9bdd3e9225ccf9b86d0f3345073b79)

20 years agomake sure we substitute basic variables in read/write list
Gerald Carter [Mon, 8 Sep 2003 15:24:01 +0000 (15:24 +0000)]
make sure we substitute basic variables in read/write list
(This used to be commit 52bea54d35e7fb32c7ed7b067c13afe53761affb)

20 years agocopy WHATSNEW from the release branch
Gerald Carter [Mon, 8 Sep 2003 15:08:18 +0000 (15:08 +0000)]
copy WHATSNEW from the release branch
(This used to be commit 977387f4498a6bcf4beac3cd0946dd900d59ca5f)

20 years agoSync'ing packaging/Debian/ with the latest files from the official
Eloy Paris [Mon, 8 Sep 2003 14:48:09 +0000 (14:48 +0000)]
Sync'ing packaging/Debian/ with the latest files from the official
Debian packages. This files are in sync. with the Debian packages for
3.0.0rc2.
(This used to be commit 7d8d193c05d60ab9b86d52075bb9ec5ad1857903)

20 years agofix compile error on HP-UX 10.20
Gerald Carter [Mon, 8 Sep 2003 14:00:51 +0000 (14:00 +0000)]
fix compile error on HP-UX 10.20
(This used to be commit 15d53fd53c622de316d0ff41f1b60f0e2c69f908)

20 years agofix valgrind errors; don't access cli_state pointer after it has been shutdown
Gerald Carter [Mon, 8 Sep 2003 13:53:19 +0000 (13:53 +0000)]
fix valgrind errors; don't access cli_state pointer after it has been shutdown
(This used to be commit 02ae82fb3f70dc37e815d8e88bfd31a8c3ff43db)

20 years agoSet PICFLAG="-fPIC" for gcc under HPUX.
Tim Potter [Mon, 8 Sep 2003 06:30:49 +0000 (06:30 +0000)]
Set PICFLAG="-fPIC" for gcc under HPUX.
(This used to be commit 7f2533207ee46fa968cf1fd31ac0cd89e1fb0bb1)

20 years agoFix for bug #299.
Tim Potter [Mon, 8 Sep 2003 05:51:57 +0000 (05:51 +0000)]
Fix for bug #299.

There was some confusion over dynamically allocated lists of pointers
(i.e you have to make space for the list of pointers and what they are
pointing too) in the memory buffer passed in from libc.

Valgrind is much happer now and as a bonus there is no segfault.
(This used to be commit 7907c44414acb841a9001e82285790eece73d032)

20 years agoRename FOOLIBS to FOO_LIBS to be consistent with the rest of the
Tim Potter [Mon, 8 Sep 2003 02:48:06 +0000 (02:48 +0000)]
Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.
(This used to be commit 9b0b0256a8bb93482fad4032902a4ab6d1e99e23)

20 years agoFix for bug #334. We don't unmarshall the trusted domain or secrets
Tim Potter [Mon, 8 Sep 2003 02:13:38 +0000 (02:13 +0000)]
Fix for bug #334.  We don't unmarshall the trusted domain or secrets
info delta correctly and thus crash when doing a net rpc samdump.

The easiest thing at the moment it to comment out these functions as
they seriously don't correspond with reality (netmon/ethereal) and the
data in the containers aren't used anyway.
(This used to be commit 695aa39c5d798b112f0a06281b499fcac8a5bf31)

20 years agoReformat debug.
Tim Potter [Mon, 8 Sep 2003 01:28:48 +0000 (01:28 +0000)]
Reformat debug.
(This used to be commit 3aab7a3bc7920b6e479700c176ac7a7b80262f42)

20 years agoWhen enumerating dfs shares loop from 0 to lp_numservices() instead of
Tim Potter [Mon, 8 Sep 2003 00:55:29 +0000 (00:55 +0000)]
When enumerating dfs shares loop from 0 to lp_numservices() instead of
relying on lp_servicename(n) to return an empty string for invalid
service numbers.  For some reason it is returning NULL now.

Fixes bug 403.
(This used to be commit cebb2abd2e946a5f9f2d84a7e8ae82eceecd0274)

20 years agoRemove another reference to --with-msdfs. Put back accidentally
Tim Potter [Mon, 8 Sep 2003 00:31:14 +0000 (00:31 +0000)]
Remove another reference to --with-msdfs.  Put back accidentally
removed <para> tag remove in previous commit.
(This used to be commit 7b40ea3bbd80044cf6dc3ead077cd08d9e3b84ce)

20 years agoRemoved text about --with-msdfs configure option which no longer exists.
Tim Potter [Mon, 8 Sep 2003 00:28:47 +0000 (00:28 +0000)]
Removed text about --with-msdfs configure option which no longer exists.
(This used to be commit 391ffeb8e02ae85147e4730a1faf79850ff42d57)

20 years agoNobody complained on the team-list, so commit it ...
Volker Lendecke [Sun, 7 Sep 2003 16:36:13 +0000 (16:36 +0000)]
Nobody complained on the team-list, so commit it ...

This implements some kind of improved AFS support for Samba on Linux with
OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have
OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile
into secrets.tdb with 'net afskey'. If this is done, on each tree connect
smbd creates a Kerberos V4 ticket suitable for use by the AFS client and
gives it to the kernel via the AFS syscall. This is meant to be very
light-weight, so I did not link in a whole lot of libraries to be more
platform-independent using the ka_SetToken function call.

Volker
(This used to be commit 5775690ee8e17d3e98355b5147e4aed47e8dc213)

20 years agoUse djb-algorithm string hash - faster than the tdb one we used to use.
Jeremy Allison [Sat, 6 Sep 2003 21:43:23 +0000 (21:43 +0000)]
Use djb-algorithm string hash - faster than the tdb one we used to use.
Jeremy.
(This used to be commit f094555ed9d4f72841869e79037d6ff980ebe324)

20 years agofinish off bug 282. AAdd extra checks for pointers after
Gerald Carter [Sat, 6 Sep 2003 20:00:16 +0000 (20:00 +0000)]
finish off bug 282.  AAdd extra checks for pointers after
ads_search_XXX() calls.
(This used to be commit 74c02e5fbc411d6fd1b13a1e21599da030897efe)

20 years agoChange some internal interfaces to cause the hash (which is *expensive*)
Jeremy Allison [Sat, 6 Sep 2003 19:59:12 +0000 (19:59 +0000)]
Change some internal interfaces to cause the hash (which is *expensive*)
to be calculated less often. No change to external interface.
Jeremy.
(This used to be commit 155c9ce6663df9963c7563adf78a232d3650b7b5)

20 years agofix bug 382: make sure to free and reset the cli_state pointer after flushing connect...
Gerald Carter [Sat, 6 Sep 2003 19:49:59 +0000 (19:49 +0000)]
fix bug 382: make sure to free and reset the cli_state pointer after flushing connections in winbindd_pam_auth[_crap]()
(This used to be commit 60c8796edd84249db5419329a0fea4bbc7f9bb98)

20 years agoaddress bug #359. Andrew B's patch for implementing client
Gerald Carter [Sat, 6 Sep 2003 19:23:24 +0000 (19:23 +0000)]
address bug #359.  Andrew B's patch for implementing client
portion of NTLMv2 key exchange.  Also revert the default for
'client ntlmv2 auth' to no.  This caused no ends of grief in
different cases.

And based on abartlet's mail....

> All I care about at this point is that we use NTLMv2
> in our client code when connecting to a server that
> supports it.

There is *no* way to tell this.  The server can't tell us, because it
doesn't know what it's DC supports.  The DC can't tell us, because it
doesn't know what the trusted DC supports.  One DC might be Win2k, and
the PDC could be an older NT4.
(This used to be commit fe585d49cc3df0d71314ff43d3271d276d7d4503)

20 years agorevert retry loops in winbindd_ads as abartket points out, we
Gerald Carter [Sat, 6 Sep 2003 18:02:19 +0000 (18:02 +0000)]
revert retry loops in winbindd_ads as abartket points out, we
already have ads_search_retry() for this.  However, neither
domain_sid() nor sequence_nunber() used this function.  So modify
them to us ads_do_search_retry() so we can specify the base search
DN and scope.
(This used to be commit 89f6adf830187d020bf4b35d1a4b2b48c7a075d0)

20 years agoOnly set sids when they're retrurned by the MySQL query
Jelmer Vernooij [Sat, 6 Sep 2003 12:21:08 +0000 (12:21 +0000)]
Only set sids when they're retrurned by the MySQL query
(This used to be commit 9a603f6f077a2e1ddc41849cca3641421ecbaf11)

20 years agoFix problem where stdarg.version would print the program name as smbd.
John Terpstra [Fri, 5 Sep 2003 22:53:18 +0000 (22:53 +0000)]
Fix problem where stdarg.version would print the program name as smbd.
(This used to be commit 6eaef4b6d286e2731f1e2ac99bdc6911d1296361)

20 years agoMore cachegrind tuning, plus fix an error message.
Jeremy Allison [Fri, 5 Sep 2003 21:30:50 +0000 (21:30 +0000)]
More cachegrind tuning, plus fix an error message.
Jeremy.
(This used to be commit 8cb9ec5d533085d40fc6bfe4ca9647d80bf41ac7)

20 years agoMore tuning from cachegrind. Change most trim_string() calls to trim_char(0,
Jeremy Allison [Fri, 5 Sep 2003 19:59:55 +0000 (19:59 +0000)]
More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.
(This used to be commit f35e9a8b909d3c74be47083ccc4a4e91a14938db)

20 years agofixes for ads domain membership when only the realm is defined in
Gerald Carter [Fri, 5 Sep 2003 17:57:45 +0000 (17:57 +0000)]
fixes for ads domain membership when only the realm is defined in
smb.conf

Fixes to ensure we work with disable netbios = yes
(This used to be commit 3913e43724870c62a0d77ec3e73cbe9480cb6247)

20 years agorevert the change from r1.414 in HEAD that removed the
Gerald Carter [Fri, 5 Sep 2003 14:53:10 +0000 (14:53 +0000)]
revert the change from r1.414 in HEAD that removed the
ability to use variables in paths for the [homes] service.
(This used to be commit 8fd13b63103b3c144bdd170edcb3b642dfd9bb54)

20 years agoupdating readme with new links/address and removing outdated packages
Gerald Carter [Fri, 5 Sep 2003 13:36:14 +0000 (13:36 +0000)]
updating readme with new links/address and removing outdated packages
(This used to be commit 666d0fa721561978fe088cc665e16f8f1b65954f)

20 years agofix some output formatting
Gerald Carter [Fri, 5 Sep 2003 13:25:49 +0000 (13:25 +0000)]
fix some output formatting
(This used to be commit 0283b0152e4cbe3d26b305ab9867e2b0765addfe)

20 years agoreformatting
Gerald Carter [Fri, 5 Sep 2003 13:21:35 +0000 (13:21 +0000)]
reformatting
(This used to be commit 5c3094ee5558a85b9e688aca8044f228ec6fbb33)

20 years agofix some problems with the findsmb script due to changes in smbclient & nmblookup
Gerald Carter [Fri, 5 Sep 2003 13:07:41 +0000 (13:07 +0000)]
fix some problems with the findsmb script due to changes in smbclient & nmblookup
(This used to be commit 50bb063f3ba0ce0f336bd9f1af3090839ee7b118)

20 years agoVery weird. On my SLES8 installation ntlm_auth would give missing
Volker Lendecke [Fri, 5 Sep 2003 09:36:10 +0000 (09:36 +0000)]
Very weird. On my SLES8 installation ntlm_auth would give missing
kerberos symbols unless I do the same as smbd does. It does not hurt
on my debian, so simply give a pointer to LDAPLIBS as well.

Volker
(This used to be commit 353d5272912ac11aa3ebf7403593177c45b20147)

20 years agoFix for bug 282 that didn't get checked in.
Tim Potter [Fri, 5 Sep 2003 05:57:24 +0000 (05:57 +0000)]
Fix for bug 282 that didn't get checked in.
(This used to be commit e3f5afb83142f44369dcd341d6e66ed2fe51248f)

20 years agofix bug 397: use a variant of alloc_sub_basic() for string lists.
Gerald Carter [Fri, 5 Sep 2003 05:32:32 +0000 (05:32 +0000)]
fix bug 397:  use a variant of alloc_sub_basic() for string lists.
(This used to be commit 62d5611df0cf86c267d7fe820822d4d019ae28bd)

20 years agoshould fix bug 364 & 311: Retry patch based on suggestion from
Gerald Carter [Fri, 5 Sep 2003 04:46:44 +0000 (04:46 +0000)]
should fix bug 364 & 311:  Retry patch based on suggestion from
Ken Cross.  Sometimes ads conenction get stale but we don't know
they are dead until we try them. This patch may need some optimization
after people bang on it for a while.
(This used to be commit 7021cf63a4501c90620cf6a5f117eef345bbd291)

20 years agoFix for bug #73. Name types can be specified using name#type notation.
Tim Potter [Fri, 5 Sep 2003 04:40:10 +0000 (04:40 +0000)]
Fix for bug #73.  Name types can be specified using name#type notation.

Also added shortcut so that 'net lookup foo#1b' works.
(This used to be commit f38679201e301d66473e74506f07812590d19fa4)

20 years agoupdated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x
Gerald Carter [Fri, 5 Sep 2003 04:09:25 +0000 (04:09 +0000)]
updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x
(This used to be commit c9c7150a627abe93a5d3c866605f2300a3cc5ec9)

20 years agoMove $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted to
Tim Potter [Fri, 5 Sep 2003 03:05:37 +0000 (03:05 +0000)]
Move $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted to
relocatable form.

Added a comment about this in the hope that it won't happen again.

Renamed PAM_WINBIND_OBJ to PAM_WINBIND_PICOBJ to make it a bit clearer.
(This used to be commit 04797e12d85a4b4d616397dd1283e5a65af5adab)

20 years agoHand optimisatinos for strrchr_m using the properties we know about MB
Jeremy Allison [Fri, 5 Sep 2003 01:33:22 +0000 (01:33 +0000)]
Hand optimisatinos for strrchr_m using the properties we know about MB
character sets and how we use this call.
Jeremy.
(This used to be commit a9709700eea3bb48ab4a79d74e0b8d22dc98576f)

20 years agoReturn 0 DFS links instead of -1 when dfs support is not enabled.
Tim Potter [Fri, 5 Sep 2003 00:55:44 +0000 (00:55 +0000)]
Return 0 DFS links instead of -1 when dfs support is not enabled.

Possible fix for bug 403.
(This used to be commit 6babab93ff845c18f7c0d73e6a016764e31f4fac)

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)