kai/samba.git
13 years agos3-waf: add check for fcntl locking.
Günther Deschner [Wed, 16 Feb 2011 15:51:14 +0000 (16:51 +0100)]
s3-waf: add check for fcntl locking.

Guenther

13 years agos3-waf: add check for "struct dirent64".
Günther Deschner [Wed, 16 Feb 2011 15:42:33 +0000 (16:42 +0100)]
s3-waf: add check for "struct dirent64".

Guenther

13 years agos3:test: run the net.rpc.registry test under "dc" not "dc:local"
Michael Adam [Wed, 16 Feb 2011 13:48:16 +0000 (14:48 +0100)]
s3:test: run the net.rpc.registry test under "dc" not "dc:local"

There is no need to run it on the rpc server, but it should
be run from a remote host.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 16:05:58 CET 2011 on sn-devel-104

13 years agos3:test: remove the give/take admin rights code from the net(rpc)registry test
Michael Adam [Wed, 16 Feb 2011 13:47:02 +0000 (14:47 +0100)]
s3:test: remove the give/take admin rights code from the net(rpc)registry test

This is not neede any more.
The token has been fixed at the lower level on the dc.

13 years agos3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm
Michael Adam [Wed, 16 Feb 2011 13:43:41 +0000 (14:43 +0100)]
s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm

