Michael Adam
2e18c34d62
s3:test: add the "blackbox.failure" test to the knownfail tests
...
This is designed to fail. Its purpose is to test our test infrastructure.
2011-02-16 12:56:41 +01:00
Michael Adam
18f4940de2
s3:test: add the failure blackbox test as samba3.blackbox.failure
2011-02-16 12:56:41 +01:00
Michael Adam
1430d17f2a
s3:test: add a simple failing blackbox testsuite
2011-02-16 12:56:40 +01:00
Michael Adam
ca2b960c41
s3:test: add the success blackbox test as samba3.blackbox.success
2011-02-16 12:56:40 +01:00
Michael Adam
9164a57457
s3:test: add a simple blackbox test that succeeds.
2011-02-16 12:56:40 +01:00
Michael Adam
fbfa5c62b8
s3:net: fix usage for "net rpc registry export"
2011-02-16 12:56:40 +01:00
Sumit Bose
bfa7964da8
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
2011-02-16 12:58:13 +01:00
Sumit Bose
7763816968
s3-netlogon: Implement NetrServerGetTrustInfo and NetrGetForestTrustInformation
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:07 +01:00
Sumit Bose
d638f4a3b8
s3-lsa: Implement lsaRSetForestTrustInformation
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:06 +01:00
Sumit Bose
cc3b67fa1f
s3-ipasam: add IPA specific attributes
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:06 +01:00
Sumit Bose
33655d28b0
s3-lsa: Add and remove trusted domain account
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:06 +01:00
Sumit Bose
7d53893dee
s3-lsa: fix return code of _lsa_QueryTrustedDomainInfoByName()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:05 +01:00
Sumit Bose
8fa440c820
s3-ipasam: add pdb_ipasam_capabilities() and pdb_ipasam_get_domain_info()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:05 +01:00
Sumit Bose
a8ab5d582d
s3-lsa: Extract auth info from trustDomainPasswords
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:05 +01:00
Sumit Bose
0b27317a5c
s3-lsa: Use pdb_get_trusted_domain_by_sid in _lsa_QueryTrustedDomainInfo()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Sumit Bose
fbd846f427
s3-lsa: fix lsa_QueryTrustedDomainInfo
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Sumit Bose
72de982289
s3-ipasam: add ipasam_get_trusted_domain_by_sid()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Sumit Bose
b4bc1f8f5c
s3-ipasam: add wrapper for ipasam_enum_trusteddoms()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Günther Deschner
4d22986541
s3-lsa: implement _lsa_OpenTrustedDomainByName().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Günther Deschner
cdd4df72d7
s3-lsa: implement _lsa_OpenTrustedDomain().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:04 +01:00
Sumit Bose
13c5211fa9
s3-lsa: Implement _lsa_EnumTrustedDomainsEx()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:03 +01:00
Günther Deschner
86771d8258
s3-lsa: implement _lsa_CloseTrustedDomainEx().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:03 +01:00
Günther Deschner
06245d1335
s3-lsa: implement _lsa_QueryTrustedDomainInfoByName().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:03 +01:00
Günther Deschner
b9eda2ac98
s3-lsa: implement _lsa_QueryTrustedDomainInfoBySid().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:03 +01:00
Günther Deschner
1ce0d9791b
s3-lsa: implement _lsa_QueryTrustedDomainInfo().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:44:02 +01:00
Sumit Bose
bb947089af
s3-lsa: make _lsa_DeleteTrustedDomain() use pdb_del_trusted_domain().
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:43:45 +01:00
Günther Deschner
12d16af9d6
s3-lsa: implement _lsa_DeleteTrustedDomain().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:43:28 +01:00
Sumit Bose
f6004a1cfd
s3-lsa: make lsa_lookup_trusted_domain_by_name() use pdb_get_trusted_domain().
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:43:18 +01:00
Günther Deschner
387e37efce
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>
2011-02-16 11:35:20 +01:00
Günther Deschner
39c9f59dba
s3-lsa: implement _lsa_CreateTrustedDomain().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:35:20 +01:00
Günther Deschner
55bc1cfae3
s3-lsa: implement _lsa_CreateTrustedDomainEx().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:35:20 +01:00
Sumit Bose
162fd0e891
s3-lsa: Let _lsa_CreateTrustedDomainEx2() use pdb_set_trusted_domain().
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:35:07 +01:00
Günther Deschner
a6bd93b8c3
s3-lsa: implement _lsa_CreateTrustedDomainEx2().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:46 +01:00
Günther Deschner
424dc1b6a3
s3-lsa: add LSA_HANDLE_TRUST_TYPE.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:46 +01:00
Günther Deschner
5b412117b2
s3-lsa: add create_lsa_policy_handle().
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:46 +01:00
Sumit Bose
4e60954071
s3-ipasam: implement enum_trusted_domains
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:45 +01:00
Sumit Bose
8ddbb48869
s3-ipasam: implement {get,set,del}_trusted_domain
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:45 +01:00
Sumit Bose
c96fd895b9
s3-passdb: make priv2ld() public
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:45 +01:00
Sumit Bose
b4dd65d3f9
s3-passdb: add {get,set,del,enum}_trusted_domain calls
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:44 +01:00
Sumit Bose
2e78022066
s3-ipasam: Disable old trustdom_pw calls
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:44 +01:00
Sumit Bose
4fa210d76a
s3-passdb: Add minimal stub for IPA passdb backend
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:31 +01:00
Andrew Bartlett
1354d3dc74
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
2011-02-16 01:08:19 +01:00
Günther Deschner
e34ba447ec
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
2011-02-16 00:02:33 +01:00
Volker Lendecke
ab85362cff
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
2011-02-15 22:00:27 +01:00
Volker Lendecke
9ef0e1ef22
s3: Pass "code_page" through samr
2011-02-15 21:12:22 +01:00
Volker Lendecke
ead7ffa1a7
s3: Add "code_page" to struct samu
2011-02-15 21:12:22 +01:00
Volker Lendecke
8bbf0ad2a0
s3: Support "country_code" in pdb_ads
2011-02-15 21:12:22 +01:00
Volker Lendecke
63c556e306
s3: Pass "country_code" through samr
2011-02-15 21:12:22 +01:00
Volker Lendecke
d9d0fef862
s3: Add "country_code" to struct samu
2011-02-15 21:12:22 +01:00
Volker Lendecke
7a2cbdafa8
s3: Add userWorkstations and userParameters to pdb_ads
2011-02-15 21:12:22 +01:00
Volker Lendecke
4b354e67fc
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
2011-02-15 19:11:25 +01:00
Günther Deschner
0085d6e21a
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
2011-02-15 15:24:10 +01:00
Günther Deschner
0bfdb3e249
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
2011-02-15 12:52:22 +01:00
Günther Deschner
a32f0ff2f0
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
...
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
ca574482b8
s3: no need to globally include intl.h.
...
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
c575d30a32
s3-selftest: when skipping tests, use the selftest/skip file.
...
Guenther
2011-02-15 12:09:22 +01:00
Volker Lendecke
64c63a3e1c
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
2011-02-14 21:44:55 +01:00
Günther Deschner
3722f65359
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
2011-02-14 18:54:38 +01:00
Günther Deschner
89db591b2a
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
...
Guenther
2011-02-14 13:38:53 +01:00
Günther Deschner
b3ea56ae16
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
2011-02-14 12:31:56 +01:00
Günther Deschner
80b4e1e985
s3: move some defines to a better place.
...
Guenther
2011-02-14 11:47:19 +01:00
Günther Deschner
f10cba1a01
s3-proto: remove prototype for non-existing functions.
...
Guenther
2011-02-14 11:47:19 +01:00
Günther Deschner
9d9659896b
s3-librpc: remove duplicate prototypes.
...
Guenther
2011-02-14 11:47:19 +01:00
Volker Lendecke
e9f552925d
s3: Fix a typed-punned warning
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104
2011-02-14 11:46:50 +01:00
Volker Lendecke
5d63c503f7
s3: Add "comment" and "description" to pdb_ads
...
This is pending a change to samldb_description_check, we might have to modify
the description with a TLDAP_MOD_REPLACE operation.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 17:56:58 CET 2011 on sn-devel-104
2011-02-13 17:56:58 +01:00
Volker Lendecke
60df3c0679
s3: Make "net sam list [users|workstations]" list only the right things
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
2011-02-13 12:59:14 +01:00
Volker Lendecke
26051b8aaa
s3: Use tlap_simple_recv in tldap_sasl_bind_recv
2011-02-13 12:11:53 +01:00
Volker Lendecke
f6df16d9d2
s3: Add error checking to asn1_read_OctetString_talloc
2011-02-13 12:11:53 +01:00
Volker Lendecke
f49ad6d073
s3: Remove an unneeded proto
2011-02-13 12:11:53 +01:00
Volker Lendecke
80accd3946
Fix typos
2011-02-13 12:11:53 +01:00
Volker Lendecke
9331bc378d
s3: Fix some nonempty blank lines
2011-02-13 12:11:53 +01:00
Volker Lendecke
fe551d6815
s3: Convert tldap_entry_values args to "array, count"
2011-02-13 12:11:53 +01:00
Volker Lendecke
84abb428f6
s3: Add an explicit counter to tldap_add_mod_[blobs|str]
2011-02-13 12:11:53 +01:00
Volker Lendecke
158c1e315b
s3: Convert tldap_make_mod_fmt args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
6375e6993e
s3: Convert tldap_make_mod_blob args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
67e6874651
s3: Convert tldap_make_mod_blob_int args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
3363bab875
s3: Convert tldap_add_blob_vals args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
6b492a1741
s3: Convert tldap_add_mod_blobs args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
30e72e0d0a
s3: Align the args of pdb_ads_update_sam_account to tldap_modify
2011-02-13 12:11:52 +01:00
Volker Lendecke
d38ab83bab
s3: Make "smbpasswd <user>" work with pdb_ads
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
2011-02-12 15:17:39 +01:00
Günther Deschner
13e820cd10
s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104
2011-02-12 00:48:10 +01:00
Volker Lendecke
822a511324
s3: Skip the CHAIN1 tests
...
They are broken with signing. I'll fix that.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
2011-02-11 17:42:09 +01:00
Günther Deschner
6531ac6a65
s3-waf: next attempt to fix cups and non-cups builds.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
2011-02-11 16:57:40 +01:00
Günther Deschner
7ff5bf56c8
s3-rpc_server: fix some buildwarnings in non-developer mode.
...
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
16af2539dc
s3-selftest: revamp selftest wscript with s4 one.
...
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
414f39872d
s3-waf: try to deal with underlinked cups libraries.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
2011-02-11 15:28:32 +01:00
Günther Deschner
59c8839dec
s3-waf: move all error mappings to errors subsystem.
...
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
3eb7e125ab
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
...
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
8015514c5b
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
2011-02-11 13:08:38 +01:00
Günther Deschner
1bad50f648
s3-waf: rework the way SMBLDAP subsystem is built a little.
...
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
e4bf69285b
s3-libsmb: fix ifdef check in ads_dc_name.
...
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
c7d0850ee8
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
...
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
f076c76260
s3-libads: make ads_guess_service_principal static.
...
Guenther
2011-02-11 12:22:41 +01:00
Volker Lendecke
16229e4cef
s3: Avoid a select call per smb
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104
2011-02-11 12:13:54 +01:00
Volker Lendecke
90c8de54a0
s3: Add more checks and better fallback to addrchange
...
From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I
learned a bit more about netlink...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
2011-02-11 10:47:09 +01:00
Günther Deschner
44f2344a92
s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
2011-02-11 02:30:40 +01:00
Günther Deschner
06d4e4cb2e
s3-selftest: remove some more unused test functions.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
2011-02-11 00:33:58 +01:00
Günther Deschner
6bc6d5dcfb
s3-waf: try to fix the {net|free|open}bsd build.
...
Guenther
2011-02-10 23:46:45 +01:00
Günther Deschner
961f6295a9
s3-selftest: run the three net tests individually.
...
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
80d87e68de
s3-waf: dont try to redefine 'pam', we checked above...
...
Found by solaris waf buildfarm build.
Guenther
2011-02-10 23:39:14 +01:00