cvs2svn Import User [Wed, 27 Nov 2002 02:58:10 +0000 (02:58 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-3-0alpha21'.
Samba Release Account [Wed, 27 Nov 2002 02:58:09 +0000 (02:58 +0000)]
preparing for release of 3.0alpha21
Gerald Carter [Wed, 27 Nov 2002 02:51:29 +0000 (02:51 +0000)]
last touches on release notes
Gerald Carter [Wed, 27 Nov 2002 02:42:12 +0000 (02:42 +0000)]
update docs for "password server" and regenerate
also fixed a number of syntax errors in the SGML source
for several man pages (people really need to start validating
docs before checking them in).
Gerald Carter [Wed, 27 Nov 2002 02:22:53 +0000 (02:22 +0000)]
* finializnig RedHat package for alpha21 release
* fix cli_ds_getprimarydominfo() (bad memcpy() )
Gerald Carter [Tue, 26 Nov 2002 23:18:35 +0000 (23:18 +0000)]
* fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
Andrew Bartlett [Tue, 26 Nov 2002 21:00:18 +0000 (21:00 +0000)]
Merge tridge's fixes to pdb_ldap (don't look for number of results in a
failed query) and my fixes to those fixes to use better NT_STATUS codes.
Andrew Bartlett
Gerald Carter [Tue, 26 Nov 2002 19:11:22 +0000 (19:11 +0000)]
lining up some spaces in configure.in and reran autoconf
updating WHATSNEW
Gerald Carter [Tue, 26 Nov 2002 18:56:14 +0000 (18:56 +0000)]
fix path to compiled VFS libraries
Gerald Carter [Tue, 26 Nov 2002 18:16:52 +0000 (18:16 +0000)]
fixing install problems with VFS modules
Jeremy Allison [Tue, 26 Nov 2002 17:40:25 +0000 (17:40 +0000)]
Ensure data is not used uninitialised.
Jeremy.
Jeremy Allison [Tue, 26 Nov 2002 17:03:16 +0000 (17:03 +0000)]
Fix bug in tdb_fetch tidyup.
Jeremy.
Gerald Carter [Tue, 26 Nov 2002 16:00:49 +0000 (16:00 +0000)]
working on alpha21
* sync packaging files with HEAD
* started work on WHATSNEW
Gerald Carter [Tue, 26 Nov 2002 13:40:23 +0000 (13:40 +0000)]
Doh! forgot to add this yesterday when merging from HEAD.
cvs2svn Import User [Tue, 26 Nov 2002 11:57:31 +0000 (11:57 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Andrew Bartlett [Tue, 26 Nov 2002 11:57:30 +0000 (11:57 +0000)]
Having waited for *way* too long, this is mimir's namecache and trusted domain
cache code.
This uses gencache, mimir's new caching code that stores at text-based cache
of various data.
Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.
Andrew Bartlett
Gerald Carter [Tue, 26 Nov 2002 00:46:31 +0000 (00:46 +0000)]
[print notify fixes from APP_HEAD]
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
Gerald Carter [Tue, 26 Nov 2002 00:01:56 +0000 (00:01 +0000)]
[print notify fixes from APP_HEAD]
* fixing change notify on print server handle
* adding change notify support into smbcontrol for sending comment
changes, etc...
All part of CR 1159/1160
Jelmer Vernooij [Mon, 25 Nov 2002 15:15:56 +0000 (15:15 +0000)]
Regenerate with newer autoconf
Andrew Bartlett [Mon, 25 Nov 2002 06:54:22 +0000 (06:54 +0000)]
Instead of walking the entire group database, grabbing all members of each
group, testing for membership etc, use the already calculated NT_USER_TOKEN.
(which is initgroups() based)
So far we only fill out the 'domain' groups - we need to fill out the
'other sids' as well, and we possibly need to filter the list for 'domain
groups' only (the old code did that), but Win2k doesn't seem to mind
this for now.
I also need to find out what the magic '7' is about. Fortunetly JF is in town,
so I'll grill him tomorrow :-).
Andrew Bartlett
Tim Potter [Mon, 25 Nov 2002 03:05:59 +0000 (03:05 +0000)]
Make lp_winbind_separator a const string.
Tim Potter [Mon, 25 Nov 2002 00:25:31 +0000 (00:25 +0000)]
Fix some argument checking bugs found by testsuite.
Andrew Bartlett [Sun, 24 Nov 2002 21:08:36 +0000 (21:08 +0000)]
Add support to switch between Squid 2.4 and 2.5 protocols - squid doesn't
encode the username, so don't decode it (users could play HTTP escaping games
on usernames).
Andrew Bartlett
Andrew Bartlett [Sun, 24 Nov 2002 08:46:34 +0000 (08:46 +0000)]
Move from NT_STATUS_UNSUCCESSFUL to NT_STATUS_NO_SUCH_USER, and other slightly
more useful error codes.
Andrew Bartlett [Sun, 24 Nov 2002 08:42:10 +0000 (08:42 +0000)]
Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
Andrew Bartlett [Sun, 24 Nov 2002 08:38:53 +0000 (08:38 +0000)]
Remove silly ideas about taking the LM or NT hash as a password in pam_smbpass.
Andrew Bartlett
Andrew Bartlett [Sun, 24 Nov 2002 08:37:02 +0000 (08:37 +0000)]
No need to #include smb.h, when we already #include include.h
Andrew Bartlett [Sun, 24 Nov 2002 08:32:03 +0000 (08:32 +0000)]
Add ntlm_auth, a new program to provide a stable interface to winbind's
authentication code.
In particular, ntlm_auth is designed to replace the winbind authentication
'helpers' currently supplied by Squid. I have added support for the current
plaintext password protocol used by Squid, and will add the real guts (NTLMSSP
support) shortly.
I'll merge this into 3.0 when I've got the interface more stable (error message
format etc) and got the important NTLMSSP support added.
Also move SWAT's URL decoding code into util_str.c, for use in both utilities.
Andrew Bartlett
Gerald Carter [Sat, 23 Nov 2002 14:52:34 +0000 (14:52 +0000)]
[merge from APP_HEAD]
90% fix for CR 1076. The password server parameter will no take things
like
password server = DC1 *
which means to contact DC1 first and the go to auto lookup if it
fails.
jerry
Gerald Carter [Sat, 23 Nov 2002 14:27:56 +0000 (14:27 +0000)]
[merge from APP_HEAD]
90% fix for CR 1076. The password server parameter will no take things
like
password server = DC1 *
which means to contact DC1 first and the go to auto lookup if it
fails.
jerry
Andrew Tridgell [Sat, 23 Nov 2002 06:39:04 +0000 (06:39 +0000)]
a working timegm() function for systems that don't have it
Jeremy Allison [Sat, 23 Nov 2002 02:58:31 +0000 (02:58 +0000)]
Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
Jeremy Allison [Sat, 23 Nov 2002 02:58:29 +0000 (02:58 +0000)]
Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
Jeremy Allison [Sat, 23 Nov 2002 02:52:38 +0000 (02:52 +0000)]
Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
Jeremy Allison [Sat, 23 Nov 2002 02:52:36 +0000 (02:52 +0000)]
Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
Jeremy Allison [Sat, 23 Nov 2002 02:51:31 +0000 (02:51 +0000)]
jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
Jeremy Allison [Sat, 23 Nov 2002 02:51:28 +0000 (02:51 +0000)]
jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
John Terpstra [Fri, 22 Nov 2002 19:49:14 +0000 (19:49 +0000)]
Added more notes from Samba Mailing List so this info does not get lost!
John Terpstra [Fri, 22 Nov 2002 19:04:47 +0000 (19:04 +0000)]
Trying to fix module handling. Not final yet.
John Terpstra [Fri, 22 Nov 2002 19:03:28 +0000 (19:03 +0000)]
Added install-everything option.
Tim Potter [Fri, 22 Nov 2002 06:56:28 +0000 (06:56 +0000)]
Rerun autoconf.
Tim Potter [Fri, 22 Nov 2002 06:54:12 +0000 (06:54 +0000)]
Here's a bit of a cleanup of the {configure,Makefile}.in files. I've
now combined all the ad-hoc AC_SUBST variables into three generalised
ones:
EXTRA_BIN_PROGS Additional programs to install in ${prefix}/sbin
EXTRA_SBIN_PROGS Additional programs to install in ${prefix}/bin
EXTRA_ALL_TARGETS Additional targets to build by default
SHLIB_PROGS Shared library objects (pam, winbind) to build
We also build some extra stuff by default: the python extensions (if
--with-python specified), smbmount related binaries (if
--with-smbmount specified), and the samba torture suite.
The idea behind this is to have everything that is configured built by
default to detect breakage as soon as possible when people make low
level changes.
Tim Potter [Fri, 22 Nov 2002 06:51:14 +0000 (06:51 +0000)]
Added some extra code to test absence/presence of LM and NT passwords.
Tim Potter [Fri, 22 Nov 2002 06:18:03 +0000 (06:18 +0000)]
Fixed some compiler warnings.
Tim Potter [Fri, 22 Nov 2002 06:15:43 +0000 (06:15 +0000)]
Fixed some globals that escaped the recent globalcide.
Andrew Bartlett [Fri, 22 Nov 2002 02:53:42 +0000 (02:53 +0000)]
Restrict anonymous=2 support merged from HEAD
Andrew Bartlett [Fri, 22 Nov 2002 02:40:21 +0000 (02:40 +0000)]
Add support for 'restrict anonymous=2' and make the doco give a slight hint
as to what it now does in 3.0. Needs more work, but better than documenting
the old functionality :-).
As the security benifits of this are nullified by a setting of 'guest ok' on
any share, we might want to put some documentation there too.
Andrew Bartlett
Martin Pool [Fri, 22 Nov 2002 01:12:23 +0000 (01:12 +0000)]
Add support for new 'F' format, which is a string in the default
codepage.
Tim Potter [Fri, 22 Nov 2002 00:32:24 +0000 (00:32 +0000)]
Sync docbook directory with HEAD.
Sorry but there are way too many changes to track down all the commit
messages and list them here. Most of the changes look like updates
and cleanups from Jelmer though.
Martin Pool [Thu, 21 Nov 2002 01:33:42 +0000 (01:33 +0000)]
If you don't specify --with-python, we assume "python" anyhow, because
the extensions are not built until you specifically "make python_ext".
Jim McDonough [Thu, 21 Nov 2002 01:01:58 +0000 (01:01 +0000)]
get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
Jim McDonough [Thu, 21 Nov 2002 00:58:50 +0000 (00:58 +0000)]
get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
Gerald Carter [Thu, 21 Nov 2002 00:12:14 +0000 (00:12 +0000)]
merge get_friendly_nt_err_msg() from app_head
Gerald Carter [Thu, 21 Nov 2002 00:10:28 +0000 (00:10 +0000)]
merge get_friendly_nt_err_msg() from app_head
Andrew Tridgell [Wed, 20 Nov 2002 11:30:19 +0000 (11:30 +0000)]
fixed a number of places where we can try to free a wild pointer or
look for the record count after an invalid search. This fixes a segv
in ldapsam
Tim Potter [Wed, 20 Nov 2002 03:01:55 +0000 (03:01 +0000)]
Ignore automatically generated Makefile.
Tim Potter [Wed, 20 Nov 2002 03:00:32 +0000 (03:00 +0000)]
Spelling fix.
Andrew Tridgell [Wed, 20 Nov 2002 00:53:24 +0000 (00:53 +0000)]
merged the %U changes to 3.0
Andrew Tridgell [Wed, 20 Nov 2002 00:39:57 +0000 (00:39 +0000)]
more %U fixes for head
John Terpstra [Wed, 20 Nov 2002 00:30:56 +0000 (00:30 +0000)]
Latest updates from author.
Andrew Tridgell [Tue, 19 Nov 2002 23:44:24 +0000 (23:44 +0000)]
a better for for using %U in smb.conf
this follows the method used for remote_machine and also fixes the
problem of anonymous connections clobbering the string
Christopher R. Hertel [Tue, 19 Nov 2002 22:08:11 +0000 (22:08 +0000)]
Likewise. Two small typos caught my eye so I fixed them.
Christopher R. Hertel [Tue, 19 Nov 2002 22:05:00 +0000 (22:05 +0000)]
Fixed two very, very minor typos (that sort of just annoyed me).
John Terpstra [Tue, 19 Nov 2002 19:06:11 +0000 (19:06 +0000)]
Added logon script generator provided by: Timothy Grant <tjg@craigelachie.org>
Jeremy Allison [Tue, 19 Nov 2002 01:46:10 +0000 (01:46 +0000)]
Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
Jeremy Allison [Tue, 19 Nov 2002 01:45:55 +0000 (01:45 +0000)]
Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
Tim Potter [Tue, 19 Nov 2002 01:14:00 +0000 (01:14 +0000)]
Merge from appliance:
>Fix memory leak in cli_ds_getprimarydominfo()
Tim Potter [Tue, 19 Nov 2002 01:12:44 +0000 (01:12 +0000)]
Merge from appliance:
>Fix memory leak in cli_ds_getprimarydominfo()
Tim Potter [Tue, 19 Nov 2002 01:07:24 +0000 (01:07 +0000)]
Merge from HEAD:
>Fix typo in docstring.
>Remove non-integer Pointer values, which are no longer supported.
Tim Potter [Tue, 19 Nov 2002 01:06:10 +0000 (01:06 +0000)]
Merge from HEAD:
>Rename unpack_* functions to be consistent
>
>Decode CP850 strings when unpacking
>
>Add variable giving default encoding name
Tim Potter [Tue, 19 Nov 2002 01:02:43 +0000 (01:02 +0000)]
Fix typo in docstring.
Jeremy Allison [Mon, 18 Nov 2002 23:13:25 +0000 (23:13 +0000)]
Added OPEN test with HIDDEN/NORMAL attributes.
Jeremy.
Jeremy Allison [Mon, 18 Nov 2002 23:12:45 +0000 (23:12 +0000)]
Added HIDDEN/NORMAL attribute test.
Jeremy.
Tim Potter [Mon, 18 Nov 2002 22:50:57 +0000 (22:50 +0000)]
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
Tim Potter [Mon, 18 Nov 2002 22:49:02 +0000 (22:49 +0000)]
Merge from HEAD:
>must add one to the extra_data size to transfer the 0 string terminator.
>This was causing "wbinfo --sequence" to access past the end of malloced
>memory.
Tim Potter [Mon, 18 Nov 2002 22:46:45 +0000 (22:46 +0000)]
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
Jim McDonough [Mon, 18 Nov 2002 20:46:20 +0000 (20:46 +0000)]
Don't pass a function to ADS_ERR_OK().
Jim McDonough [Mon, 18 Nov 2002 20:45:46 +0000 (20:45 +0000)]
Don't pass a function to ADS_ERR_OK().
Jim McDonough [Mon, 18 Nov 2002 20:41:41 +0000 (20:41 +0000)]
Revert changes to ADS_ERR_OK() as in head. Broke some compilers.
Jim McDonough [Mon, 18 Nov 2002 20:40:44 +0000 (20:40 +0000)]
Revert ADS_ERR_OK change. Some compilers didn't like it.
The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS
causes the function to be run mulitple times...so you have to return a status,
then check it with the macro.
Jim McDonough [Mon, 18 Nov 2002 20:23:05 +0000 (20:23 +0000)]
Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.
Next comes doing it within smbd
Jim McDonough [Mon, 18 Nov 2002 19:59:58 +0000 (19:59 +0000)]
Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.
Next comes doing it within smbd
Jim McDonough [Mon, 18 Nov 2002 19:56:55 +0000 (19:56 +0000)]
Back out some goofs that accidentally checked in with printer publishing.
Jim McDonough [Mon, 18 Nov 2002 19:50:36 +0000 (19:50 +0000)]
Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.
Next comes doing it within smbd
Jelmer Vernooij [Mon, 18 Nov 2002 16:22:44 +0000 (16:22 +0000)]
Sync with HEAD:
- Move working VFS modules to source/
- Move documentation to SGML
Jelmer Vernooij [Mon, 18 Nov 2002 16:22:04 +0000 (16:22 +0000)]
Merge in modules system from HEAD:
- Detect MySQL and XML libraries
- Add modules rules to Makefile
- Move working VFS modules to source/
Gerald Carter [Mon, 18 Nov 2002 16:00:12 +0000 (16:00 +0000)]
bad date string in specfile
Gerald Carter [Mon, 18 Nov 2002 15:59:04 +0000 (15:59 +0000)]
sync packaging changes with SAMBA_3_0
Jelmer Vernooij [Mon, 18 Nov 2002 15:52:01 +0000 (15:52 +0000)]
Add scripts for modules make rule
Gerald Carter [Mon, 18 Nov 2002 15:47:48 +0000 (15:47 +0000)]
use ${RPM} for rpm v4.1
Gerald Carter [Mon, 18 Nov 2002 15:45:06 +0000 (15:45 +0000)]
formatting fix
Gerald Carter [Mon, 18 Nov 2002 15:17:35 +0000 (15:17 +0000)]
use
Jeremy Allison [Mon, 18 Nov 2002 06:12:47 +0000 (06:12 +0000)]
Samba janitor... Merging tridge's change to 3.0. Original commit
message :
the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'
This changes fixes things again, by checking for reload after we setup
current_user in tconx.
Andrew Tridgell [Mon, 18 Nov 2002 03:11:59 +0000 (03:11 +0000)]
the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'
This changes fixes things again, by checking for reload after we setup
current_user in tconx.
Tim Potter [Sun, 17 Nov 2002 01:14:30 +0000 (01:14 +0000)]
Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
headers.
Tim Potter [Sun, 17 Nov 2002 00:01:51 +0000 (00:01 +0000)]
Added for the people who want to use Windows XP with plaintext
passwords. From dcb.
cvs2svn Import User [Sat, 16 Nov 2002 23:59:58 +0000 (23:59 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Tim Potter [Sat, 16 Nov 2002 23:59:57 +0000 (23:59 +0000)]
Added for the people who want to use Windows XP with plaintext
passwords. From dcb.
Jelmer Vernooij [Sat, 16 Nov 2002 02:23:34 +0000 (02:23 +0000)]
Update docs status document
Jelmer Vernooij [Sat, 16 Nov 2002 02:17:23 +0000 (02:17 +0000)]
Update for 3.0