13 years agos3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net...
Michael Adam [Wed, 16 Feb 2011 13:39:26 +0000 (14:39 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net.local.registry.roundtrip

13 years agos3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry
Michael Adam [Wed, 16 Feb 2011 13:37:05 +0000 (14:37 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry

13 years agos3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry
Michael Adam [Wed, 16 Feb 2011 13:37:05 +0000 (14:37 +0100)]
s3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry

13 years agos3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc
Michael Adam [Wed, 16 Feb 2011 13:35:53 +0000 (14:35 +0100)]
s3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc

13 years agos3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).
Günther Deschner [Wed, 16 Feb 2011 13:31:30 +0000 (14:31 +0100)]
s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104

13 years agos3:test: mark the net_registry_roundtrip test as knownfail
Michael Adam [Wed, 16 Feb 2011 11:38:26 +0000 (12:38 +0100)]
s3:test: mark the net_registry_roundtrip test as knownfail

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 13:45:09 CET 2011 on sn-devel-104

13 years agos3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip
Michael Adam [Wed, 16 Feb 2011 10:54:58 +0000 (11:54 +0100)]
s3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip

13 years agos3:test: move the registry roundtrip test to a test script of its own
Michael Adam [Wed, 16 Feb 2011 10:52:39 +0000 (11:52 +0100)]
s3:test: move the registry roundtrip test to a test script of its own

13 years agos3:test: add comment header to test_net_registry.sh
Michael Adam [Wed, 16 Feb 2011 10:50:57 +0000 (11:50 +0100)]
s3:test: add comment header to test_net_registry.sh

13 years agos3:test: use the blackbox subunit test driver in the net_registry tests.
Michael Adam [Tue, 15 Feb 2011 21:54:06 +0000 (22:54 +0100)]
s3:test: use the blackbox subunit test driver in the net_registry tests.

13 years agos3:test: use the blackbox subunit test driver in the net_misc tests.
Michael Adam [Tue, 15 Feb 2011 21:54:06 +0000 (22:54 +0100)]
s3:test: use the blackbox subunit test driver in the net_misc tests.

13 years agos3:test: add the "blackbox.failure" test to the knownfail tests
Michael Adam [Wed, 16 Feb 2011 10:53:24 +0000 (11:53 +0100)]
s3:test: add the "blackbox.failure" test to the knownfail tests

This is designed to fail. Its purpose is to test our test infrastructure.

13 years agos3:test: add the failure blackbox test as samba3.blackbox.failure
Michael Adam [Tue, 15 Feb 2011 21:53:01 +0000 (22:53 +0100)]
s3:test: add the failure blackbox test as samba3.blackbox.failure

13 years agos3:test: add a simple failing blackbox testsuite
Michael Adam [Tue, 15 Feb 2011 15:08:49 +0000 (16:08 +0100)]
s3:test: add a simple failing blackbox testsuite

13 years agos3:test: add the success blackbox test as samba3.blackbox.success
Michael Adam [Tue, 15 Feb 2011 15:05:45 +0000 (16:05 +0100)]
s3:test: add the success blackbox test as samba3.blackbox.success

13 years agos3:test: add a simple blackbox test that succeeds.
Michael Adam [Tue, 15 Feb 2011 15:05:06 +0000 (16:05 +0100)]
s3:test: add a simple blackbox test that succeeds.

13 years agotestprogs/blackbox/subunit: add testok() for easier integration of s3 tests.
Michael Adam [Tue, 15 Feb 2011 15:03:58 +0000 (16:03 +0100)]
testprogs/blackbox/subunit: add testok() for easier integration of s3 tests.

13 years agos3:net: fix usage for "net rpc registry export"
Michael Adam [Wed, 16 Feb 2011 10:45:52 +0000 (11:45 +0100)]
s3:net: fix usage for "net rpc registry export"

13 years agos3-ipasam: Add aliases for trusted domain user
Sumit Bose [Tue, 7 Sep 2010 12:30:34 +0000 (14:30 +0200)]
s3-ipasam: Add aliases for trusted domain user

Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 12:58:13 CET 2011 on sn-devel-104

13 years agos3-netlogon: Implement NetrServerGetTrustInfo and NetrGetForestTrustInformation
Sumit Bose [Fri, 3 Sep 2010 09:56:31 +0000 (11:56 +0200)]
s3-netlogon: Implement NetrServerGetTrustInfo and NetrGetForestTrustInformation

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ldap: Add sambaTrustForestTrustInfo to LDAP schemata
Sumit Bose [Thu, 2 Sep 2010 16:22:16 +0000 (18:22 +0200)]
s3-ldap: Add sambaTrustForestTrustInfo to LDAP schemata

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Implement lsaRSetForestTrustInformation
Sumit Bose [Thu, 2 Sep 2010 16:13:38 +0000 (18:13 +0200)]
s3-lsa: Implement lsaRSetForestTrustInformation

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.
Sumit Bose [Thu, 2 Sep 2010 16:11:47 +0000 (18:11 +0200)]
s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: add IPA specific attributes
Sumit Bose [Fri, 3 Sep 2010 07:39:45 +0000 (09:39 +0200)]
s3-ipasam: add IPA specific attributes

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Add and remove trusted domain account
Sumit Bose [Mon, 30 Aug 2010 16:09:12 +0000 (18:09 +0200)]
s3-lsa: Add and remove trusted domain account

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: fix return code of _lsa_QueryTrustedDomainInfoByName()
Sumit Bose [Mon, 30 Aug 2010 13:57:36 +0000 (15:57 +0200)]
s3-lsa: fix return code of _lsa_QueryTrustedDomainInfoByName()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: add pdb_ipasam_capabilities() and pdb_ipasam_get_domain_info()
Sumit Bose [Mon, 30 Aug 2010 13:55:52 +0000 (15:55 +0200)]
s3-ipasam: add pdb_ipasam_capabilities() and pdb_ipasam_get_domain_info()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos4-smbtorture: Two fixes for forest trust test against samba.
Sumit Bose [Mon, 30 Aug 2010 13:21:11 +0000 (15:21 +0200)]
s4-smbtorture: Two fixes for forest trust test against samba.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Extract auth info from trustDomainPasswords
Sumit Bose [Thu, 26 Aug 2010 12:44:04 +0000 (14:44 +0200)]
s3-lsa: Extract auth info from trustDomainPasswords

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ldap: Update LDAP schemata to include sambaTrustedDomain.
Sumit Bose [Wed, 25 Aug 2010 12:37:25 +0000 (14:37 +0200)]
s3-ldap: Update LDAP schemata to include sambaTrustedDomain.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Use pdb_get_trusted_domain_by_sid in _lsa_QueryTrustedDomainInfo()
Sumit Bose [Tue, 24 Aug 2010 16:18:00 +0000 (18:18 +0200)]
s3-lsa: Use pdb_get_trusted_domain_by_sid in _lsa_QueryTrustedDomainInfo()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: fix lsa_QueryTrustedDomainInfo
Sumit Bose [Tue, 24 Aug 2010 16:16:06 +0000 (18:16 +0200)]
s3-lsa: fix lsa_QueryTrustedDomainInfo

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: add ipasam_get_trusted_domain_by_sid()
Sumit Bose [Tue, 24 Aug 2010 11:48:18 +0000 (13:48 +0200)]
s3-ipasam: add ipasam_get_trusted_domain_by_sid()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: add wrapper for ipasam_enum_trusteddoms()
Sumit Bose [Mon, 23 Aug 2010 13:25:11 +0000 (15:25 +0200)]
s3-ipasam: add wrapper for ipasam_enum_trusteddoms()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_OpenTrustedDomainByName().
Günther Deschner [Mon, 19 Oct 2009 17:02:24 +0000 (19:02 +0200)]
s3-lsa: implement _lsa_OpenTrustedDomainByName().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_OpenTrustedDomain().
Günther Deschner [Thu, 16 Jul 2009 00:26:37 +0000 (02:26 +0200)]
s3-lsa: implement _lsa_OpenTrustedDomain().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Implement _lsa_EnumTrustedDomainsEx()
Sumit Bose [Mon, 23 Aug 2010 09:20:37 +0000 (11:20 +0200)]
s3-lsa: Implement _lsa_EnumTrustedDomainsEx()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_CloseTrustedDomainEx().
Günther Deschner [Thu, 29 Oct 2009 15:15:22 +0000 (16:15 +0100)]
s3-lsa: implement _lsa_CloseTrustedDomainEx().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_QueryTrustedDomainInfoByName().
Günther Deschner [Tue, 20 Oct 2009 10:50:33 +0000 (12:50 +0200)]
s3-lsa: implement _lsa_QueryTrustedDomainInfoByName().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_QueryTrustedDomainInfoBySid().
Günther Deschner [Tue, 20 Oct 2009 10:48:30 +0000 (12:48 +0200)]
s3-lsa: implement _lsa_QueryTrustedDomainInfoBySid().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_QueryTrustedDomainInfo().
Günther Deschner [Thu, 16 Jul 2009 01:00:13 +0000 (03:00 +0200)]
s3-lsa: implement _lsa_QueryTrustedDomainInfo().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().
Sumit Bose [Fri, 20 Aug 2010 07:28:29 +0000 (09:28 +0200)]
s3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_DeleteTrustedDomain().
Günther Deschner [Thu, 16 Jul 2009 00:27:51 +0000 (02:27 +0200)]
s3-lsa: implement _lsa_DeleteTrustedDomain().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: make lsa_lookup_trusted_domain_by_name() use pdb_get_trusted_domain().
Sumit Bose [Fri, 20 Aug 2010 09:28:43 +0000 (11:28 +0200)]
s3-lsa: make lsa_lookup_trusted_domain_by_name() use pdb_get_trusted_domain().

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: add lsa_lookup_trusted_domain_by_name and lsa_lookup_trusted_domain_by_sid.
Günther Deschner [Thu, 16 Jul 2009 09:55:09 +0000 (11:55 +0200)]
s3-lsa: add lsa_lookup_trusted_domain_by_name and lsa_lookup_trusted_domain_by_sid.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_CreateTrustedDomain().
Günther Deschner [Thu, 16 Jul 2009 12:34:06 +0000 (14:34 +0200)]
s3-lsa: implement _lsa_CreateTrustedDomain().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_CreateTrustedDomainEx().
Günther Deschner [Mon, 26 Oct 2009 23:15:56 +0000 (00:15 +0100)]
s3-lsa: implement _lsa_CreateTrustedDomainEx().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: Let _lsa_CreateTrustedDomainEx2() use pdb_set_trusted_domain().
Sumit Bose [Tue, 17 Aug 2010 15:20:57 +0000 (17:20 +0200)]
s3-lsa: Let _lsa_CreateTrustedDomainEx2() use pdb_set_trusted_domain().

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: implement _lsa_CreateTrustedDomainEx2().
Günther Deschner [Thu, 16 Jul 2009 00:27:17 +0000 (02:27 +0200)]
s3-lsa: implement _lsa_CreateTrustedDomainEx2().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: add LSA_HANDLE_TRUST_TYPE.
Günther Deschner [Mon, 19 Oct 2009 16:48:07 +0000 (18:48 +0200)]
s3-lsa: add LSA_HANDLE_TRUST_TYPE.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-lsa: add create_lsa_policy_handle().
Günther Deschner [Fri, 30 Oct 2009 10:09:52 +0000 (11:09 +0100)]
s3-lsa: add create_lsa_policy_handle().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: implement enum_trusted_domains
Sumit Bose [Fri, 20 Aug 2010 09:58:23 +0000 (11:58 +0200)]
s3-ipasam: implement enum_trusted_domains

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: implement {get,set,del}_trusted_domain
Sumit Bose [Fri, 16 Jul 2010 09:01:49 +0000 (11:01 +0200)]
s3-ipasam: implement {get,set,del}_trusted_domain

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-passdb: make priv2ld() public
Sumit Bose [Thu, 15 Jul 2010 14:52:32 +0000 (16:52 +0200)]
s3-passdb: make priv2ld() public

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-passdb: add {get,set,del,enum}_trusted_domain calls
Sumit Bose [Thu, 15 Jul 2010 14:22:42 +0000 (16:22 +0200)]
s3-passdb: add {get,set,del,enum}_trusted_domain calls

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-ipasam: Disable old trustdom_pw calls
Sumit Bose [Thu, 15 Jul 2010 09:21:48 +0000 (11:21 +0200)]
s3-ipasam: Disable old trustdom_pw calls

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-passdb: Add minimal stub for IPA passdb backend
Sumit Bose [Wed, 14 Jul 2010 13:08:02 +0000 (15:08 +0200)]
s3-passdb: Add minimal stub for IPA passdb backend

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-auth Fix memory leak in security=share and force user =
Andrew Bartlett [Fri, 11 Feb 2011 00:34:56 +0000 (11:34 +1100)]
s3-auth Fix memory leak in security=share and force user =

In these cases, the server_info was not stolen onto a long term memory
context, and so remained on the NULL context where it was created.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 16 01:08:19 CET 2011 on sn-devel-104

13 years agowaf Fix dependencies for .pc (pkg-config) files
Andrew Bartlett [Tue, 15 Feb 2011 23:18:12 +0000 (10:18 +1100)]
waf Fix dependencies for .pc (pkg-config) files

We used the wrong parameter for the dependency calculation.

thanks to Thomas Nagy for the fix!

Andrew Bartlett

13 years agos3-librpc: move server_id marshalling to own helper file.
Günther Deschner [Tue, 15 Feb 2011 16:37:03 +0000 (17:37 +0100)]
s3-librpc: move server_id marshalling to own helper file.

(in preparation of merging struct server_id).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104

13 years agos3: Support "codePage" in pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:15:17 +0000 (19:15 +0100)]
s3: Support "codePage" in pdb_ads

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104

13 years agos3: Pass "code_page" through samr
Volker Lendecke [Tue, 15 Feb 2011 18:13:52 +0000 (19:13 +0100)]
s3: Pass "code_page" through samr

13 years agos3: Add "code_page" to struct samu
Volker Lendecke [Tue, 15 Feb 2011 18:07:42 +0000 (19:07 +0100)]
s3: Add "code_page" to struct samu

13 years agos3: Support "country_code" in pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:01:04 +0000 (19:01 +0100)]
s3: Support "country_code" in pdb_ads

13 years agos3: Pass "country_code" through samr
Volker Lendecke [Tue, 15 Feb 2011 18:09:51 +0000 (19:09 +0100)]
s3: Pass "country_code" through samr

13 years agos3: Add "country_code" to struct samu
Volker Lendecke [Tue, 15 Feb 2011 18:08:47 +0000 (19:08 +0100)]
s3: Add "country_code" to struct samu

13 years agos4: Fix a typo
Volker Lendecke [Tue, 15 Feb 2011 18:02:29 +0000 (19:02 +0100)]
s4: Fix a typo

13 years agos3: Add userWorkstations and userParameters to pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:09:10 +0000 (19:09 +0100)]
s3: Add userWorkstations and userParameters to pdb_ads

