Displaying 6 results from an estimated 6 matches for "set_effective_gid".
1999 Oct 05
0
Solution to accessing shares w/ 2.0.5a and openBSD 2.5 (bug in OpenBSD calls or configure script?)
...my
other machines and only the OpenBSD caused a problem). I was getting an error
when I tried to connect to the machine - 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 f...
2004 Sep 20
0
Samba Errors
...5]: [2004/09/21 07:40:51, 0]
lib/util.c:smb_panic(1407)
Sep 21 07:40:51 server smbd[8525]: BACKTRACE: 20 stack frames:
Sep 21 07:40:51 server smbd[8525]: #0 smbd(smb_panic+0x14e) [0x81933ce]
Sep 21 07:40:51 server smbd[8525]: #1 smbd [0x81972c5]
Sep 21 07:40:51 server smbd[8525]: #2 smbd(set_effective_gid+0x1e)
[0x819739e]
Sep 21 07:40:51 server smbd[8525]: #3 smbd [0x80b3432]
Sep 21 07:40:51 server smbd[8525]: #4 smbd [0x80b3452]
Sep 21 07:40:51 server smbd[8525]: #5 smbd(pop_sec_ctx+0xf4) [0x80b3c64]
Sep 21 07:40:51 server smbd[8525]: #6 smbd(unbecome_root+0xb)
[0x80ad84b]
Sep 21 07:40...
2002 Mar 08
2
samba on HPUX 11
.../libc.2
(gdb) backtrace
#0 0xc01f45a0 in kill () from /usr/lib/libc.2
#1 0xc0191948 in raise () from /usr/lib/libc.2
#2 0xc01d1f7c in abort_C () from /usr/lib/libc.2
#3 0xc01d1fd4 in abort () from /usr/lib/libc.2
#4 0x0010df70 in readdirname ()
#5 0x001126cc in assert_gid ()
#6 0x00112830 in set_effective_gid ()
#7 0x000485a0 in become_gid ()
#8 0x000485cc in become_id ()
#9 0x00048ef4 in set_sec_ctx ()
#10 0x00041770 in change_to_user ()
#11 0x0005380c in make_connection ()
#12 0x0002c080 in reply_tcon_and_X ()
#13 0x00051348 in switch_message ()
#14 0x00051b48 in chain_reply ()
#15 0x0002dcb4 in re...
2004 Dec 01
0
Samba 3.0.8 Debian backports - break down
...lib/util.c:smb_panic2(1403)
PANIC: failed to set gid
[2004/12/01 12:45:59, 0] lib/util.c:smb_panic2(1411)
BACKTRACE: 15 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x176) [0x81981c6]
#1 /usr/sbin/smbd(smb_panic+0x13) [0x819804b]
#2 /usr/sbin/smbd [0x819c02a]
#3 /usr/sbin/smbd(set_effective_gid+0x22) [0x819c0e6]
2004-12-01 12:45:59 Failed to open configuration file /etc/exim/exim.conf
#4 /usr/sbin/smbd [0x80b6bfc]
#5 /usr/sbin/smbd [0x80b6c1c]
#6 /usr/sbin/smbd(set_sec_ctx+0x117) [0x80b72af]
#7 /usr/sbin/smbd(change_to_user+0x3a8) [0x80b0424]
#8 /usr/sbin/smbd [0x80c1d...
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
...03:10:59 2003
+++ sec_ctx.c~ Sun Apr 20 03:09:00 2003
@@ -145,10 +145,10 @@
/* this looks a little strange, but is needed to cope with
systems that put the current egid in the group list
- returned from getgroups() (tridge)
+ returned from getgroups() (tridge) */
save_re_gid();
set_effective_gid(gid);
- setgid(gid);*/
+ setgid(gid);
ngroups = sys_getgroups(0,&grp);
if (ngroups <= 0) {
@@ -164,7 +164,7 @@
goto fail;
}
- //restore_re_gid();
+ restore_re_gid();
(*p_ngroups) = ngroups;
(*p_groups) = groups;
@@ -179,7 +179,7 @@
fail:
SAFE_FREE(groups);
- //restore...
2012 Jun 29
1
Error with samba-tool when upgrading from 3 to 4 / NT_STATUS_IO_TIMEOUT
Hello,
I'm upgrading samba3 to samba4 and i've the following error :
> /usr/local/samba/bin/samba-tool domain samba3upgrade --dbdir=/root/samba4/samba/ --realm=sc.isc84.org /root/samba4/samba/smb.conf
no talloc stackframe around, leaking memory
Reading smb.conf
Provisioning
Exporting account policy
Exporting groups
*Severe DB error, sambaSamAccount can't miss the samba