gd/samba/.git
21 years agoMore of coolo's changes for UTF-8 and some minor fixes of mine.
Richard Sharpe [Wed, 2 Apr 2003 20:17:28 +0000 (20:17 +0000)]
More of coolo's changes for UTF-8 and some minor fixes of mine.
(This used to be commit 21a99fdec321c44e31b69589248ff8d1cb927577)

21 years agoThere's no need to use LDAP_CFLAGS, just use CFLAGS
Jelmer Vernooij [Wed, 2 Apr 2003 18:49:36 +0000 (18:49 +0000)]
There's no need to use LDAP_CFLAGS, just use CFLAGS
(This used to be commit 5d2fd222a9e4cccd232e492d1aea1dc7a64a1400)

21 years agoOnly use cflags and libs from krb5 when they appear to be working - fixes
Jelmer Vernooij [Wed, 2 Apr 2003 18:45:47 +0000 (18:45 +0000)]
Only use cflags and libs from krb5 when they appear to be working - fixes
build on BSD machines that have a krb5-config that returns @INCLUDE_des@ for
--cflags
(This used to be commit e05d78699c6cf6a8340f85e4f55c871fbc100ebf)

21 years agoCommit some more fixes for Coolo ...
Richard Sharpe [Wed, 2 Apr 2003 18:32:31 +0000 (18:32 +0000)]
Commit some more fixes for Coolo ...
(This used to be commit e1a159c55fdeaa1620a3147105be4efd205560ba)

21 years agoRegenerate docs
Jelmer Vernooij [Wed, 2 Apr 2003 18:07:52 +0000 (18:07 +0000)]
Regenerate docs
(This used to be commit 20ee66b661e295cc9fb66f00b16de3b382a7e723)

21 years agoUse entity for percent sign
Jelmer Vernooij [Wed, 2 Apr 2003 17:54:25 +0000 (17:54 +0000)]
Use entity for percent sign
(This used to be commit 94eaa378dab7d15ad3896b89d2584309ea2d8c69)

21 years agoAdd static
Jelmer Vernooij [Wed, 2 Apr 2003 17:10:05 +0000 (17:10 +0000)]
Add static
(This used to be commit 674d0ca5d84b64be395fbeff773c8dd8aeb1518c)

21 years agoAdd const (from a patch by Stephan Kulow <coolo@kde.org>)
Jelmer Vernooij [Wed, 2 Apr 2003 17:04:33 +0000 (17:04 +0000)]
Add const (from a patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 8b5ad24231e5001e612c5fd4bbde2762caef5856)

21 years agoAdd KRB5LIBS to smbmount
Jelmer Vernooij [Wed, 2 Apr 2003 15:46:25 +0000 (15:46 +0000)]
Add KRB5LIBS to smbmount
(This used to be commit cdaa3bf12e656dbd797882e89ce39ad76c45f6b6)

21 years agoLink in lib/snprintf.o with editreg for use on systems that don't have snprintf
Jelmer Vernooij [Wed, 2 Apr 2003 15:42:44 +0000 (15:42 +0000)]
Link in lib/snprintf.o with editreg for use on systems that don't have snprintf
(This used to be commit 7cd2c4474579114318554bc3b87b518fed218a93)

21 years agoAdd EDITREG_OBJ
Jelmer Vernooij [Wed, 2 Apr 2003 15:25:19 +0000 (15:25 +0000)]
Add EDITREG_OBJ
(This used to be commit fef586d6cd9a4a754da858a29409ed2a7824cad1)

21 years agoOnly link in popt when we need it
Jelmer Vernooij [Wed, 2 Apr 2003 15:08:31 +0000 (15:08 +0000)]
Only link in popt when we need it
(This used to be commit a5a980eb3efb37a6becacf043692361bdb4174b0)

21 years agoMap a useless error code to a useful one...
Andrew Bartlett [Wed, 2 Apr 2003 15:04:47 +0000 (15:04 +0000)]
Map a useless error code to a useful one...
(This used to be commit 1afb2695a020424d014c4dee9c6a73620281aaa8)

