ira/wip.git
11 years agos4: ran minimal_includes.pl on source4/auth/ntlm
Andrew Tridgell [Tue, 20 Oct 2009 04:38:03 +0000 (15:38 +1100)]
s4: ran minimal_includes.pl on source4/auth/ntlm

11 years agos4: ran minimal_includes.pl on source4/client
Andrew Tridgell [Tue, 20 Oct 2009 04:34:30 +0000 (15:34 +1100)]
s4: ran minimal_includes.pl on source4/client

11 years agos4: ran minimal_includes.pl on source4/rpc_server
Andrew Tridgell [Tue, 20 Oct 2009 04:32:35 +0000 (15:32 +1100)]
s4: ran minimal_includes.pl on source4/rpc_server

11 years agos4: ran minimal_includes.pl on source4/winbind
Andrew Tridgell [Tue, 20 Oct 2009 04:01:46 +0000 (15:01 +1100)]
s4: ran minimal_includes.pl on source4/winbind

11 years agos4-torture: ran minimal_includes.pl over source4/torture
Andrew Tridgell [Tue, 20 Oct 2009 03:53:08 +0000 (14:53 +1100)]
s4-torture: ran minimal_includes.pl over source4/torture

This reduces compile time somewhat.

11 years agos4-script: cleanup tmp files in minimial_includes.pl
Andrew Tridgell [Tue, 20 Oct 2009 03:31:50 +0000 (14:31 +1100)]
s4-script: cleanup tmp files in minimial_includes.pl

also changes to use perl fns, instead of shell

11 years agos4-selftest: skip two more scanners
Andrew Tridgell [Tue, 20 Oct 2009 04:19:27 +0000 (15:19 +1100)]
s4-selftest: skip two more scanners

Protocol scanners are not any use in the build farm

11 years agos4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS test
Andrew Tridgell [Tue, 20 Oct 2009 03:27:57 +0000 (14:27 +1100)]
s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS test

This test left a large number of lsa pipes open, which could trigger
the server running out of fds

11 years agos4-selftest: skip the trans2.scan test
Andrew Tridgell [Tue, 20 Oct 2009 02:54:55 +0000 (13:54 +1100)]
s4-selftest: skip the trans2.scan test

This test consumes a huge number of file descriptors on the server
(random binds to the WKSSVC pipe)

11 years agos4-dsdb: fixed empty structure error on solaris8
Andrew Tridgell [Tue, 20 Oct 2009 02:00:12 +0000 (13:00 +1100)]
s4-dsdb: fixed empty structure error on solaris8

Nadya, I'm guessing you plan on adding some real elements to this
structure later. For now I've added _dummy so the build can continue
with the Solaris C compiler.

11 years agos4-idl: don't call a variable 'stat'
Andrew Tridgell [Tue, 20 Oct 2009 01:13:15 +0000 (12:13 +1100)]
s4-idl: don't call a variable 'stat'

never call a structure member by the name of a standard C lib call. It
breaks the build on some systems.

11 years agolib-util: check for too many combinations in generate_unique_strs()
Andrew Tridgell [Tue, 20 Oct 2009 00:34:49 +0000 (11:34 +1100)]
lib-util: check for too many combinations in generate_unique_strs()

11 years agotdb: fixed the intermittent failure of tdbtorture in the build farm
Andrew Tridgell [Mon, 19 Oct 2009 23:59:40 +0000 (10:59 +1100)]
tdb: fixed the intermittent failure of tdbtorture in the build farm

There was a race condition that caused the torture.tdb to be left in a
state that needed recovery. The torture code thought that any message
from the tdb code was an error, so the "recovered" message, which is a
TDB_DEBUG_TRACE message, marked the run as being an error when it
isn't.

11 years agoFixes for typos. Thank-you PC Oota.
John H Terpstra [Mon, 19 Oct 2009 18:29:17 +0000 (13:29 -0500)]
Fixes for typos. Thank-you PC Oota.

11 years agowbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.
Günther Deschner [Mon, 19 Oct 2009 14:54:37 +0000 (16:54 +0200)]
wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.

