summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-03wbinfo: catch NULL domain string as in other placesStefan Metzmacher1-1/+1
metze (This used to be commit ff4611832a0b498b83590279a7153e606a4720f5)
2008-04-03registry: remove parameter checks from smbconf backend: they are in libsmbconf.Michael Adam1-191/+1
Michael (This used to be commit 118cf3813336122a060916848e37d2d5d25bff92)
2008-04-03libsmbconf: move initialization of registry value down after error checks.Michael Adam1-6/+6
Michael (This used to be commit 2a8029985f9bde4da8ca20bc24d937150eab444c)
2008-04-03Fix rpccli_lsa_lookup_sids_noalloc.Günther Deschner1-3/+11
When looking up e.g. a trusted doamin account, there is just no name. Michael, please check. Guenther (This used to be commit ea3cfadc2504c891b4784719bd8e6debcc38c879)
2008-04-03Add NT_STATUS_RPC_CANNOT_SUPPORT.Günther Deschner2-0/+2
Guenther (This used to be commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
2008-04-03Fix trusted users on a DC that uses the old idmap syntax. There was no ↵Simo Sorce1-0/+70
default backend therefore on IDs were mapped by default. (This used to be commit f6069126e5e6d239b1ae00e897a420227f923e3f)
2008-04-02Fix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.Jeremy Allison1-30/+0
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)
2008-04-02Fix "net rpc trustdom establish" for win2k8 trusts.Günther Deschner1-14/+52
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)
2008-04-02Apply some const in clirap.Günther Deschner1-1/+1
Guenther (This used to be commit 8a1a9f967db25d3928f19e46d60af249f934f323)
2008-04-02Some fixes for netdomjoin-gui and support for browsing/joining OUs.Günther Deschner1-157/+390
Guenther (This used to be commit 4714bae0dbbb2ad010c2929f83de6bca84cfac46)
2008-04-02Make sure to hand down the domain name in libnetapi NetUnjoinDomain.Günther Deschner1-7/+11
Guenther (This used to be commit 0058ab30de943f134792e3d66051206086987110)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner10-19/+61
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)
2008-04-01smbd: always close the base_fsp even if the real close returned an errorStefan Metzmacher1-4/+0
Otherwise we may end up with share mode entry without an open file. Volker, Jeremy: please check... metze (This used to be commit 547eacf6058d2bc5b41b266b70f8f4747aca4eae)
2008-04-01wbinfo: use wbcInterfaceDetails()Stefan Metzmacher1-19/+25
metze (This used to be commit ff87260f1268d190170608b0808c191ef8f3e942)
2008-04-01libwbclient: add wbcInterfaceDetails()Stefan Metzmacher2-0/+90
metze (This used to be commit fee3806326b9ba214e35868271e6481c0c8b9c4b)
2008-04-01libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macroStefan Metzmacher1-4/+5
metze (This used to be commit de2e8d5db93d32e5ebf04a2018a08f766eb9a233)
2008-04-01test: add diagnostic message to net_registry test.Michael Adam1-0/+1
Michael (This used to be commit c04a234f8f6fbdf8e54c69414024d84aa71fec45)
2008-04-01test: fix net_registry test "set value to different type" to track error countMichael Adam1-1/+1
missing backslash in call... :-} Michael (This used to be commit 8f0c25f01f11857d24556346dc2758549919eba3)
2008-04-01test: some cosmetics to net_registry tests.Michael Adam1-2/+3
Michael (This used to be commit dba9db5ae6581df18591eebd19d3649bed0d9367)
2008-04-01test: fix net_registry tests to correctly capture output of commands inside ↵Michael Adam1-12/+25
one test so that failure output is not clobbered by output of previous successful commands. Michael (This used to be commit cb3dafe5fd8867b000e01979d4232968d994d376)
2008-04-01test: fix use of printf in net_registry tests.Michael Adam1-12/+12
actually 'printf "%s\n"' is the proper replacement of 'echo -e' Michael (This used to be commit 388a40931f1559b134317ef0c85c7cf2598e17fe)
2008-04-01po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n'Michael Adam1-1/+1
Michael (This used to be commit 0bd50e450baf633ea9d653341f3ce9d81bfdd83f)
2008-04-01mkversion: be more portable, use 'print "%s"' instead of 'echo -n'Michael Adam1-4/+4
Michael (This used to be commit 7a23dab1eaf3116079a89cdf348cabc659608031)
2008-04-01installswat: be more portable, use 'printf "%s"' instead of 'echo -n'Michael Adam1-2/+2
Michael (This used to be commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
2008-04-01configure: be more portable, use 'printf "%s"' instead of "echo -n"Michael Adam1-1/+1
Michael (This used to be commit 06dfb0cf7cd39e1072534fc32e79a4b4f6e49cb6)
2008-04-01test: be more portable. replace 'echo -n' by 'printf "%s"' in test_functions.shMichael Adam1-3/+3
Michael (This used to be commit c0c41184277044eb856f91c025f645c198cac188)
2008-04-01test: be more portable: replace 'echo -n' by 'printf "%s"' in selftest.shMichael Adam1-1/+1
Michael (This used to be commit b6122406fe938fdaf373ff45214db79de06eb989)
2008-04-01smbd: ignore nttrans renames as w2k3 doesStefan Metzmacher1-24/+3
This lets us pass the RAW-RENAME test. metze Signed-off-by: Michael Adam <obnox@samba.org> (This used to be commit 2d50a1fef022023588e9963131951f8f3e4c7c23)
2008-04-01account_pol: use db_open_trans()Stefan Metzmacher1-2/+2
metze (This used to be commit 888c2802b7bda92baae2dd0c1596f5e04bc3bfaa)
2008-04-01account_pol: use dbwrap_trans_store_uint32()Stefan Metzmacher1-7/+1
metze (This used to be commit b1d63c8c1116f3429fb73aa6842105073385d1e8)
2008-04-01Convert account_pol.tdb to dbwrapVolker Lendecke2-37/+86
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 0b36871a0d795183f0e9dc78b654788b1988f06e)
2008-04-01dbwrap: fix a confusing "tdb_chainunlock failed" messageStefan Metzmacher1-1/+3
Unlock before we cancel the transaction... metze (This used to be commit d70a8e9c413a7d3993e0d11db5ae9cbc7fdb12c7)
2008-04-01dbwrap: add dbwrap_trans_store_uint32()Stefan Metzmacher1-0/+13
metze (This used to be commit 9e739b4c99a9aba5c5bb58f3b6a9fb949e24c581)
2008-04-01Add dbwrap_trans_*_bystringVolker Lendecke1-0/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 2cf2684a11027431e6a93992413a5a5a697a4ba0)
2008-04-01Convert dbwrap_trans_delete to NTSTATUSVolker Lendecke5-15/+22
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit dead193f46c2b19955ab3e5ac5ba343694f4858a)
2008-04-01Convert dbwrap_trans_store to NTSTATUSVolker Lendecke5-33/+43
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 5f4de856af1abe63b13059bbe1615cb5877770d0)
2008-04-01Add dbwrap_[fetch|store]_uint32Volker Lendecke1-0/+39
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit f1dd915ce802645166e0c8fc79d18d5ad41cfe7a)
2008-04-01sharesec: use db_open_trans()Stefan Metzmacher1-2/+2
metze (This used to be commit 1c59142ccc46616c10b98c51601361f203d542d6)
2008-04-01Convert share_info.tdb to dbwrapVolker Lendecke1-17/+64
(This used to be commit bc9b4c43b8824cd53f9ab613bcbb94cd5193f43e)
2008-04-01mapping_tdb: use the correct sid for the key creationStefan Metzmacher1-1/+1
metze (This used to be commit 0d221a3f0a948e173b22585b7833a5441d860a57)
2008-04-01mapping_tdb: use db_open_trans()Stefan Metzmacher1-2/+2
metze (This used to be commit 16d18df0d069aec645c41e38e8c926ccdaac9388)
2008-04-01Protect group_mapping.tdb ops with transactionsVolker Lendecke1-16/+66
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit d702ed73c1b986ded9deaa3abed92c39d71949fc)
2008-04-01pdb_tdb: use != 0 instead off == -1 for dbwrap functionsStefan Metzmacher1-1/+1
metze (This used to be commit d4826a01369c00b5e83cd62c2412a4eb826e216d)
2008-04-01passdb: guard pdb_generate_sam_sid() with a transactionStefan Metzmacher1-2/+24
This prevents possible races with some dbwrap backends metze (This used to be commit 9322442510d9c2cf16c25f5109fe81b277c44881)
2008-04-01passdb/secrets: add secrets_db_ctx() to get the db_contextStefan Metzmacher1-0/+9
metze (This used to be commit 986bc7e8b260265da019b67ec751509eb589d24b)
2008-04-01regdb: let regdb_fetch_keys() handle NULL and failure cases in the same way ↵Stefan Metzmacher1-1/+0
and return -1 metze (This used to be commit 983fd58805a429792fc8eaa816e2dd908643414e)
2008-04-01regdb: get the seqnum before the record, to not miss somethingStefan Metzmacher1-4/+4
metze (This used to be commit c214107bd9bbf9b17936757437ec211d7de3048e)
2008-04-01regdb: use dbwrap->fetch() instead of fetch_locked() for readonly access"Stefan Metzmacher1-10/+12
This is the fixed version of commit 5c28c74aa06a82559f498373b3d6e9892d5c2cbe. metze (This used to be commit 924acd7f695d7514b1a4628468137cf632c8f1f0)
2008-04-01test: make registry tests more portable: protect some grep patterns in ' '.Michael Adam1-4/+4
Michael (This used to be commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
2008-04-01test: make registry tests more portable: use 'printf "%s"' instead of 'echo -e'Michael Adam1-12/+12
Michael (This used to be commit 5c1b7ee5c17489da90192309853aa1ecacc15512)