search for: ipair

Displaying 8 results from an estimated 8 matches for "ipair".

Did you mean: pair
2018 Apr 28
4
sysvol files - 'The data area passed to a system call is too small'
On Fri, 27 Apr 2018 22:40:41 +0100 Jonathan Hunter via samba <samba at lists.samba.org> wrote: > OK - some more detail I have found in the meantime. > > I have compiled & ran listxattr, and I can now see a difference > between a working and a broken file: > > me at dc2:~/download $ > sudo ./listxattr /usr/local/samba/var/locks/sysvol/ >
2014 Nov 28
2
[PATCH] Add ldisk.c32 Lua module
...tion printf(s, ...) + return print(s:format(...)) +end + +printf("Found %d disk%s", #disks, #disks ~= 1 and "s" or "") + +local prefixes = { [0] = "MiB", "GiB", "TiB" } +local function get_size_string(size) + local prefix = 1 + for i, v in ipairs(prefixes) do + local last_size = size + size = size / 1024 + if size < 16 then + prefix = i - 1 + size = last_size + break + end + end + return size .. " " .. prefixes[prefix] +end + +for i, v in ipairs(disks) do + printf("Id: %d, Size: %s", v.id, get_size_string(...
2018 Apr 28
0
sysvol files - 'The data area passed to a system call is too small'
...ub.com/oscarssama/8bc223c8100890f71a07a5a6dc16a7f6 settings { statusFile = "/run/lsyncd-status.log", statusInterval = 10 } targetList = { "1.1.1.1", "1.1.1.2", "1.1.1.3", "1.1.1.4" } for _, server in ipairs(targetList) do sync { default.rsync, source = "/usr/local/samba/var/locks/sysvol/", target = server .. "::_sysvol_/", rsync = { acls = true, xattrs...
2018 Apr 29
1
sysvol files - 'The data area passed to a system call is too small'
...{ > statusFile = "/run/lsyncd-status.log", > statusInterval = 10 > } > > targetList = { > "1.1.1.1", > "1.1.1.2", > "1.1.1.3", > "1.1.1.4" > } > > for _, server in ipairs(targetList) do > sync { > default.rsync, > source = "/usr/local/samba/var/locks/sysvol/", > target = server .. "::_sysvol_/", > rsync = { > acls = true, &...
2020 Aug 03
3
How to access mailbox metadata in Lua push driver
...id, folder = event.mailbox, event = event.name, flags = event.flags, ["keywords-clear"] = event.keywords_clear, ["keywords-old"] = event.keywords_old }) end function dovecot_lua_notify_end_txn(ctx) -- report all states for i,msg in ipairs(ctx.messages) do local e = dovecot.event(ctx.event) e:set_name("lua_notify_mail_finished") reqbody = json:encode(msg) e:log_debug(ctx.ep .. " - sending " .. reqbody) res, code = http.request({ method = "PUT", url = ctx.ep, sourc...
2018 Apr 29
1
sysvol files - 'The data area passed to a system call is too small'
...t; statusFile = "/run/lsyncd-status.log", > statusInterval = 10 > } > > targetList = { > "1.1.1.1", > "1.1.1.2", > "1.1.1.3", > "1.1.1.4" > } > > for _, server in ipairs(targetList) do > sync { > default.rsync, > source = "/usr/local/samba/var/locks/sysvol/", > target = server .. "::_sysvol_/", > rsync = { > acls = t...
2012 Dec 13
3
Lua improvements
Here are a few patches I applied to get the Lua bindings to build correctly with different versions of Lua. I am not particularly happy with generating all the test scripts just for the shebang line. Since it has been a while since I had to edit autoconf/automake, this was the best I could come up with. Cheers, -Hilko
2020 Aug 03
2
How to access mailbox metadata in Lua push driver
Thanks Aki, I'll check it out :) Am 03.08.20 um 11:40 schrieb Aki Tuomi: >> On 03/08/2020 12:31 Ralf Becker <rb at egroupware.org> wrote: >> >> >> We're currently using the OX push driver, which is straight forward >> (simple web hook) and allows to store (multiple) push tokens of our >> webmailer direct in mailbox metadata. >> >>