Guenther

11 years agolibwbclient: fix wbcLookupDomainController().
Günther Deschner [Mon, 19 Oct 2009 14:55:15 +0000 (16:55 +0200)]
libwbclient: fix wbcLookupDomainController().

Found by WINBIND-WBCLIENT torture test.

Guenther

11 years agos4-smbtorture: test wbcLookupDomainController{Ex} in WINBIND-WBCLIENT.
Günther Deschner [Fri, 16 Oct 2009 11:39:24 +0000 (13:39 +0200)]
s4-smbtorture: test wbcLookupDomainController{Ex} in WINBIND-WBCLIENT.

Guenther

11 years agogitignore: remove old netlogon prototypes.
Günther Deschner [Mon, 19 Oct 2009 16:41:15 +0000 (18:41 +0200)]
gitignore: remove old netlogon prototypes.

Guenther

11 years agos4:torture "cldap" test - restore the removed constraints and add more
Matthias Dieter Wallnöfer [Mon, 19 Oct 2009 16:34:29 +0000 (18:34 +0200)]
s4:torture "cldap" test - restore the removed constraints and add more

Consider for description the post on the technical mailing list. I hope that this
satisfies abartlet again.

11 years agos4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name"
Matthias Dieter Wallnöfer [Mon, 19 Oct 2009 16:25:05 +0000 (18:25 +0200)]
s4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name"

According to abartlet's response on my post about "lp_workgroup" this should be
the right call.

11 years agoselftest: try to get the valgrind errors showing again in the build farm
Andrew Tridgell [Mon, 19 Oct 2009 11:58:23 +0000 (22:58 +1100)]
selftest: try to get the valgrind errors showing again in the build farm

11 years agoutil: fixed generate_unique_strs() to be portable
Andrew Tridgell [Mon, 19 Oct 2009 11:47:45 +0000 (22:47 +1100)]
util: fixed generate_unique_strs() to be portable

'place' was going negative, and giving undefined results. The result
was duplicate names which gave errors in SMB2-DIR on PPC and other
systems.

11 years agos4-selftest: fixed 'make testenv'
Andrew Tridgell [Mon, 19 Oct 2009 10:37:20 +0000 (21:37 +1100)]
s4-selftest: fixed 'make testenv'

The 'TERM' variable is used for terminal type, so we can't use it for
what terminal to use.

11 years agos4-pyldb: fixed 64 bit issues
Andrew Tridgell [Mon, 19 Oct 2009 10:36:41 +0000 (21:36 +1100)]
s4-pyldb: fixed 64 bit issues

The python argument parse functions take standard C types, not enums
and time_t. This broken the python interface on PPC.

11 years agos4-idmap: the idmap database should be indexed
Andrew Tridgell [Mon, 19 Oct 2009 09:31:40 +0000 (20:31 +1100)]
s4-idmap: the idmap database should be indexed

11 years agos4-libnet: fixed privilege handling in samsync to use the right db
Andrew Tridgell [Mon, 19 Oct 2009 08:16:39 +0000 (19:16 +1100)]
s4-libnet: fixed privilege handling in samsync to use the right db

I only noticed this one because of Karolins spelling fix :-)

11 years agos4-pvfs: fill in alignment_requirement (valgrind error)
Andrew Tridgell [Mon, 19 Oct 2009 07:46:02 +0000 (18:46 +1100)]
s4-pvfs: fill in alignment_requirement (valgrind error)

11 years agos4:test: Fix typo.
Karolin Seeger [Mon, 19 Oct 2009 08:40:15 +0000 (10:40 +0200)]
s4:test: Fix typo.

Karolin

11 years agoFix typo.
Karolin Seeger [Mon, 19 Oct 2009 07:47:33 +0000 (09:47 +0200)]
Fix typo.

privilage -> privilege

Karolin

11 years agoRevert "selftest: fixed filter to know about a "error" result"
Andrew Tridgell [Mon, 19 Oct 2009 03:17:02 +0000 (14:17 +1100)]
Revert "selftest: fixed filter to know about a "error" result"

