summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-04-04When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causesJeremy Allison1-3/+9
the space taken by the unicode password to be one byte too long (as we're on an odd byte boundary here). Reduce the count by 1 to cope with this. Fixes smbclient against NetApp servers which can't cope. Fix from bryan.kolodziej@allenlund.com in bug #3840. Jeremy. (This used to be commit 1e7e7d86a1ae1cd2c3cc3de9f36b7326ad249b82)
2008-04-04Fix _samr_GetUserPwInfo() (to return more then just zeros).Günther Deschner1-8/+45
Guenther (This used to be commit 624371ce32a7c0816963745059e743e5b3e92e2a)
2008-04-04Fix _samr_GetDomPwInfo (to return more then zeros).Günther Deschner1-2/+16
Guenther (This used to be commit 1cde9579f10ab8c43c25dfd6e5c658c7653f9a37)
2008-04-04Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison2-12/+45
the server when searching for a name for the location and comment fields can take so much time the client times out. When searching for a name we don't use these fields anyway, so add a function get_a_printer_search() which doesn't contact the CUPS server. Jeremy. (This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
2008-04-04net_rpc_registry: return available error code on failure in deletevalue.Michael Adam1-1/+1
Michael (This used to be commit 0dc9840cefb08b2732d294eb45508ce687ded324)
2008-04-04net_rpc_registry: consistently return error upon wrong use.Michael Adam1-5/+5
Michael (This used to be commit 26e3d71cd0b2d1bb31c50627ea71267328d52448)
2008-04-04net: change split_hive_key() to properly allocate subkeynameMichael Adam4-6/+11
instead of returning a pointer into another string. Michael (This used to be commit 68d08ecf92be3444b759300237b2b7cf5238d022)
2008-04-04net_rpc_registry: use split_hive_key to normalize hive befor open.Michael Adam1-28/+39
THis allows to specify keys in the form "HKLM/Software/samba", i.e. "/" instead of "\\". Michael (This used to be commit 61d09caef340d2fee303e429f6f25d011cb3023c)
2008-04-04net_rpc_registry: use utility function print_registry_value().Michael Adam1-30/+1
Michael (This used to be commit 3d039b518f04b9dd3c87b9af2ec816e049554e27)
2008-04-04net_rpc_registy: use function print_registry_keyMichael Adam1-5/+2
Michael (This used to be commit cc1da3ee2c369181efa6d150c966571d0aff0728)
2008-04-04net_registry: split utility function of common interest out into util module.Michael Adam4-87/+151
Michael (This used to be commit 3bf890783fadd245c59280173627a6caca2dbefe)
2008-04-04mapping_tdb: fix enumeration of mappings.Michael Adam1-1/+1
db->traverse_read returns the number of traversed object on success. Michael (This used to be commit 2be2188a97060f04c2dea3ca9ed0fd3db0b3df7c)
2008-04-04Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...Michael Adam1-2/+3
Michael (This used to be commit 7b16cb1023abd4fb2b2f08cf723d38c8c6ae68a0)
2008-04-04mapping.tdb: fix creation of entries with GROUP_PREFIXMichael Adam1-1/+1
Macro is no expanded inside literal string. Michael (This used to be commit 872a3d3d38287ab9cbb260d05777481d94e03539)
2008-04-04Use sid_array_from_info3 in lookup_usergroups_cached().Günther Deschner4-43/+20
Guenther (This used to be commit 65b4cb20ea3fb806cfd50281e08f32bea70fafce)
2008-04-04Always uppercase cli->srv_name_slash.Günther Deschner1-0/+1
Not that I think it is of any importance... Guenther (This used to be commit 352f8440c74bc22416e21783e1dc5fecf5869902)
2008-04-04Remove some dead code in rpcclient.Günther Deschner1-23/+0
Guenther (This used to be commit c7ae1a9b53ef578cf4dfdf8e05915817c69896b5)
2008-04-04Move rpccli_try_samr_connects out of rpcclient.Günther Deschner2-75/+122
Guenther (This used to be commit f550cdb6f240830ee1e3a2dfe5f4128bca0cf836)
2008-04-03Fix pam_winbind macros.Günther Deschner2-14/+14
Guenther (This used to be commit 37091859126167e84e55afe8a32025ac0f65065e)
2008-04-03Use pwb_context in pam_winbind.Günther Deschner1-391/+343
Guenther (This used to be commit bf960f57e7adf09cdf096f2c72065ea1ff8b0daa)
2008-04-03Add _pam_winbind_init/free_context.Günther Deschner1-0/+39
Guenther (This used to be commit d62676cf886d910334b3d6f7ce0147b75ef53aec)
2008-04-03Add pwb_context to pam_winbind.h.Günther Deschner1-0/+9
Guenther (This used to be commit fe8acb064433b286938e0b572ca1faa8a54414b7)
2008-04-03Make more functions in pam_winbind static.Günther Deschner1-30/+30
Guenther (This used to be commit ea2175ee0e6288ccb132e86b9dd0bf8a0e4169c9)
2008-04-03wbinfo: use wbcLookupNames()Stefan Metzmacher1-10/+20
metze (This used to be commit 9d0e5a13215d4904084e81fde6098c70ee4d4636)
2008-04-03wbinfo: use wbcLookupRids()Stefan Metzmacher1-33/+40
metze (This used to be commit 046b26b763b16362dd662a77b2434641bf583bc2)
2008-04-03wbinfo: use wbcLookupSid()Stefan Metzmacher1-12/+15
metze (This used to be commit b917be4986bd55aeffae03b08cf476ea6302fa26)
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)