search for: setregid

Displaying 20 results from an estimated 21 matches for "setregid".

Did you mean: setresgid
1999 Oct 05
0
Solution to accessing shares w/ 2.0.5a and openBSD 2.5 (bug in OpenBSD calls or configure script?)
...e - my logs showed an error of unable to set the appropriate GID from smbd/uid.c. (NT gave me the "incorrect user or password" dialog). The function that was failing was set_effective_gid in lib/util_sec.c. In that section there are four possible calls: some UID trapdoor call setresgid setregid setegid Which one is used is determined by #defines in include/config.h. For some reason the configure script set the trapdoor, the setregid, and the setegid (and the corresponding defs for uid calls) to 1 and did not declare only the one for setresgid. I commented the lines for the trapdoor UID...
2010 Aug 17
1
Using a BSDI 4.X system for Dovecot
...executable: /usr/contrib/libexec/dovecot/dovecot-auth passdb: driver: passwd-file args: /etc/master.passwd userdb: driver: passwd userdb: driver: passwd-file args: /etc/passwd And running SSL here In my logs I see Aug 17 00:35:10 doctor dovecot: POP3(user1): Fatal: setregid(100(user),14(mail)) failed with euid=0(root): Operation not permitted Aug 17 00:35:15 doctor dovecot: IMAP(user2): Fatal: setregid(100(user),14(mail)) failed with euid=0(root): Operation not permitted Question: What are am I not doing right? -- Member - Liberal International This is doctor at...
2014 Dec 16
1
Fwd: samba & Oracle ACFS Issues
...b"..., 74) = 74 munmap(0x7f4d64ee9000, 4096) = 0 *geteuid() = 504* setreuid(4294967295, 0) = 0 geteuid() = 0 geteuid() = 0 *getegid() = 504* setregid(4294967295, 0) = 0 getegid() = 0 getegid() = 0 setgroups(0, []) = 0 setregid(4294967295, 0) = 0 getegid() = 0 setreuid(4294967295, 0)...
2014 Dec 16
2
Fwd: samba & Oracle ACFS Issues
On Tue, Dec 16, 2014 at 03:40:08PM +0100, Nacho del Rey wrote: > Hi there > > In an Oracle RAC cluster using ACFS (as file-system) where we have a samba > server for sharing files to windows clients, we are suffering a strange > issue, from time to time, which it causes the Windows clients lock for a > while (10 min or a bit more) or even indefinitely when they are working >
2013 Dec 07
1
Potential crash due to missing declaration of strerror
Hi, I've just stumbled over this gcc warning while building OpenSSH: openbsd-compat/bsd-setres_id.c:41:3: warning: implicit declaration of function ?strerror? [-Wimplicit-function-declaration] error("setregid %u: %.100s", rgid, strerror(errno)); ^ openbsd-compat/bsd-setres_id.c:41:3: warning: format ?%s? expects argument of type ?char *?, but argument 3 has type ?int? [-Wformat=] This almost certainly results in a crash on systems with sizeof(char*) > sizeof(int), like on practically all...
2003 Sep 17
8
[Bug 653] sshd breaks logins after upgrade to 3.7.1p1 (Tru64 UNIX)
http://bugzilla.mindrot.org/show_bug.cgi?id=653 Summary: sshd breaks logins after upgrade to 3.7.1p1 (Tru64 UNIX) Product: Portable OpenSSH Version: 3.7.1p1 Platform: Alpha OS/Version: other Status: NEW Severity: critical Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org
2005 May 18
0
Err#150 EINPROGRESS
...6) = 86 getuid() = 0 [0] write(262, " s e t t i n g s e".., 49) = 49 getuid() = 0 [0] getgid() = 0 [0] setgroups(0, 0x00000000) = 0 setregid(-1, 0) = 0 getgid() = 0 [0] setreuid(-1, 0) = 0 getuid() = 0 [0] sysconfig(_CONFIG_NGROUPS) = 16 open("/etc/default/nss",...
2010 Jul 21
3
smbd -D hangs
I'm testing both sunfreeware and official sun (sfw) samba on Solaris 10. For some reason since yesterday, the smbd process just "hangs" at the start. No log is generated on server side Where smbd is started, I can't find any open port on 139 or 145 My OS is Solaris 10 # uname -a SunOS labo2 5.10 Generic_142900-13 sun4v sparc SUNW,SPARC-Enterprise-T5120 #
2003 Sep 16
1
OpenSSH 3.7p1, PrivSep, and Tru64 broken (sorry)
Well, I had just finally gotten around to downloading a snapshot to test the latest on Tru64 a couple of days ago but hadn't had a chance to build it yet, and 3.7p1 has now been released. Sigh. The problem is that Tru64 setreuid() and setregid() are broken, so privsep doesn't work. This could also be a security problem for SIA authentication in general (any version of OpenSSH on Tru64, using PrivSep or not), as I wrote auth-sia.c to use setreuid() (per the Tru64 SIA documentation), so the saved UID carries forward there. Patch belo...
2003 Sep 16
1
Problems with 3.7p1 on IRIX 6.5
.../opt/fsw/openssh37/chroot") OK 14mS sshd(3639808): chdir("/") OK 14mS sshd(3639808): setgroups(1, 0x7ffc555c) = 0 14mS sshd(3639808): getuid() = 0, euid=0 14mS sshd(3639808): getgid() = 0 egid=0 14mS sshd(3639808): setregid(1013, 1013) OK 14mS sshd(3639808): setreuid(1013, 1013) OK 14mS sshd(3639808): setgid(0) OK 15mS sshd(3639808): open("/dev/log", O_WRONLY, 0) errno = 2 (No such file or directory) 15mS sshd(3639808): fcntl(-1, F_SETFD, 1) errno = 9 (...
2019 Apr 02
2
gencache.tdb: device busy
...t… > I got info from this command, but do not see the pthread_XXX calls. > > Are there special command args I could use? > > Doing a "truss -f smbd > truss.out 2>&1“ came up with the output (complete output attached): > 2116: setgroups(11, 0x011FCC40) = 0 > 2116: setregid(4294967295, 0) = 0 > 2116: getgid() = 0 [0] > 2116: setreuid(4294967295, 0) = 0 > 2116: getuid() = 0 [0] > 2116: umask(0) = 0 > 2116: mkdir("/var/samba/lock", 0755) Err#17 EEXIST > 2116: umask(0) = 0 > 2116: lstat("/var/samba/lock", 0xFFFFFD7FFFDFB240) = 0 &...
2003 Oct 27
8
[Bug 645] Configure mis-identifies setresgid
http://bugzilla.mindrot.org/show_bug.cgi?id=645 ------- Additional Comments From dtucker at zip.com.au 2003-10-27 13:43 ------- Created an attachment (id=487) --> (http://bugzilla.mindrot.org/attachment.cgi?id=487&action=view) Test setresuid and setresguid for "not implemented" Please try this patch. You will need to run "autoreconf" after applying, then
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others! there are some issues regarding the tftp-hpa server: 1. Running as Windows service seems to require that the application does not detach (otherwise "net start" says smth. like "could not start, the service didn't report any errors"). The attached patch adds the option "-n", which can be used to have tftpd run in foreground.
2002 Aug 07
1
Help/Note: Bug in samba-2.2.5/msdfs
...*** *** SGID: rgid/egid/sgid = 0 / 0 / 160 *** poll(0xFFBEF3D0, 3, 60000) (sleeping...) poll(0xFFBEF3D0, 3, 60000) = 1 read(12, "\0\0\0 b", 4) = 4 read(12, "FF S M B\b\0\0\0\0180310".., 98) = 98 getuid() = 0 [0] getgid() = 0 [0] setgroups(5, 0x00280338) = 0 setregid(-1, 160) = 0 getgid() = 0 [160] setreuid(-1, 16152) = 0 getuid() = 0 [16152] lstat64("/var/samba/common/winnt/run/data/fracas/hs-handler/logfiles/neuer ordner", 0xFFBEDC88) Err#2 ENOENT lstat64("/var/samba/common/winnt/run/data/fracas/hs-handler/logfiles", 0xFFBEDC...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...for rresvport_af... yes checking for sendmsg... yes checking for setdtablesize... no checking for setegid... yes checking for setenv... yes checking for seteuid... yes checking for setgroups... yes checking for setlogin... yes checking for setpcred... no checking for setproctitle... no checking for setregid... yes checking for setreuid... yes checking for setrlimit... yes checking for setsid... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... yes checking for snprintf... yes checking for socketpair... yes checking for strdup... yes checking for strerror... yes check...
2006 Apr 23
0
Configuration Warnings OpenSSH 4.3p2
...or rresvport_af... yes checking for sendmsg... yes checking for setdtablesize... no checking for setegid... yes checking for setenv... yes checking for seteuid... yes checking for setgroups... yes checking for setlogin... yes checking for setpcred... no checking for setproctitle... yes checking for setregid... yes checking for setreuid... yes checking for setrlimit... yes checking for setsid... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... yes checking for snprintf... yes checking for socketpair... yes checking for strdup... yes checking for strerror... yes check...
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...for setdtablesize... no checking for setegid... yes checking for setenv... yes checking for seteuid... yes checking for setgroupent... no checking for setgroups... yes checking for setlogin... no checking for setpassent... no checking for setpcred... no checking for setproctitle... no checking for setregid... yes checking for setreuid... yes checking for setrlimit... yes checking for setsid... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... no checking for snprintf... yes checking for socketpair... yes checking for statfs... no checking for statvfs... yes checking...
2003 Sep 05
20
[Bug 635] openssh-SNAP-20030903: configure does not work well with heimdal(krb5)
http://bugzilla.mindrot.org/show_bug.cgi?id=635 Summary: openssh-SNAP-20030903: configure does not work well with heimdal(krb5) Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Kerberos support
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: ok Checking for setreuid : ok Checking for setresuid : ok Checking for setgid : ok Checking for setegid : ok Checking for setregid : ok Checking for setresgid : ok Checking for chroot : ok Checking for strerror : ok Checking for vsyslog...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...: swapon SYSCALL FOUND: io_getevents SYSCALL FOUND: olduname SYSCALL FOUND: link SYSCALL FOUND: recv SYSCALL FOUND: timer_gettime SYSCALL FOUND: sendmmsg SYSCALL FOUND: ulimit SYSCALL FOUND: truncate64 SYSCALL FOUND: timerfd_create SYSCALL FOUND: gettid SYSCALL FOUND: set_tid_address SYSCALL FOUND: setregid SYSCALL FOUND: inotify_rm_watch SYSCALL FOUND: mq_unlink SYSCALL FOUND: oldfstat SYSCALL FOUND: lchown SYSCALL FOUND: request_key SYSCALL FOUND: fremovexattr SYSCALL FOUND: get_kernel_syms SYSCALL FOUND: mkdir SYSCALL FOUND: sysinfo SYSCALL FOUND: utime SYSCALL FOUND: poll SYSCALL FOUND: inotify_ad...