This reverts commit 1de7e43fb4a4863e3663af8b2a2d9f19cf82d7f3.

This is much more delicate than it seems

11 years agos4-selftest: move secdesc.python test to skip list
Andrew Tridgell [Mon, 19 Oct 2009 02:50:32 +0000 (13:50 +1100)]
s4-selftest: move secdesc.python test to skip list

This test produces a python backtrace due to
LDAP_INSUFFICIENT_ACCESS_RIGHTS errors, which are expected until the
new acl code is finished. The python backtrace overrides the
'knownfail' listing, so we need to skip this test for now.

11 years agoselftest: fixed filter to know about a "error" result
Andrew Tridgell [Mon, 19 Oct 2009 02:25:55 +0000 (13:25 +1100)]
selftest: fixed filter to know about a "error" result

This is what caused some of the python tests to not match knownfail
entries

11 years agos4-test: removed duplicate knownfail entry
Andrew Tridgell [Mon, 19 Oct 2009 02:25:07 +0000 (13:25 +1100)]
s4-test: removed duplicate knownfail entry

11 years agos4-pvfs: another uninitialised variable
Andrew Tridgell [Mon, 19 Oct 2009 01:59:49 +0000 (12:59 +1100)]
s4-pvfs: another uninitialised variable

thanks to valgrind for this one

11 years agos3: Don't fail authentication when one or some group of require-membership-of is...
Bo Yang [Wed, 14 Oct 2009 22:23:48 +0000 (06:23 +0800)]
s3: Don't fail authentication when one or some group of require-membership-of is invalid.

Signed-off-by: Bo Yang <boyang@samba.org>
11 years agos4-pvfs: fixed uninitialised variable
Andrew Tridgell [Mon, 19 Oct 2009 00:56:53 +0000 (11:56 +1100)]
s4-pvfs: fixed uninitialised variable

This caused havoc on the build farm. Interestingly, it only affected
gcc 4.3.3, not gcc 4.4.1

11 years agos4:ldb_msg_check_string_attribute - add a comment about the result values
Matthias Dieter Wallnöfer [Sun, 18 Oct 2009 16:13:17 +0000 (18:13 +0200)]
s4:ldb_msg_check_string_attribute - add a comment about the result values

11 years agoRevert "s4:ldb_msg - Use LDB constants on results"
Matthias Dieter Wallnöfer [Sun, 18 Oct 2009 16:00:59 +0000 (18:00 +0200)]
Revert "s4:ldb_msg - Use LDB constants on results"

This reverts commit 56a8baff3df6a5120b6c7bbca771dfb7c6934fd5.
Simo pointed out that I was wrong here.

11 years agos3:configure: fix avahi activation
Björn Jacke [Sun, 18 Oct 2009 15:01:57 +0000 (17:01 +0200)]
s3:configure: fix avahi activation

Avahi was correctly found but not activated since e4a26c942.

11 years agos4:torture "cldap" test - rework and test more results
Matthias Dieter Wallnöfer [Sun, 18 Oct 2009 12:30:50 +0000 (14:30 +0200)]
s4:torture "cldap" test - rework and test more results

11 years agos4:sites - get the server site (name) from DSDB
Matthias Dieter Wallnöfer [Sun, 18 Oct 2009 09:59:11 +0000 (11:59 +0200)]
s4:sites - get the server site (name) from DSDB

11 years agos4:dcerpc_netlogon - unify the two workstation object lookups (DNS hostname and suppo...
Matthias Dieter Wallnöfer [Sun, 18 Oct 2009 09:11:57 +0000 (11:11 +0200)]
s4:dcerpc_netlogon - unify the two workstation object lookups (DNS hostname and supported encryption types)

This is simply for better performance (no functional change).

11 years agos4:ldb_msg - Use LDB constants on results
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:26:41 +0000 (22:26 +0200)]
s4:ldb_msg - Use LDB constants on results

