nivanova/samba-autobuild/.git
13 years agontprinting: add ntprinting.idl.
Günther Deschner [Tue, 11 May 2010 22:26:24 +0000 (00:26 +0200)]
ntprinting: add ntprinting.idl.

This generates convenient unmarshalling routines for pulling out spoolss related
information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb.

Guenther

13 years agowafsamba: use -D_XOPEN_SOURCE=700 for the build
Stefan Metzmacher [Fri, 14 May 2010 11:21:30 +0000 (13:21 +0200)]
wafsamba: use -D_XOPEN_SOURCE=700 for the build

Some systems set this automaticly via -D_GNU_SOURCE=1,
but on others we need to set it ourself (e.g. Mac OS 10.4)

metze

13 years agos3-libsmb: fix typo in remote_password_change().
Günther Deschner [Wed, 12 May 2010 19:41:52 +0000 (21:41 +0200)]
s3-libsmb: fix typo in remote_password_change().

Guenther

13 years agos3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
Günther Deschner [Thu, 13 May 2010 00:27:29 +0000 (02:27 +0200)]
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.

Otherwise the NOTERM case is not reachable for ascii strings (only utf16).

With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;

Guenther

13 years agos4:heimdal_build: move #undef __APPLE__ to the end of roken.h
Stefan Metzmacher [Fri, 14 May 2010 08:35:46 +0000 (10:35 +0200)]
s4:heimdal_build: move #undef __APPLE__ to the end of roken.h

Some system includes need __APPLE__ defined.

metze

13 years agoNow we behave as Windows does, remove a Samba3 specific test return.
Jeremy Allison [Fri, 14 May 2010 04:27:24 +0000 (21:27 -0700)]
Now we behave as Windows does, remove a Samba3 specific test return.

Jeremy.

13 years agoFix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Jeremy Allison [Thu, 13 May 2010 22:59:09 +0000 (15:59 -0700)]
Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.

The end_data argument to smbd_dirptr_lanman2_entry() must include
the safety margin, as internally it's actually used to allow detection
of string name pushes that were truncated. Ensure space_remaining can
never go negative due to padding.

Jeremy.

13 years agos4:domainlevel - handle exceptions more precisely
Matthias Dieter Wallnöfer [Thu, 13 May 2010 20:35:06 +0000 (22:35 +0200)]
s4:domainlevel - handle exceptions more precisely

LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the
"msDS-Behavior-Version" was already raised by the first change as it is on
Windows Server.

When s4 itself does implement this trigger then we don't need to do the
second write operation anymore (they're kept in sync).

13 years agoBe more forgiving on client oplock break failure (as Windows does). Remove a global.
Jeremy Allison [Thu, 13 May 2010 18:33:02 +0000 (11:33 -0700)]
Be more forgiving on client oplock break failure (as Windows does). Remove a global.

Jeremy.

13 years agoTreat an open of stream ::$DATA as an open of the base file.
Jeremy Allison [Thu, 13 May 2010 17:54:15 +0000 (10:54 -0700)]
Treat an open of stream ::$DATA as an open of the base file.
This fixes a class of SMB_ASSERT failures when doing stream tests.

Jeremy.

13 years agos3:build: build smbtorture4 when the merged build is selected
Stefan Metzmacher [Thu, 13 May 2010 17:30:46 +0000 (19:30 +0200)]
s3:build: build smbtorture4 when the merged build is selected

metze

13 years agobuildtools/wafsamba: fix build group ordering
Thomas Nagy [Thu, 13 May 2010 17:23:37 +0000 (19:23 +0200)]
buildtools/wafsamba: fix build group ordering

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos4: Do not display by default the message Failed to send DsReplicaSync is other host...
Matthieu Patou [Sun, 9 May 2010 21:45:01 +0000 (01:45 +0400)]
s4: Do not display by default the message Failed to send DsReplicaSync is other host is just unreachable

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos4:dsdb: fix samdb_result_logon_hours() and don't hardcode units_per_week
Stefan Metzmacher [Wed, 12 May 2010 15:34:02 +0000 (17:34 +0200)]
s4:dsdb: fix samdb_result_logon_hours() and don't hardcode units_per_week

metze

13 years agoldb:ldb_msg.c - use result constant
Matthias Dieter Wallnöfer [Tue, 11 May 2010 20:52:55 +0000 (22:52 +0200)]
ldb:ldb_msg.c - use result constant

13 years agos4:domainlevel.py - update the script to handle both domain level occourrences on s4
Matthias Dieter Wallnöfer [Thu, 13 May 2010 13:29:20 +0000 (15:29 +0200)]
s4:domainlevel.py - update the script to handle both domain level occourrences on s4

The second "modify" is located under a try-catch block to ignore the change
failure against Windows Server (there only the first change is required).

13 years agos4:domain functional level - it is also specified in the domain object under partitions
Matthias Dieter Wallnöfer [Thu, 13 May 2010 13:11:29 +0000 (15:11 +0200)]
s4:domain functional level - it is also specified in the domain object under partitions

Discovered by the "ldapcmp" tool

13 years agos4:provision_configuration.ldif - add more extended rights objects
Matthias Dieter Wallnöfer [Thu, 13 May 2010 13:06:35 +0000 (15:06 +0200)]
s4:provision_configuration.ldif - add more extended rights objects

13 years agos4:provision_users.ldif - fix up and reorder the well-known security principals
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:51:10 +0000 (14:51 +0200)]
s4:provision_users.ldif - fix up and reorder the well-known security principals