13 years agos3-amend: Don't overwrite existing values
Volker Lendecke [Tue, 15 Feb 2011 17:16:43 +0000 (18:16 +0100)]
s3-amend: Don't overwrite existing values

This saves a ton of tdb transactions on smbd startup

Andreas, Günther, please check!

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 19:11:25 CET 2011 on sn-devel-104

13 years agos4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding QueryDisplayInfo
Matthias Dieter Wallnöfer [Tue, 15 Feb 2011 09:24:51 +0000 (10:24 +0100)]
s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding QueryDisplayInfo

This is needed to comply with the previous patch.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104

13 years agos4:samr RPC server - QueryDisplayInfo returns always all domains users, aliases and...
Matthias Dieter Wallnöfer [Sat, 15 Jan 2011 11:30:16 +0000 (12:30 +0100)]
s4:samr RPC server - QueryDisplayInfo returns always all domains users, aliases and groups

That means when calling "QueryDisplayInfo" on the BUILTIN handle we
still get all related domain objects - for example all domain (global
+ universal) groups. This is contrary to the "EnumDomain..." calls which
do really only return the objects in the specified domain policy handle.

This has been observed against Windows Server 2008 and confirmed by
dochelp.

In the same occasion I've converted from a "gendb*"-oriented search call to "dsdb_search".

