ira/wip.git
17 years agoupdating roadmap in docs
Gerald Carter [Wed, 24 Sep 2003 15:23:28 +0000 (15:23 +0000)]
updating roadmap in docs
(This used to be commit 9f44a3d29bc99f455fe8ea8522cb5fd6f2e7156b)

17 years agoDon't #ifdef an AFS option with WITH_ADS. Thanks, jerry!
Volker Lendecke [Wed, 24 Sep 2003 06:42:32 +0000 (06:42 +0000)]
Don't #ifdef an AFS option with WITH_ADS. Thanks, jerry!

Volker
(This used to be commit a6c54cbe205a6882d49fc77c04ed21b4f1de4396)

17 years agoDebian updates in preparation for Samba 3.0.0.
Eloy Paris [Wed, 24 Sep 2003 02:39:04 +0000 (02:39 +0000)]
Debian updates in preparation for Samba 3.0.0.
(This used to be commit 5db862733447dc8727c9a707325ab7dbcfd60889)

17 years agoInstall message translation files for swat.
Tim Potter [Wed, 24 Sep 2003 02:38:04 +0000 (02:38 +0000)]
Install message translation files for swat.
(This used to be commit c3e5cbd4f0ea6b756d99733cb0714ecf9390d195)

17 years agoFix bug #456 for 3.0.0 release.
Tim Potter [Wed, 24 Sep 2003 01:27:39 +0000 (01:27 +0000)]
Fix bug #456 for 3.0.0 release.

More work on SWAT i18n support to appear in later releases.
(This used to be commit c3267749054ade219d214bdaf6c21e4207bd2011)

17 years agofixing a bug in the retry loop for winbindd_pam_auth[_crap]()
Gerald Carter [Wed, 24 Sep 2003 01:22:59 +0000 (01:22 +0000)]
fixing a bug in the retry loop for winbindd_pam_auth[_crap]()
(This used to be commit a83266a927b81a9f7a62b211793faaf8d401767c)

17 years agoUpdate.
John Terpstra [Tue, 23 Sep 2003 23:35:53 +0000 (23:35 +0000)]
Update.
(This used to be commit 1871f18bec6c7500fca171ea0b4d88bbaf31899f)

17 years agoregenerate
Jelmer Vernooij [Tue, 23 Sep 2003 21:43:23 +0000 (21:43 +0000)]
regenerate
(This used to be commit fdae2e591bee0fb447eab77db78147e47343c0be)

17 years agoregenerate
Jelmer Vernooij [Tue, 23 Sep 2003 21:33:16 +0000 (21:33 +0000)]
regenerate
(This used to be commit f1c93a678211c6b3132fb91dcb4d199249e4ef5d)

17 years agoregenerate
Jelmer Vernooij [Tue, 23 Sep 2003 21:24:11 +0000 (21:24 +0000)]
regenerate
(This used to be commit bdee29ef5b45210c4d6477e5e764a8a298bebaa7)

17 years agoRegenerate
Jelmer Vernooij [Tue, 23 Sep 2003 21:15:41 +0000 (21:15 +0000)]
Regenerate
(This used to be commit f97d5fef866b341af9d0814994e9924e9fafcf7c)

17 years agoupdate smbldap-tool sscripts from Jérôme Tournier
Gerald Carter [Tue, 23 Sep 2003 20:39:22 +0000 (20:39 +0000)]
update smbldap-tool sscripts from Jérôme Tournier
(This used to be commit c1546a5311a4e9ad2d6566e71e11c6d5f8f120a9)

17 years agosync debian package from rc4
Gerald Carter [Tue, 23 Sep 2003 19:52:33 +0000 (19:52 +0000)]
sync debian package from rc4
(This used to be commit 4ec00ca5eb86f0d2b1493a57fcd804e4ad9b68ce)

17 years agoI'm still working on this. More to come.
John Terpstra [Tue, 23 Sep 2003 19:10:37 +0000 (19:10 +0000)]
I'm still working on this. More to come.
(This used to be commit cb2172541849c96c9156233da9b34e5e08801ae3)

