Displaying 20 results from an estimated 2000 matches similar to: "running imap command line"
2012 Apr 12
2
Samba 3.6.4 on Solaris - groups for user inconsistent
Hi all,
I'm having an issue with Samba 3.6.4 on Solaris using Active Directory
with a Windows Server 2008 domain controller. I should state early on
that I do not believe this is a manifestation of the Solaris 16 group
limit - the number of groups is well below 16.
Winbind seems to be working fine - I can use wbinfo -r to check the
groups that a user is a member of, it returns the list of
2004 Feb 20
24
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787
------- Additional Comments From openssh_bugzilla at hockin.org 2004-02-20 13:01 -------
Created an attachment (id=548)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=548&action=view)
NGROUPS patch
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2024 Sep 11
2
[Bug 3735] New: The ngroups variable may be set to a negative value when calling sysconf(_SC_NGROUPS_MAX)
https://bugzilla.mindrot.org/show_bug.cgi?id=3735
Bug ID: 3735
Summary: The ngroups variable may be set to a negative value
when calling sysconf(_SC_NGROUPS_MAX)
Product: Portable OpenSSH
Version: 9.8p1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P5
2000 Feb 03
2
use sysconf instead of NGROUPS_MAX
Currently samba (2.0.6) relies on the NGROUPS_MAX define. This makes
the number of allowed simultaneous (per-user) secondary groups a
compile-time decision.
$ find . -name \*.c | xargs grep NGROUPS
./source/lib/system.c: if (setlen > NGROUPS_MAX) {
./source/lib/replace.c: gid_t grouplst[NGROUPS_MAX];
./source/lib/replace.c: while (i < NGROUPS_MAX &&
2018 Aug 10
1
dying on osx
I found and tried this work around on the man page:
https://www.unix.com/man-page/all/5/ngroups_max/ but I still get the
same "Too many extra groups" error even when I start dovecot with the
above program to limit the # of groups. I suspect that dovecot is adding
a number of groups when it starts up.
I've hacked a work around to get it working for me on my laptop:
diff --git
2007 Sep 26
3
v1.0 vs 1.1b re: Postfix and Dovecot LDA
In running the various 1.0.n versions of Dovecot's LDA with the
instructions in the wiki for using LDA with Postfix [on OS X 10.4]
things went well using the instructions as-is (no setuid problems).
This changed in moving over to the 1.1 beta. The LDA refused to work
failing with the error "setgroups() failed: Operation not permitted"
as I mentioned in a previous message.
2018 Oct 11
3
macOS Mojave: setgroups(501) failed: Too many extra groups
Hello,
I have recently upgraded to macOS 10.14 (Mojave) and am running into an
issue where one use can no longer log into dovecot via imap. Log shows
Oct 11 08:10:27 imap(hwr)<12659><YpC/0+133+EAAAAAAAAAAAAAAAAAAAAB>:
Fatal: setgroups(501) failed: Too many extra groups
and indeed, the user is in 17 groups, which is more than NGROUPS_MAX
(16).
Another user with << 16 groups
2013 Apr 24
4
WARNING to those running Samba on OpenIndiana or other Illumos based systems with > 16 groups
Just a heads-up, because this bug took me absolutely ages to chase down,
and I want to save others the same pain.
Samba is perhaps the most prominent reason why you might find a user in
more than 16 groups on a Unix system, and so this bug may at first
appear to be a 'Samba issue' (that certainly is why it found it's way to
my attention :-)
https://www.illumos.org/issues/3691
In
2002 Jun 18
2
OpenSSH and Solaris groups
I have an odd problem and I was wondering if anyone has ever run into this
before. I have a machine running solaris 8, OpenSSH 3.1p1 and OpenSSL
0.9.6c and it has been working fine for quite some time (ssh that is).
Today, /etc/system was updated to increase the maximum number of groups
from 16 to 32. After the system was rebooted, things seemed to be working
as expected, however one of our
2002 Aug 21
1
Groupmember of more than 32 Groups
Hi ,
i have the problem if somebody is member of more than 32 (Unix) groups every
group bigger than number 32 will be cut off
Debug Example :
[2002/08/21 09:57:51, 3] smbd/sec_ctx.c:set_sec_ctx(319)
32 user groups:
500 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518
519 520 521 522 523 524 525 526 527 528 529 530 531 532
[2002/08/21 09:57:51, 3]
2004 Feb 20
1
NGROUPS_MAX on Linux
Linux has just raised the NGROUPS_MAX limit from 32 to 64k. In doing an
audit of various tools, openssh turned up as having incorrect groups
handling. Almost no user-space apps really care about NGROUPS_MAX.
A proposed patch (untested, since the CVS build won't compile on my RH box..
:-/) :
What think?
Index: uidswap.c
===================================================================
2006 May 04
2
xmalloc(foo*bar) -> xcalloc(foo, bar) for Portable
Hi All.
While wandering in auth-pam.c I noticed that there's a few Portable-specific
escapees from the xmalloc(foo * bar) cleanup.
There's also a "probably can't happen" integer overflow in
ssh-rand-helper.c with the memset:
num_cmds = 64;
- entcmd = xmalloc(num_cmds * sizeof(entropy_cmd_t));
+ entcmd = xcalloc(num_cmds, sizeof(entropy_cmd_t));
2007 Jan 19
1
One User Cannot Log In
Attempting to log in through Squirrelmail.
Jan 19 09:34:07 montreal dovecot: imap-login: Login: user=<steve>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Jan 19 09:34:07 montreal dovecot: IMAP(steve): initgroups(steve, 15)
failed: Invalid argument
This entry appears nowhere else in the log.
montreal# id steve
uid=268(steve) gid=15(users) groups=15(users), 626(moodleCreators),
2017 Sep 18
1
Samba shows error NT Status: STATUS_OBJECT_NAME_NOT_FOUND when copying 10GB file using robocopy when ecryptfs file system shared using samba
Hi ,
I shared linux directory which is mounted using ecryptfs to a windows 10 client using samba share . When i do a robocopy of file greater than size of 7GB the samba throws an error NT Status: STATUS_OBJECT_NAME_NOT_FOUND which can be observed in wire shark .
Setup :
----------
Host with ubuntu 16.01 -------------------> windows 10 client
(Samba
2015 Jun 20
3
[PATCH] Fix potential use after free in uidswap.c (portable)
Fixes a potential (but probably rather unlikely) use after free bug in
function temporarily_use_uid(), file uidswap.c.
--- a/uidswap.c
+++ b/uidswap.c
@@ -113,8 +113,9 @@ temporarily_use_uid(struct passwd *pw)
}
}
/* Set the effective uid to the given (unprivileged) uid. */
- if (setgroups(user_groupslen, user_groups) < 0)
-
2003 Mar 04
3
number of groups of NT account causes authentication problems
I am facing a strange problem related to authentication of NT users
accessing the SAMBA server.
Here are the details:
Server: Solaris 9, SUN Ultra 60, SAMBA 2.2.7a with PAM and WINBIND
Client: Windows XP, NT4.0, 2000
Symptoms:
Created a share \\server\test (UNIX: /export/SMB/test) with access to
group 'TestGoup' where 'TestUser' is a member.
'TestUser' is a member of
2002 Jun 07
4
openssh for UWIN
I am enclosing a context diff of the changes that I made to get
openssh working on UWIN. UWIN is a UNIX operating system layer
that runs on Win32 systems. For more information on UWIN
go to http://www.research.att.com/sw/tools/uwin/.
I also ran configure using -with-cppflags=-D_BSDCOMP=2. I don't
know where that information would go with the source code.
Let me know if you need more
2002 Jun 13
1
[2.PATCH]: Eliminate typo in bsd-misc.*
Hi,
the following patch eliminates a typo in bsd-misc.* which disallows
building for Cygwin.
Corinna
Index: openbsd-compat/bsd-misc.c
===================================================================
RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v
retrieving revision 1.7
diff -u -p -r1.7 bsd-misc.c
--- openbsd-compat/bsd-misc.c 12 Jun 2002 16:57:15 -0000 1.7
+++
2005 Feb 24
1
[PATCH] Drop SETGROUPS_NOOP
Hi,
the SETGROUPS_NOOP define is used only for Cygwin. But it's also
combined with the HAVE_SETGROUPS test in bsd-misc.c. So, since
setgroups() exists and is functional in Cygwin, this is actually a
noop in the more general sense. The below patch drops that entirely.
Corinna
Index: acconfig.h
===================================================================
RCS file:
2001 Apr 25
0
NeXT // Broken _POSIX_SAVED_ID patch
Ok, for those running NeXT and other platforms with broken/missing
_POSIX_SAVED_ID please try this patch, and anyone that has spent any
amount of time dealing with this problem.
I believe it's right.
BTW, this patch is no where near as big as it looks. The patch was
done against an earily version of the tree which had an issue with
white space.
- Ben
--- ../openssh/uidswap.c Sun Apr 22