Displaying 3 results from an estimated 3 matches for "use_privs".
Did you mean:
use_privsep
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,
2015 Apr 20
0
Samba 4 slow write
...ermission checking.[1]
Non-admin users would go through SMB_VFS_GET_NT_ACL(),
and finally would reach getegid() and geteuid().[2]
Hence strace said the top 2 records are getegid() and geteuid().
[1] code snippet:
NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
...
if (!use_privs && get_current_uid(conn) == (uid_t)0) {
/* I'm sorry sir, I didn't know you were root... */
DEBUG(10,("smbd_check_access_rights: root override "
"on %s. Granting 0x%x\n",
smb_fname_st...
2015 Apr 20
4
Samba 4 slow write
...go through SMB_VFS_GET_NT_ACL(),
> and finally would reach getegid() and geteuid().[2]
>
> Hence strace said the top 2 records are getegid() and geteuid().
>
>
> [1] code snippet:
> NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
> ...
> if (!use_privs && get_current_uid(conn) == (uid_t)0) {
> /* I'm sorry sir, I didn't know you were root... */
> DEBUG(10,("smbd_check_access_rights: root override "
> "on %s. Granting 0x%x\n",
>...