13 years agos4:provision_configuration.ldif - add more Windows 2008 forest operations
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:43:10 +0000 (14:43 +0200)]
s4:provision_configuration.ldif - add more Windows 2008 forest operations

13 years agos4:provision_configuration.ldif - the revision level of "Windows2003Update" should...
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:33:40 +0000 (14:33 +0200)]
s4:provision_configuration.ldif - the revision level of "Windows2003Update" should obviously be 10

Compared against my Windows Server 2008 and Zahari's output.

13 years agos4:provision_configuration.ldif - "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa" operation...
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:24:02 +0000 (14:24 +0200)]
s4:provision_configuration.ldif - "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa" operation is of version 3

13 years agos4:provision*.ldif - always set the "msDS-NcType" attribute correctly
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:22:14 +0000 (14:22 +0200)]
s4:provision*.ldif - always set the "msDS-NcType" attribute correctly

13 years agos4:provision_configuration.ldif - set the right schedule on the default site in the...
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:18:20 +0000 (14:18 +0200)]
s4:provision_configuration.ldif - set the right schedule on the default site in the NTDS site settings

13 years agos4:provision_configuration.ldif - The "NTDS Quotas" object is system-critical
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:14:31 +0000 (14:14 +0200)]
s4:provision_configuration.ldif - The "NTDS Quotas" object is system-critical

13 years agos4:provision_configuration.ldif - "sites" object
Matthias Dieter Wallnöfer [Thu, 13 May 2010 12:08:55 +0000 (14:08 +0200)]
s4:provision_configuration.ldif - "sites" object

- The default site doesn't contain a licensing object
- Adequate two other values (a "showInAdvancedViewOnly" and a "systemFlags" one)

13 years agos4:provision.ldif - add IP security objects as they exist on Windows Server
Matthias Dieter Wallnöfer [Thu, 13 May 2010 10:10:54 +0000 (12:10 +0200)]
s4:provision.ldif - add IP security objects as they exist on Windows Server

13 years agos4:provision.ldif - add more Windows 2008 domain operations
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:45:43 +0000 (11:45 +0200)]
s4:provision.ldif - add more Windows 2008 domain operations

13 years agos4:provision_users.ldif - On Windows Server >= 2008 security principal S-1-5-20 doesn...
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:32:36 +0000 (11:32 +0200)]
s4:provision_users.ldif - On Windows Server >= 2008 security principal S-1-5-20 doesn't exist anymore

13 years agos4:provision.ldif - "passwordSettingsContainer" add "showInAdvancedViewOnly"
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:28:56 +0000 (11:28 +0200)]
s4:provision.ldif - "passwordSettingsContainer" add "showInAdvancedViewOnly"

13 years agos4:provision.ldif - fix up "NTDS Quotas" "systemFlags"
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:24:20 +0000 (11:24 +0200)]
s4:provision.ldif - fix up "NTDS Quotas" "systemFlags"

13 years agos4:provision_users.ldif - fix up Administrator's "userAccountControl"
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:22:43 +0000 (11:22 +0200)]
s4:provision_users.ldif - fix up Administrator's "userAccountControl"