21 years agoPrint out the 'freindly' error message from winbind. Also print useful
Andrew Bartlett [Wed, 2 Apr 2003 15:03:07 +0000 (15:03 +0000)]
Print out the 'freindly' error message from winbind.  Also print useful
information into it re the privilaged pipe.

Also clean up some bugs in winbindd_pam.c

Andrew Bartlett
(This used to be commit e73b01204a8625946ff0fb5f9fc99dd959eb801c)

21 years agoOnly link in libs when they are actually used. Works great here and on
Jelmer Vernooij [Wed, 2 Apr 2003 14:59:21 +0000 (14:59 +0000)]
Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.
(This used to be commit 266c3970df9f5f9f617c49eee666c1db8e10c855)

21 years agoFix searching master ip by bcast when old master has gone away (based on patch by...
Jelmer Vernooij [Wed, 2 Apr 2003 14:11:51 +0000 (14:11 +0000)]
Fix searching master ip by bcast when old master has gone away (based on patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 5c0e4b4dc630bd304f53c37f2340f954190b7aef)

21 years agoUpdate ntlm_auth and winbind manpages.
Andrew Bartlett [Wed, 2 Apr 2003 13:54:06 +0000 (13:54 +0000)]
Update ntlm_auth and winbind manpages.

Andrew Bartlett
(This used to be commit 441d6952bdaff94e387a11f5f524359f3bbbeefb)

21 years agoerror_string, not error_message...
Andrew Bartlett [Wed, 2 Apr 2003 13:49:51 +0000 (13:49 +0000)]
error_string, not error_message...
(This used to be commit ce197eae8d254114a295142b522cc028c375ae88)

21 years agoClean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
Andrew Bartlett [Wed, 2 Apr 2003 13:34:53 +0000 (13:34 +0000)]
Clean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
the returned session key is the one that we expect to get for that each
of login.

Andrew Bartlett
(This used to be commit fa47e44b9caba98e0b85782f3057e6cb8a5763ff)

21 years agoRenegerate docs after John's changes
Jelmer Vernooij [Wed, 2 Apr 2003 12:28:46 +0000 (12:28 +0000)]
Renegerate docs after John's changes
(This used to be commit 597b23e9fbbd4b5024d9d839151b9083efc02b5c)

21 years agoAdd const
Jelmer Vernooij [Wed, 2 Apr 2003 11:06:42 +0000 (11:06 +0000)]
Add const
(This used to be commit 7dccd144b74d8c752a4b8c80fa5b3e6b2d11eaa2)

21 years agoTHE Idmap patch :-)
Simo Sorce [Wed, 2 Apr 2003 10:36:02 +0000 (10:36 +0000)]
THE Idmap patch :-)

includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.
(This used to be commit 02781320476ed1b7ee5d943fa36f9a66ab67f208)

21 years agoFix a crash bug if LDAP doesn't fill in ld_error.
Andrew Bartlett [Wed, 2 Apr 2003 08:28:32 +0000 (08:28 +0000)]
Fix a crash bug if LDAP doesn't fill in ld_error.

Andrew Bartlett
C VS: ----------------------------------------------------------------------
(This used to be commit d84a3fc522a588bdcd36cb86df304572947a456a)

21 years agoUpdate to current projdoc level.
John Terpstra [Wed, 2 Apr 2003 05:23:36 +0000 (05:23 +0000)]
Update to current projdoc level.
(This used to be commit 979283d6e91b68e1b52dbcffc52dd3750025fa23)

21 years agoFixing typos. Who put them typos in there? Argh!
John Terpstra [Wed, 2 Apr 2003 05:22:55 +0000 (05:22 +0000)]
Fixing typos. Who put them typos in there? Argh!
(This used to be commit 57d5a6862872be985bda67431f44a1f8491e3a81)

21 years agoSubtle changes to message handling after ENUMJOBS.
Jeremy Allison [Wed, 2 Apr 2003 02:26:01 +0000 (02:26 +0000)]
Subtle changes to message handling after ENUMJOBS.
Jeremy.
(This used to be commit 48f3bf0ea51b9fd09dfb017870e32ca4a8cc4b8c)

21 years agoAnd yet another doco update. Yet more to follow soon.
John Terpstra [Wed, 2 Apr 2003 00:05:38 +0000 (00:05 +0000)]
And yet another doco update. Yet more to follow soon.
(This used to be commit d309f39f6422aabd4ee95753d7cf5d07512dd345)

