summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-03-31Ok, final move of this code :-). I think I've found the correctJeremy Allison1-9/+9
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)
2008-03-31Move the message_dispatch() call after the check for errno onJeremy Allison1-11/+11
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)
2008-03-31Reduce the race condition in Samba4 in RAW-RENAME test. We rename a fileJeremy Allison1-0/+9
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)
2008-04-01Fix build of rpcclient.Günther Deschner1-2/+2
Guenther (This used to be commit 3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
2008-04-01Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
2008-04-01Fix SRVSVC NetShareInfo level 502 client-side.Günther Deschner1-2/+2
Guenther (This used to be commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
2008-04-01Fix SRVSVC ShareInfo level 502 server side handling.Günther Deschner2-8/+8
Guenther (This used to be commit 776facabf6f09f643d6dc526aa83f8db517465f9)