13 years agos4:provision_basedn_modify.ldif - fix up "maxPwdAge"
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:21:39 +0000 (11:21 +0200)]
s4:provision_basedn_modify.ldif - fix up "maxPwdAge"

13 years agos4:provision_users.ldif - Fix typos in user/group objects
Matthias Dieter Wallnöfer [Thu, 13 May 2010 09:13:26 +0000 (11:13 +0200)]
s4:provision_users.ldif - Fix typos in user/group objects

13 years agos3:winbindd Provide a winbindd_register_handlers() helper function for s3compat
Andrew Bartlett [Tue, 11 May 2010 11:37:30 +0000 (21:37 +1000)]
s3:winbindd Provide a winbindd_register_handlers() helper function for s3compat

This function provides a useful entry point for s3compat to set things
up in winbindd.

Andrew Bartlett

13 years agos3:winbindd Split helper functions to allow s3compat to call them
Andrew Bartlett [Tue, 11 May 2010 11:31:18 +0000 (21:31 +1000)]
s3:winbindd Split helper functions to allow s3compat to call them

This provides a more useful entry point for s3compat.

Andrew Bartlett

13 years agos3:Winbindd Move winbindd_event_context to a different file
Andrew Bartlett [Tue, 11 May 2010 10:24:42 +0000 (20:24 +1000)]
s3:Winbindd Move winbindd_event_context to a different file

This allows this function to be easily replaced in s3compat

Andrew Bartlett

13 years agos3:winbindd Rename 'children' to 'winbindd_children' and make static
Andrew Bartlett [Tue, 11 May 2010 10:22:06 +0000 (20:22 +1000)]
s3:winbindd Rename 'children' to 'winbindd_children' and make static

13 years agos3:libsmb/namecache Remove namecache_enable()
Andrew Bartlett [Tue, 11 May 2010 00:04:30 +0000 (10:04 +1000)]
s3:libsmb/namecache Remove namecache_enable()

No caller honours the return value, and this call only prints a
DEBUG().  Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.

Andrew Bartlett

13 years agos3:smbd Remove calls to namecache_enable()
Andrew Bartlett [Tue, 11 May 2010 00:02:52 +0000 (10:02 +1000)]
s3:smbd Remove calls to namecache_enable()

This only prints a DEBUG()

Andrew Bartlett

13 years agos3:winbindd Remove call to namecache_enable().
Andrew Bartlett [Mon, 10 May 2010 23:59:48 +0000 (09:59 +1000)]
s3:winbindd Remove call to namecache_enable().

This call only prints a DEBUG()

Andrew Bartlett

13 years agos3:auth Make get_ntlm_challenge more like Samba4
Andrew Bartlett [Mon, 14 Dec 2009 08:43:59 +0000 (19:43 +1100)]
s3:auth Make get_ntlm_challenge more like Samba4

This helps with the upcoming NTLMSSP merge, and allows errors to be returned.

Andrew Bartlett

13 years agoPass more SMB2 oplock tests. Only oplock stream tests left to fix.
Jeremy Allison [Wed, 12 May 2010 22:19:45 +0000 (15:19 -0700)]
Pass more SMB2 oplock tests. Only oplock stream tests left to fix.

Jeremy.

13 years agoChoose between local tevent_status.h header file and installed one
Julien Kerihuel [Wed, 12 May 2010 10:55:56 +0000 (12:55 +0200)]
Choose between local tevent_status.h header file and installed one

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agoInstall util/tevent_* public headers. Required by OpenChange for compiling IDL
Julien Kerihuel [Wed, 12 May 2010 10:34:54 +0000 (12:34 +0200)]
Install util/tevent_* public headers. Required by OpenChange for compiling IDL

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs
Stefan Metzmacher [Wed, 12 May 2010 17:18:36 +0000 (19:18 +0200)]
s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs

It already comes via RPC_NDR_DRSBLOBS.

metze

13 years agos3-docs: Unify capitalization.
Karolin Seeger [Wed, 12 May 2010 14:21:56 +0000 (16:21 +0200)]
s3-docs: Unify capitalization.

Karolin

13 years agos3-docs: Add documentation of the net g_lock subcommand.
Karolin Seeger [Wed, 12 May 2010 14:17:33 +0000 (16:17 +0200)]
s3-docs: Add documentation of the net g_lock subcommand.