Patch-reviewed-by: Andrew Tridgell <tridge@samba.org>
13 years agos4-ldb_modules/operational: Make use of dsdb_module_reference_dn() function
Kamen Mazdrashki [Tue, 15 Feb 2011 14:09:37 +0000 (16:09 +0200)]
s4-ldb_modules/operational: Make use of dsdb_module_reference_dn() function

it does exactly what we need here

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Feb 15 16:55:32 CET 2011 on sn-devel-104

13 years agos4:sam.py - add another "description" test case
Matthias Dieter Wallnöfer [Tue, 15 Feb 2011 13:47:28 +0000 (14:47 +0100)]
s4:sam.py - add another "description" test case

Exactly for the syntax which is needed by Volker in s3's "pdb_ads".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 16:10:15 CET 2011 on sn-devel-104

13 years agos3-waf: fix the build.
Günther Deschner [Tue, 15 Feb 2011 13:32:26 +0000 (14:32 +0100)]
s3-waf: fix the build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104

13 years agos3-selftest: move all skipped test to skiplist.
Günther Deschner [Tue, 15 Feb 2011 10:15:19 +0000 (11:15 +0100)]
s3-selftest: move all skipped test to skiplist.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104

13 years agos3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
Günther Deschner [Mon, 7 Feb 2011 13:27:55 +0000 (14:27 +0100)]
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).

