Michael Adam [Fri, 4 Apr 2008 14:56:02 +0000 (16:56 +0200)]
mapping_tdb: fix enumeration of mappings.
db->traverse_read returns the number of traversed object on success.
Michael
(This used to be commit
2be2188a97060f04c2dea3ca9ed0fd3db0b3df7c)
Michael Adam [Fri, 4 Apr 2008 11:07:01 +0000 (13:07 +0200)]
Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...
Michael
(This used to be commit
7b16cb1023abd4fb2b2f08cf723d38c8c6ae68a0)
Michael Adam [Fri, 4 Apr 2008 13:27:51 +0000 (15:27 +0200)]
mapping.tdb: fix creation of entries with GROUP_PREFIX
Macro is no expanded inside literal string.
Michael
(This used to be commit
872a3d3d38287ab9cbb260d05777481d94e03539)
Günther Deschner [Fri, 4 Apr 2008 00:53:40 +0000 (02:53 +0200)]
Use sid_array_from_info3 in lookup_usergroups_cached().
Guenther
(This used to be commit
65b4cb20ea3fb806cfd50281e08f32bea70fafce)
Günther Deschner [Thu, 3 Apr 2008 23:44:43 +0000 (01:44 +0200)]
Always uppercase cli->srv_name_slash.
Not that I think it is of any importance...
Guenther
(This used to be commit
352f8440c74bc22416e21783e1dc5fecf5869902)
Günther Deschner [Thu, 3 Apr 2008 23:44:16 +0000 (01:44 +0200)]
Remove some dead code in rpcclient.
Guenther
(This used to be commit
c7ae1a9b53ef578cf4dfdf8e05915817c69896b5)
Günther Deschner [Thu, 3 Apr 2008 23:40:29 +0000 (01:40 +0200)]
Move rpccli_try_samr_connects out of rpcclient.
Guenther
(This used to be commit
f550cdb6f240830ee1e3a2dfe5f4128bca0cf836)
Günther Deschner [Thu, 3 Apr 2008 15:23:22 +0000 (17:23 +0200)]
Fix pam_winbind macros.
Guenther
(This used to be commit
37091859126167e84e55afe8a32025ac0f65065e)
Günther Deschner [Thu, 3 Apr 2008 13:41:26 +0000 (15:41 +0200)]
Use pwb_context in pam_winbind.
Guenther
(This used to be commit
bf960f57e7adf09cdf096f2c72065ea1ff8b0daa)
Günther Deschner [Thu, 3 Apr 2008 11:23:34 +0000 (13:23 +0200)]
Add _pam_winbind_init/free_context.
Guenther
(This used to be commit
d62676cf886d910334b3d6f7ce0147b75ef53aec)
Günther Deschner [Thu, 3 Apr 2008 11:19:46 +0000 (13:19 +0200)]
Add pwb_context to pam_winbind.h.
Guenther
(This used to be commit
fe8acb064433b286938e0b572ca1faa8a54414b7)
Günther Deschner [Thu, 3 Apr 2008 11:06:14 +0000 (13:06 +0200)]
Make more functions in pam_winbind static.
Guenther
(This used to be commit
ea2175ee0e6288ccb132e86b9dd0bf8a0e4169c9)
Stefan Metzmacher [Wed, 2 Apr 2008 04:10:04 +0000 (06:10 +0200)]
wbinfo: use wbcLookupNames()
metze
(This used to be commit
9d0e5a13215d4904084e81fde6098c70ee4d4636)
Stefan Metzmacher [Wed, 2 Apr 2008 04:03:48 +0000 (06:03 +0200)]
wbinfo: use wbcLookupRids()
metze
(This used to be commit
046b26b763b16362dd662a77b2434641bf583bc2)
Stefan Metzmacher [Wed, 2 Apr 2008 03:26:36 +0000 (05:26 +0200)]
wbinfo: use wbcLookupSid()
metze
(This used to be commit
b917be4986bd55aeffae03b08cf476ea6302fa26)
Stefan Metzmacher [Wed, 2 Apr 2008 04:02:45 +0000 (06:02 +0200)]
wbinfo: catch NULL domain string as in other places
metze
(This used to be commit
ff4611832a0b498b83590279a7153e606a4720f5)
Michael Adam [Thu, 3 Apr 2008 13:29:25 +0000 (15:29 +0200)]
registry: remove parameter checks from smbconf backend: they are in libsmbconf.
Michael
(This used to be commit
118cf3813336122a060916848e37d2d5d25bff92)
Michael Adam [Thu, 3 Apr 2008 13:16:01 +0000 (15:16 +0200)]
libsmbconf: move initialization of registry value down after error checks.
Michael
(This used to be commit
2a8029985f9bde4da8ca20bc24d937150eab444c)
Günther Deschner [Wed, 2 Apr 2008 22:23:50 +0000 (00:23 +0200)]
Fix rpccli_lsa_lookup_sids_noalloc.
When looking up e.g. a trusted doamin account, there is just no name.
Michael, please check.
Guenther
(This used to be commit
ea3cfadc2504c891b4784719bd8e6debcc38c879)
Günther Deschner [Wed, 2 Apr 2008 13:26:27 +0000 (15:26 +0200)]
Add NT_STATUS_RPC_CANNOT_SUPPORT.
Guenther
(This used to be commit
9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
Simo Sorce [Tue, 1 Apr 2008 22:25:47 +0000 (18:25 -0400)]
Fix trusted users on a DC that uses the old idmap syntax. There was no default backend therefore on IDs were mapped by default.
(This used to be commit
f6069126e5e6d239b1ae00e897a420227f923e3f)
Jeremy Allison [Wed, 2 Apr 2008 18:23:36 +0000 (11:23 -0700)]
Fix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
There is no reason to ensure the target host is ourselves, and
this breaks MS clients in some cases.
Jeremy.
(This used to be commit
c19fdf43d16ce9fba3e8e12e6192bac31837715e)
Günther Deschner [Wed, 2 Apr 2008 10:29:24 +0000 (12:29 +0200)]
Fix "net rpc trustdom establish" for win2k8 trusts.
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.
Rafael, looks ok?
Guenther
(This used to be commit
b12edbeffee1f7d1fd971cde9189e5137ddeb35b)
Günther Deschner [Wed, 2 Apr 2008 10:23:07 +0000 (12:23 +0200)]
Apply some const in clirap.
Guenther
(This used to be commit
8a1a9f967db25d3928f19e46d60af249f934f323)
Günther Deschner [Wed, 2 Apr 2008 09:18:10 +0000 (11:18 +0200)]
Some fixes for netdomjoin-gui and support for browsing/joining OUs.
Guenther
(This used to be commit
4714bae0dbbb2ad010c2929f83de6bca84cfac46)
Günther Deschner [Wed, 2 Apr 2008 09:14:15 +0000 (11:14 +0200)]
Make sure to hand down the domain name in libnetapi NetUnjoinDomain.
Guenther
(This used to be commit
0058ab30de943f134792e3d66051206086987110)
Günther Deschner [Wed, 2 Apr 2008 00:29:48 +0000 (02:29 +0200)]
Fix NETLOGON credential chain with Windows 2008 all over the place.
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
(This used to be commit
0970369ca0cb9ae465cff40e5c75739824daf1d0)
Stefan Metzmacher [Tue, 1 Apr 2008 16:18:38 +0000 (18:18 +0200)]
smbd: always close the base_fsp even if the real close returned an error
Otherwise we may end up with share mode entry without an open file.
Volker, Jeremy: please check...
metze
(This used to be commit
547eacf6058d2bc5b41b266b70f8f4747aca4eae)
Stefan Metzmacher [Fri, 28 Mar 2008 15:55:53 +0000 (16:55 +0100)]
wbinfo: use wbcInterfaceDetails()
metze
(This used to be commit
ff87260f1268d190170608b0808c191ef8f3e942)
Stefan Metzmacher [Fri, 28 Mar 2008 15:52:18 +0000 (16:52 +0100)]
libwbclient: add wbcInterfaceDetails()
metze
(This used to be commit
fee3806326b9ba214e35868271e6481c0c8b9c4b)
Stefan Metzmacher [Mon, 31 Mar 2008 10:01:24 +0000 (12:01 +0200)]
libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
metze
(This used to be commit
de2e8d5db93d32e5ebf04a2018a08f766eb9a233)
Michael Adam [Tue, 1 Apr 2008 13:51:51 +0000 (15:51 +0200)]
test: add diagnostic message to net_registry test.
Michael
(This used to be commit
c04a234f8f6fbdf8e54c69414024d84aa71fec45)
Michael Adam [Tue, 1 Apr 2008 13:50:24 +0000 (15:50 +0200)]
test: fix net_registry test "set value to different type" to track error count
missing backslash in call... :-}
Michael
(This used to be commit
8f0c25f01f11857d24556346dc2758549919eba3)
Michael Adam [Tue, 1 Apr 2008 13:43:35 +0000 (15:43 +0200)]
test: some cosmetics to net_registry tests.
Michael
(This used to be commit
dba9db5ae6581df18591eebd19d3649bed0d9367)
Michael Adam [Tue, 1 Apr 2008 13:35:12 +0000 (15:35 +0200)]
test: fix net_registry tests to correctly capture output of commands inside one test
so that failure output is not clobbered by output of previous
successful commands.
Michael
(This used to be commit
cb3dafe5fd8867b000e01979d4232968d994d376)
Michael Adam [Tue, 1 Apr 2008 13:19:05 +0000 (15:19 +0200)]
test: fix use of printf in net_registry tests.
actually 'printf "%s\n"' is the proper replacement of 'echo -e'
Michael
(This used to be commit
388a40931f1559b134317ef0c85c7cf2598e17fe)
Michael Adam [Tue, 1 Apr 2008 13:55:59 +0000 (15:55 +0200)]
po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael
(This used to be commit
0bd50e450baf633ea9d653341f3ce9d81bfdd83f)
Michael Adam [Tue, 1 Apr 2008 13:54:34 +0000 (15:54 +0200)]
mkversion: be more portable, use 'print "%s"' instead of 'echo -n'
Michael
(This used to be commit
7a23dab1eaf3116079a89cdf348cabc659608031)
Michael Adam [Tue, 1 Apr 2008 13:53:54 +0000 (15:53 +0200)]
installswat: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael
(This used to be commit
8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
Michael Adam [Tue, 1 Apr 2008 13:52:54 +0000 (15:52 +0200)]
configure: be more portable, use 'printf "%s"' instead of "echo -n"
Michael
(This used to be commit
06dfb0cf7cd39e1072534fc32e79a4b4f6e49cb6)
Michael Adam [Tue, 1 Apr 2008 11:45:55 +0000 (13:45 +0200)]
test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.sh
Michael
(This used to be commit
c0c41184277044eb856f91c025f645c198cac188)
Michael Adam [Tue, 1 Apr 2008 11:43:20 +0000 (13:43 +0200)]
test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.sh
Michael
(This used to be commit
b6122406fe938fdaf373ff45214db79de06eb989)
Stefan Metzmacher [Tue, 1 Apr 2008 10:29:12 +0000 (12:29 +0200)]
smbd: ignore nttrans renames as w2k3 does
This lets us pass the RAW-RENAME test.
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be commit
2d50a1fef022023588e9963131951f8f3e4c7c23)
Stefan Metzmacher [Tue, 1 Apr 2008 09:26:29 +0000 (11:26 +0200)]
account_pol: use db_open_trans()
metze
(This used to be commit
888c2802b7bda92baae2dd0c1596f5e04bc3bfaa)
Stefan Metzmacher [Fri, 28 Mar 2008 19:04:35 +0000 (20:04 +0100)]
account_pol: use dbwrap_trans_store_uint32()
metze
(This used to be commit
b1d63c8c1116f3429fb73aa6842105073385d1e8)
Volker Lendecke [Fri, 28 Mar 2008 11:09:56 +0000 (12:09 +0100)]
Convert account_pol.tdb to dbwrap
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
0b36871a0d795183f0e9dc78b654788b1988f06e)
Stefan Metzmacher [Sun, 30 Mar 2008 11:11:22 +0000 (13:11 +0200)]
dbwrap: fix a confusing "tdb_chainunlock failed" message
Unlock before we cancel the transaction...
metze
(This used to be commit
d70a8e9c413a7d3993e0d11db5ae9cbc7fdb12c7)
Stefan Metzmacher [Fri, 28 Mar 2008 19:03:30 +0000 (20:03 +0100)]
dbwrap: add dbwrap_trans_store_uint32()
metze
(This used to be commit
9e739b4c99a9aba5c5bb58f3b6a9fb949e24c581)
Volker Lendecke [Fri, 28 Mar 2008 11:02:28 +0000 (12:02 +0100)]
Add dbwrap_trans_*_bystring
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
2cf2684a11027431e6a93992413a5a5a697a4ba0)
Volker Lendecke [Fri, 28 Mar 2008 10:57:54 +0000 (11:57 +0100)]
Convert dbwrap_trans_delete to NTSTATUS
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
dead193f46c2b19955ab3e5ac5ba343694f4858a)
Volker Lendecke [Fri, 28 Mar 2008 10:53:00 +0000 (11:53 +0100)]
Convert dbwrap_trans_store to NTSTATUS
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
5f4de856af1abe63b13059bbe1615cb5877770d0)
Volker Lendecke [Fri, 28 Mar 2008 08:42:37 +0000 (09:42 +0100)]
Add dbwrap_[fetch|store]_uint32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
f1dd915ce802645166e0c8fc79d18d5ad41cfe7a)
Stefan Metzmacher [Fri, 28 Mar 2008 07:27:11 +0000 (08:27 +0100)]
sharesec: use db_open_trans()
metze
(This used to be commit
1c59142ccc46616c10b98c51601361f203d542d6)
Volker Lendecke [Thu, 27 Mar 2008 22:10:57 +0000 (23:10 +0100)]
Convert share_info.tdb to dbwrap
(This used to be commit
bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e)
Stefan Metzmacher [Fri, 28 Mar 2008 11:20:06 +0000 (12:20 +0100)]
mapping_tdb: use the correct sid for the key creation
metze
(This used to be commit
0d221a3f0a948e173b22585b7833a5441d860a57)
Stefan Metzmacher [Thu, 27 Mar 2008 16:39:58 +0000 (17:39 +0100)]
mapping_tdb: use db_open_trans()
metze
(This used to be commit
16d18df0d069aec645c41e38e8c926ccdaac9388)
Volker Lendecke [Thu, 27 Mar 2008 16:10:31 +0000 (17:10 +0100)]
Protect group_mapping.tdb ops with transactions
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit
d702ed73c1b986ded9deaa3abed92c39d71949fc)
Stefan Metzmacher [Thu, 27 Mar 2008 15:55:35 +0000 (16:55 +0100)]
pdb_tdb: use != 0 instead off == -1 for dbwrap functions
metze
(This used to be commit
d4826a01369c00b5e83cd62c2412a4eb826e216d)
Stefan Metzmacher [Tue, 1 Apr 2008 09:02:01 +0000 (11:02 +0200)]
passdb: guard pdb_generate_sam_sid() with a transaction
This prevents possible races with some dbwrap backends
metze
(This used to be commit
9322442510d9c2cf16c25f5109fe81b277c44881)
Stefan Metzmacher [Tue, 1 Apr 2008 09:00:59 +0000 (11:00 +0200)]
passdb/secrets: add secrets_db_ctx() to get the db_context
metze
(This used to be commit
986bc7e8b260265da019b67ec751509eb589d24b)
Stefan Metzmacher [Tue, 1 Apr 2008 10:56:38 +0000 (12:56 +0200)]
regdb: let regdb_fetch_keys() handle NULL and failure cases in the same way and return -1
metze
(This used to be commit
983fd58805a429792fc8eaa816e2dd908643414e)
Stefan Metzmacher [Tue, 1 Apr 2008 10:48:08 +0000 (12:48 +0200)]
regdb: get the seqnum before the record, to not miss something
metze
(This used to be commit
c214107bd9bbf9b17936757437ec211d7de3048e)
Stefan Metzmacher [Tue, 1 Apr 2008 10:38:54 +0000 (12:38 +0200)]
regdb: use dbwrap->fetch() instead of fetch_locked() for readonly access"
This is the fixed version of commit
5c28c74aa06a82559f498373b3d6e9892d5c2cbe.
metze
(This used to be commit
924acd7f695d7514b1a4628468137cf632c8f1f0)
Michael Adam [Tue, 1 Apr 2008 10:48:25 +0000 (12:48 +0200)]
test: make registry tests more portable: protect some grep patterns in ' '.
Michael
(This used to be commit
1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
Michael Adam [Tue, 1 Apr 2008 10:45:06 +0000 (12:45 +0200)]
test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'
Michael
(This used to be commit
5c1b7ee5c17489da90192309853aa1ecacc15512)
Jeremy Allison [Tue, 1 Apr 2008 00:01:27 +0000 (17:01 -0700)]
Ok, final move of this code :-). I think I've found the correct
place for it now where it will cause minimal disruption (only
call the extra message_dispatch just before reading the next
smb off the wire).
Jeremy.
(This used to be commit
da2c19c481d0041872b4ce2f5105052077f3d3b8)
Jeremy Allison [Mon, 31 Mar 2008 23:56:21 +0000 (16:56 -0700)]
Move the message_dispatch() call after the check for errno on
the select return. We don't want the call to message_dispatch
to mess up the errno value.
Jeremy.
(This used to be commit
26a74d01bb2b53ffa5d296ff1c7d8b2b0d17831a)
Jeremy Allison [Mon, 31 Mar 2008 23:46:20 +0000 (16:46 -0700)]
Reduce the race condition in Samba4 in RAW-RENAME test. We rename a file
using trans2 setfileinfo on one connection, and then check the
file name has changed on the other. In Samba we achieve this by
sending a local message to the other process. This change causes
us to re-scan for incoming messages after we've woken up from the
select (which is cheap if there are no pending messages). This reduces
the race significantly. Volker please review.
Jeremy.
(This used to be commit
a7499e994aef743ea9c443f9a1618b262f6eda93)
Günther Deschner [Mon, 31 Mar 2008 22:32:23 +0000 (00:32 +0200)]
Fix build of rpcclient.
Guenther
(This used to be commit
3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
Günther Deschner [Mon, 31 Mar 2008 22:14:00 +0000 (00:14 +0200)]
Fix build warning.
Guenther
(This used to be commit
c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
Günther Deschner [Mon, 31 Mar 2008 22:11:55 +0000 (00:11 +0200)]
Fix SRVSVC NetShareInfo level 502 client-side.
Guenther
(This used to be commit
8b4eac0ab186c02666693d3f007f0c98d60e0eda)
Günther Deschner [Mon, 31 Mar 2008 22:02:48 +0000 (00:02 +0200)]
Fix SRVSVC ShareInfo level 502 server side handling.
Guenther
(This used to be commit
776facabf6f09f643d6dc526aa83f8db517465f9)
Günther Deschner [Mon, 31 Mar 2008 21:55:16 +0000 (23:55 +0200)]
Re-run make idl.
Guenther
(This used to be commit
3adf82554a6f54878aed99c3e894aef1b7ecfd84)
Günther Deschner [Mon, 31 Mar 2008 21:52:36 +0000 (23:52 +0200)]
Fix IDL for srvsvc_NetShareInfo502. It does indeed contain a sec_desc_buf.
Guenther
(This used to be commit
da7f006539219f8ccd525ef1fcd131d5f9558bf1)
Günther Deschner [Mon, 31 Mar 2008 21:51:34 +0000 (23:51 +0200)]
Fix SRVSVC ShareInfo max_users handling server side.
Guenther
(This used to be commit
b4d944e724f7ae2a97ba788b185aba7b7308b475)
Günther Deschner [Mon, 31 Mar 2008 21:47:26 +0000 (23:47 +0200)]
Re-run make idl.
Guenther
(This used to be commit
1b6083449fbc2a252c046a0757c411be64e6b6c0)
Günther Deschner [Mon, 31 Mar 2008 21:45:26 +0000 (23:45 +0200)]
Use uint32 in max_users field in SRVSVC ShareInfo levels consistently.
Guenther
(This used to be commit
29c42792567870f3dc23363f4357fecbec862937)
Günther Deschner [Mon, 31 Mar 2008 20:49:03 +0000 (22:49 +0200)]
Fix _srvsvc_NetShareSetInfo.
Guenther
(This used to be commit
2fd90b62d7e61fa0c23f8f41e9f12fc16f29a8b1)
Michael Adam [Mon, 31 Mar 2008 11:54:39 +0000 (13:54 +0200)]
test: add test script for testing "net registry".
Michael
(This used to be commit
fa5968a26b552d7f13574a826e506ed2d6630feb)
Jeff Layton [Mon, 10 Mar 2008 19:54:36 +0000 (15:54 -0400)]
mount.cifs: fix several problems when mounting subdirectories of shares (try 2)
This patch is the second patch to attempt to fix up some of the problems
with mounting subdirectories of shares. The earlier patch didn't handle
this correctly when POSIX extensions were enabled. This one does.
This is a bit of a confusing area since the different components of
a service string have different rules:
1) hostname: no '/' (slash) or '\' (backslash) is allowed to be
embedded within the string
2) sharename: same rules as hostname
3) prefixpath: '\' *is* allowed to be embedded in a path component,
iff POSIX extensions are enabled. Otherwise, neither
character is allowed.
The idea here is to allow either character to act as a delimiter when we
know that the character can't be anything but a delimiter (namely
everywhere up to the start of the prefixpath). The patch will convert
any '\' unconditionally to '/' in the UNC portion of the string.
However, inside the prefixpath, we can't make assumptions about what
constitutes a delimiter because POSIX allows for embedded '\'
characters. So there we don't attempt to do any conversion, and pass the
prefixpath to the kernel as is. Once the kernel determines whether POSIX
extensions are enabled, it can then convert the path if needed and it's
able to do so. A patch to handle this has already been committed to the
cifs-2.6 git tree.
This patch also fixes an annoyance. When you mount a subdir of a share,
mount.cifs munges the device string so that you can't tell what the
prefixpath is. So if I mount:
//server/share/p1/p2/p3
..then /proc/mounts and mtab will show only:
//server/share
Finally, it also tries to apply some consistent rules to the uppercasing
of strings.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
e03d1dfdb80333c071b600245eb749ef5664aa22)
Gerald W. Carter [Mon, 31 Mar 2008 19:33:53 +0000 (14:33 -0500)]
Patch from Nicholas Brealey <nick@brealey.org> to distinguish between WinXP and WinXP64.
Defines a new value for the %a variable when detecting a Windows XP 64-bit client.
(This used to be commit
0c94918fb52c5345ce30490046b79f81712c30bf)
Günther Deschner [Mon, 31 Mar 2008 18:43:18 +0000 (20:43 +0200)]
Re-add support for the samr parameters string.
(dialin settings, terminal server settings, etc.)
Guenther
(This used to be commit
c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
Günther Deschner [Mon, 31 Mar 2008 18:42:26 +0000 (20:42 +0200)]
Re-run make idl.
Guenther
(This used to be commit
35a70c65beed1c4a1fab4113af7a5b232f23063b)
Günther Deschner [Mon, 31 Mar 2008 18:40:56 +0000 (20:40 +0200)]
The parameters string (aka munged dial string) in samr is not a normal lsa_String.
Guenther
(This used to be commit
98606c667a425113d87b2756ee7df34f67445539)
Günther Deschner [Mon, 31 Mar 2008 18:40:16 +0000 (20:40 +0200)]
Add init_samr_parameters_string().
Guenther
(This used to be commit
8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
Gerald W. Carter [Mon, 31 Mar 2008 18:39:54 +0000 (13:39 -0500)]
Fix enumeration of forest trusts from our root domain.
Do not overwrite the domain->domain_flags when setting infomation
in set_dc_type_and_flags_connect().
(This used to be commit
3414eac439b731ad7204b821ddc4fec54fe4435d)
Gerald W. Carter [Thu, 27 Mar 2008 20:23:36 +0000 (15:23 -0500)]
DIsplay the short domain name in "wbinfo -m " by default.
This fixes wbinfo -m to make preexisting behavior.
Also adds the dns domain to the --verbose output.
(This used to be commit
b68caaa81bd75bb882c9363612d11d49dd73cb6f)
Steven Danneman [Tue, 25 Mar 2008 23:58:40 +0000 (16:58 -0700)]
Augmented "wbinfo -m" to list additional information about the type, direction, and transitivty of trusts.
* added several helper functions to convert the trust_flags field in the
winbindd_tdc_domain to more useful administrator ideas of trust type, trust
direction, and trust transitivity.
* converted winbindd_list_trusted_domains() to enumerate the trusted domain
cache, instead of the domain list, and return additional trust information to
the calling process
* modified wbinfo to pretty print this additional trust information when a new
--verbose switch is given with -m. Thus "wbinfo -m" and "wbinfo -all-domains"
output as before, but "wbinfo --verbose -m" prints extra trust info.
* updated some comments and fixed typos
(This used to be commit
e7827bb6afa264c12ecdc0858f49707ca3d6104f)
Steven Danneman [Tue, 25 Mar 2008 23:50:58 +0000 (16:50 -0700)]
Forest root trust flags won't overwrite child trust flags
* changed the behavior of winbind_ads.c:trusted_domains() to not overwrite
existing trust information if we're joined to a child domain, and querying the
forest root domain. Previously if we were joined to a child domain, we'd
request all known trust information from this child domain (our primary domain)
and store it in the tdc. We'd then request all trust information from our tree
root (to get the forests we transitively trust) and overwrite the existing trust
information we already had from the perspective of the tree root.
* updated several comments and fixed typos
(This used to be commit
6aac972d790ad5ca65096cb2e85e6819b60a5413)
Michael Adam [Mon, 31 Mar 2008 11:51:49 +0000 (13:51 +0200)]
test: add (and unify) sectioning output of subtests in tests_all.sh
Michael
(This used to be commit
d775194e9c7b75182c485fba427b20ec2bfcf16c)
Michael Adam [Mon, 31 Mar 2008 11:33:12 +0000 (13:33 +0200)]
test: add possibility to select tests to run via tests_all.sh (make test)
This allows to select the tests to run with tests_all.sh by setting
the environment variable "RUNTESTS". Example:
RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test
Michael
(This used to be commit
bf4af79f050cceb6611a8aa3d893b59b816a41ce)
Michael Adam [Mon, 31 Mar 2008 11:20:08 +0000 (13:20 +0200)]
test: in tests_all.sh, wrap calls to test scripts into shell functions.
This is in preparation for enabling running only selected test scripts
through "make test".
Michael
(This used to be commit
ad1fbadf81c915425301ec495744c11f3103169f)
Michael Adam [Mon, 31 Mar 2008 15:20:07 +0000 (17:20 +0200)]
registry: reg_deletevalue should return error, when the value does not exist.
Michael
(This used to be commit
04b48984bbf84c55bb41a74a11cbcc7358377fed)
Stefan Metzmacher [Fri, 28 Mar 2008 18:39:43 +0000 (19:39 +0100)]
wbinfo: use wbcAllocateGid()
metze
(This used to be commit
960c069a2354e0803e2cbf22c26e1a9d0b657b79)
Stefan Metzmacher [Fri, 28 Mar 2008 18:39:16 +0000 (19:39 +0100)]
wbinfo: use wbcAllocateUid()
metze
(This used to be commit
a7d735df292cee7dd6e23c7d2328481d57162904)
Stefan Metzmacher [Fri, 28 Mar 2008 18:38:24 +0000 (19:38 +0100)]
wbinfo: use wbcSidToGid()
metze
(This used to be commit
43df48bdca1a71fa44b24bb3917869f886555d9c)
Stefan Metzmacher [Fri, 28 Mar 2008 18:37:50 +0000 (19:37 +0100)]
wbinfo: use wbcSidToUid()
metze
(This used to be commit
a25b39cac1716323154dd30acb30180d3273587b)
Stefan Metzmacher [Fri, 28 Mar 2008 18:37:02 +0000 (19:37 +0100)]
wbinfo: use wbcGitToSid()
metze
(This used to be commit
9936d861a1c1163ce6fd079211b50fd9b52bc05d)
Stefan Metzmacher [Fri, 28 Mar 2008 18:34:10 +0000 (19:34 +0100)]
wbinfo: use wbcUidToSid()
metze
(This used to be commit
4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
Stefan Metzmacher [Fri, 28 Mar 2008 18:01:54 +0000 (19:01 +0100)]
wbinfo: use wbcPing()
metze
(This used to be commit
9a2f0b21925e630fa9b268cedbc19cf814686b42)