17 years agoI'm still working on this. More to come.
John Terpstra [Tue, 23 Sep 2003 19:02:57 +0000 (19:02 +0000)]
I'm still working on this. More to come.
(This used to be commit 4babc01b57c2b2948effef8adf86edebd2f2452e)

17 years agoDocument the two new params.
Volker Lendecke [Tue, 23 Sep 2003 14:55:12 +0000 (14:55 +0000)]
Document the two new params.

Volker
(This used to be commit f08775ca07d235d8ddcaa6483b27248fd597def6)

17 years agoThis only touches the fake kaserver support. It adds two parameters:
Volker Lendecke [Tue, 23 Sep 2003 14:52:21 +0000 (14:52 +0000)]
This only touches the fake kaserver support. It adds two parameters:

afs share -- this is an AFS share, do AFS magic things
afs username map -- We need a way to specify the cell and possibly
    weird username codings for several windows domains
    in the afs cell

Volker
(This used to be commit 4a3f7a9356cd5068d9ed4fd6e2336d9bf7923fbd)

17 years agoAdd a descriptive comment to our usage of setresuid. lib/afs.c needs
Volker Lendecke [Tue, 23 Sep 2003 14:49:17 +0000 (14:49 +0000)]
Add a descriptive comment to our usage of setresuid. lib/afs.c needs
to be changed if we decide to set our real uid. Jeremy?

Volker
(This used to be commit 1fed55aa781bcf9efdd42f361c972b69152137a4)

17 years agoReformat - preparing to fix bug #480 (which will be ugly).
Jeremy Allison [Mon, 22 Sep 2003 22:08:53 +0000 (22:08 +0000)]
Reformat - preparing to fix bug #480 (which will be ugly).
Jeremy.
(This used to be commit 605e257cab8041900ec9c6839c37e04d005a420e)

17 years agofix some warnings found by the Sun C compiler
Gerald Carter [Mon, 22 Sep 2003 17:53:59 +0000 (17:53 +0000)]
fix some warnings found by the Sun C compiler
(This used to be commit e1fac713e25692a5790c3261ba323732930f5249)

17 years agoFix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
Jeremy Allison [Mon, 22 Sep 2003 17:39:44 +0000 (17:39 +0000)]
Fix return of result. Patch from Yasuma Takeda <yasuma@miraclelinux.com>
Jeremy.
(This used to be commit 95e33b1250abbbb3a0ad5e9fa1586d545e51322b)

17 years agosolaris packagaing fixes from Brian King
Gerald Carter [Mon, 22 Sep 2003 16:12:03 +0000 (16:12 +0000)]
solaris packagaing fixes from Brian King
(This used to be commit 0f8f2b57ea41f5481ec8da2e98958087b6b07a13)

17 years agoApplied Monyo's patch for bug #412 which allows \n characters to
Tim Potter [Mon, 22 Sep 2003 07:25:19 +0000 (07:25 +0000)]
Applied Monyo's patch for bug #412 which allows \n characters to
appear in msg strings.
(This used to be commit 53a2a389902b6ffa37dd61f0c0a496744fc2e2b3)

17 years agoFix typo
Jelmer Vernooij [Sun, 21 Sep 2003 02:58:08 +0000 (02:58 +0000)]
Fix typo
(This used to be commit 37db75fc95aec2510a0ead0c97f44e80b00696d9)

17 years agoFix a bug and warn when configuration file values are incorrect. Thanks to
Jelmer Vernooij [Sat, 20 Sep 2003 22:22:41 +0000 (22:22 +0000)]
Fix a bug and warn when configuration file values are incorrect. Thanks to
Wilco Baan Hofman <wilco@andoburg.nl>
(This used to be commit 2c584efae69f328581d4f863a8f8ef3ff8228423)

17 years agoremoving obselete parameter from smb.conf
Gerald Carter [Sat, 20 Sep 2003 16:45:24 +0000 (16:45 +0000)]
removing obselete parameter from smb.conf
(This used to be commit 972bd643894ba3ab773992a4d52136fa3cfa98cc)