Guenther

13 years agos3: no need to globally include intl.h.
Günther Deschner [Mon, 14 Feb 2011 11:02:00 +0000 (12:02 +0100)]
s3: no need to globally include intl.h.

Guenther

13 years agos3-selftest: when skipping tests, use the selftest/skip file.
Günther Deschner [Mon, 14 Feb 2011 10:29:00 +0000 (11:29 +0100)]
s3-selftest: when skipping tests, use the selftest/skip file.

Guenther

13 years agos4:acl LDB module - interpret "userAccountControl" as "uint32_t"
Matthias Dieter Wallnöfer [Fri, 11 Feb 2011 14:10:04 +0000 (15:10 +0100)]
s4:acl LDB module - interpret "userAccountControl" as "uint32_t"

This is the same way as it is done in the samldb LDB module.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 12:08:26 CET 2011 on sn-devel-104

13 years agolibcli/security - fix two output format specifiers
Matthias Dieter Wallnöfer [Thu, 10 Feb 2011 09:17:33 +0000 (10:17 +0100)]
libcli/security - fix two output format specifiers

13 years agos4: Don't grant level II oplock to a file with byte-range locks.
Pavel Shilovsky [Mon, 31 Jan 2011 17:20:24 +0000 (20:20 +0300)]
s4: Don't grant level II oplock to a file with byte-range locks.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104