11 years agos4:ldb_ldap - Fix intendation
Matthias Dieter Wallnöfer [Sat, 17 Oct 2009 20:27:42 +0000 (22:27 +0200)]
s4:ldb_ldap - Fix intendation

11 years agos4-test: the ldap secdesc test is expected to fail for now
Andrew Tridgell [Sun, 18 Oct 2009 05:32:01 +0000 (16:32 +1100)]
s4-test: the ldap secdesc test is expected to fail for now

Nadya, if this is not correct and you think this should be passing
already the please let me know. When I looked over it, it doesn't look
like it has a chance of passing until your acl module is in place and
enabled by default.

11 years agos4-test: SMB2 oplocks in s4 are a mess
Andrew Tridgell [Sun, 18 Oct 2009 04:57:21 +0000 (15:57 +1100)]
s4-test: SMB2 oplocks in s4 are a mess

I don't have time to fix these right now, and as we don't advertise
SMB2 by default I'll mark it as a known failure till we start enabling
SMB2 by default.

11 years agos4: spelling error
Andrew Tridgell [Sun, 18 Oct 2009 04:56:16 +0000 (15:56 +1100)]
s4: spelling error

11 years agos4-torture: fixed the streams tests for Samba4
Andrew Tridgell [Sun, 18 Oct 2009 03:22:42 +0000 (14:22 +1100)]
s4-torture: fixed the streams tests for Samba4

In some cases we were not doing streams tests on s4 that we should. In
others, we were calling tests that are known to fail on s4. Some of
those are a bit puzzling.

11 years agos4-streams: fixed handling of stream rename and overwrite
Andrew Tridgell [Sun, 18 Oct 2009 03:19:27 +0000 (14:19 +1100)]
s4-streams: fixed handling of stream rename and overwrite

11 years agos4-pvfs: rename with full name gives SHARING_VIOLATION
Andrew Tridgell [Sun, 18 Oct 2009 03:15:48 +0000 (14:15 +1100)]
s4-pvfs: rename with full name gives SHARING_VIOLATION

11 years agos4-pvfs: when reporting the file name, don't include the :$DATA suffix
Andrew Tridgell [Sun, 18 Oct 2009 03:14:16 +0000 (14:14 +1100)]
s4-pvfs: when reporting the file name, don't include the :$DATA suffix

11 years agos4-pvfs: the STREAM_INFORMATION calls don't need any access flags
Andrew Tridgell [Sun, 18 Oct 2009 03:13:45 +0000 (14:13 +1100)]
s4-pvfs: the STREAM_INFORMATION calls don't need any access flags

11 years agos4-pvfs: fixed update of stream sizes
Andrew Tridgell [Sun, 18 Oct 2009 01:24:09 +0000 (12:24 +1100)]
s4-pvfs: fixed update of stream sizes

The data_blob_free() was changing the size we set the stream to

11 years agoFix posix_unlink test. Was doing grep without quotes around the
Jeremy Allison [Sun, 18 Oct 2009 03:46:22 +0000 (20:46 -0700)]
Fix posix_unlink test. Was doing grep without quotes around the
target string.
Jeremy.

11 years agos4-pvfs: more fixes for ACLs on file creation
Andrew Tridgell [Sat, 17 Oct 2009 23:32:06 +0000 (10:32 +1100)]
s4-pvfs: more fixes for ACLs on file creation

The passed in SD is not used to limit the access mask allowed on file
create.

11 years agos4-smb2: fixed SMB2 find commands
Andrew Tridgell [Sat, 17 Oct 2009 23:30:10 +0000 (10:30 +1100)]
s4-smb2: fixed SMB2 find commands

The change to check for invalid \ prefix on SMB2 paths broke the
internal SMB2 code.

11 years agos4-pvfs: change the handling of access checking on create
Andrew Tridgell [Sat, 17 Oct 2009 10:17:29 +0000 (21:17 +1100)]
s4-pvfs: change the handling of access checking on create

Previously when a file was created, we produces the resulting access
mask based on an ACL check against the parent. This change means we
now calculate the inherited ACL much earlier, and produce the
resulting access mask from that ACL, or the user supplied ACL.

