Displaying 20 results from an estimated 30 matches for "transaction_commit".
2008 Apr 01
2
Wrong UIDs returned from mailbox_transaction_commit_get_uids()
Hi,
Wrong UIDs are returned from mailbox_transaction_commit_get_uids() in dovecot-1.1.rc3.
The problem is in:
int mailbox_transaction_commit(struct mailbox_transaction_context **t)
{
uint32_t tmp;
return mailbox_transaction_commit_get_uids(t, &tmp, &tmp, &tmp);
}
It should be:
int mailbox_transaction_commit(struct mailbox_transacti...
2024 Nov 20
1
samba-tool computer delete does not work
...d be printed.
Try blocks don't work like that in python -- they are not transactions,
just a kind of goto-on-error. So the deletion of the original object is
never going to be rolled back, control-C or not.
We *could* make it a transaction, by sprinkling
`samdb.transaction_start()`, `samdb.transaction_commit()`,
`samdb.transaction_cancel()` around in the right places (which could let
control-C cancel the whole thing, but ).
In any case, DNS still looks like the problem.
Douglas
2024 Nov 22
1
samba-tool computer delete does not work
...ks don't work like that in python -- they are not
> transactions, just a kind of goto-on-error. So the deletion of the
> original object is never going to be rolled back, control-C or not.
>
> We *could* make it a transaction, by sprinkling
> `samdb.transaction_start()`, `samdb.transaction_commit()`,
> `samdb.transaction_cancel()` around in the right places (which could
> let control-C cancel the whole thing, but ).
>
> In any case, DNS still looks like the problem.
>
> Douglas
>
>
Hi Douglas,
Yes, now I stop and really think about it, using 'try' requ...
2013 Oct 17
2
Samba Join as DC failed
...quot;, line 1169, in join_DC
ctx.do_join()
File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line 1074, in do_join
ctx.join_replicate()
File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line 848, in join_replicate
ctx.local_samdb.transaction_commit()
As suggestion found here https://irclog.samba.org/2013/09/20130908-Sun.log: is to use
ldbedit -H /usr/local/samba/private/sam.ldb --show-deleted '(isDeleted=*)'
to manually delete all the accounts with this attribute. When doing this I should stop samba on all DCs and then edit the lo...
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all,
As per Jelmer's request - in response to bug #7455 attached diff file.
Please let me know what you think and if any modificationes need to be
performed
Regards
Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newusergroupadv.diff
URL:
2014 Jul 28
2
not able to compile deleted_to_trash Plugin
...l_id, &mail->uid, 1);
^
deleted-to-trash-plugin.c:247:14: error: 'struct last_copy_info' has no member named 'src_mailbox_name'
last_copy.src_mailbox_name = i_strdup(mail->box->name);
^
deleted-to-trash-plugin.c: In function 'deleted_to_trash_transaction_commit':
deleted-to-trash-plugin.c:267:2: warning: passing argument 2 of 'lbox->super.transaction_commit' from incompatible pointer type [enabled by default]
int ret = lbox->super.transaction_commit(t, uid_validity_r, first_saved_uid_r, last_saved_uid_r);
^
deleted-to-trash-plugin.c:...
2024 Dec 16
1
Error when joining new DC
..., line 1621, in join_DC
ctx.do_join()
File "/usr/local/samba/lib64/python3.9/site-packages/samba/join.py", line 1511, in do_join
ctx.join_replicate()
File "/usr/local/samba/lib64/python3.9/site-packages/samba/join.py", line 1101, in join_replicate
ctx.local_samdb.transaction_commit()
Rowland
2019 Mar 25
2
samba 4.9.5 - joining Samba DC to existing Samba AD failed
...ba/join.py", line 1501, in
join_DC
ctx.do_join()
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1399, in
do_join
ctx.join_replicate()
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1005, in
join_replicate
ctx.local_samdb.transaction_commit()
I have no idea, where is problem and how solve it - can anyone help?
Both systems runs Fedora 29 x86_64 Linux, Samba is builded with
Heimdal 7.5.0 Kerberos, tdb 1.3.16, ldb 1.4.6, first DC was provisioned
with '--use-rfc2307' and BIND9_DLZ (bind-9.11.5) DNS backend.
Thanks, Franta
2010 Jul 13
1
mailbox_storage_vfuncs: mailbox_open -> ? in 2.0
.../* override save_init to override want_mail, we need that */
box->v.save_begin = antispam_save_begin;
box->v.save_finish = antispam_save_finish;
box->v.transaction_begin =
antispam_mailbox_transaction_begin;
box->v.transaction_commit =
antispam_mailbox_transaction_commit;
box->v.transaction_rollback =
antispam_mailbox_transaction_rollback;
box->v.copy = antispam_copy;
}
if (need_keyword_hook)
box->v.mail_alloc = antispam_mailbox_mail_alloc;
Thank you for...
2010 Sep 23
1
get MAIL_FETCH_UIDL_FILE_NAME after save a email
...UIDL_FILE_NAME, &fname);
By i got some mistake... when i save a email that exist in the same
directory, the email is rewrited with another name, but the get_special give
me the old one name.
Have another way to get the name from a saved email, after save it ?
after this:
ret = zbox->super.transaction_commit(t, changes_r);
To get the correct name from a saved email.
2012 Feb 10
1
There is a way to know if a email has been expunged ?
Hy Everyone...and Timo !
There is a way to know if a email was expunged (deleted from hard
disk) inside a plugin ? I rewrite the expunge function, but the real
expunge function is void, i can't know if was really expunged.
There is a way to know this ?
2016 Nov 25
0
Patch for dovecot-antispam-plugin to support IMAP Flags indicating Junk status
...es the use of struct mail_private to be able to override the vfunc for
mail_update_keywords, which I actually do not like. However, when I tried to
make this patch base on the use of the notify plugin (via notify_register), I
ran into the issue that the transaction is partially freed before the
transaction_commit event from notify is emitted, which is unfortunate and
breaks at least the mailtrain backend (which I use). This is in theory
fixable, but I wanted to keep the patch as small as possible, as I have no
idea whether this will eventually end up upstream or whether I?ll have to
maintain that for my...
2024 Dec 16
2
Error when joining new DC
..., line 1621, in join_DC
ctx.do_join()
File "/usr/local/samba/lib64/python3.9/site-packages/samba/join.py", line 1511, in do_join
ctx.join_replicate()
File "/usr/local/samba/lib64/python3.9/site-packages/samba/join.py", line 1101, in join_replicate
ctx.local_samdb.transaction_commit()
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
2017 Dec 31
0
Convert Member Server to DC
...in_provision()
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 840, in
join_provision
use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend)
File
"/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line
2199, in provision
secrets_ldb.transaction_commit()
The kerberos setup is per the wiki and seems to be correct:
> kinit administrator
Password for administrator at MYDC.MYDOM.COM:
> klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator at MYDC.MYDOM.COM
Valid starting Expires Service principal
12/30/...
2017 Aug 30
2
Segmentation fault with doveadm search
Hi,
We have a Ubuntu 14.04 server with dovecot 2.2.9
If I try to run
/usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d
It will dump a core file.
We have a similar config on an other server and there is no problem there.
Any ideas how to prevent the core dump?
root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d
Reading
2012 Dec 07
3
samba4 rc6 join win2k3 domain failed
...quot;, line 1104, in join_DC
? ? ctx.do_join()
? File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 1009, in do_join
? ? ctx.join_replicate()
? File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 782, in join_replicate
? ? ctx.local_samdb.transaction_commit()
A transaction is still active in ldb context [0x9e32db0] on /usr/local/samba/private/sam.ldb
2005 Oct 14
0
1.0a3: assert and core dump
...quot;file %s: line %d (%s): assertion failed: (%s)")
at failures.c:173
#4 0x000355e0 in mbox_lock (mbox=0xaedc8, lock_type=2, lock_id_r=0xffbff5ec)
at mbox-lock.c:521
#5 0x0003ad10 in mbox_sync (mbox=0xaedc8, flags=MBOX_SYNC_LAST_COMMIT)
at mbox-sync.c:1587
#6 0x0003377c in mbox_transaction_commit (_t=0xb9210, flags=0)
at mbox-transaction.c:56
#7 0x0005bf78 in mailbox_transaction_commit (t=Variable "t" is not available.
) at mail-storage.c:421
#8 0x000225e0 in imap_fetch_deinit (ctx=0xa56b8) at imap-fetch.c:333
#9 0x0001d648 in cmd_fetch_finish (ctx=Variable "ctx"...
2017 Aug 30
2
Segmentation fault with doveadm search
...t>,
sync_deinit = 0x7ffff69d0420 <quota_mailbox_sync_deinit>,
sync_notify = 0x7ffff69cf9d0 <quota_mailbox_sync_notify>,
notify_changes = 0x7ffff76e5ad0 <fail_mailbox_notify_changes>,
transaction_begin = 0x7ffff69cf900 <quota_mailbox_transaction_begin>,
transaction_commit = 0x7ffff69d00a0 <quota_mailbox_transaction_commit>,
transaction_rollback = 0x7ffff69cfff0 <quota_mailbox_transaction_rollback>, get_private_flags_mask = 0x0,
mail_alloc = 0x7ffff76e61b0 <fail_mailbox_mail_alloc>,
search_init = 0x7ffff76e5c00 <fail_mailbox_search_in...
2019 Mar 25
0
samba 4.9.5 - joining Samba DC to existing Samba AD failed
...join_DC
> ctx.do_join()
> File "/usr/lib64/python2.7/site-packages/samba/join.py", line
> 1399, in do_join
> ctx.join_replicate()
> File "/usr/lib64/python2.7/site-packages/samba/join.py", line
> 1005, in join_replicate
> ctx.local_samdb.transaction_commit()
>
> I have no idea, where is problem and how solve it - can anyone help?
> Both systems runs Fedora 29 x86_64 Linux, Samba is builded with
> Heimdal 7.5.0 Kerberos, tdb 1.3.16, ldb 1.4.6, first DC was
> provisioned with '--use-rfc2307' and BIND9_DLZ (bind-9.11.5) DNS
>...
2017 Dec 31
2
Convert Member Server to DC
I have some hardware running CentOS 7 and Sernet Samba 4.7 that started
out as a member server that I would like to make into a 2nd DC. However
I am having trouble converting it because it seems I am not removing all
the remnants of the client setup. What I thought I would have to do is this:
1.) net ads leave -U administrator
2.) Remove the machine entry on the 1st DC
3.) mv /var/lib/samba