21 years agoMore of the documentation overhaul. More to follow.
John Terpstra [Wed, 2 Apr 2003 00:04:36 +0000 (00:04 +0000)]
More of the documentation overhaul. More to follow.
(This used to be commit 8333c4709e239a7b8bef6f7a5050a7f8a1ffbe7d)

21 years agoOHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
Andrew Bartlett [Wed, 2 Apr 2003 00:03:52 +0000 (00:03 +0000)]
OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
decoded.length after it's been zero'ed out by data_blob_free() doesn't
give you the original length...

Andrew Bartlett
(This used to be commit 647a720cfb06bdf0dfc8fcdcab50aadcceb0494d)

21 years ago- Update documentation of 'wins server' (add info about tags, namespaces)
Jelmer Vernooij [Tue, 1 Apr 2003 19:48:15 +0000 (19:48 +0000)]
- Update documentation of 'wins server' (add info about tags, namespaces)
(This used to be commit 1a3f8a5f8ad97b2d431b22fbda74cc3f2400e2f9)

21 years agoUse <note> instead of <emphasis>NOTE</emphasis> (gives much nicer output)
Jelmer Vernooij [Tue, 1 Apr 2003 17:06:16 +0000 (17:06 +0000)]
Use <note> instead of <emphasis>NOTE</emphasis> (gives much nicer output)
(This used to be commit 3e10d92746c645ae22756bca92046b2e26087ad2)

21 years agofix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; review...
Gerald Carter [Tue, 1 Apr 2003 14:58:42 +0000 (14:58 +0000)]
fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra
(This used to be commit 3d37e1ece913707f346c3c2459c3c42192a3a1a7)

21 years agoFix build of shared xml/mysql modules
Jelmer Vernooij [Tue, 1 Apr 2003 11:25:34 +0000 (11:25 +0000)]
Fix build of shared xml/mysql modules
(This used to be commit 860e4c45619bcd99c6e4a1eb980c5b8dac79b6c0)

21 years agochanged the order of checking whether a SID is a UID or a GID in posix
Andrew Tridgell [Tue, 1 Apr 2003 11:12:42 +0000 (11:12 +0000)]
changed the order of checking whether a SID is a UID or a GID in posix
acls. This is needed because sid_to_uid always claims that the sid is
a user, due ot a change I made some months back.

This change was suggested by Chere Zhou, but is really an interim
measure. Chere is looking at a longer term solution.
(This used to be commit b3edfa91964d2edfd1692fa58f98de00405e14c4)

21 years agoreversed the sense of the TCON test, now that we know that win2003
Andrew Tridgell [Tue, 1 Apr 2003 10:56:23 +0000 (10:56 +0000)]
reversed the sense of the TCON test, now that we know that win2003
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003
(This used to be commit 591a500ed77870bc72acb94f2fd24070b7d617b6)

21 years agoUpdate some info and typos in PAM-Authentication-And-Samba
Jelmer Vernooij [Mon, 31 Mar 2003 21:48:59 +0000 (21:48 +0000)]
Update some info and typos in PAM-Authentication-And-Samba
(This used to be commit a4bbe4acf7262361931764a6c6cdd56a05fe86d4)

21 years agoMore doc updates:
Jelmer Vernooij [Mon, 31 Mar 2003 21:42:19 +0000 (21:42 +0000)]
More doc updates:
- Move information about compiling with ADS support to appendix about compiling
- Make DOMAIN_MEMBER NT4-domain only (because current ADS info was incomplete and becoming an ADS domain member is documented more properly in ADS-HOWTO)
(This used to be commit efe3dd876ac61af0abc46539369860216eeca79b)

21 years agoUpdate NT_Security for 3.0
Jelmer Vernooij [Mon, 31 Mar 2003 21:08:23 +0000 (21:08 +0000)]
Update NT_Security for 3.0
(This used to be commit 6cb01d215621af0cb6ecd3e503ca0182f448c4a2)

21 years agoAdd basic documentation on editreg
Jelmer Vernooij [Mon, 31 Mar 2003 21:01:05 +0000 (21:01 +0000)]
Add basic documentation on editreg
(This used to be commit 137254a16cf48a37be53477713dd41af7a81f505)