11 years agosmb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges
Andrew Tridgell [Sat, 17 Oct 2009 10:14:59 +0000 (21:14 +1100)]
smb2-torture: samba4 allows SEC_FLAG_SECURITY to be used with privileges

11 years agos4: fixed howto for new binary name
Andrew Tridgell [Sat, 17 Oct 2009 09:10:03 +0000 (20:10 +1100)]
s4: fixed howto for new binary name

11 years agoFix the smbtorture4 build. root_fid is a "union smb_handle". tridge
Jeremy Allison [Sat, 17 Oct 2009 19:56:15 +0000 (12:56 -0700)]
Fix the smbtorture4 build. root_fid is a "union smb_handle". tridge
please check.
Jeremy.

11 years agoTrying to find out why the posix_unlink test build farm is still failing even
Jeremy Allison [Sat, 17 Oct 2009 17:38:44 +0000 (10:38 -0700)]
Trying to find out why the posix_unlink test build farm is still failing even
though we're now successfully deleting the symlink.
Jeremy.

11 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Sat, 17 Oct 2009 17:36:33 +0000 (10:36 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

11 years agos3:winbind: Move fillup_pw_field() as static to wb_fill_pwent.c
Volker Lendecke [Sat, 17 Oct 2009 15:00:13 +0000 (17:00 +0200)]
s3:winbind: Move fillup_pw_field() as static to wb_fill_pwent.c

11 years agos4-smbserver: removed bogus initialisation of two union arms
Andrew Tridgell [Sat, 17 Oct 2009 02:12:24 +0000 (13:12 +1100)]
s4-smbserver: removed bogus initialisation of two union arms

Thanks to Metze for spotting this.

11 years agos4-pvfs: when uwrap is enabled, ignore chown errors
Andrew Tridgell [Sat, 17 Oct 2009 01:58:17 +0000 (12:58 +1100)]
s4-pvfs: when uwrap is enabled, ignore chown errors

chown is expected to fail under uwrap

11 years agos4-torture: fixed the default ACL for s4
Andrew Tridgell [Sat, 17 Oct 2009 01:50:51 +0000 (12:50 +1100)]
s4-torture: fixed the default ACL for s4

s4 returns group and world ACEs in the default acl, based on unix
permissions

11 years agos4-torture: minor debugging enhancements
Andrew Tridgell [Fri, 16 Oct 2009 23:54:46 +0000 (10:54 +1100)]
s4-torture: minor debugging enhancements

11 years agos4-schema: We should not need Samba4TopExtra now
Andrew Tridgell [Fri, 16 Oct 2009 23:50:08 +0000 (10:50 +1100)]
s4-schema: We should not need Samba4TopExtra now

The last attribute this contained was 'privilege' which is now gone

11 years agos4-pvfs: don't auto-apply privilege bits in unix acl handling either
Andrew Tridgell [Fri, 16 Oct 2009 22:09:42 +0000 (09:09 +1100)]
s4-pvfs: don't auto-apply privilege bits in unix acl handling either

11 years agos4-acl: SEC_FLAG_MAXIMUM_ALLOWED doesn't auto-apply privilege access masks
Andrew Tridgell [Fri, 16 Oct 2009 22:09:19 +0000 (09:09 +1100)]
s4-acl: SEC_FLAG_MAXIMUM_ALLOWED doesn't auto-apply privilege access masks

11 years agos4-torture: the BASE-CREATEX_ACCESS test is broken for non-administrators
Andrew Tridgell [Fri, 16 Oct 2009 12:06:02 +0000 (23:06 +1100)]
s4-torture: the BASE-CREATEX_ACCESS test is broken for non-administrators

See my msg to samba-technical about this test and privilege testing.

11 years agos4-torture: cleanup after the MAXIMUM_ALLOWED test
Andrew Tridgell [Fri, 16 Oct 2009 12:04:01 +0000 (23:04 +1100)]
s4-torture: cleanup after the MAXIMUM_ALLOWED test

11 years agos4-pvfs: use privileges rather than "uid == 0" in unix access check
Andrew Tridgell [Fri, 16 Oct 2009 12:03:42 +0000 (23:03 +1100)]
s4-pvfs: use privileges rather than "uid == 0" in unix access check

This makes the unix access check much closer to the full ACL check

11 years agos4-security: honor more of the privilege access bits
Andrew Tridgell [Fri, 16 Oct 2009 12:02:58 +0000 (23:02 +1100)]
s4-security: honor more of the privilege access bits

11 years agos4-torture: add a special check for administrators and privileges
Andrew Tridgell [Fri, 16 Oct 2009 07:23:42 +0000 (18:23 +1100)]
s4-torture: add a special check for administrators and privileges

lsa privileges calls don't expand groups. darn.

11 years agos4-lsasrv: make sure only admins can alter privileges
Andrew Tridgell [Fri, 16 Oct 2009 07:22:48 +0000 (18:22 +1100)]
s4-lsasrv: make sure only admins can alter privileges

11 years agos4-provision: added the default privileges db
Andrew Tridgell [Fri, 16 Oct 2009 07:01:35 +0000 (18:01 +1100)]
s4-provision: added the default privileges db

privileges are now stored in a separate database

11 years agos4-provision: removed the old privilege attributes
Andrew Tridgell [Fri, 16 Oct 2009 07:01:02 +0000 (18:01 +1100)]
s4-provision: removed the old privilege attributes

Our schema is getting a bit cleaner :-)

