summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-08Use size_t for strlen return, not int. Karolin pleaseJeremy Allison1-1/+1
pull. Jeremy. (This used to be commit f4a1fdaac0dd6b1b241fac9879416c8ad4403eff)
2008-04-08Use popt in libetapi example code.Günther Deschner6-114/+187
Guenther (This used to be commit 6f239df3f5a57c9549f1637e53fd42d2ed604c3f)
2008-04-08Prefill in username in libnetapi ctx.Günther Deschner1-1/+9
Guenther (This used to be commit 394bdb89ef350db0ab6aca093054e1048a8ffe1f)
2008-04-08Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.Günther Deschner2-0/+6
This allows to switch on the cli->fallback_after_kerberos switch. Guenther (This used to be commit 15ba45e567d910c1b2336dcc0c475e12b082f30f)
2008-04-08Destroy DMAPI session when main smbd daemon exits.Alexander Bokovoy2-0/+33
DMAPI session is precious resource maintained at kernel level. We open one of them and use across multiple smbd daemons but once last of them exits, DMAPI session needs to be destroyed. There are some HSM implementations which fail to shutdown when opened DMAPI sessions left. Ensure we shutdown our session when it is really not needed anymore. This is what recommended by DMAPI specification anyway. (This used to be commit a0cefd44009d414fa00ec6e08c70d21b74acdbcb)
2008-04-08Allow broader range of HSM systems in vfs_tsmsmAlexander Bokovoy1-5/+31
Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'. Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence* of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result. Port from Tridge's v3-0-ctdb git tree. (This used to be commit 1faa97d5cc51277abbc6cb5c37d31c429bea04e4)
2008-04-07Rewrite the wrap checks to deal with gcc 4.x optimisations.Jeremy Allison3-101/+142
Karolin, please pull once Volker has reviewed. Thanks. Jeremy. (This used to be commit 09852899cadc48abe2f2651ecbceaf881198e648)
2008-04-08Restructure inner workings of libnetapi a bit.Günther Deschner8-680/+663
Guenther (This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
2008-04-08Add libnetapi generated files.Günther Deschner3-0/+570
Guenther (This used to be commit 78da087b3a04f25bd0ea3195debf5c46731bac74)
2008-04-08Build libnetapi.idl.Günther Deschner1-1/+2
Guenther (This used to be commit c098714ac4bac8a7e27be761979a96190b77de1f)
2008-04-08Add libnetapi.idl.Günther Deschner1-0/+71
Guenther (This used to be commit 5231a135068a64aedbe2643a9168f2a14c40b139)
2008-04-08WhatsnewGünther Deschner1-0/+2
(This used to be commit 5cb480a664938d93d6cd059c78da9bc78eb58dcb)
2008-04-07Remove unused variable.James Peach1-1/+0
(This used to be commit 3ed2c65bde0c2e5ad10cf777dae8a2d3e626a42c)
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)