summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-07Fix Kerberos interop with Mac OS X 10.5 clients.Bill Ricker3-23/+45
Ignore optional req_flags. Use the Kerberos mechanism OID negotiated with the client rather than hardcoding OID_KERBEROS5_OLD. (This used to be commit 59a2bcf30fef14ecc826271862b645dd3a61cb48)
2008-04-07Use bool for BOOL and true/false for True/False. We need lowercaseJames Peach1-63/+76
bool to get the declarations picked up by the prototype parser. (This used to be commit fd168e7b5065ba15b1cf56522b6810b8e6fdd7d5)
2008-04-07dbwrap: fix more "tdb_chainunlock failed" messagesMichael Adam1-1/+3
TALLOC_FREE(rec) before transaction_cancel also in dbwrap_trans_delete(). Michael (This used to be commit 04cd914a1f12691d27ddc67887a757cd813848a7)
2008-04-07winbindd: fix break out early condition in fill_grent_mem().Michael Adam1-1/+1
if (!&new_glist) would always be skipped, if (new_glist == NULL) is what must have been meant... Michael (This used to be commit c1b60cdecff2a53f0a75a432a1ad7730eb734908)
2008-04-07Only cache password policy results that worked, otherwise weBo Yang1-1/+3
cannot login until the cache expires even if a connection to a DC has been restored. (This used to be commit 8671f9767d7d93a86712741303d6046937c3aae8)
2008-04-07smbd: make it possible to change the write time delay for testingStefan Metzmacher2-1/+10
metze (This used to be commit df8c100c2b53575a0d425a2daf52e2d59904746a)
2008-04-07smbd: make it possible to disable get_file_infos() on searchesStefan Metzmacher3-14/+36
metze (This used to be commit 404a865a34c3a7c67131b3f99e92c11b2abe3e39)
2008-04-07locking: combine get_delete_on_close_flag() and get_write_time() into ↵Stefan Metzmacher4-33/+41
get_file_infos() This means we need to fetch the record only once. metze (This used to be commit 4130b873291d39e363184fe4e38dc1f24ebe5056)
2008-04-07selftest: samba3 passes BASE-DELAYWRITEStefan Metzmacher1-1/+1
metze (This used to be commit 5df34634317633820993c9ef924d694a8fe1c4fe)
2008-04-07smbd: implement the strange write time update logicStefan Metzmacher9-133/+242
We now never call file_ntimes() directly, every update is done via smb_set_file_time(). This let samba3 pass the BASE-DELAYWRITE test. The write time is only updated 2 seconds after the first write() on any open handle to the current time (not the time of the first write). Each handle which had write requests updates the write time to the current time on close(). If the write time is set explicit via setfileinfo or setpathinfo the write time is visible directly and a following close on the same handle doesn't update the write time. metze (This used to be commit 2eab212ea2e1bfd8fa716c2c89b2c042f7ba12ea)
2008-04-07locking: store the write time in the locking.tdbStefan Metzmacher7-26/+110
This is needed to implement the strange write time update logic later. We need to store 2 time timestamps to distinguish between the time the file system had before the first client opened the file and a forced timestamp update. metze (This used to be commit 6aaa2ce0eeb46f6735ec984a2e7aadde7a7f456d)
2008-04-07Fix an uninitialized variableVolker Lendecke1-1/+1
(This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
2008-04-07increase log level for this failed setsockopt call. EINVAL is a normal error ↵Björn Jacke1-1/+4
on Solaris when we do this on an already resetted connection. (This used to be commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5)
2008-04-07Fix bug 5375Volker Lendecke1-3/+4
Thanks to Moskvin for testing (This used to be commit d3c31aa36c451f0a19496cd33c0b055b466e6b09)
2008-04-07Fix a misleading debug messageVolker Lendecke1-2/+3
(This used to be commit 494b32197f0872b115f0cd1a35421d00a89360a6)
2008-04-06net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and ↵Stefan Metzmacher1-51/+47
wbcGetGroups() metze (This used to be commit 31375c02631cb3f37a8bbd4ea17d3ef69c4d07bf)
2008-04-06net_rpc: let get_user_tokens() use wbcListUsers()Stefan Metzmacher1-38/+22
metze (This used to be commit 4f712452e911db1f0aa74e3ccd636c1a18bdf9ef)
2008-04-06wbinfo: make use of wbcGetGroups()Stefan Metzmacher1-16/+12
metze (This used to be commit c78f4dc043523842cf42f1a3fd4e8f3855518efa)
2008-04-06libwbclient: add wbcGetGroups()Stefan Metzmacher2-0/+64
metze (This used to be commit 596d030b976102e7476a2460fce355914c4e8210)
2008-04-06Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit c274fe7d21badb42ca8d4d1115ae6bffdb19485f)
2008-04-06Remove external refs to winbindd_fdVolker Lendecke2-4/+0
(This used to be commit 18bf2b2028e64403a79b7cc06d3185a3e526d97d)
2008-04-06wbcAllocateGid returns a gid_t, not a uid_tVolker Lendecke2-2/+2
(This used to be commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3)
2008-04-06Re-run "make idl"Volker Lendecke11-11/+11
(This used to be commit 26218826c327d85c2ef8d0d1addaef24d249d6bf)
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)