11 years agos4-torture: show the sid we are basing privilege tests on
Andrew Tridgell [Fri, 16 Oct 2009 06:05:48 +0000 (17:05 +1100)]
s4-torture: show the sid we are basing privilege tests on

11 years agos4-privileges: moved privileges to private/privilege.ldb
Andrew Tridgell [Fri, 16 Oct 2009 06:05:27 +0000 (17:05 +1100)]
s4-privileges: moved privileges to private/privilege.ldb

We were storing privileges in the sam, which was OK when we were a
standalone DC, but is no good when we replicate with a windows DC.

This moves the privileges to a separate (local) database

11 years agoadded NT_STATUS_NOT_OK_RETURN_AND_FREE()
Andrew Tridgell [Fri, 16 Oct 2009 06:04:19 +0000 (17:04 +1100)]
added NT_STATUS_NOT_OK_RETURN_AND_FREE()

Try to make it a bit easier to avoid leaks in common code

11 years agoAdd comment explaining about symlink following & posix.
Jeremy Allison [Sat, 17 Oct 2009 01:13:06 +0000 (18:13 -0700)]
Add comment explaining about symlink following & posix.
Jeremy.

11 years agoLast 2 VFS_STAT -> LSTAT fixes I can see in the modules code.
Jeremy Allison [Sat, 17 Oct 2009 00:20:40 +0000 (17:20 -0700)]
Last 2 VFS_STAT -> LSTAT fixes I can see in the modules code.
Jeremy.

11 years agoFix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. Caught by...
Jeremy Allison [Fri, 16 Oct 2009 23:37:20 +0000 (16:37 -0700)]
Fix one missing STAT -> LSTAT with POSIX pathnames in vfs_xattr_tdb.c. Caught by the torture tester. I love unit tests :-). Jeremy.

11 years agos3: build pam_smbpass when possible
Björn Jacke [Fri, 16 Oct 2009 21:40:34 +0000 (23:40 +0200)]
s3: build pam_smbpass when possible

11 years agos3-netlogon: fix updating trust accout passwords with downlevel domains.
Günther Deschner [Fri, 16 Oct 2009 16:01:19 +0000 (18:01 +0200)]
s3-netlogon: fix updating trust accout passwords with downlevel domains.

When choosing the netlogon password set function, make sure to look at the
*negotiated* flags in the cli->dc state, not the ones we start the negotiation
with.

Guenther