17 years agofix from Brad Langhorst to correctly check if the primaryGroupID has been set
Gerald Carter [Sat, 20 Sep 2003 15:28:24 +0000 (15:28 +0000)]
fix from Brad Langhorst to correctly check if the primaryGroupID has been set
(This used to be commit 5c45b799d1b87fed8afa4665e075f2c8ccb6da84)

17 years agoupdates to SunOne DS schema from André Fiebach
Gerald Carter [Sat, 20 Sep 2003 15:20:31 +0000 (15:20 +0000)]
updates to SunOne DS schema from André Fiebach
(This used to be commit bd9b90a391e3346ff22888bbc589e65ccdddd482)

17 years agoEnsure that dup_sec_desc copies the 'type' field correctly. This caused
Jeremy Allison [Fri, 19 Sep 2003 21:57:43 +0000 (21:57 +0000)]
Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
(This used to be commit 28b315a7501f42928d73efaa75f74146ba95cf2d)

17 years agoinsert missing sh-bang
Gerald Carter [Fri, 19 Sep 2003 18:53:07 +0000 (18:53 +0000)]
insert missing sh-bang
(This used to be commit 64fa24dbabd8d211d276e19745561a11b7465158)

17 years agoFix pdb_mysql. Jelmer will look into details tonight.
Alexander Bokovoy [Fri, 19 Sep 2003 13:09:10 +0000 (13:09 +0000)]
Fix pdb_mysql. Jelmer will look into details tonight.
(This used to be commit b00a81b543a58f46e54ce0e5362ba21bb16fc35f)

17 years agoPut in some DEBUGs for swat language selection. Part of bug 456.
Tim Potter [Fri, 19 Sep 2003 07:04:29 +0000 (07:04 +0000)]
Put in some DEBUGs for swat language selection.  Part of bug 456.
(This used to be commit bbe4ae8af2918808a1fd3547602c909f42a54634)

17 years agoThe -P option to smbclient no longer works - update all smbprint scripts to
Tim Potter [Fri, 19 Sep 2003 01:54:57 +0000 (01:54 +0000)]
The -P option to smbclient no longer works - update all smbprint scripts to
remove it.  Closes bug #473.
(This used to be commit a9f22ed9d715e4acf529ff873b0d99d4b29c5f1b)

17 years agoThe "unknown_5" 32 bit field in the user structs is actually 2 16-bit
Jeremy Allison [Thu, 18 Sep 2003 23:53:48 +0000 (23:53 +0000)]
The "unknown_5" 32 bit field in the user structs is actually 2 16-bit
fields, bad_password_count and logon_count. Ensure this is stored/fetched
in the various SAMs. As it replaces the unknown_5 field this fits
exactly into the tdb SAM without any binary problems. It also is added
to the LDAP SAM as two extra attributes. It breaks compatibility with
the experimental SAMs xml and mysql. The maintainers of these SAMs must
fix them so upgrades like this can be done transparently. I will insist
on the "experimental" status until this is solved.
Jeremy.
(This used to be commit cd7bd8c2daff3293d48f3376a7c5a708a140fd94)

17 years agoOops. Proper fix for #470.
Jeremy Allison [Thu, 18 Sep 2003 21:19:41 +0000 (21:19 +0000)]
Oops. Proper fix for #470.
Jeremy.
(This used to be commit 82f98b066d345fdac40a584078a19453bda53d5b)

17 years agoFix for #470 - unable to display SIDs in ACLs.
Jeremy Allison [Thu, 18 Sep 2003 01:17:22 +0000 (01:17 +0000)]
Fix for #470 - unable to display SIDs in ACLs.
Jeremy.
(This used to be commit 56df89eff38e4c89defa5fd56bbb6c9d2012f82d)

17 years agoChange error message displayed when --without-libiconv is used as
Tim Potter [Thu, 18 Sep 2003 00:05:19 +0000 (00:05 +0000)]
Change error message displayed when --without-libiconv is used as
an argument to configure.  Closes bug 468.
(This used to be commit 6957ecd25f1d98e045c7a44caf03887e60715b6b)

17 years agoUnregister event fix from metze.
Jeremy Allison [Wed, 17 Sep 2003 23:36:55 +0000 (23:36 +0000)]
Unregister event fix from metze.
Jeremy.
(This used to be commit 0aee73d45733a8eca437954e0c9fd54884bbe770)