21 years agoAdd very basic documentation for ntlm_auth
Jelmer Vernooij [Mon, 31 Mar 2003 20:53:18 +0000 (20:53 +0000)]
Add very basic documentation for ntlm_auth
(This used to be commit e09a6fe276f01890604f4af327a91a373a886d2c)

21 years agoRemove useless popt options
Jelmer Vernooij [Mon, 31 Mar 2003 20:37:31 +0000 (20:37 +0000)]
Remove useless popt options
(This used to be commit 861b2a464fed3a16f050972feed1900298fb0bcb)

21 years agofix potential smbd crash when we fail to alloacte a policy handle for a printer open...
Gerald Carter [Mon, 31 Mar 2003 17:39:21 +0000 (17:39 +0000)]
fix potential smbd crash when we fail to alloacte a policy handle for a printer open; CR 2102 (reviewed by jreilly)
(This used to be commit a179c2cefb15b1b8869a83fe5f14a85d1eb96114)

21 years agoFix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. Based on...
Alexander Bokovoy [Mon, 31 Mar 2003 16:27:11 +0000 (16:27 +0000)]
Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. Based on patch from Metze
(This used to be commit 2a86ef78282d33e16007d50095614713189ce4b5)

21 years ago- Put -valid param back in
Jelmer Vernooij [Mon, 31 Mar 2003 15:32:13 +0000 (15:32 +0000)]
- Put -valid param back in
- Update info on some of the HOWTO docs
(This used to be commit 05201bb3954f864c48e8bbeb852d1fec7683a663)

21 years ago'preload modules = ' is already documented
Jelmer Vernooij [Mon, 31 Mar 2003 15:06:58 +0000 (15:06 +0000)]
'preload modules = ' is already documented
-valid is not a config option
(This used to be commit 8af065e5177279b8aac76097d4172e76622de58b)

21 years ago- Support absolute paths in vfs and charset modules
Jelmer Vernooij [Mon, 31 Mar 2003 15:06:34 +0000 (15:06 +0000)]
- Support absolute paths in vfs and charset modules
- Fix typo in Makefile.in
- Fix compatibility with older vfs modules (from patch by metze)
- Build some modules shared by default and some static (and fall
  back to static when dlopen() is not available)
(This used to be commit aa36f462d95f8a3a3a81a89c210b98a6f9fd295f)

21 years agoFix formatting of back traces - pathc by metze
Jelmer Vernooij [Mon, 31 Mar 2003 12:29:50 +0000 (12:29 +0000)]
Fix formatting of back traces - pathc by metze
(This used to be commit 9cc17bcfe633496ba6270fd82963ff768ae017b0)

21 years agoHey, we're making progress with the docs ;-)
Volker Lendecke [Mon, 31 Mar 2003 11:05:19 +0000 (11:05 +0000)]
Hey, we're making progress with the docs ;-)

Volker
(This used to be commit 54fbed5ef696f1cf0cb28863dc9e69b3b1fb5877)

21 years ago3 things:
Volker Lendecke [Mon, 31 Mar 2003 11:02:22 +0000 (11:02 +0000)]
3 things:

* Remove 'ldap del only sam attr' after asking Lars Mueller from SuSE first.
  It is replaced by 'ldap delete dn'

* Fix a typo in docs.

* Document 'set primary group script'. Alexander, could you check the
  file in smbdotconf/ please? Thanks.

Volker
(This used to be commit f0a32b9c1bdec504ec285486adc05936547f6dc5)

21 years agoWaider's cosmetic change to print out the database type when
Volker Lendecke [Mon, 31 Mar 2003 10:44:21 +0000 (10:44 +0000)]
Waider's cosmetic change to print out the database type when
downloading stuff.

Volker
(This used to be commit b86ea50fa6dae04adeef750cdbe606a292c1430a)

21 years agoFix a botched merge from appliance-head...
Andrew Bartlett [Mon, 31 Mar 2003 08:14:37 +0000 (08:14 +0000)]
Fix a botched merge from appliance-head...

We have an extra NULL here, which is (if I understand correctly) related
to a optional 'charset conversion' function.

