Displaying 13 results from an estimated 13 matches for "max_uid".
Did you mean:
map_uid
2009 May 28
1
[PATCH] klibc-utils: add minils
...lude <dirent.h>
+#include <errno.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/sysmacros.h>
+#include <sys/types.h>
+
+#define STAT_ISSET(mode, mask) (((mode) & mask) == mask)
+
+static int max_nlinks = 1;
+static int max_size = 1;
+static int max_uid = 1;
+static int max_gid = 1;
+static int max_min = 1;
+static int max_maj = 1;
+
+static void do_preformat(const struct stat *st) {
+ int bytes;
+
+ if ((bytes = snprintf(NULL, 0, "%ju", (uintmax_t) st->st_nlink)) > max_nlinks)
+ max_nlinks = bytes;
+
+ if ((bytes = snprintf(NULL,...
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go.
Next run will go into usr/kinit directory.
No code changes, just codingstyle fixes (verified with size(3)).
maximilian attems (5):
[klibc] sleep: have argument on next line
[klibc] readklink: remove unneeded braces
[klibc] mount: whitespace policy
[klibc] ls: fix various checkpatch complaints
[klibc] tests: checkpatch fixlets
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
...;dirent.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <sys/sysmacros.h>
+
+#define STAT_ISSET(mode, mask) (((mode) & mask) == mask)
+
+static size_t max_linksiz = 128;
+static int max_nlinks = 1;
+static int max_size = 1;
+static int max_uid = 1;
+static int max_gid = 1;
+static int max_min = 1;
+static int max_maj = 1;
+
+static void do_preformat(const struct stat *st)
+{
+ int bytes;
+
+ if ((bytes = snprintf(NULL, 0, "%ju", (uintmax_t) st->st_nlink)) > max_nlinks)
+ max_nlinks = bytes;
+
+ if ((bytes = snprintf(NULL...
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
...= Array.filter (
+ fun line -> (string_prefix line "UID_MIN")
+ ) lines in
+ let _,min_uid = sscanf line_min "%s %d" (fun a b -> a,b) in
+ let line_max = Array.filter (
+ fun line -> (string_prefix line "UID_MAX")
+ ) lines in
+ let _,max_uid = sscanf line_max "%s %d" (fun a b -> a,b) in
+ let passwd = "/etc/passwd" in
+ let shadow = "/etc/shadow" in
+ let group = "/etc/group" in
+ let lines = Array.to_list (g#read_lines passwd) in
+ let lines_passwd = Array.to_list (g#read_lines...
1998 Nov 24
0
2 small authentication problems
...*/
p++; /* Go past ':' */
if ('-' == *p) {
DEBUG(0, "...")
continue;
}
if (!isdigit(*p)) {
DEBUG(0, "...")
continue;
}
uidval = atoi((char *) p);
/* Sanity check on uidval */
if (uidval < 0 ||uidval > MAX_UID) {
DEBUG(0, "...")
continue;
}
The second annoyance is that, when using smbclient, the USER value seems
to be set to nobody, though a USER environment variable exist.
Context : i686-pc-linux-glibc2, kernel 2.1.129 SMP, glibc-2.0.7-pre6,
gcc-2.8.1. How could I trace th...
2018 Aug 17
0
imapsieve: Change message flags on COPY
...ns
imap(stephan)<15247><fmJGKYEsd1uPOwAAmoV78g>: Mailbox INBOX/Archive:
Debug: Mailbox opened because: CREATE
imap(stephan)<15247><fmJGKYEsd1uPOwAAmoV78g>: Debug:
/home/stephan/Maildir/.Archive/dovecot.index.cache: Compressed, file_seq
changed 0 -> 1534536851, size=32, max_uid=0
2343 OK Create completed (0.061 + 0.000 + 0.060 secs).
234 CREATE INBOX/Storage
imap(stephan)<15247><fmJGKYEsd1uPOwAAmoV78g>: Debug: Namespace INBOX/:
/home/stephan/Maildir/.Storage doesn't exist yet, using default permissions
imap(stephan)<15247><fmJGKYEsd1uPOwAAmoV78g&...
2018 Aug 17
2
imapsieve: Change message flags on COPY
On Friday 17 August 2018 01:41:39 CEST Stephan Bosch wrote:
> dovecot -n
Hi, here it is (I don't know why I get the SSLv2 warning because it is
disabled in ssl_protocols, any ideas about that too?).
BTW, even when storing the message in a different folder with fileinto,
the original message is still saved in the original mailbox. I also tried
using `discard;` and makes no difference, I
2019 Sep 17
2
Imaptest stall
I am also testing rbox plugin ;) So I would like just the imaptest tool
to work. No one else ever run into this? I saw something similar on the
mailing list a long time ago.
-----Original Message-----
From: Daniel Miller via dovecot [mailto:dovecot at dovecot.org]
To: dovecot at dovecot.org
Subject: Re: Imaptest stall
If you're just speed testing for writing probably sdbox or maildir
2017 Feb 12
2
Replacement for antispam plugin
....
* 1 EXPUNGE
* 0 RECENT
2343 OK Move completed (0.089 + 0.000 + 0.088 secs).
Alternatively, towards Trash:
2343 MOVE 1 Trash
imap(harrie)</fX4JwpPoFhq2AAAmoV78g>: Debug:
/ext/test/home/test/harrie/Maildir/.Trash/dovecot.index.cache:
Compressed, file_seq changed 0 -> 1486901076, size=32, max_uid=0
imap(harrie)</fX4JwpPoFhq2AAAmoV78g>: Debug: imapsieve: mailbox Trash:
MOVE event
imap(harrie)</fX4JwpPoFhq2AAAmoV78g>: Debug: Mailbox Trash: Opened mail
UID=0 because: header Message-ID (Cache file is empty, reset_id=1486901076)
imap(harrie)</fX4JwpPoFhq2AAAmoV78g>: Debug: imap...
2017 Feb 10
5
Replacement for antispam plugin
> On February 10, 2017 at 12:13 PM Ralph Seichter wrote:
>
> On 10.02.17 18:34, Michael Slusarz wrote:
> > > Can we add an exception for the Trash folder?
> > This is handled in the sieve script. E.g.:
> >
> > require "environment";
> > if environment "imap.mailbox" "Trash" {
> > stop;
> > }
>
> This does
2018 Feb 23
2
Assertion during dsync receive
..._area = 0x7ffff51be5b0, reg_save_area = 0x7ffff51be4f0}}
#5 0x00007fc20c3fc6d0 in mail_index_uint32_to_offset (offset=<optimized out>) at mail-index-util.c:10
__FUNCTION__ = "mail_index_uint32_to_offset"
#6 0x00007fc20c3e0f34 in mail_cache_copy (ext_offsets=0x7ffff51be690, max_uid_r=0x7ffff51be64c, file_size_r=<synthetic pointer>, file_seq_r=<synthetic pointer>, fd=28, trans=0x1c48dd0, cache=<optimized out>) at mail-cache-compress.c:293
iter = {view = 0x1c19230, remap_counter = 2438427, seq = 1217766, rec = 0x7fc1f8deca18, pos = 832, rec_size = 832,...
2023 Jan 08
3
Dovecot - mail_crypt - lmtp-server - no password to decrypt the key
...8)
imap(someone at example.com)<247><WlggG8PxEOvAqDEB>: Debug: Mailbox Sent:
Purging (new file_seq=1673195172): creating cache
imap(someone at example.com)<247><WlggG8PxEOvAqDEB>: Debug: Mailbox Sent:
Purging finished, file_seq changed 0 -> 1673195172, size=0 -> 388, max_uid=0
lmtp(someone at example.com)<248><e2dcD6TuumP4AAAALzF/Qw>: Debug:
auth-master: userdb lookup(someone at example.com): auth USER input:
someone at example.com quota_rule=*:bytes=1024000000
mail_crypt_global_private_key=LS0tLS1CRUd.....LS0tLS0K
mail_crypt_global_public_key=LS0tLS1CR...
2017 Oct 10
2
Issue with mailbox conversion using dsync in v2.2.32 (maildir <-> mdbox)
...y for GUID=
1507586844.M476153P21401.jason64.dev.cpanel.net,S=46659,W=46886 UID=0
dsync(mymail): Debug: Mailbox INBOX: Opened mail UID=1 because: copying
dsync(mymail): Debug:
/home/mymail/mail/mailboxes/INBOX/dbox-Mails/dovecot.index.cache:
Compressed, file_seq changed 0 -> 1507586868, size=32, max_uid=0
dsync(mymail): Debug: Mailbox INBOX: Opened mail UID=1 because: mail stream
dsync(mymail): Debug: brain S: Import INBOX: Saved UIDs:
dsync(mymail): Debug: brain S: Import INBOX: Finish update: min_next_uid=1
min_first_recent_uid=1 min_highest_modseq=1 min_highest_pvt_modseq=0
dsync(mymail): Warni...