Karolin

13 years agos3-docs: Move -D option to the right paragraph in man winbindd.
Karolin Seeger [Wed, 12 May 2010 09:24:57 +0000 (11:24 +0200)]
s3-docs: Move -D option to the right paragraph in man winbindd.

Fix bug #7260 (Command line option documentation in wrong place in winbindd man
page.). Thanks to Ged Haywood <samba@jubileegroup.co.uk> for reporting!

Karolin

13 years agos4:heimdal_build: undefine __APPLE__ as we don't need that magic
Stefan Metzmacher [Wed, 12 May 2010 07:42:44 +0000 (09:42 +0200)]
s4:heimdal_build: undefine __APPLE__ as we don't need that magic

This hopefully fixes the build on Mac OS 10.

metze

13 years agos4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from autoconf build
Stefan Metzmacher [Wed, 12 May 2010 07:08:32 +0000 (09:08 +0200)]
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from autoconf build

metze

13 years agowork around AIX6.1 name space pollution rename mod_name to module_name
Olaf Flebbe [Tue, 11 May 2010 09:30:04 +0000 (11:30 +0200)]
work around AIX6.1 name space pollution rename mod_name to module_name

13 years agos3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Günther Deschner [Tue, 11 May 2010 10:16:52 +0000 (12:16 +0200)]
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.

Any servers I could find so far return it.

Guenther

13 years agos3-lanman: use samr for api_SamOEMChangePassword().
Günther Deschner [Fri, 7 May 2010 17:20:09 +0000 (19:20 +0200)]
s3-lanman: use samr for api_SamOEMChangePassword().

Guenther

13 years agos4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Günther Deschner [Tue, 11 May 2010 22:18:42 +0000 (00:18 +0200)]
s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.

Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.

Guenther

13 years agos4-smbtorture: add test_oemchangepassword to RAP-SAM.
Günther Deschner [Fri, 7 May 2010 20:58:42 +0000 (22:58 +0200)]
s4-smbtorture: add test_oemchangepassword to RAP-SAM.

Guenther

13 years agos4-selftest: skip RAP-SAM tests against Samba 4.
Günther Deschner [Mon, 10 May 2010 10:14:58 +0000 (12:14 +0200)]
s4-selftest: skip RAP-SAM tests against Samba 4.

Guenther

13 years agos3-selftest: enable RAP-SAM against Samba 3.
Günther Deschner [Fri, 7 May 2010 20:18:30 +0000 (22:18 +0200)]
s3-selftest: enable RAP-SAM against Samba 3.

Guenther

13 years agos4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Günther Deschner [Fri, 7 May 2010 13:45:23 +0000 (15:45 +0200)]
s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.

Guenther

13 years agos4-smbtorture: getting serious about checking rap status return codes.
Günther Deschner [Sat, 8 May 2010 23:08:11 +0000 (01:08 +0200)]
s4-smbtorture: getting serious about checking rap status return codes.

Guenther

13 years agos4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
Günther Deschner [Tue, 11 May 2010 21:55:53 +0000 (23:55 +0200)]
s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.

required for upcoming rap pwd tests.

Guenther

13 years agos4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Günther Deschner [Tue, 11 May 2010 15:46:18 +0000 (17:46 +0200)]
s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.

Guenther

13 years agoFix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on...
Jeremy Allison [Tue, 11 May 2010 21:00:38 +0000 (14:00 -0700)]
Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.

Jeremy.

13 years agos3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
Andrew Bartlett [Thu, 6 May 2010 02:45:14 +0000 (12:45 +1000)]
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA

All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.

This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos4-smbtorture: test netservergetinfo level 1 also against s3.
Günther Deschner [Tue, 11 May 2010 11:39:37 +0000 (13:39 +0200)]
s4-smbtorture: test netservergetinfo level 1 also against s3.

Guenther

13 years agonot all versions of env like more than one argument...
Björn Jacke [Tue, 11 May 2010 18:46:19 +0000 (20:46 +0200)]
not all versions of env like more than one argument...

13 years agopidl: fix build on systems that don't have perl in /usr/bin/
Björn Jacke [Tue, 11 May 2010 17:11:38 +0000 (19:11 +0200)]
pidl: fix build on systems that don't have perl in /usr/bin/