In any case, as this is a variable args length function, the compiler
didn't pick it up.

Would it be possible to change applicance_head (or even HEAD) in such
a way that this extra arg would cause a warning?

Finding this by testing is getting painful...

Andrew Bartlett
(This used to be commit b4e52d90f8a207b5cd7415abb5915c3ac0c65dfc)

21 years agoTidyup of winbindd client OS specific autoconf code.
Tim Potter [Mon, 31 Mar 2003 05:51:41 +0000 (05:51 +0000)]
Tidyup of winbindd client OS specific autoconf code.
(This used to be commit b20b8d050b45846798a6dc535cfcd4a47ba21694)

21 years agoPlaceholder for winbind aix client.
Tim Potter [Mon, 31 Mar 2003 05:47:59 +0000 (05:47 +0000)]
Placeholder for winbind aix client.
(This used to be commit 872b2ba35bbe9f4312530368615e99808b3a7756)

21 years agoautoconf change to compile winbindd for AIX. The client side code
Tim Potter [Mon, 31 Mar 2003 05:46:32 +0000 (05:46 +0000)]
autoconf change to compile winbindd for AIX.  The client side code
is still under development.
(This used to be commit d110a56e433fd2ed5267c6d445b7a652d52940dc)

21 years agoCleanup of winbind client side code.
Tim Potter [Mon, 31 Mar 2003 04:36:01 +0000 (04:36 +0000)]
Cleanup of winbind client side code.

Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
(This used to be commit 93ea047a16a292b23a1d8736ce9bc4098ba142ba)

21 years agoNT4 is particularly fussy about getting this right.
Andrew Bartlett [Mon, 31 Mar 2003 02:30:49 +0000 (02:30 +0000)]
NT4 is particularly fussy about getting this right.

Andrew Bartlett
(This used to be commit 055a499afb0cab87529f3f991765af95f11cc364)

21 years agoBreak the current build dependency on perl. Perl is required for
Tim Potter [Mon, 31 Mar 2003 01:44:42 +0000 (01:44 +0000)]
Break the current build dependency on perl.  Perl is required for
include/tdbsam2_parse_info.h which is included by sam/gumm_tdb.c which
doesn't seem to be used anywhere.

It would be nice to have the tdbsam2 stuff hidden behind a --with
configuration parameter so it doesn't interfere with normal builds.