17 years agoFix coredump from Samba4 torture suite.
Jeremy Allison [Wed, 17 Sep 2003 19:36:38 +0000 (19:36 +0000)]
Fix coredump from Samba4 torture suite.
Jeremy.
(This used to be commit 9c1bab944526270d2ad79c75894c33f58f8e3845)

17 years agoObviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy Allison [Wed, 17 Sep 2003 17:56:16 +0000 (17:56 +0000)]
Obviously correct typo bugfix from  Lin Li <linl@xandros.com>.
Jeremy.
(This used to be commit a43ca66290ac1df9b00e3e43e32d8117b3d1b873)

17 years agoFix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard Bollinger" <rabol...
Alexander Bokovoy [Wed, 17 Sep 2003 17:54:49 +0000 (17:54 +0000)]
Fix warnings on Sun cc Workshop Compilers 5.0. Reported by "Richard Bollinger" <rabollinger@comcast.net>. Also fixed script/gaptab.awk to produce compatible tables.
(This used to be commit 6134d41ff108245f7e105d49774f24f6a11d8c45)

17 years agoFix scripts to generate correct tables for compilers which have character constants...
Alexander Bokovoy [Wed, 17 Sep 2003 17:49:35 +0000 (17:49 +0000)]
Fix scripts to generate correct tables for compilers which have character constants as signed chars instead of unsigned
(This used to be commit e4dda8cb222bc3a971088897e47bd8e249cd0188)

17 years agoUpdate WHATSNEW.txt with information from release branch, SAMBA_3_0 talks only about...
Alexander Bokovoy [Wed, 17 Sep 2003 10:15:47 +0000 (10:15 +0000)]
Update WHATSNEW.txt with information from release branch, SAMBA_3_0 talks only about RC3 while release branch explains RC3->RC4 differences
(This used to be commit 3c2ce3456a8939b81f8a666f76d89544ee588d2e)

17 years agopackaging updates from Buchan
Gerald Carter [Tue, 16 Sep 2003 21:11:16 +0000 (21:11 +0000)]
packaging updates from Buchan
(This used to be commit 38e565fe0181bb1892662fa11eee17798b386f5c)

17 years agoFix typo. Found by Aurelien Degremont
Jelmer Vernooij [Tue, 16 Sep 2003 13:31:41 +0000 (13:31 +0000)]
Fix typo. Found by Aurelien Degremont
(This used to be commit 4765e56f92f0906afe3073184c4fa255e1b1a647)

17 years agoFix typo.
John Terpstra [Tue, 16 Sep 2003 04:33:17 +0000 (04:33 +0000)]
Fix typo.
(This used to be commit ec842946dd4f2af8261270fbdfe203fa5247dea3)

17 years agoApplied Steve Langasek's patch for bug #450.
Tim Potter [Tue, 16 Sep 2003 03:54:42 +0000 (03:54 +0000)]
Applied Steve Langasek's patch for bug #450.
(This used to be commit e3cb0cd0d60d90a76e5f74d5bda702148584ab30)

17 years agoFix #442 which Alexander considered a showstopper. Allow us to join mixed
Jeremy Allison [Tue, 16 Sep 2003 01:27:46 +0000 (01:27 +0000)]
Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.
(This used to be commit c816aacefb6621533194a374251835f186ca838f)

17 years agoFix from gregory@networksentry.co.za, don't clobber the comment if it
Jeremy Allison [Mon, 15 Sep 2003 21:27:36 +0000 (21:27 +0000)]
Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.
(This used to be commit c8bfde5be9f0a3603f7333ff4266ad19c20cb9f9)

17 years agoFix OOPS when dealing with mangled names reported by several users.
Jeremy Allison [Mon, 15 Sep 2003 21:19:43 +0000 (21:19 +0000)]
Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jerry - last showstopper I knew about.
Jeremy.
(This used to be commit 6e6769c20643f784d1b5023df3071a35d2e5bf89)