13 years agos4:dsdb: cached results of samdb_rodc()
Stefan Metzmacher [Tue, 11 May 2010 08:34:19 +0000 (10:34 +0200)]
s4:dsdb: cached results of samdb_rodc()

metze

13 years agotdb: commit ABI/tdb-1.2.2.sigs
Stefan Metzmacher [Tue, 11 May 2010 14:42:14 +0000 (16:42 +0200)]
tdb: commit ABI/tdb-1.2.2.sigs

metze

13 years agos4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c
Stefan Metzmacher [Tue, 11 May 2010 16:10:32 +0000 (18:10 +0200)]
s4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c

metze

13 years agos4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build
Stefan Metzmacher [Tue, 11 May 2010 14:21:45 +0000 (16:21 +0200)]
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build

This is not needed and contains one big #ifdef __APPLE__
and breaks the build on Mac OS 10.

metze

13 years agos3:configure: fix a message
Michael Adam [Wed, 24 Mar 2010 16:00:01 +0000 (17:00 +0100)]
s3:configure: fix a message

13 years agos4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
Matthias Dieter Wallnöfer [Tue, 11 May 2010 14:13:45 +0000 (16:13 +0200)]
s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead

"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".

13 years agos3:Makefile: build smbtorture4 as static binary with socket_wrapper support
Stefan Metzmacher [Tue, 11 May 2010 14:07:19 +0000 (16:07 +0200)]
s3:Makefile: build smbtorture4 as static binary with socket_wrapper support

metze

13 years agowaf:libreplace: set _OSF_SOURCE to fix build on Tru64
Björn Jacke [Tue, 11 May 2010 13:23:54 +0000 (15:23 +0200)]
waf:libreplace: set _OSF_SOURCE to fix build on Tru64

13 years agoREADME.Coding - cosmetic changes
Matthias Dieter Wallnöfer [Tue, 11 May 2010 12:58:19 +0000 (14:58 +0200)]
README.Coding - cosmetic changes

- Fix typos
- Wrap lines
- Remove trailing whitespaces
- use ":" instead of "::" - one colon should in all cases be enough

13 years agobuild: skip missing executables in testwaf.sh
Kai Blin [Tue, 11 May 2010 12:24:47 +0000 (14:24 +0200)]
build: skip missing executables in testwaf.sh

13 years agotdb: remove unused variable in tdb_new_database().
Günther Deschner [Tue, 11 May 2010 11:40:12 +0000 (13:40 +0200)]
tdb: remove unused variable in tdb_new_database().

Guenther

13 years agoRevert "s4-rodc: Fix provision warnings by creating ntds objectGUID in provision"
Anatoliy Atanasov [Tue, 11 May 2010 08:35:54 +0000 (11:35 +0300)]
Revert "s4-rodc: Fix provision warnings by creating ntds objectGUID in provision"

This reverts commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96.
The fix is not correct, we should cache a bool to answer amIRODC

13 years agoRevert "s4:password_hash LDB module - don't break the provision"
Stefan Metzmacher [Tue, 11 May 2010 06:34:35 +0000 (08:34 +0200)]
Revert "s4:password_hash LDB module - don't break the provision"

This reverts commit 6276343ce1b7dd7d217e5a419c09f209f5f87379.

This is not needed anymore.

metze

13 years agoRevert "s4:password hash LDB module - check that password hashes are != NULL before...
Stefan Metzmacher [Tue, 11 May 2010 06:38:02 +0000 (08:38 +0200)]
Revert "s4:password hash LDB module - check that password hashes are != NULL before copying them"

This reverts commit fa87027592f71179c22f132e375038217bc9d36a.

This check is done one level above now.

metze

13 years agos4:dsdb/password_hash: only try to handle a hash in the unicodePwd field if it's...
Stefan Metzmacher [Tue, 11 May 2010 06:32:40 +0000 (08:32 +0200)]
s4:dsdb/password_hash: only try to handle a hash in the unicodePwd field if it's given

Sorry, I removed this logic while cleaning up indentation levels...

metze

13 years agoREADME.Coding: fix good example
Stefan Metzmacher [Tue, 11 May 2010 06:03:56 +0000 (08:03 +0200)]
README.Coding: fix good example