(One of the build farm machines doesn't have perl installed).
(This used to be commit 58924582e8bb922680860a13a89381b44906e9bc)

21 years agoSuccess is not a level-0 issue...
Andrew Bartlett [Mon, 31 Mar 2003 01:30:19 +0000 (01:30 +0000)]
Success is not a level-0 issue...

Andrew Bartlett
(This used to be commit 54e736e6f46a8db6db64a1025daa33fffcbde799)

21 years agoDon't try and dlsym or dlclose a NULL pointer.
Andrew Bartlett [Mon, 31 Mar 2003 01:08:59 +0000 (01:08 +0000)]
Don't try and dlsym or dlclose a NULL pointer.

The new modules system does not always dlopen() it's modules, and when it
does, it keeps them open for the life of the server, not the life of the
connection.

This caused a segfault on every tree disconnect!

Andrew Bartlett
(This used to be commit c76ecbae6295022d031d2e286f2d67e5d08946a2)

21 years agoadd a few error checks in EnumPrinterData()
Gerald Carter [Mon, 31 Mar 2003 01:00:34 +0000 (01:00 +0000)]
add a few error checks in EnumPrinterData()
(This used to be commit 453813ec6e2c25a3f6a664212aedcad15cfd6000)

21 years agosmbpasswd -> net
Andrew Bartlett [Mon, 31 Mar 2003 00:32:13 +0000 (00:32 +0000)]
smbpasswd -> net
(This used to be commit 25f2ebd2711182645fcb2225b4a5a4ed9d3c6dd7)

21 years agodistclean fixups from Paul Green.
Tim Potter [Sun, 30 Mar 2003 23:44:22 +0000 (23:44 +0000)]
distclean fixups from Paul Green.
(This used to be commit 3776840227104b1d7d3b7aeceba5d84ded6cfeec)

21 years agoupdate copyright notice since it we are now almost 4 months into 2003
Gerald Carter [Sun, 30 Mar 2003 23:03:27 +0000 (23:03 +0000)]
update copyright notice since it we are now almost 4 months into 2003
(This used to be commit 6a17c23a549e1e2ce2b428421fbf0b81b37ad0c1)

21 years agoFix installation of auth and charset modules (reported by Stephan Kulow)
Jelmer Vernooij [Sun, 30 Mar 2003 21:23:01 +0000 (21:23 +0000)]
Fix installation of auth and charset modules (reported by Stephan Kulow)
(This used to be commit 2a281784c95854e13076b21f8043cd624063d461)

21 years agoThis sets the domain for the user in vampire. Otherwise
Volker Lendecke [Sun, 30 Mar 2003 16:46:28 +0000 (16:46 +0000)]
This sets the domain for the user in vampire. Otherwise
we end up with an empty domain field, which a workstation
does not really like in sam_logon..

Volker
(This used to be commit e0cb325b99e09a5a5cba07f0403ed445814bbf53)

21 years agoThis fixes group updates in LDAP the same way as user updates
Volker Lendecke [Sun, 30 Mar 2003 16:40:13 +0000 (16:40 +0000)]
This fixes group updates in LDAP the same way as user updates
are handled, though we assume that always everything needs to
be updated in LDAP. PDB_IS_* is not done yet for groups.
Do we need it?

Volker
(This used to be commit 409a26282f8fcbd583a85df40c70b504eac26f6e)

21 years agoThis changes our handling of invalid service types that the
Volker Lendecke [Sun, 30 Mar 2003 16:36:21 +0000 (16:36 +0000)]
This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.

TCONDEV is a little test for this.

Volker
(This used to be commit 6ab88f31d6773f16baff8421ec9e530461cc8f93)

21 years ago- Point users at the HOWTO Collection instead of 'README' in modules/mysql.c
Jelmer Vernooij [Sun, 30 Mar 2003 12:42:18 +0000 (12:42 +0000)]
- Point users at the HOWTO Collection instead of 'README' in modules/mysql.c
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow
(This used to be commit 794d3ed03619a4e41558d9ff65783a1aa1b2be90)

21 years ago- Regenerate docs
Jelmer Vernooij [Sun, 30 Mar 2003 11:22:22 +0000 (11:22 +0000)]
- Regenerate docs
- Document 'preload modules'
(This used to be commit 57407401d0f261d4b8e42fdc64479afef10211c3)

21 years agoadded simple tests for SMBchkpath and SMBioctl
Andrew Tridgell [Sun, 30 Mar 2003 09:45:44 +0000 (09:45 +0000)]
added simple tests for SMBchkpath and SMBioctl
(This used to be commit ca982a9f1d6485e2d388d4b2e9c13806736ad91e)

21 years agoDon't modify the incoming packet when checking the signiture.
Andrew Bartlett [Sun, 30 Mar 2003 02:52:47 +0000 (02:52 +0000)]
Don't modify the incoming packet when checking the signiture.

Andrew Bartlett
(This used to be commit 7064edf8534a6098fc4990bc516fcb45f4ff44bb)

21 years agofixed the -B option as well
Andrew Tridgell [Sun, 30 Mar 2003 00:00:10 +0000 (00:00 +0000)]
fixed the -B option as well
(This used to be commit 0c12a206bb6610d79deb89868cac9293604b7c08)

21 years agofixed the -U option in nmblookup
Andrew Tridgell [Sat, 29 Mar 2003 23:55:54 +0000 (23:55 +0000)]
fixed the -U option in nmblookup

please remember to *test* your changes before committing them. This is
especially the case when you receive patches from outside the team -
before you commit you must make sure that the patch actually works.
(This used to be commit 1d3c7e7fb628a528978f345f83289cc7f2521c35)

21 years agoupdated the TCON test so that win2000 passes. Samba now fails this
Andrew Tridgell [Sat, 29 Mar 2003 23:30:53 +0000 (23:30 +0000)]
updated the TCON test so that win2000 passes. Samba now fails this
test.

It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.

The test also shows that the list of open files must be global to the
socket, not specific to a tcon.
(This used to be commit be98069c4e5bbfbe3ce66c20f796c2d2324e7511)

21 years agosync packagaing with SAMBA_3_0
Gerald Carter [Sat, 29 Mar 2003 12:49:54 +0000 (12:49 +0000)]
sync packagaing with SAMBA_3_0
(This used to be commit b97f6620aa80df9649775f81055b70146a03ec66)

21 years agoadded a simple test for the old SMBtcon interface
Andrew Tridgell [Sat, 29 Mar 2003 12:44:42 +0000 (12:44 +0000)]
added a simple test for the old SMBtcon interface
(This used to be commit c95ae394c5dfe5e0fcc658119213b17bcb95fab5)

21 years agoMore patches from coolo. One of these functions needs to be moved
Richard Sharpe [Fri, 28 Mar 2003 21:41:27 +0000 (21:41 +0000)]
More patches from coolo. One of these functions needs to be moved
elsewhere so other code can use it.
(This used to be commit b988e16b7da824864cac6b69910ade27885e7f50)

21 years agoFix some uncleanness with testsmbc.c
Richard Sharpe [Fri, 28 Mar 2003 21:12:11 +0000 (21:12 +0000)]
Fix some uncleanness with testsmbc.c
(This used to be commit 73ef6d35bbadc3ea549309119857effe3c1bc7ef)

21 years agoSome fixes to URL syntax from coolo.
Richard Sharpe [Fri, 28 Mar 2003 21:07:44 +0000 (21:07 +0000)]
Some fixes to URL syntax from coolo.
(This used to be commit de49c3f48f85519b31e797730eca82cb979098dc)

21 years agofix CIDR hosts allow/deny notation
Gerald Carter [Fri, 28 Mar 2003 15:42:57 +0000 (15:42 +0000)]
fix CIDR hosts allow/deny notation
(This used to be commit 0dc611569427c8b63b752d0f62f2127dc1479754)

21 years agoMerge from HEAD - get better error strings from the ldap server in pdb_ldap.
Andrew Bartlett [Fri, 28 Mar 2003 10:02:43 +0000 (10:02 +0000)]
Merge from HEAD - get better error strings from the ldap server in pdb_ldap.

Andrew Bartlett
(This used to be commit 5dc29b10b08658178133aee7b4c47197fadc533a)

21 years agoAllow the new modules system to function with builtin vfs modules.
Andrew Bartlett [Fri, 28 Mar 2003 05:24:21 +0000 (05:24 +0000)]
Allow the new modules system to function with builtin vfs modules.

If we don't have a vfs path set, just pass the original file name.

In future, we need to seperate the default path as a seperate paramater.

Andrew Bartlett
(This used to be commit 93c91a2e9d325a4b2d092e144e63f743e6e049bc)

21 years agodon't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbp...
Gerald Carter [Fri, 28 Mar 2003 02:02:32 +0000 (02:02 +0000)]
don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
(This used to be commit ff43a292b9f8e0a39d19cb099913efd899de84fa)

21 years agofix up IPC/LPT:/A: devicetype in tcon_and_X
Gerald Carter [Fri, 28 Mar 2003 02:00:19 +0000 (02:00 +0000)]
fix up IPC/LPT:/A: devicetype in tcon_and_X
(This used to be commit a9ccae314fdb4b96115d31083f1a4b26209d597c)

21 years agoit is possible for some of the real time signals to be used by glibc,
Andrew Tridgell [Fri, 28 Mar 2003 01:05:32 +0000 (01:05 +0000)]
it is possible for some of the real time signals to be used by glibc,
which then changes SIGRTMIN. It is also possible for bash to leave
some real time signals blocked at startup. This fixes both problems.
(This used to be commit 8d45bf644aecb6993c2a82b86a4527b33029ed8f)

21 years agoits VFS_NETATALK_OBJ not VFS_NETATALK
Andrew Tridgell [Fri, 28 Mar 2003 00:28:55 +0000 (00:28 +0000)]
its VFS_NETATALK_OBJ not VFS_NETATALK
(This used to be commit 662e1bea1b5e8ca8fb842f7ef76f848541116760)

21 years agoremoved a duplicate lump of module stuff in configure.in
Andrew Tridgell [Fri, 28 Mar 2003 00:21:01 +0000 (00:21 +0000)]
removed a duplicate lump of module stuff in configure.in
(This used to be commit 0502c8a06e3bcefd9ea0f16f611bafc66086fbe9)

21 years agoCompile @VFS_STATIC@ into smbd and vfstest
Jelmer Vernooij [Thu, 27 Mar 2003 23:36:16 +0000 (23:36 +0000)]
Compile @VFS_STATIC@ into smbd and vfstest
(This used to be commit 0133c0a2ee36015f6f459da6f4d9472bf5a4dec4)

21 years agoAlso rebuild smbd/vfs.o after reconfiguring
Jelmer Vernooij [Thu, 27 Mar 2003 23:31:15 +0000 (23:31 +0000)]
Also rebuild smbd/vfs.o after reconfiguring
(This used to be commit afda828b388381742b4d980b21bed953273eb3aa)

21 years agoDoc updates from John + some minor fixes by me
Jelmer Vernooij [Thu, 27 Mar 2003 23:02:43 +0000 (23:02 +0000)]
Doc updates from John + some minor fixes by me
(This used to be commit 7fc49746dfd8d93066fe6870e3b642a5898aa032)

21 years agoReflect current conversion status
Alexander Bokovoy [Thu, 27 Mar 2003 18:56:42 +0000 (18:56 +0000)]
Reflect current conversion status
(This used to be commit 8f1c78df1088beeb11de54b0369b4e5f036004d4)

21 years ago1. Fix generate-file-list.sh to produce a list sorted by parameter name, not paramet...
Alexander Bokovoy [Thu, 27 Mar 2003 18:28:55 +0000 (18:28 +0000)]
1. Fix  generate-file-list.sh to produce a list sorted by parameter name, not parameter section.
2. Convert base parameters to new meta-information scheme
(This used to be commit 6026e47cfe493625c6ed017ecae3cc785a6d0347)

21 years agoPut backwards compatibility support for old modules in a seperate function
Jelmer Vernooij [Thu, 27 Mar 2003 16:33:59 +0000 (16:33 +0000)]
Put backwards compatibility support for old modules in a seperate function
(This used to be commit 2dd00078eec736797e65f69ad00297068e57cd9a)

21 years agoAdd new framework for smb.conf(5). Please read README before trying to compile.
Alexander Bokovoy [Thu, 27 Mar 2003 15:27:19 +0000 (15:27 +0000)]
Add new framework for smb.conf(5). Please read README before trying to compile.
I will commit more meta-information updates during week-end.
(This used to be commit 8d684dffab6a90b3d612a1aa2b2c457a2bc2e6ac)

21 years agoThis is no functional change. It just makes pdb_ldap.c a bit
Volker Lendecke [Thu, 27 Mar 2003 14:30:10 +0000 (14:30 +0000)]
This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.

Volker
(This used to be commit 124c80facba364033f72b20660f347390effba59)

21 years agoTidy XML formating
Alexander Bokovoy [Thu, 27 Mar 2003 14:22:03 +0000 (14:22 +0000)]
Tidy XML formating
(This used to be commit f9515634f344f2408909d2398a7b585b91dca6ec)

21 years agoFix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker Lendecke [Thu, 27 Mar 2003 14:12:42 +0000 (14:12 +0000)]
Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.

Volker
(This used to be commit e92bfb766b08abccbf098c8d04347eb296b9be54)

21 years agolocal_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
Andrew Bartlett [Thu, 27 Mar 2003 12:54:50 +0000 (12:54 +0000)]
local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
(This used to be commit a51ce67e322f91a56acb9e358ee8b2254b2e7792)

21 years agoUse the new modules system in VFS. If a module can't be loaded with the
Jelmer Vernooij [Thu, 27 Mar 2003 12:08:46 +0000 (12:08 +0000)]
Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b424f10006f2f791a8f086c6c8a7f5d57)

21 years agoThe definition of pstrcpy_base(), and the preceeding comments, were given
Christopher R. Hertel [Thu, 27 Mar 2003 05:11:25 +0000 (05:11 +0000)]
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
(This used to be commit 5306f6f7c88234d51c4ff13d5451d3489de6b00e)