17 years agoA *curse* upon the person who #ifdefed out the mangle debug statements
Jeremy Allison [Mon, 15 Sep 2003 18:53:01 +0000 (18:53 +0000)]
A *curse* upon the person who #ifdefed out the mangle debug statements
by default ! This is code that really needs to be able to be looked at
on a customer system if it's misbehaving !
Jeremy
(This used to be commit d512650340b3d28db763d018a6b05f6edf165bf0)

17 years agoFixed test and wording for long share names.
Christopher R. Hertel [Mon, 15 Sep 2003 17:01:26 +0000 (17:01 +0000)]
Fixed test and wording for long share names.
The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested).  Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.
(This used to be commit be06e52ce05e88f3872563a61ae29f62afd614fc)

17 years agofix online help
Simo Sorce [Mon, 15 Sep 2003 14:13:35 +0000 (14:13 +0000)]
fix online help

-w option need the password on the command line
(This used to be commit fa7dea1710bac38f5f68be2e56a24ef5cca09ff5)

17 years agoAlias charset 646 internally as it is same as ASCII. Should solve Solaris problems...
Alexander Bokovoy [Mon, 15 Sep 2003 12:42:10 +0000 (12:42 +0000)]
Alias charset 646 internally as it is same as ASCII. Should solve Solaris problems where ASCII was not detected and 646.so were requested through dynamic loading
(This used to be commit c248cd4784ac0f8f16813de36d293ab6bf1d259b)

17 years agoFixed typo in debug.
Tim Potter [Mon, 15 Sep 2003 12:22:34 +0000 (12:22 +0000)]
Fixed typo in debug.
(This used to be commit e2b5dd7d9b351984c40876f3c86f2a006e0eec42)

17 years agoRemove quotes in smb.conf ldap example - the quotes actually turn
Tim Potter [Mon, 15 Sep 2003 12:19:54 +0000 (12:19 +0000)]
Remove quotes in smb.conf ldap example - the quotes actually turn
up in the ldap filter string.
(This used to be commit 59a292074be65e270a4dbfb64668727ac56bb7b8)

17 years agoThis ldap_value_free() looks like it was part of Jeremy's recent rampage
Tim Potter [Mon, 15 Sep 2003 05:20:00 +0000 (05:20 +0000)]
This ldap_value_free() looks like it was part of Jeremy's recent rampage
so I'm putting it back in.
(This used to be commit ec49fc8ab73b26f86da155475df90843650f0e63)

17 years agoI think this is a bugfix that somehow was dropped from the 3.0 tree.
Tim Potter [Mon, 15 Sep 2003 05:12:30 +0000 (05:12 +0000)]
I think this is a bugfix that somehow was dropped from the 3.0 tree.
(This used to be commit 299eb0abd36072af51cbcb761fa9fb6a77584585)

17 years agoPatch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
Jeremy Allison [Mon, 15 Sep 2003 03:36:04 +0000 (03:36 +0000)]
Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
ensure the desired access is read from the incoming RPC request.
Jeremy.
(This used to be commit fdc5dda44f0190af4e4b0782cb2c5c7de3506d12)

17 years agoFor some reason testparm runs at debug level 2 which causes the module probe functions to
Tim Potter [Mon, 15 Sep 2003 00:19:25 +0000 (00:19 +0000)]
For some reason testparm runs at debug level 2 which causes the module probe functions to
display verbose debugs.  Increase the probe debugs to level 3.
(This used to be commit d71a7470d721be05ecde44010cf278e8de08d9d3)

17 years agoFix for typo in darwin detection.
Jeremy Allison [Sun, 14 Sep 2003 19:18:48 +0000 (19:18 +0000)]
Fix for typo in darwin detection.
Jeremy.
(This used to be commit 8a57f1a72c88cde233b126d468183c52c2598420)

17 years agoFix typo.
John Terpstra [Sun, 14 Sep 2003 00:13:04 +0000 (00:13 +0000)]
Fix typo.
(This used to be commit 4f03781d2e880fe12f8a8e81df8392487e3a7e2e)

