cvs2svn Import User [Wed, 11 Dec 2002 15:09:08 +0000 (15:09 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-2-7a'.
Gerald Carter [Wed, 11 Dec 2002 15:09:07 +0000 (15:09 +0000)]
s/localhost/127.0.0.1/
Gerald Carter [Wed, 11 Dec 2002 15:01:46 +0000 (15:01 +0000)]
setting version
Herb Lewis [Tue, 10 Dec 2002 22:59:04 +0000 (22:59 +0000)]
fix spelling typo
Herb Lewis [Tue, 10 Dec 2002 21:59:37 +0000 (21:59 +0000)]
update for smbtar fix
Herb Lewis [Tue, 10 Dec 2002 21:57:18 +0000 (21:57 +0000)]
fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
Herb Lewis [Tue, 10 Dec 2002 21:08:06 +0000 (21:08 +0000)]
not in 2.2 tree
Herb Lewis [Tue, 10 Dec 2002 20:13:58 +0000 (20:13 +0000)]
fix for smbclient giving wrong size on files over 4GB - merge from 2.2
Herb Lewis [Tue, 10 Dec 2002 17:42:04 +0000 (17:42 +0000)]
sync with the latest from SAMBA_2_2
Gerald Carter [Tue, 10 Dec 2002 16:35:40 +0000 (16:35 +0000)]
sync with SAMBA_2_2 for 2.2.7a
Gerald Carter [Wed, 20 Nov 2002 14:57:31 +0000 (14:57 +0000)]
new WHATSNEW for 2.2.7
Gerald Carter [Wed, 20 Nov 2002 02:10:23 +0000 (02:10 +0000)]
set version number
Gerald Carter [Wed, 20 Nov 2002 02:00:09 +0000 (02:00 +0000)]
sync from SAMBA_2_2
Gerald Carter [Tue, 19 Nov 2002 19:41:49 +0000 (19:41 +0000)]
sync with SAMBA_2_2
Samba Release Account [Thu, 17 Oct 2002 02:34:02 +0000 (02:34 +0000)]
preparing for release of 2.2.6
Gerald Carter [Thu, 17 Oct 2002 02:21:24 +0000 (02:21 +0000)]
fix typo in RedHat specfile
Gerald Carter [Thu, 17 Oct 2002 01:53:32 +0000 (01:53 +0000)]
fix typo in RedHat specfile
Gerald Carter [Thu, 17 Oct 2002 01:45:11 +0000 (01:45 +0000)]
sync from SAMBA_2_2
Gerald Carter [Wed, 16 Oct 2002 21:50:44 +0000 (21:50 +0000)]
sync with SAMBA_2_2
Gerald Carter [Wed, 16 Oct 2002 19:12:09 +0000 (19:12 +0000)]
preparing for final 2.2.6 release
Samba Release Account [Wed, 16 Oct 2002 04:38:36 +0000 (04:38 +0000)]
preparing for release of 2.2.6rc4
Gerald Carter [Wed, 16 Oct 2002 04:06:20 +0000 (04:06 +0000)]
sync with SAMBA_2_2
Gerald Carter [Tue, 15 Oct 2002 21:42:41 +0000 (21:42 +0000)]
sync with SAMBA_2_2 for rc4
Gerald Carter [Tue, 15 Oct 2002 21:36:48 +0000 (21:36 +0000)]
updating whatsnew and merging from SAMBA_2_2
Samba Release Account [Fri, 11 Oct 2002 21:07:13 +0000 (21:07 +0000)]
preparing for release of 2.2.6rc3
Gerald Carter [Fri, 11 Oct 2002 21:01:46 +0000 (21:01 +0000)]
sync with SAMBA_2_2 for 2.2.6rc3
Samba Release Account [Thu, 10 Oct 2002 02:45:22 +0000 (02:45 +0000)]
preparing for release of 2.2.6rc2
Gerald Carter [Thu, 10 Oct 2002 02:39:03 +0000 (02:39 +0000)]
sync for rc2 :-( (forgot the LDAP fix)
Gerald Carter [Wed, 9 Oct 2002 21:00:30 +0000 (21:00 +0000)]
always check for missing files
Samba Release Account [Wed, 9 Oct 2002 20:38:22 +0000 (20:38 +0000)]
preparing for release of 2.2.6rc1
Gerald Carter [Wed, 9 Oct 2002 20:26:20 +0000 (20:26 +0000)]
more merges from SAMBA_2_2
Gerald Carter [Wed, 9 Oct 2002 20:20:28 +0000 (20:20 +0000)]
getting ready for rc1
Gerald Carter [Wed, 9 Oct 2002 19:50:33 +0000 (19:50 +0000)]
sync with SAMBA_2_2 for 2.2.6rc1
cvs2svn Import User [Tue, 1 Oct 2002 05:55:26 +0000 (05:55 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_2_2_RELEASE'.
Jeremy Allison [Tue, 1 Oct 2002 05:55:25 +0000 (05:55 +0000)]
Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
Jeremy Allison [Tue, 1 Oct 2002 02:11:26 +0000 (02:11 +0000)]
Tidy up client error processing.
Jeremy.
Jeremy Allison [Tue, 1 Oct 2002 01:43:09 +0000 (01:43 +0000)]
Fixed typo.
Jeremy.
Jeremy Allison [Tue, 1 Oct 2002 01:33:05 +0000 (01:33 +0000)]
Added error string for server timeout on client call.
Jeremy.
Gerald Carter [Tue, 1 Oct 2002 01:06:37 +0000 (01:06 +0000)]
fixing typos spotted by eagle-eye-vance
Jeremy Allison [Mon, 30 Sep 2002 23:16:42 +0000 (23:16 +0000)]
Fix memory leak in getting DC list. Remember to exclude failed lookups.
Jeremy.
Gerald Carter [Mon, 30 Sep 2002 21:55:17 +0000 (21:55 +0000)]
* adding some notes on the wins failover stuff
* fixing some typos after running printing.sgml through ispell
Jeremy Allison [Mon, 30 Sep 2002 21:14:46 +0000 (21:14 +0000)]
Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
Gerald Carter [Mon, 30 Sep 2002 21:07:37 +0000 (21:07 +0000)]
* working on Makefile
* converting printing internal doc to SGML
Gerald Carter [Mon, 30 Sep 2002 20:21:00 +0000 (20:21 +0000)]
missed one txt rule.
Gerald Carter [Mon, 30 Sep 2002 20:18:12 +0000 (20:18 +0000)]
* add the Developers guide to the repository
* fix syntax errors in developer's docs
* update Makefile.in to place HTML files in htmldocs & text
files in textdocs/
Gerald Carter [Mon, 30 Sep 2002 19:52:11 +0000 (19:52 +0000)]
more updates--printing backend inmterface & Print queue tdb's
Gerald Carter [Mon, 30 Sep 2002 16:51:35 +0000 (16:51 +0000)]
more details opn change notification
Gerald Carter [Mon, 30 Sep 2002 15:25:40 +0000 (15:25 +0000)]
README.OtherModules
Gerald Carter [Mon, 30 Sep 2002 15:18:59 +0000 (15:18 +0000)]
fix logic error in testparm with wins servers
Volker Lendecke [Mon, 30 Sep 2002 06:45:58 +0000 (06:45 +0000)]
Second part of my fix -- incorrect merge.
John Terpstra [Mon, 30 Sep 2002 05:39:33 +0000 (05:39 +0000)]
Added from samba mailing lists. Might help someone one day.
Jeremy Allison [Mon, 30 Sep 2002 05:19:43 +0000 (05:19 +0000)]
Don't zero out numwritten before using.... Found by Pierre Belanger belanger@pobox.com
Jeremy.
Gerald Carter [Mon, 30 Sep 2002 04:58:55 +0000 (04:58 +0000)]
This is an initial draft of printing internals. Not done (not really
even started), and not in SGML. Plain ASCII right now, but I'll do some
more work on it tomorrow.
Andrew Bartlett [Mon, 30 Sep 2002 02:28:28 +0000 (02:28 +0000)]
Fix the compile issue in bin/samtest, and make the 'system' token just have the
System sid. This avoids comparing with ACEs that we don't yet support in the
ADS Domain security descriptor.
Volker Lendecke [Sun, 29 Sep 2002 10:53:47 +0000 (10:53 +0000)]
Some more work on vampire.
Volker
Volker Lendecke [Sun, 29 Sep 2002 10:39:03 +0000 (10:39 +0000)]
We have to hand out info on Builtin here as well. They are stored in
group mapping not as local, but as WKN_GRP.
Volker
Richard Sharpe [Sun, 29 Sep 2002 06:44:13 +0000 (06:44 +0000)]
Make sure that variable does not shadow a parameter.
Andrew Bartlett [Sun, 29 Sep 2002 06:07:58 +0000 (06:07 +0000)]
Remove sam/api.c.
In order to reduce complexity, this patch removes the upper layer of the SAM
API. Also, we remove the function pointers on the sam context - there really
is no point making these replaceable - that's for the modules.
Move a number of functions in include/interface.c around to allow for use of
'static' and to keep the external API in one chunk, at the bottem. All these
functions were renamed to remove the context_sam -> sam
Consequential changes in the samtest module, and back out metze's change for
ACB filtering, becouse I think it belongs in the SAM backeds. (But I will take
debate on this one).
Changes to the lib/util_sid.c code to create a 'system' token, and make it a
SAM_ASSERT() enforced requirement to have a token on those calls that specify
it. samtest now uses this.
We should have a samtest call to set your own token.
We also need to extend our se_access code to cover the things that Win2k is
returning in it's access tokens. Currently our system token doesn't pass, due
to unexpected flags. (When running sam_ads against Win2k)
Andrew Bartlett
Andrew Bartlett [Sun, 29 Sep 2002 01:01:44 +0000 (01:01 +0000)]
Updates for sam_ads by metze - add the start of domain policy searching, and a
small fix for the previous merge.
Andrew Bartlett
Jelmer Vernooij [Sat, 28 Sep 2002 22:58:44 +0000 (22:58 +0000)]
Fix 'plugin' command
Jelmer Vernooij [Sat, 28 Sep 2002 22:54:16 +0000 (22:54 +0000)]
Fix typos + report FIXME
Jelmer Vernooij [Sat, 28 Sep 2002 21:17:33 +0000 (21:17 +0000)]
Patch from metze to fix enum_accounts
John Terpstra [Sat, 28 Sep 2002 20:44:23 +0000 (20:44 +0000)]
Fixing path to libsmbclient.h so it never gets crossed with a system installed one.
Jelmer Vernooij [Sat, 28 Sep 2002 20:09:30 +0000 (20:09 +0000)]
Include ../include/libsmbclient.h instead of just libsmbclient.h - we don't want to include the globally installed libsmbclient.h - found by jht
Volker Lendecke [Sat, 28 Sep 2002 15:01:58 +0000 (15:01 +0000)]
Ok, hopefully final fix for this one. abartlet told a bit about the
history.
Volker
Andrew Bartlett [Sat, 28 Sep 2002 14:42:32 +0000 (14:42 +0000)]
Try to compile as much as possible with only ldap, but not kerberos.
Andrew Bartlett [Sat, 28 Sep 2002 14:41:12 +0000 (14:41 +0000)]
Forgot to commit this in the patch changing back the create_user API.
Andrew Bartlett [Sat, 28 Sep 2002 14:26:19 +0000 (14:26 +0000)]
Back out one of the API changes, now I recall how it was meant to work.
(New accounts are created on thier internal talloc context, not a supplied one
and not the one beloning to the SAM)
Also actaully add the sam_skel to the tree.
I need to work out with Jelmer an appropriate way to ensure we still have an
example external build, and if this should move back out again.
Andrew Bartlett
Andrew Bartlett [Sat, 28 Sep 2002 13:29:51 +0000 (13:29 +0000)]
Second stab at Volker's 'make shadow passwords work' patch.
Basicly, the password and the salt must be taken from the same place in both
passwd and shadow based systems. Taking salt from one, and password from the
other just doesn't work.
So pull them from passwd, then overwrite them if need be.
When modifying this file, watch the #ifdef hell - as vl found out, some
variables are globals - but only with #ifndef WITH_PAM, and the code jumps all
over the place with the password cracker.
Getting double-reviews of any change to this file highly advised, it is one of
our most system-specifc areas of code.
(So now I get to take the blame for this one... :-)
Andrew Bartlett
Andrew Bartlett [Sat, 28 Sep 2002 12:27:04 +0000 (12:27 +0000)]
Add the beginings of sam_ads to the tree.
This module, primarilly the work of "Stefan (metze) Metzmacher"
<metze@metzemix.de>, uses the Active Directory schema to store the
user/group/other information. I've been testing it against a real AD server,
and it is intended to work with OpenLDAP as well.
I've moved a few functions around in our other libads code, which has made it
easier to tap into that existing code.
Also, I've made some changes to the SAM interface, I hope there are not too
many objections... To ensure we don't get silly bugs in the skel module, it
is now in the default compile. This way you should not forget to update it :-)
Andrew Bartlett
Volker Lendecke [Sat, 28 Sep 2002 12:14:17 +0000 (12:14 +0000)]
Thanks to abartlet I looked at that function a bit closer. What did
the first cli_push_string do? I suspect that it's a leftover from times
when the password length was needed at some point.
Volker
Andrew Bartlett [Sat, 28 Sep 2002 12:11:19 +0000 (12:11 +0000)]
Add const.
Richard Sharpe [Sat, 28 Sep 2002 03:38:37 +0000 (03:38 +0000)]
Commit a fix to smbclient so that it will connect to EMCs and NetApp's machines.
Andrew Bartlett [Sat, 28 Sep 2002 00:47:06 +0000 (00:47 +0000)]
This needs to be #ifdef HAVE_LDAP.
Andrew Bartlett [Sat, 28 Sep 2002 00:12:49 +0000 (00:12 +0000)]
Add const.
Andrew Bartlett [Fri, 27 Sep 2002 23:56:20 +0000 (23:56 +0000)]
Back our volker's patch as was breaking the build.
Volker, I would like to understand what you are trying to do here...
I'll trust that it's broken (this code is certainly not well tested) but I do
want to keep a close eye on the fixes...
Andrew Bartlett
Jeremy Allison [Fri, 27 Sep 2002 22:51:59 +0000 (22:51 +0000)]
It turns out that Windows allows delete printer on a handle
opened by an admin user, then used on a pipe handle created
by an anonymous user..... but they're working on security.... riiight !
Jeremy.
Jeremy Allison [Fri, 27 Sep 2002 22:08:25 +0000 (22:08 +0000)]
Check for security on delete printer was reversed...
Jeremy.
Jeremy Allison [Fri, 27 Sep 2002 18:49:35 +0000 (18:49 +0000)]
HEAD and APP-HEAD spoolss parsing was out of sync. This MUST NOT HAPPEN !
Jeremy.
Volker Lendecke [Fri, 27 Sep 2002 16:51:22 +0000 (16:51 +0000)]
Touching somebody else's code again... Sorry, Richard.
smbclient would announce that it can send UNICODE, but would send the
plain text password in ASCII. This confused Samba HEAD somewhat. This
change has been tested against Samba HEAD of today and Samba 2.2.1a. I
do not have any other servers that do plain text passwords. Anybody?
Volker
Jelmer Vernooij [Fri, 27 Sep 2002 16:45:57 +0000 (16:45 +0000)]
Apply Vance Lankhaars' cifs2002 documentation patch - mostly grammar and
English typo fixes and updates of documentation
Volker Lendecke [Fri, 27 Sep 2002 16:20:09 +0000 (16:20 +0000)]
Sorry to touch such an internal function. But I was quite surprised that
'security = user', 'encrypt passwords = no' did not work anymore.
This is on quite a standard SuSE 7.3, ./configure.developer --with-tdbsam.
I can provide a config.log / config.h on demand.
Please re-check for consequences, I don't really oversee that file.
Thanks,
Volker
Andrew Bartlett [Fri, 27 Sep 2002 12:23:47 +0000 (12:23 +0000)]
Move a number of ADS related functions out into utility libs, so that things
like metze's sam_ads can also use them.
Also add error checking etc to a few more functions.
Andrew Bartlett
Volker Lendecke [Fri, 27 Sep 2002 09:47:02 +0000 (09:47 +0000)]
An example of a group creation command that can handle failures
of groupadd.
Volker
Volker Lendecke [Fri, 27 Sep 2002 07:02:43 +0000 (07:02 +0000)]
Do not update manpages directly...
Andrew Bartlett [Fri, 27 Sep 2002 06:45:23 +0000 (06:45 +0000)]
Doco patch from metze. This reformats the 'ldap ssl' docs, and add doco for
the new 'ldap passwd sync' option.
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 05:29:43 +0000 (05:29 +0000)]
Vance picked up a pile of typos etc at the CIFS confernce, and finally got them
off his laptop :-)
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 04:33:58 +0000 (04:33 +0000)]
Minor updates:
Add const to some more functions, and reintroduce 'net rpc join oldstyle' as
*only* trying an old-style join.
This means that we can rely on it not prompting for a password on the build
farm.
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 03:05:20 +0000 (03:05 +0000)]
Some small cleanups to the libads code (mainly error checking), and give a
sane prototype for the push_utf8_allocate code.
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 02:13:07 +0000 (02:13 +0000)]
I missed committing this - all updates to configure.in adding --with-foo
options need a matching entry in acconfig.h to actually do anything...
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 02:11:54 +0000 (02:11 +0000)]
Fix typo
Andrew Bartlett [Fri, 27 Sep 2002 02:09:57 +0000 (02:09 +0000)]
When compiled --with-ldapsam, make ldapsam the default passdb backend.
This is to allow painless upgrades from 2.2, and so people don't get a shock
when they follow old docs.
If ldap has been detected on the system, ldapsam is always available, just not
the default.
Andrew Bartlett
Andrew Bartlett [Fri, 27 Sep 2002 01:02:37 +0000 (01:02 +0000)]
Readd the 2.2 --with-ldapsam paramaters so as to allow a smooth upgrade path to
a 3.0 based PDC.
Change defaults to use SSL, so that this also matches.
Andrew Bartlett
Jeremy Allison [Thu, 26 Sep 2002 21:00:25 +0000 (21:00 +0000)]
Make explicit the difference between a tdb key with no data attached, and
a non existent entry. Stop a malloc(0) being called in the first case.
Jeremy.
Gerald Carter [Thu, 26 Sep 2002 20:39:53 +0000 (20:39 +0000)]
tagging version as post3.0-HEAD to differentiate from the SAMBA_3_0
branch.
Gerald Carter [Thu, 26 Sep 2002 20:38:20 +0000 (20:38 +0000)]
add -r to usage output
Samba Release Account [Thu, 26 Sep 2002 19:45:29 +0000 (19:45 +0000)]
preparing for release of 3.0alpha20
Gerald Carter [Thu, 26 Sep 2002 18:57:58 +0000 (18:57 +0000)]
sync with SAMBA_3_0
Jelmer Vernooij [Thu, 26 Sep 2002 15:20:11 +0000 (15:20 +0000)]
Fix segfault in sam_context_enum_domains - reported by Kai
Jelmer Vernooij [Thu, 26 Sep 2002 15:11:47 +0000 (15:11 +0000)]
Don't define PASS_MUST_CHANGE_AT_NEXT_LOGON twice..