metze

13 years agos4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Günther Deschner [Mon, 10 May 2010 21:41:08 +0000 (23:41 +0200)]
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().

Guenther

13 years agos4-smbtorture: fix smbcli_rap_netoemchangepassword.
Günther Deschner [Mon, 10 May 2010 19:48:10 +0000 (21:48 +0200)]
s4-smbtorture: fix smbcli_rap_netoemchangepassword.

Guenther

13 years agos4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Günther Deschner [Mon, 10 May 2010 22:53:41 +0000 (00:53 +0200)]
s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().

Guenther

13 years agos4:password_hash LDB module - we might not have a cleartext password at all
Matthias Dieter Wallnöfer [Mon, 10 May 2010 21:46:21 +0000 (23:46 +0200)]
s4:password_hash LDB module - we might not have a cleartext password at all

When we don't have the cleartext of the new password then don't check it
using "samdb_check_password".

13 years agoSMB2 always have level2 oplock capability. Correct mapping from break messages to...
Jeremy Allison [Mon, 10 May 2010 21:23:44 +0000 (14:23 -0700)]
SMB2 always have level2 oplock capability. Correct mapping from break messages to SMB2 oplock levels.

Jeremy.

13 years agoStop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding immediate...
Jeremy Allison [Mon, 10 May 2010 20:58:41 +0000 (13:58 -0700)]
Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding immediate event.

Jeremy.

13 years agos4/tort: Add test for comparing special DNs
Kamen Mazdrashki [Sat, 8 May 2010 07:20:00 +0000 (10:20 +0300)]
s4/tort: Add test for comparing special DNs

13 years agos4/dn: handle case 'base' dn has no components
Kamen Mazdrashki [Sat, 8 May 2010 07:19:14 +0000 (10:19 +0300)]
s4/dn: handle case 'base' dn has no components

This could if the 'base' dn is special for example.

13 years agos4-smbtorture: add smbcli_rap_netoemchangepassword().
Günther Deschner [Fri, 7 May 2010 20:10:51 +0000 (22:10 +0200)]
s4-smbtorture: add smbcli_rap_netoemchangepassword().

Guenther

13 years agorap: add rap_NetOEMChangePassword() to IDL.
Günther Deschner [Fri, 7 May 2010 17:26:43 +0000 (19:26 +0200)]
rap: add rap_NetOEMChangePassword() to IDL.

Guenther

13 years agoFix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.
Jeremy Allison [Mon, 10 May 2010 18:29:34 +0000 (11:29 -0700)]
Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.

Jeremy.

13 years agoFix more of the SMB2-LOCK tests. Correctly unlock locks on error.
Jeremy Allison [Mon, 10 May 2010 18:09:41 +0000 (11:09 -0700)]
Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.

Jeremy.

13 years agos4:password_hash LDB module - quiet a warning
Matthias Dieter Wallnöfer [Mon, 10 May 2010 18:04:37 +0000 (20:04 +0200)]
s4:password_hash LDB module - quiet a warning

13 years agos4:password hash LDB module - check that password hashes are != NULL before copying...
Matthias Dieter Wallnöfer [Mon, 10 May 2010 18:02:21 +0000 (20:02 +0200)]
s4:password hash LDB module - check that password hashes are != NULL before copying them

13 years agos4:password_hash LDB module - don't break the provision
Matthias Dieter Wallnöfer [Mon, 10 May 2010 17:51:31 +0000 (19:51 +0200)]
s4:password_hash LDB module - don't break the provision

This is to don't break the provision process at the moment. We need to find
a better solution.

13 years agos4:passwords.py - add a python unittest for additional testing of my passwords work
Matthias Dieter Wallnöfer [Sat, 10 Apr 2010 18:04:13 +0000 (20:04 +0200)]
s4:passwords.py - add a python unittest for additional testing of my passwords work

This performs checks on direct password changes over LDB/LDAP. Indirect
password changes over the RPCs are already tested by some torture suite (SAMR
passwords). So no need to do this again here.

13 years agos4:samdb_set_password - adapt it for the user password change handling
Matthias Dieter Wallnöfer [Thu, 3 Dec 2009 09:48:44 +0000 (10:48 +0100)]
s4:samdb_set_password - adapt it for the user password change handling

Make use of the new "change old password checked" control.