17 years agoFix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
Jeremy Allison [Sat, 13 Sep 2003 22:41:21 +0000 (22:41 +0000)]
Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
Also add MacOSX/Darwin configure fixes.
Jerry - can we put this in 3.0 release ? :-).
Jeremy.
(This used to be commit f23acb4ca5feac8ad2acfa1baf7df31283aba3ea)

17 years agoFix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
Jeremy Allison [Fri, 12 Sep 2003 21:41:18 +0000 (21:41 +0000)]
Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
condition meant fast-path in strchr_m was not being used. Doh !
Jeremy.
(This used to be commit f23c9d36b0cd4083722012e4a94df8295f29d04c)

17 years agoFix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
Jeremy Allison [Fri, 12 Sep 2003 01:25:35 +0000 (01:25 +0000)]
Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
with filenames > 100 chars.
Jeremy.
(This used to be commit aa40a86cbe797cba4e281cb8dc09b2ae67e93dc2)

17 years agoUpdated 3.0 schema files for IBM Directory Server 5.1
Jim McDonough [Thu, 11 Sep 2003 18:32:44 +0000 (18:32 +0000)]
Updated 3.0 schema files for IBM Directory Server 5.1

Keeps with IBM convention of separate attributetype and objectclass definitions.
(This used to be commit 5dcf974c22b4bd54193dff876020bacd5b1691b2)

17 years agofix unitiailized timestamp where merging print_jobs and lpq listing
Gerald Carter [Thu, 11 Sep 2003 17:01:26 +0000 (17:01 +0000)]
fix unitiailized timestamp where merging print_jobs and lpq listing
(This used to be commit 8382cd6796992e55bf10f381089cb740052a0bca)

17 years agoremove getpwnam() calls from init_sam_from_xxx().
Gerald Carter [Thu, 11 Sep 2003 16:52:10 +0000 (16:52 +0000)]
remove getpwnam() calls from init_sam_from_xxx().
This means that %u & %g will no longer expand, but %U
and %G still do.  The payback is that winbindd local
accounts for users work with 'wbinfo -u' when winbind
is running on a PDC.
(This used to be commit eb02fcf3c212eee1dc267959f23da5a26c1eac4f)

17 years agoFix error message when calling namedtogid() fails adding a group map
Tim Potter [Thu, 11 Sep 2003 01:57:08 +0000 (01:57 +0000)]
Fix error message when calling namedtogid() fails adding a group map
entry.  Bug #431.
(This used to be commit bc8a181477866d0d97324bf45431bcdff895ad18)

17 years agoEnsure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy Allison [Wed, 10 Sep 2003 23:49:23 +0000 (23:49 +0000)]
Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.
(This used to be commit b5d953bc26de5c4e0e1a15f70ae56ea2dd2843f2)

17 years agoStill on my mb rampage. Ensure smbldap_make_mod() correctly detects old
Jeremy Allison [Wed, 10 Sep 2003 23:14:18 +0000 (23:14 +0000)]
Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
values.
Jeremy.
(This used to be commit 41e4479aa9f186d68300086984d6f4c8f9fd2a27)

17 years agoFix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
Jeremy Allison [Wed, 10 Sep 2003 22:33:06 +0000 (22:33 +0000)]
Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
to/from utf8 for some calls. The libads code gets this right. Wonder why
the passdb code doesn't use it ?
Jeremy.
(This used to be commit 910d21d3164c2c64773031fddaad35ea88e72a04)

17 years agoFix for bug #273 - smbd crash on machine account change.
Jeremy Allison [Wed, 10 Sep 2003 18:34:57 +0000 (18:34 +0000)]
Fix for bug #273 - smbd crash on machine account change.
Someone only half changed the code to use dc_name
instead of remote machine... Found via back trace from Dariush Forouher
<dariush@forouher.de>.
Jeremy.
(This used to be commit 963b24ac1a721a8b0d348b578f25b1d8cb7e2124)

17 years agoFix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy Allison [Wed, 10 Sep 2003 18:03:24 +0000 (18:03 +0000)]
Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.
(This used to be commit c5ed59b37be1bf779e0d0e61c31227b520430afd)

17 years agoBack out --with-good-getgrouplist patch
Alexander Bokovoy [Wed, 10 Sep 2003 15:39:21 +0000 (15:39 +0000)]
Back out --with-good-getgrouplist patch
(This used to be commit 424b13823b666c122f43d63098cec3e54b4fa353)