13 years agos4:drsuapi/getncchanges: make sure we don't process filteres objects more than once
Stefan Metzmacher [Tue, 15 Feb 2011 07:41:23 +0000 (08:41 +0100)]
s4:drsuapi/getncchanges: make sure we don't process filteres objects more than once

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 15 09:46:55 CET 2011 on sn-devel-104

13 years agoFix private libdir and codepages paths
Simo Sorce [Tue, 15 Feb 2011 00:46:42 +0000 (19:46 -0500)]
Fix private libdir and codepages paths

The private libraries need to be arch specific as well.

With --enable-fhs the codepages should go in /usr/share/samba and not
in /usr/lib{64}/samba as they are data files not libraries.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104

13 years agos3: Fix a C++ warning
Volker Lendecke [Mon, 14 Feb 2011 19:56:09 +0000 (20:56 +0100)]
s3: Fix a C++ warning

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104

13 years agoIncrease minor version since a public header has changed
Simo Sorce [Mon, 14 Feb 2011 16:49:41 +0000 (11:49 -0500)]
Increase minor version since a public header has changed

Samba4 now depends on a new macro defined in the public ldb_modules.h header:
LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK.

Bump up the minor release of ldb accordingly.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 19:39:31 CET 2011 on sn-devel-104

13 years agolibrpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
Günther Deschner [Mon, 14 Feb 2011 10:21:21 +0000 (11:21 +0100)]
librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).

Simo, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104

13 years agoReturn NULL if tevent_add_fd() is passed a negative fd
Stephen Gallagher [Mon, 14 Feb 2011 15:29:49 +0000 (10:29 -0500)]
Return NULL if tevent_add_fd() is passed a negative fd

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104

13 years agos4:ldapcmp: cope with range retrivals of multivalued attributes
Stefan Metzmacher [Mon, 14 Feb 2011 13:18:14 +0000 (14:18 +0100)]
s4:ldapcmp: cope with range retrivals of multivalued attributes

A Windows Server returns a 'member;range=0-1499' attribute
with the first 1500 values of the 'member' attribute.

The client can do a BASE search on the given object
and ask for the 'member;range=1500-*' attribute.
It needs to loop until the high part of the returned
range is '*'.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104

13 years agos4-readline: remove leftover from readline merge.
Günther Deschner [Mon, 14 Feb 2011 12:37:59 +0000 (13:37 +0100)]
s4-readline: remove leftover from readline merge.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 14:26:12 CET 2011 on sn-devel-104

13 years agos3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
Günther Deschner [Tue, 8 Feb 2011 07:56:45 +0000 (08:56 +0100)]
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)

Guenther

13 years agos4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC object
Kamen Mazdrashki [Mon, 14 Feb 2011 09:41:19 +0000 (11:41 +0200)]
s4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC object

ntds_guid is NULL otherwise as it doesn't make sense for
not a DC object

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Feb 14 13:15:31 CET 2011 on sn-devel-104

13 years agos4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN for
Kamen Mazdrashki [Mon, 14 Feb 2011 09:35:48 +0000 (11:35 +0200)]
s4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN for

13 years agos4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()
Kamen Mazdrashki [Mon, 14 Feb 2011 09:34:32 +0000 (11:34 +0200)]
s4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()

as a counterpart for samdb_find_ntdsguid_for_computer()
to be used in LDB modules

13 years agos4/ldb_modules/acl.c: Fix calculation for samAccountName string len
Kamen Mazdrashki [Fri, 11 Feb 2011 03:42:28 +0000 (05:42 +0200)]
s4/ldb_modules/acl.c: Fix calculation for samAccountName string len

13 years agos3-librpc: no need to globally include endpointmapper headers.
Günther Deschner [Sat, 12 Feb 2011 02:09:41 +0000 (03:09 +0100)]
s3-librpc: no need to globally include endpointmapper headers.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104