Displaying 19 results from an estimated 19 matches for "assert_uid".
Did you mean:
assert_gid
2007 Jul 05
0
Samba backtrace on network copy
...smb_panic(): calling panic action [/usr/share/samba/panic-action 10417]
[2007/07/05 09:11:34, 0] lib/util.c:smb_panic(1615)
smb_panic(): action returned status 0
[2007/07/05 09:11:34, 0] lib/fault.c:dump_core(173)
dumping core in /var/log/samba/cores/smbd
[2007/07/05 09:11:34, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (-1,1000) now set to (0,0)
[2007/07/05 09:11:34, 0] lib/util.c:smb_panic(1599)
PANIC (pid 10420): failed to set uid
[2007/07/05 10:35:18, 0] lib/util.c:log_stack_trace(1706)
BACKTRACE: 14 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x1a) [0x5e439a]...
2015 Apr 18
2
Samba 4 slow write
Hi all,
On Thu, Apr 16, 2015 at 03:00:49PM -0700, Jeremy Allison wrote:
> On Thu, Apr 16, 2015 at 08:42:48PM +0200, Ervin Heged?s wrote:
> > Dear Samba users,
> >
> > here is an Ubuntu 14.04, with Samba 4 (4.1.6), and LDAP (slapd
> > 2.4.31). The config came from a previous system (Debian Squeezy),
> > which had been crashed (HW error - on this new machine,
2003 Apr 25
2
Word problem with large uid/gid
Hi,
We've noticed the following problem:
Samba server:
RedHat 7.3
Linux version 2.4.18-3 (bhcompile@daffy.perf.redhat.com)
(gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110))
Samba 2.2.8a
1 user defined
1 share defined
(it's a test-setup, server is a Dell ProLiant 2600 and isn't used for
anything else)
Client PC: Windows XP/Office97 and Windows2000/Office97
IF uid or gid
2007 Jan 24
1
Dreamweaver access errors with Samba 3.0.23d
...e encountered this? And found a fix?
log.smbd follows.
Regards
Austin
[2007/01/23 14:41:27, 1] smbd/service.c:make_connection_snum(950)
144.82.106.24 (144.82.106.24) connect to service zcaa001 initially as
user zcaa001 (uid=83489, gid=3710) (pid 12782)
[2007/01/23 14:41:42, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (-1,83489) now set to (0,0)
[2007/01/23 14:41:42, 0] lib/util.c:smb_panic(1599)
PANIC (pid 12782): failed to set uid
[2007/01/23 14:41:42, 0] lib/util.c:log_stack_trace(1706)
BACKTRACE: 24 stack frames:
#0 /usr/local/samba/sbin/smbd(log_stack_trace+0x1...
2008 Mar 08
0
Failed to Set UID Error and Can't become connected user Error
...connection for a minute and has to restart some of the programs they are
in. Here is the log of this more serious error:
[2008/03/07 10:32:10, 0] lib/util_sec.c:set_effective_uid(205)
setresuid failed with EAGAIN. uid(502) might be over its NPROC limit
[2008/03/07 10:32:10, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (-1,502) now set to (0,0)
[2008/03/07 10:32:10, 0] lib/util.c:smb_panic(1654)
PANIC (pid 32012): failed to set uid
[2008/03/07 10:32:10, 0] lib/util.c:log_stack_trace(1758)
BACKTRACE: 22 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7d7d79d...
2008 Jan 31
3
PANIC on 6 of my client servers .Please Help
Hi everybody
I have six samba servers working in various client locations all of which exhibit the
same problem.
+++++++++++++++++++++++++++++++++++++++++++++++++
Jan 31 09:37:58 sos02sp smbd[1454]: [2008/01/31 09:37:58, 0] lib/util_sec.c:assert_uid(101)
Jan 31 09:37:58 sos02sp smbd[1454]: Failed to set uid privileges to (-1,533) now set
to (0,0)
Jan 31 09:37:58 sos02sp smbd[1454]: [2008/01/31 09:37:58, 0] lib/util.c:smb_panic(1621)
Jan 31 09:37:58 sos02sp smbd[1454]: PANIC (pid 1454): failed to set uid
++++++++++++++++++++++++++++++++++++...
2017 Feb 02
2
Samba 4.5.3 on HP UX IA64 : smbclient - tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED
...T_STATUS_CONNECTION_DISCONNECTED
# cd /var/opt/samba
# cat log.smbd
[2017/02/02 15:01:42.320365, 0]
../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/02/02 15:03:25.722328, 0] ../source3/lib/util_sec.c:137(assert_uid)
Failed to set uid privileges to (-1,-2) now set to (0,0)
[2017/02/02 15:03:25.722651, 0] ../source3/lib/util.c:791(smb_panic_s3)
PANIC (pid 4334): failed to set uid
[2017/02/02 15:03:25.824240, 0] ../source3/lib/util.c:952(log_stack_trace)
unable to produce a stack trace on this pla...
2015 Apr 20
0
Samba 4 slow write
...return NT_STATUS_OK;
}
...
status = SMB_VFS_GET_NT_ACL(conn, smb_fname->base_name,
(SECINFO_OWNER |
SECINFO_GROUP |
SECINFO_DACL), talloc_tos(), &sd);
?[2]? perf top call graph:
?1.49% libc-2.6.1.so [.] __geteuid
|
--- __geteuid
uwrap_geteuid
assert_uid
set_unix_security_ctx
set_sec_ctx
set_root_sec_ctx
smbd_become_root
legacy_gid_to_sid
gid_to_sid
create_file_sids
posix_get_nt_acl_common
posix_get_nt_acl
vfswrap_get_nt_acl
smb_vfs_call_ge...
2000 Feb 21
0
Set Uid Failures on HP-UX 11.00
....
[2000/02/21 15:17:05, 3]
/tmp/samba-2.0.6/source/smbd/password.c:authorise_login(784)
ACCEPTED: guest account and guest ok
[2000/02/21 15:17:05, 3]
/tmp/samba-2.0.6/source/smbd/service.c:make_connection(426)
Connect path is /tmp
[2000/02/21 15:17:05, 0]
/tmp/samba-2.0.6/source/lib/util_sec.c:assert_uid(54)
Failed to set uid privileges to (-1,-2) now set to (0,0)
[2000/02/21 15:17:05, 0] /tmp/samba-2.0.6/source/lib/util.c:smb_panic(2456)
PANIC: failed to set uid
It seems to happen on all shares. I have 2.0.6 running on a 10.20 machine
without these issues.
-------------- next part ----------...
2009 Dec 18
0
Sharing violations on XP host
...xcept recently, one XP workstation throws a
sharing violation when saving Excel files, but only intermittently.
It's an older Samba version (3.0.29) - and yes, I know I have to upgrade.
OS is Fedora 9 x64.
The log shows the following when this occurs:
[2009/12/18 09:42:25, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (1075,1075) now set to (0,0)
[2009/12/18 09:42:25, 0] lib/util.c:smb_panic(1633)
PANIC (pid 20846): failed to set uid
[2009/12/18 09:42:25, 0] lib/util.c:log_stack_trace(1737)
BACKTRACE: 16 stack frames:
#0 /usr/local/samba/sbin/smbd(log_stack_trace+0x...
2007 Jan 23
1
Segfault/panic with Samba 3.0.23d and setuid
...+0x6f8) [0x80eb658]
#11 /usr/sbin/smbd(main+0x10df) [0x82c330f]
#12 /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7beeea8]
#13 /usr/sbin/smbd [0x8082b31]
[2007/01/23 09:07:43, 0] lib/fault.c:dump_core(173)
dumping core in /var/log/samba/cores/smbd
[2007/01/23 09:07:43, 0] lib/util_sec.c:assert_uid(101)
Failed to set uid privileges to (-1,65534) now set to (0,0)
[2007/01/23 09:07:43, 0] lib/util.c:smb_panic(1599)
PANIC (pid 20600): failed to set uid
[global]
workgroup = DOUG.DIMICK.NET
server string = %h
map to guest = Bad User
obey pam restrictions = Y...
2003 Dec 01
1
smbpasswd command - updated
...:36, 0] lib/util_sec.c:assert_gid(70)
Failed to set gid privileges to (-1,-2) now set to (0,0)
uid=(0,0)
[2000/01/21 09:25:36, 0] lib/util.c:smb_panic(2456)
PANIC: failed to set gid
Log entry after "force group = users" added to smb.conf file:
[2000/01/21 10:17:35, 0] lib/util_sec.c:assert_uid(54)
Failed to set uid privileges to (-1,-2) now set to (0,0)
[2000/01/21 10:17:35, 0] lib/util.c:smb_panic(2456)
PANIC: failed to set uid
NO LOG ENTRY FOR SUCCSESSFULL PASSWORD CHANGE!
P.S. I have tried the archives, but have not found the same
problem.
I have found simular problems and got s...
2000 Feb 22
2
File locking with source
Can you please help or point me in the correct direction to solve the
following problem
We have an old stock control program which runs on all types of MS os's from
DOS to NT4. However, It refuses to lock correctly on a samba server (Version
samba-2.0.6-19991110.386.rpm).
When both the file and lock program are placed in the same directory and the
lock program run from a dos prompt on one
2017 Feb 02
0
Samba 4.5.3 on HP UX IA64 : smbclient - tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED
...>
> # cat log.smbd
>
> [2017/02/02 15:01:42.320365, 0]
> ../lib/util/become_daemon.c:124(daemon_ready)
>
> STATUS=daemon 'smbd' finished starting up and ready to serve
> connections
>
> [2017/02/02 15:03:25.722328,
> 0] ../source3/lib/util_sec.c:137(assert_uid)
>
> Failed to set uid privileges to (-1,-2) now set to (0,0)
>
> [2017/02/02 15:03:25.722651,
> 0] ../source3/lib/util.c:791(smb_panic_s3)
>
> PANIC (pid 4334): failed to set uid
>
>
>
> [2017/02/02 15:03:25.824240,
> 0] ../source3/lib/util.c:952(log_s...
2007 Sep 09
0
Samba PANIC
...d I get an error
message. On retrying all seems to work.
Below is a copy of the dump messages and smb.conf .. Any help would be appreciated
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sep 9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0] lib/util_sec.c:assert_uid(101)
Sep 9 10:32:29 SOS14UF smbd[27889]: Failed to set uid privileges to (-1,531) now set
to (0,0)
Sep 9 10:32:29 SOS14UF smbd[27889]: [2007/09/09 10:32:29, 0] lib/util.c:smb_panic(1621)
Sep 9 10:32:29 SOS14UF smbd[27889]: PANIC (pid 27889): failed to set uid
Sep 9 10:32:29 SOS14UF smbd[278...
2003 Dec 20
1
Error: Failed to set uid privileges to (-1, 65535) now set to (0, 0)
...lex Fri Dec 19 17:37:40 2003
Locked files:
Pid DenyMode Access R/W Oplock Name
--------------------------------------------------------------
21236 DENY_NONE 0x20089 RDONLY NONE
/home/alex/test.mp3
The error is:
[2003/12/19 17:37:40, 0] lib/util_sec.c:assert_uid(95)
Failed to set uid privileges to (-1,65535) now set to (0,0)
[2003/12/19 17:37:40, 0] lib/util.c:smb_panic(1400)
PANIC: failed to set uid
[2003/12/19 17:37:40, 0] lib/util.c:smb_panic(1408)
BACKTRACE: 17 stack frames:
#0 /opt/samba-3.0.1/sbin/smbd(smb_panic+0x1ab) [0x81a5751]
#1 /op...
2017 Feb 02
2
Samba 4.5.3 on HP UX IA64 : smbclient - tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED
...> [2017/02/02 15:01:42.320365, 0]
> > ../lib/util/become_daemon.c:124(daemon_ready)
> >
> > STATUS=daemon 'smbd' finished starting up and ready to serve
> > connections
> >
> > [2017/02/02 15:03:25.722328,
> > 0] ../source3/lib/util_sec.c:137(assert_uid)
> >
> > Failed to set uid privileges to (-1,-2) now set to (0,0)
> >
> > [2017/02/02 15:03:25.722651,
> > 0] ../source3/lib/util.c:791(smb_panic_s3)
> >
> > PANIC (pid 4334): failed to set uid
> >
> >
> >
> > [2017/02/02 15:03:2...
2015 Apr 20
4
Samba 4 slow write
..._GET_NT_ACL(conn, smb_fname->base_name,
> (SECINFO_OWNER |
> SECINFO_GROUP |
> SECINFO_DACL), talloc_tos(), &sd);
>
> ?[2]? perf top call graph:
>
> ?1.49% libc-2.6.1.so [.] __geteuid
> |
> --- __geteuid
> uwrap_geteuid
> assert_uid
> set_unix_security_ctx
> set_sec_ctx
> set_root_sec_ctx
> smbd_become_root
> legacy_gid_to_sid
> gid_to_sid
> create_file_sids
> posix_get_nt_acl_common
> posix_get_nt_acl
>...
2008 Mar 19
0
segfault with failed to set uid
...#0 0x00002ba31bd930c4 in waitpid () from /lib/libc.so.6
#1 0x00002ba31bd3d5ff in strtold_l () from /lib/libc.so.6
#2 0x00000000005c1374 in smb_panic2 (why=0x6ac813 "failed to set uid\n",
decrement_pid_count=<value optimized out>) at lib/util.c:1545
#3 0x00000000005c60d8 in assert_uid (ruid=4294967295, euid=10122)
at lib/util_sec.c:96
#4 0x000000000049235e in become_id (uid=10122, gid=10000) at smbd/sec_ctx.c:60
#5 0x0000000000492c8c in pop_sec_ctx () at smbd/sec_ctx.c:375
#6 0x000000000048a579 in unbecome_root () at smbd/uid.c:435
#7 0x00000000005eeaf1 in reply_to_oploc...