17 years agoNow that CAN-2003-0689 is published officially, we need to make possible
Alexander Bokovoy [Wed, 10 Sep 2003 13:39:09 +0000 (13:39 +0000)]
Now that CAN-2003-0689 is published officially, we need to make possible
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2.
Unfortunately, we can't detect correctness of getgrouplist() functioning in
portable way so this is left up to developer/packager.

This patch adds --with-good-getgrouplist[=no] switch to configure which packagers
on Linux platforms could use to specify in their own builds if they now that glibc
on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc
is vulnerable and perform our version check.

** This patch does not change default behaviour in Samba 3.0 -- by default we are not
vulnerable on glibc as we are not using getgrouplist()

See http://www.securityfocus.com/bid/8477 for vulnerability description.

Right now there are following Linux vendors released glibc updates for CAN-2003-0689:

RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html
ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc
(This used to be commit e53622c114e0368515c50b357567fcdd0b95979e)

17 years agoFix error return path memory leaks in vampire code for creating users.
Tim Potter [Wed, 10 Sep 2003 06:58:41 +0000 (06:58 +0000)]
Fix error return path memory leaks in vampire code for creating users.

Display an error if we can't create a posix account for the user
(e.g no add user/machine script was specified; bug #323).
(This used to be commit 0c35ba2cd65ff64c5db2b20d5528a0d486cba51e)

17 years agoUse opt_target_workgroup instead of lp_workgroup() in vampire code so
Tim Potter [Wed, 10 Sep 2003 06:49:13 +0000 (06:49 +0000)]
Use opt_target_workgroup instead of lp_workgroup() in vampire code so
we can override the value in smb.conf with the -w option.

Migrating accounts from another domain can now be done like:

# bin/net join bdc -w nt4dom -Uadministrator%password
# bin/net rpc vampire -w nt4dom -U administrator%password
(This used to be commit d7bd3c1efbd02a7ca01ad9a4b242ea4cc4a63c1f)

17 years agoFormatting fixups for help output.
Tim Potter [Wed, 10 Sep 2003 06:15:07 +0000 (06:15 +0000)]
Formatting fixups for help output.
(This used to be commit c030d1401950b6efcbdf30ad899c25a61efb1814)

17 years agoRemove tags file for distclean.
Tim Potter [Wed, 10 Sep 2003 03:59:07 +0000 (03:59 +0000)]
Remove tags file for distclean.
(This used to be commit c972fac195fd9280ab2a0da28b8ed11aaacd3bff)

17 years agoFix mb bug in fast path code. strlen_w() returns number of *characters*
Jeremy Allison [Wed, 10 Sep 2003 02:21:24 +0000 (02:21 +0000)]
Fix mb bug in fast path code. strlen_w() returns number of *characters*
not number of bytes. Reproduce this by trying to rename the file named :
sibréseau -> sibréseaU
from Windows 2000 explorer.
Jeremy.
(This used to be commit 035f59599514491609078ac0fe5804278c43a9b3)

17 years agofix some typos
Gerald Carter [Wed, 10 Sep 2003 00:49:14 +0000 (00:49 +0000)]
fix some typos
(This used to be commit 6d46fcdaf037a3dd42ea2883f9c518f72bb9d8a8)

17 years agosmall updates to parameter section
Gerald Carter [Wed, 10 Sep 2003 00:45:52 +0000 (00:45 +0000)]
small updates to parameter section
(This used to be commit aa6751861115d4caa309b1f486c186b47ff06e25)

17 years agoremove references to 'strip dot'
Gerald Carter [Wed, 10 Sep 2003 00:40:32 +0000 (00:40 +0000)]
remove references to 'strip dot'
(This used to be commit 5c0c9d68b44f867bf6c2b24b9fd9ba2408b9f83c)

17 years agosyncing files
Gerald Carter [Tue, 9 Sep 2003 03:54:11 +0000 (03:54 +0000)]
syncing files
(This used to be commit 88725350d248fe017b77c7609544888ba40b7995)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)