11 years agonsswitch: increase libwbclient version after adding wbcChangeTrustCredentials().
Günther Deschner [Fri, 16 Oct 2009 14:07:31 +0000 (16:07 +0200)]
nsswitch: increase libwbclient version after adding wbcChangeTrustCredentials().

Guenther

11 years agos3:packaging: Fix building RHEL packages.
Karolin Seeger [Fri, 16 Oct 2009 14:00:26 +0000 (16:00 +0200)]
s3:packaging: Fix building RHEL packages.

Fix bug #6721.
Thanks to Eero Volotinen <eero.volotinen@medicel.com> for providing the patch!

Karolin

11 years agos3:srv_samr_nt - another fix for the reject reason
Matthias Dieter Wallnöfer [Fri, 16 Oct 2009 13:24:20 +0000 (15:24 +0200)]
s3:srv_samr_nt - another fix for the reject reason

11 years agos4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.
Günther Deschner [Wed, 14 Oct 2009 09:58:21 +0000 (11:58 +0200)]
s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.

Guenther

11 years agos3-netlogon: Fix _netr_ServerPasswordSet2 cleartext blob handling.
Günther Deschner [Fri, 16 Oct 2009 10:09:55 +0000 (12:09 +0200)]
s3-netlogon: Fix _netr_ServerPasswordSet2 cleartext blob handling.

Following Andrew's advice, let's straight md4 the plaintext blob and avoid
trying to get a paintext string out of the input the client sends.

Guenther

11 years agos4-smbtorture: test wbcLookupUserSids in WINBIND-WBCLIENT as well.
Günther Deschner [Fri, 16 Oct 2009 12:51:49 +0000 (14:51 +0200)]
s4-smbtorture: test wbcLookupUserSids in WINBIND-WBCLIENT as well.

Guenther

11 years agos4-smbtorture: test wbcGuidToString and friends as well in WINBIND-WBCLIENT.
Günther Deschner [Fri, 16 Oct 2009 11:38:57 +0000 (13:38 +0200)]
s4-smbtorture: test wbcGuidToString and friends as well in WINBIND-WBCLIENT.

Guenther

11 years agos4:provision - fixed invalid creationTime format
Endi S. Dewata [Wed, 14 Oct 2009 06:04:00 +0000 (01:04 -0500)]
s4:provision - fixed invalid creationTime format

11 years agos4:ldb - fixed dangling pointer in ldb_request_add_control()
Endi S. Dewata [Wed, 14 Oct 2009 05:54:52 +0000 (00:54 -0500)]
s4:ldb - fixed dangling pointer in ldb_request_add_control()

11 years agos4:auth - fixed problem reading bind DN from secrets database
Endi S. Dewata [Fri, 9 Oct 2009 19:30:51 +0000 (14:30 -0500)]
s4:auth - fixed problem reading bind DN from secrets database

11 years agos4:provision - replaced linked_attributes with FDS plugins
Endi S. Dewata [Fri, 9 Oct 2009 18:36:04 +0000 (13:36 -0500)]
s4:provision - replaced linked_attributes with FDS plugins

When FDS is used as a backend, Samba should not use the
linked_attributes LDB module, but instead use the built-in
DS plugins for attribute linking, indexing, and referential
integrity.

11 years agos4:auth_sam: Restructure tail in "authsam_get_server_info_principal" and fix a memory...
Matthias Dieter Wallnöfer [Fri, 16 Oct 2009 11:48:17 +0000 (13:48 +0200)]
s4:auth_sam: Restructure tail in "authsam_get_server_info_principal" and fix a memory leak

11 years agos4:winsdb - Substitute LDB result numbers with constants
Matthias Dieter Wallnöfer [Fri, 16 Oct 2009 11:42:58 +0000 (13:42 +0200)]
s4:winsdb - Substitute LDB result numbers with constants

11 years agos3: Try to fix the build on Solaris & AIX regarding the password change reject reason
Matthias Dieter Wallnöfer [Fri, 16 Oct 2009 10:25:34 +0000 (12:25 +0200)]
s3: Try to fix the build on Solaris & AIX regarding the password change reject reason