Andrew Bartlett [Fri, 17 Oct 2008 01:41:02 +0000 (12:41 +1100)]
Fix errrors in new password handling code found by RPC-SAMR.
I'm very glad we have such a comprehensive testsuite for the SAMR
password change process, as it makes this a much easier task to get
right.
Andrew Bartlett
Andrew Bartlett [Thu, 16 Oct 2008 01:48:16 +0000 (12:48 +1100)]
Create a 'straight paper path' for UTF16 passwords.
This uses a virtual attribute 'clearTextPassword' (name chosen to
match references in MS-SAMR) that contains the length-limited blob
containing an allegidly UTF16 password. This ensures we do no
validation or filtering of the password before we get a chance to MD4
it. We can then do the required munging into UTF8, and in future
implement the rules Microsoft has provided us with for invalid inputs.
All layers in the process now deal with the strings as length-limited
inputs, incluing the krb5 string2key calls.
This commit also includes a small change to samdb_result_passwords()
to ensure that LM passwords are not returned to the application logic
if LM authentication is disabled.
The objectClass module has been modified to allow the
clearTextPassword attribute to pass down the stack.
Andrew Bartlett
Andrew Bartlett [Thu, 16 Oct 2008 01:31:19 +0000 (12:31 +1100)]
Move the password_hash module up the module stack.
This makes it operate in all partitions (minor), but more importantly
places it above some other modules that implement some extra schema
checks. (The linked_attributes module objects to unknown attributes,
which inclues clearTextPassword, which we need internally but is not
in the schema).
Andrew Bartlett
Andrew Bartlett [Thu, 16 Oct 2008 01:26:03 +0000 (12:26 +1100)]
Assert that the server provides allowedAttributes (etc) on each entry
This attribute is critical for the operation of nearly all the
Microsoft Mangement Console tools
Andrew Bartlett
Günther Deschner [Wed, 15 Oct 2008 19:42:59 +0000 (21:42 +0200)]
s3: fix s3 winreg server after idl changes.
Guenther
Günther Deschner [Wed, 15 Oct 2008 19:32:49 +0000 (21:32 +0200)]
s3-build: re-run make samba3-idl after winreg changes.
Guenther
Günther Deschner [Wed, 15 Oct 2008 19:32:01 +0000 (21:32 +0200)]
idl: finally fully share nbt.idl in s3 and s4.
Guenther
Günther Deschner [Thu, 9 Oct 2008 09:05:42 +0000 (11:05 +0200)]
kerberos: fix some heimdal build warnings.
Guenther
Günther Deschner [Wed, 15 Oct 2008 18:46:35 +0000 (20:46 +0200)]
idl: more lsa.idl merges.
Guenther
Günther Deschner [Wed, 15 Oct 2008 17:54:17 +0000 (19:54 +0200)]
s4: fix registry/rpc.c after winreg changes.
jelmer, can you check if this is ok?
Guenther
Günther Deschner [Wed, 15 Oct 2008 17:33:37 +0000 (19:33 +0200)]
s4: merge from s3 lsa idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 17:33:16 +0000 (19:33 +0200)]
s3: fix s3 lsa server.
Guenther
Günther Deschner [Wed, 15 Oct 2008 16:49:03 +0000 (18:49 +0200)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 16:47:20 +0000 (18:47 +0200)]
s3: merge some more lsa bits from s4 idl.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 15:48:25 +0000 (17:48 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Günther Deschner [Wed, 15 Oct 2008 15:42:33 +0000 (17:42 +0200)]
s4: merge from s3 samr.idl.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 15:38:51 +0000 (17:38 +0200)]
Sync parameter names with samba 3.
Jelmer Vernooij [Wed, 15 Oct 2008 15:34:55 +0000 (17:34 +0200)]
winreg.idl: Sync ref change from Samba 3.
Günther Deschner [Wed, 15 Oct 2008 15:32:58 +0000 (17:32 +0200)]
s4: fix smbtorture build with merged wksvcs idl.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 15:19:46 +0000 (17:19 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Günther Deschner [Wed, 15 Oct 2008 15:10:53 +0000 (17:10 +0200)]
s3: fix various samr callers.
Guenther
Günther Deschner [Wed, 15 Oct 2008 15:10:16 +0000 (17:10 +0200)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 15:09:43 +0000 (17:09 +0200)]
s3: merge from s4 samr.idl.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 15:04:19 +0000 (17:04 +0200)]
Fix wkssvc test build.
Jelmer Vernooij [Wed, 15 Oct 2008 14:54:28 +0000 (16:54 +0200)]
Re-run pidl.
Jelmer Vernooij [Wed, 15 Oct 2008 14:54:01 +0000 (16:54 +0200)]
lsa.idl: Sync a couple more constants from Samba 4.
Jelmer Vernooij [Wed, 15 Oct 2008 14:48:53 +0000 (16:48 +0200)]
Share wkssvc.idl.
Jelmer Vernooij [Wed, 15 Oct 2008 14:37:27 +0000 (16:37 +0200)]
Share eventlog.idl.
Jelmer Vernooij [Wed, 15 Oct 2008 14:25:06 +0000 (16:25 +0200)]
Rename reboot -> do_reboot since the first is a reserved name on FreeBSD.
Jelmer Vernooij [Wed, 15 Oct 2008 14:16:26 +0000 (16:16 +0200)]
Re-run pidl.
Jelmer Vernooij [Wed, 15 Oct 2008 14:16:01 +0000 (16:16 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Wed, 15 Oct 2008 14:15:20 +0000 (16:15 +0200)]
Add [public] and [todo] as in Samba 4.
Günther Deschner [Wed, 15 Oct 2008 14:14:15 +0000 (16:14 +0200)]
s3: fix samlogon client and server calls.
Guenther
Günther Deschner [Wed, 15 Oct 2008 14:13:40 +0000 (16:13 +0200)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 14:11:17 +0000 (16:11 +0200)]
idl: merge netlogon IDL between s3 and s4 wrt LogonSamLogon.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 14:13:02 +0000 (16:13 +0200)]
Share initshutdown.idl.
Jelmer Vernooij [Wed, 15 Oct 2008 13:57:39 +0000 (15:57 +0200)]
Share xattr implementation.
Jelmer Vernooij [Wed, 15 Oct 2008 13:31:49 +0000 (15:31 +0200)]
Share epmapper.
Jelmer Vernooij [Wed, 15 Oct 2008 13:18:26 +0000 (15:18 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Wed, 15 Oct 2008 13:17:41 +0000 (15:17 +0200)]
Re-add [todo] tags.
Jelmer Vernooij [Wed, 15 Oct 2008 13:17:31 +0000 (15:17 +0200)]
Fix include flags for merged build.
Günther Deschner [Wed, 15 Oct 2008 13:14:46 +0000 (15:14 +0200)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 13:14:00 +0000 (15:14 +0200)]
idl: more netlogon merges between s3 and s4.
Guenther
Günther Deschner [Wed, 15 Oct 2008 12:16:31 +0000 (14:16 +0200)]
s4-idl: merge netlogon bits from s3.
Guenther
Günther Deschner [Wed, 15 Oct 2008 12:15:57 +0000 (14:15 +0200)]
s4-idl: merge lsa_BinaryString from s3.
Guenther
Günther Deschner [Wed, 15 Oct 2008 10:03:12 +0000 (12:03 +0200)]
share ntsvcs.idl.
Guenther
Günther Deschner [Wed, 15 Oct 2008 09:10:44 +0000 (11:10 +0200)]
move svcctl to main idl directory.
Guenther
Günther Deschner [Wed, 15 Oct 2008 09:27:19 +0000 (11:27 +0200)]
s3-build: add regenerated files.
Guenther
Günther Deschner [Wed, 15 Oct 2008 09:26:33 +0000 (11:26 +0200)]
s3-libgpo: fix build for security cse.
Guenther
Günther Deschner [Wed, 15 Oct 2008 09:25:32 +0000 (11:25 +0200)]
s3-build: fix make samba3-idl.
Guenther
Jelmer Vernooij [Wed, 15 Oct 2008 00:54:39 +0000 (02:54 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Wed, 15 Oct 2008 00:52:10 +0000 (02:52 +0200)]
Fix includes.
Jelmer Vernooij [Wed, 15 Oct 2008 00:33:16 +0000 (02:33 +0200)]
Share security.idl.
Tim Prouty [Tue, 7 Oct 2008 01:55:21 +0000 (18:55 -0700)]
Fixed "argument differ in signedness" warning on linux
Jelmer Vernooij [Wed, 15 Oct 2008 00:08:24 +0000 (02:08 +0200)]
Share misc.idl.
Jelmer Vernooij [Wed, 15 Oct 2008 00:06:41 +0000 (02:06 +0200)]
Also check include dirs for IDL files.
Jelmer Vernooij [Tue, 14 Oct 2008 23:53:09 +0000 (01:53 +0200)]
Share idl_types.h.
Jelmer Vernooij [Tue, 14 Oct 2008 23:48:02 +0000 (01:48 +0200)]
Regenerated pidl output.
Jelmer Vernooij [Tue, 14 Oct 2008 23:33:47 +0000 (01:33 +0200)]
Sync misc.idl with Samba 4.
Jelmer Vernooij [Tue, 14 Oct 2008 23:30:11 +0000 (01:30 +0200)]
Fix typo.
Jelmer Vernooij [Tue, 14 Oct 2008 23:23:36 +0000 (01:23 +0200)]
Move shared DCE/RPC IDL files to root IDL dir.
Jelmer Vernooij [Tue, 14 Oct 2008 23:15:58 +0000 (01:15 +0200)]
Allow specifying the exact IDL files to build.
Jelmer Vernooij [Tue, 14 Oct 2008 23:11:56 +0000 (01:11 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 23:11:18 +0000 (01:11 +0200)]
Fix installation of libndr.h
Jeremy Allison [Tue, 14 Oct 2008 23:09:17 +0000 (16:09 -0700)]
Attempt to fix bug #5818 - "smbcacls: sorts ACEs improperly and loses inheritance", based on
a patch from Paul Fertser <fercerpav@gmail.com>. I also added the ability to get/set hex
and symbolic inheritance flag names on ACE flags. I'm still investigating the effects
of setting the "SEC_DESC_DACL_AUTO_INHERIT_REQ" flag as I don't yet see what effects
this is having on the ACE sent.
Jeremy.
Jelmer Vernooij [Tue, 14 Oct 2008 23:04:13 +0000 (01:04 +0200)]
Build zlib (required for ndr_compression) if it's not pulled in through
other means.
Jeremy Allison [Tue, 14 Oct 2008 22:39:02 +0000 (15:39 -0700)]
Note url explaining this code.
Jeremy.
Jelmer Vernooij [Tue, 14 Oct 2008 22:35:13 +0000 (00:35 +0200)]
Share libndr.h between Samba 3 and Samba 4.
Jelmer Vernooij [Tue, 14 Oct 2008 22:15:34 +0000 (00:15 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 22:14:58 +0000 (00:14 +0200)]
Fix include path.
Jelmer Vernooij [Tue, 14 Oct 2008 22:09:08 +0000 (00:09 +0200)]
Remove unused variable.
Jelmer Vernooij [Tue, 14 Oct 2008 21:59:58 +0000 (23:59 +0200)]
Fix include path.
Jelmer Vernooij [Tue, 14 Oct 2008 21:52:20 +0000 (23:52 +0200)]
Share ndr_krb5pac implementation.
Jelmer Vernooij [Tue, 14 Oct 2008 21:49:13 +0000 (23:49 +0200)]
Compile lzcompress (required for ndr_compression)
Jelmer Vernooij [Tue, 14 Oct 2008 21:46:34 +0000 (23:46 +0200)]
Share ndr_compression.c.
Jelmer Vernooij [Tue, 14 Oct 2008 21:37:55 +0000 (23:37 +0200)]
Remove unused file.
Jelmer Vernooij [Tue, 14 Oct 2008 21:25:12 +0000 (23:25 +0200)]
Fix merged build .
Jelmer Vernooij [Tue, 14 Oct 2008 20:43:29 +0000 (22:43 +0200)]
Fix pkg-config file location.
Jelmer Vernooij [Tue, 14 Oct 2008 20:41:02 +0000 (22:41 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 14 Oct 2008 20:40:21 +0000 (22:40 +0200)]
Move make check out of cache call to avoid weird formatting.
Jelmer Vernooij [Tue, 14 Oct 2008 20:39:19 +0000 (22:39 +0200)]
Give the user a hint about whether a merged build would be possible.
Jelmer Vernooij [Tue, 14 Oct 2008 20:37:10 +0000 (22:37 +0200)]
Make check_*.m4 m4 library files just contain functions that can be
executed from other m4 files.
Jelmer Vernooij [Tue, 14 Oct 2008 20:27:07 +0000 (22:27 +0200)]
Move checks for perl inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:26:54 +0000 (22:26 +0200)]
Move checks for make inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:26:39 +0000 (22:26 +0200)]
Move tests for Python inside function.
Jelmer Vernooij [Tue, 14 Oct 2008 20:20:36 +0000 (22:20 +0200)]
Fix path check.
Jelmer Vernooij [Tue, 14 Oct 2008 19:46:58 +0000 (21:46 +0200)]
Allow auto-detect if --enable-merged-build was not specified.
Simo Sorce [Tue, 14 Oct 2008 16:25:18 +0000 (12:25 -0400)]
Fix very old bug in ASQ
Günther Deschner [Tue, 14 Oct 2008 13:36:31 +0000 (15:36 +0200)]
s3-build: add and use IDL_PATH while building IDL files.
Guenther
Jelmer Vernooij [Tue, 14 Oct 2008 14:23:46 +0000 (16:23 +0200)]
Move ndr pkg-config file to top-level.
Jelmer Vernooij [Tue, 14 Oct 2008 14:21:26 +0000 (16:21 +0200)]
Remove unused file.
Jelmer Vernooij [Tue, 14 Oct 2008 13:57:26 +0000 (15:57 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Tue, 14 Oct 2008 13:57:03 +0000 (15:57 +0200)]
Remove unused types.
Jelmer Vernooij [Tue, 14 Oct 2008 13:43:04 +0000 (15:43 +0200)]
Sync with Samba 3.
Jelmer Vernooij [Tue, 14 Oct 2008 13:27:27 +0000 (15:27 +0200)]
Remove unused structures.
Jelmer Vernooij [Tue, 14 Oct 2008 13:16:40 +0000 (15:16 +0200)]
Remove unused header file.
Günther Deschner [Tue, 14 Oct 2008 11:36:15 +0000 (13:36 +0200)]
s3-build: fix init_samba_module missing proto warning.
Guenther
Volker Lendecke [Tue, 14 Oct 2008 11:29:03 +0000 (13:29 +0200)]
Add the oplock-batch25 test showing that a writeattr does not break an oplock
Probably that's already somewhere else, but I did not find it.
Volker Lendecke [Tue, 14 Oct 2008 11:28:06 +0000 (13:28 +0200)]
Remove unused stuff
Holger Hetterich [Tue, 14 Oct 2008 08:45:09 +0000 (10:45 +0200)]
Fix the "Premature end of data in tag" error when buiding the manpage, fix a typo in the text, add an example for anonymization usage.